How To Make The Database Accessible By The Other Machines

Jun 8, 2011

i am developing a system for a business and would like the server to be one of the computers of the

organisation. My problem is that i don't know how to make the database accessible by the other

machines.

View 4 Replies


ADVERTISEMENT

Connect Client Machines With Sql Server Machines?

Dec 7, 2011

How to connect client machines with sql server machines ?Vb.Net as front end.

View 8 Replies

How To Make ListBox Accessible Outside Form

Apr 19, 2010

How do you make listbox accessible outside the form it is situated on?

View 3 Replies

Make A Variable Accessible To Any Module?

Dec 30, 2009

I have an issue with an app i am writing, i need to make a variable accessible to any module or class within the project but that cant be accessed outside of the app as it is accessing info the end user shouldn't have access to.

Ok, well a practice i have gotten into in the last few years is to declare a module on the same page as the main form and declare variables either friend or public (global variables). with my app public is not good so i tried Protected Friend but i cant use this within a module.

I tried placing it at the top of the main form but one of my classes can't access it, what would be the right way to do as expected. besides the main form i have 2 classes call them class1 and class2:- main interacts with both classes class1 accesses class2 class2 doesn't access class1

View 7 Replies

Make A Variable Accessible To Other Forms?

Oct 21, 2011

How do I make Variable eccessable to other forms in my app?

View 3 Replies

How To Make Command Accessible (Protection Level)

Oct 17, 2011

I'm just taking over an asp.net/vb site, and I'm definitely still learning. I'm receiving the following error:
BC30451: 'ByOwner' is not declared. It may be inaccessible due to its protection level.

I call a datasource with:
<asp:GridView ID="CaseCountByOwner" runat="server" AllowSorting="true" DataSourceID="ByOwner"

And here's what is in the codefile:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
HitMe.AddHit(Request.UserHostAddress, Request.UserAgent, Request.Url.ToString)
Dim user As String = Request.QueryString("user")
If user.Length() = 0 Then
[Code] .....

View 3 Replies

Make An Array Created & Filled In By One Sub Accessible From Another One?

Nov 28, 2009

I have a RadioButtonList control which triggers a Sub LegalGaps on SelectedItemChanged event. This Sub creates and fills in an array the size of which depends on the User's choice of radiobutton options. The second Sub AvailableDays shall be able to read that array and highlight the days in the Calendar control accordingly on DayRender event. May I somehow declare an internally created variable a public one?

View 2 Replies

Make An Instance Of A Form Accessible Throughout The Application?

Feb 10, 2009

assume that i have two forms(form1 and form2)form1 code

Imports System.IO
Public Class Form1
Inherits System.Windows.Forms.Form

[Code]....

View 5 Replies

Make Variables Accessible To The Entire Form?

Feb 10, 2010

So I am making kinda of wizard, with options and a next buttons all in the same form but using hide and show.I have 3 of them. How can I make variables accessible to the entire form?

View 5 Replies

Sql Server - Attached DB Is Not Accessible To Make Connection?

Feb 10, 2012

I created a DB using following code.

Dim conn As New SqlConnection("Server=.SQLExpress;Data Source=;Integrated Security=SSPI")
Dim cmd As New SqlCommand("", conn)
cmd.CommandText = "CREATE DATABASE MyDBTest22 ON ( FILENAME = 'D:dbTestATTTTTTT.mdf' ), ( FILENAME = 'D:dbTestATTTTTTT_log.ldf' ) FOR ATTACH"

[code]....

It ran without any error but when I opened SSMS, I could not see my file attached to the server. Also, I tried to make a connection, but it says file does not exist but when I tried to re-run the above code, it says File already exists.Something wrong with my way of doing it? I want to see it attached with the instance of my SQL Server Express 2005, using SSMS.

View 1 Replies

Way To Make A Value Accessible Only To Parent Of A Nested Class

Jun 24, 2009

In general, according to the OOP paradigm, my understanding of encapsulation basically says:

-If a member is private, it can only be accessed by the class.
-If a member is protected, it can only be accessed by the base class and any derived classes.
-If a member is public, it can be accessed by anyone.

If I have a nested class, can I declare a property to be accessible only to that class and the parent class it's nested within? For example:[code]In the example, I cannot directly access myNestedObject.myInt or myNestedObject.myDbl from an instance of ContainerClass if those members are Private or Protected. But suppose I don't want to make them Public,because then they are TOO exposed: they can be altered from anywhere, not just within a Container Class object. Declaring them Friend would still be too weak as that would allow them to be altered from anywhere within the application.

View 2 Replies

Make Applications In Free Version Of Express And Use Them On Other Machines?

Nov 19, 2011

Can I make applications in the Free version of VB Express and use them on other machines?

View 9 Replies

C# - Make An Object Accessible To Only One Other Object In The Same Assembly?

Sep 15, 2009

Each business object has a matching object that contains sql calls. I'd like to restrict these sql objects in a way where they can only be used by the matching business object. How can this be achieved?

Update Greg brought up the point about testability. Since the SqlObjects will contain very business-process specific sql I don't want them reused in multiple buiness objects. (Basic CRUD operations are all code-generated) Is there a way to make the SqlObjects accessible to only one business object in the business assembly (like yshuditelu and Greg Beech showed) AND expose the SqlObjects to the unit testing assembly?

View 4 Replies

App Not Working On SOME XP Machines

Aug 19, 2011

I have developed an application is VS2010 ( VB app using .NET4 ) ... the application runs fine under Windows 7 and on (3) XP machines we have here. Had one user looking for support on an XP machine ... when he started the app nothing happened. No errors or anything, just nothing happened. Had him install the latest .NET4 framework and everything was fine.

Just had another support issue ... user with the same complaint ... had him install latest .NET4 ... but this time did not fix the issue ... still nothing happens when he clicks to start the app ... no errors ... just nothing happens.

I can't check this because it runs on all our XP machines .... Is the only criteria that .NET4 be installed? I created an install that includes only the EXE from the BINRELEASE folder ... nothing else. Do I need anything else. Strange that it works on all our XP machines.

View 15 Replies

Compile - Cannot Run .exe On Some Machines

Jun 21, 2010

I have a small form program that is basically an interface for installing different software packages so that we can distribute a CD with our products that our customers can just pop in the drive, autorun, and click the button to install what they need. The problem that I am running into is unlike when I had built this same program in VB6, the program rewritten in VB.net will not run on some machines, and shows me an error: .net Framework initialization error. required version of .net framework v2.0.50727.

I realize that it is asking for that version of .net framework in order to run, but what I would really like to know is if there is a way to make my exe non-dependant on this so that it will run on any machine. Requiring my customers to install .net framework in order to access an interface designed just to idiotproof the installation of some setup files and provide easy access to a few pdf's really would just defeat the purpose.

View 4 Replies

How To Switch Machines

May 28, 2012

I have two machines, on the first of which I have developed my application to a point of satisfactory stability. Now I want to move everything to my second machine.Both computers have the same level of XP and NET Framework code, and both have Visual Studio 2010 at the same level.I copied my application's project folder onto the second machine, but the second machine's VS 10 can't load the project because it can't find a couple of Interop files (e.g., AxMSComCtl2). All of files are present in the project folder and also in its.bin subfolder. The only observable difference between the two machines is the presence, on the first machine, of some Assemblies stored under my user name there. Copying the Assemblies to the second machine didn't help (I hadn't thought it would).Is my application permanently "imprinted" on my first computer, or is there a simple way of resusitating its clone?

View 10 Replies

Running On Other Machines?

Feb 25, 2012

My name is Jack, I developed a program and I wanted to run it on a clients PC. I used deifferent framework and that didn't work but when I used 3.5 client, it said it had stopped working and I know my client has .net framework 4 and when I did it with 4.0 client it didnt say it had stopped working it just didn't show up but the notification icon showed up for 2 seconds.

View 4 Replies

Use (.exe) Tool In Other Machines

Oct 13, 2008

i have created a tool written in C# that would parse string (from 3 files) using regular expressions then throw all the matches in a grid. It works fine on my machine.. It returns matches from those 3 input files.. The problem is when i use that tool (.exe) in other machines..there are no errors. The program works fine for the first 2 files.. but doesn't return matches on the 3rd file.I tried copying the codes in one of the machines just to trace the problem, but when i run the program, it suddenly worked fine.. from then, the program is working fine on that machine.

[Code]...

View 2 Replies

Use One EXE On Multiple Machines?

Nov 26, 2010

I have one EXE on my server machine (Windows Server 2003) and now i want users on multiple computers (Windows XP) to create one shortcut on there repective machine and access this EXE.

View 1 Replies

App Runs Slow On Other Machines?

May 24, 2009

Basically i have designed an app that runs smoothly on my desktop PC (3GHz processor, 2GB RAM, Windows XP Media Centre (SP3)).

When i put the app on my laptop(1.4GHz processor, 448MB RAM, Windows XP Home Edition (SP2)) it runs really slow and is unusable.

I have tried deploying the app and also just copy the whole folder to my laptop and run the apps *.exe from the bin/debug folder, but it has the same results.

I have tested it on higher spec machines with 2GB RAM and they also replicate the slowness, so i'm at a loss as to why it behaves 100% on my desktop PC, where i have Visual Studio installed but not on any other machine.

My question is if little differences like operating system, RAM, service packs, VS installation, etc, make apps run differently on different machines.

View 4 Replies

Cannot Execute Exe On Machines Other Than The Developer?

Jul 19, 2011

I updated a VB.NET application from Visual Studio 2008 to Visual Studio 2010 and made a few changes to it. Now it works fine on my development workstation but when the user tries to run it, it fails. The error detail is below. I've searched for System.InvalidOperationException and found several suggestions but none of them have helped. There isn't any static initialization code in the application. I changed the compilation to x86 instead of AnyCpu. None of these has helped. The project is compiled for .NET 3.5 and that hasn't changed. Both environments are Windows 7 64-bit.

Does anyone have a suggestion as to how I might determine what is causing this?

[Code]...

View 6 Replies

Global Variable Across All Machines?

May 31, 2009

I'm focusing on Networking programming and I had found something that was very interesting to me in Remoting, which is the ability to have some how a "shared global variable accross applications" ... Here's a quick example of what I'm saying (which is stripped and modified from one found example on internet):

In the Remoting class:

Code:Namespace remoteclass Public Class xx Inherits MarshalByRefObject
Public Shared_Var As String 'This is our share variable
End ClassEnd Namespace

[Code]....

I found that I can eaisly use this red-marked variable (Shared_Var) acrross all application clients without any extra line of code to update its value ... without using even what is called "singlecall" and "sigletron".

But I have concerns:

1) This is only applicable for simple types of variables (e.g. string and integer) but an array or DataTable for example are not updated! and I don't know why!!

2) Would that load the communication network (I mean the content of these shared variables (few KBs to 1MB) will always be communicated across machines all the time without any management) ... Actually I don't how this works from inside, Does it update on change or cyclic ...

3) And finally, can I found something like this in WCF?

View 2 Replies

How To Run Application On Multiple Machines

Jun 22, 2010

I have created a Office management software in vb.net & access, but i m not able to run it multiple machines.

View 2 Replies

Notify Change Across Machines?

May 11, 2011

I have an object with a GUI interface. This has properties and methods. When this object is modified by anyone, on any machine, all other users should reflect the change, without specifically asking for a refresh. How can I achieve this? Imagine that the Object is static across users. I need complete details on going about it

View 2 Replies

Pinging A List Of Machines?

Feb 1, 2012

I have a list of machines, 1 per line in a file called devices.txt.

What I need to be able to do is to ping each of these machines, and then output each machine that is online to another text file called machines.txt

The files need to just be the machine name and have 1 machine per line.

View 1 Replies

RDP Activate On Remote Machines?

Dec 29, 2009

I have a need to activate remote desktop on machines out in the field and have created a VB button that takes a workstation name from a textbox and activates via a WMI call. problem is that it pops back with an "invalid parameter" error.

View 3 Replies

.net - Making A DLL COM Accessible?

Jul 27, 2010

I have a class library written in .Net that I would like to make available to VB6/VBA. What I tried did not work (obviously as I am asking this question). Here is what I did:

I Created a Class Library Project in Visual Studio 2010 Express and put the code in a Class Module.I opened the project properties and went to "Assembly Information" and checked "Make COM Visible". I went to "Advanced Compile" options and targeted .Net 2.0 (it's very simple code).I then removed all references expect for "System".I built the project (no warnings or errors) and copied the DLL out of the Bin folder into C:WindowsSystem32 I ran RegSvr32 to register the DLL and got the error: The module "MyDll.dll" was loaded but the entry-point DLLRegisterServer was not found. Make sure that "MyDll.dll is a valid DLL or OCX file and then try again.

View 3 Replies

C# - Method Accessible Only For The Outside?

Jun 28, 2011

Is it possible to have method have methods that are only callable externally and never callable internally?

Public Class Foo
Public Sub New()
Bar ' Should fail to compile as Bar is only accessible externally.'
End Class
Public External Sub Bar()
End Sub
End Class

View 5 Replies

My File Not Accessible

Mar 12, 2010

Can i make my files to be unaccessible ? Its in my project but no one should be access or view it.

I mean like this, when i include a picture on my project MS.Net will make a new folder and name it My Resources, however if im going to make it a installer i need to include the my resources folder and when its installed in a computer a locate the folder location the user can see the pictures. Or in other sample i put a shockwave files in my project and thesame make my installer i need to include it and when its installed the user can play that shockwave file.

Is there a way where i can includeall the files that i wanted to include but make it unaccessible ?

View 16 Replies

MS Access Database To Make Program Interactive But Cannot Get The Database To Update With The Entered Data

Apr 20, 2010

This program is very difficult for me, but I must get threw it or I cannot finish... What I am doing is making a Database of foreign Languages with the spelling of the words and the pronounciation inside the database... The USER enters a paragraph of words into the translator textbox and pushed translate. The program has a DATABANK of words with the phonetic spellings and matches the word, then translates to phonetics. The problem is that new words keep appearing inside the language. So I incorporated a Database of 2 fields

[Code]...

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved