Sharing Database In Local Network?
Jun 23, 2010
I have created an application using Visual Basic .NET, the application use an access data base which must be shared in server of a local network. The problem is when I run the application in a client machine (connected to the network) I can't connect to the data base.In the same machine the connection work which it's not the case when I change the location of the base to: Data Source="serverIPAdress/DataBase.mdb"
View 2 Replies
ADVERTISEMENT
Mar 30, 2008
I am trying to copy a table from a network database to a local database. I used DAO and could check if the network table existed using a function that tried to assign a TableDef object to the table in question. If there was no error then I assumed that the table existed and the function returned true...Or it would error out and return false.I could then proceed with the copy or not as the case may be.I am converting the code to ADO.net and need to know how to check for a table. [code]
View 1 Replies
Jun 22, 2010
I am working on a project based on networking. My problem is that database on server (time to time updated by clients Application) is available in shared folder sometime any client delete that database file from shared folder then project stopped working. So give me process for accomplish this problem is there any way through which is database on server work invisibly and client unable to delete that file. I tried read only attribute on shared folder then my project unable to insert record in that database file.
View 1 Replies
Aug 19, 2009
I'm building an application which require to use Directory.Exists on a network share UNC path. I know how to use that function, and how to implement it in my code, it's working perfecty locally.
Here my setup:
- VS2003
- .NET 1.1
- It's an Outlook Add-In
Here the code :
Dim realpath as string = "\myserverfolder$subfolder"
Impersonation.ImpersonateUser("admin", "DOMAIN", "adminpass")
Dim isDirExist As Boolean = Directory.Exists(realpath)
If isDirExist = False Then
Directory.CreateDirectory(realpath)
End If
Impersonation.undoImpersonation()
If I build this code, and register it in Outlook with my personnal account (admin), it's working fine, I receive true. If I build this same code, an register it in the Outlook of a normal employee (user only), it's always returning FALSE, no matter if the directory exist or not. The share is set to everyone allow, and I tried giving everyone access to the ACL, and it's the same result.
View 1 Replies
May 27, 2009
im making an application and i need to install a printer in a computer. The application im trying to do is a client-server application so the idea is that the server send the instruction to the client telling him what to do and then the client will do it, in this case it will go to a SAMBA directory and it will get the drivers for the printer model from there and after that it will install the printer, everything in silent mode.
[Code]...
View 3 Replies
Mar 25, 2010
any one have a code in vb 2008 which allows me to know the IP address of local network.
View 2 Replies
Jul 26, 2011
I have a .net network application , and as part of improving the performance of the software i would like to find the shortest route to the server . When i have more than one network , i need to find the local network ip from these current ip list .
View 3 Replies
Aug 26, 2011
I need a program that can send and receive msgs to everyone that's on that program and on that network, then is there a way to add chat rooms to the program 2. I looked all around the Internet and MSDN and found a lot of results but non worked property.
View 6 Replies
Jan 24, 2012
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim FileToCopy As String
Dim NewCopy As String
FileToCopy = "C:Users????DesktopfileName"
NewCopy = "C:Users???Desktop
ewfileName"
[Code]...
View 2 Replies
Jul 18, 2012
how to find the list of SQL servers on the local machine...and not the network...
I searched in google but everywhere its for the list of SQL servers on network....I just want my PC SQL server name....
View 4 Replies
Jul 9, 2011
Is it possible to get all my network users' local IPs using VB 2008?
View 6 Replies
Mar 4, 2010
find a source code of using a local area network(LAN) in visual basic.net 2008?
View 1 Replies
Jan 1, 2010
I am developing an application, which hunts the local network for attached computers then checks for a share and a file, if found it displays it in a listbox. While testing this I have seen some strange Chinese or Japanese computer names pop up and in a few seconds go away, the names seem to always be different.
View 8 Replies
Jun 8, 2011
Here is my Prob- we have a main router from which we use a distributor or hub for internet connection distribution, ever computer connected automatically obtains IP address of format say - 180.50.50.xxx to access net connection.if any connected computer has different IP format than the given one, it cannot access internet.
View 1 Replies
May 30, 2012
I have this partially working but only shows printers for one user, need all local and network printers mapped for ALL users on a remote pc so I can migrate them, I know I need to do some sort of for each method but not sure what will work
[Code]...
View 1 Replies
May 16, 2012
I have been trying to make a chat application that can go out the local network for quite some time, but all I seem to find is chat applications for in local networks?
View 7 Replies
Nov 27, 2009
I am writing some software that should respond to commands from a port.
How do I set up a handler to respond when data is recieved at that port.
Do I need to do anything special, like respond or set up the port in the first place.
I don't have any experience doing anything like this!
CheersGuy Joseph - Intel Quad Q9450, 4Gb Ram, 3x500GB Hard Drives, NVidia 8800GT, Marian Marc 8, VB Express 2008
View 1 Replies
Jul 12, 2011
I have developed a windows application for my company. It is a multi user software and we are using sql 2008 as the database. The sql 2008 is installed in our company server. Within our LAN, there is no problem in accessing the software and its working pretty fine.
Now the problem is, some of the managers need to go out frequently(for business tour and all) and they need access to this software. The software is already installed in their laptops.Is there any way to access the database that is in our company server ???
We have few static IPs with us, is there any way i can use that here (Using NAT in the firewall or something)?
View 3 Replies
Jan 31, 2012
I want to build a search program that searches for a key word over any local networks the computer workstation has assess to like the search for files and folder function on any standard windows computer but with added feature it will also search across the networks servers its connected to?
View 1 Replies
Oct 27, 2010
i need to check if my Computer is connected with an Active Directory Domain or only in a Workgroup. Is this possible?
View 4 Replies
Oct 22, 2009
Im trying to Get the mac of the local computer(s) on a network and Enable/Disable the Connectiong adapter that is UP (In use), i know i can do this with the system as it stands and for a while i've used a *.bat file to do this for me but not i want a more elabrate way of doing it using a program i make for this, i will also be making it Control other computers remote on my network the same with a simple server side, in the future!, i just need it to Work on the local computer, I've read up about diffrent ways of doing this, like Getting the MAC via Registry like so:
[Code]...
View 5 Replies
Oct 26, 2009
I am developing an application where in I need to stream audio and video in the local area network. There is calling option from my application where users can call each other(audio call or video call) in the LAN.
View 3 Replies
Mar 26, 2012
Dim wmins = ("//192.168.1.5/root/cimv2")
objOS = New ManagementObjectSearcher(wmins, "SELECT * FROM Win32_OperatingSystem ")
[code].....
View 1 Replies
May 28, 2009
Basically back in VB6 days, I created several VB6 apps with Access as the backend database. I'd package my Access db file with the application setup, which copied it on to a shared network drive, and then different computers on the LAN could use the same backend database file, and that worked just fine. With SQL and VB .Net, I've done work with a SQL database hosted on a remote server, so you can basically build your query string easily and anyone can connect to it from anywhere, and it works just fine.However, what I'd like to do is have a local SQL express database as the backend for a VB .Net application and make a setup program that can install it in a way that it could be shared on a Local area network, without the user who is installing the application do anything.
I know about building a connection string with the local machine name, but I don't really have any experience with including an actual MDF file with the application. Does anyone know how it works, and is it a better approach? Does it work similar to placing an access file in a shared unc path?I know that ClickOnce (which is awesome) can install SQL express easily on a user's machine. However, the key is that I want SQL express to be installed only on the machine that is going to be the database server in a LAN enviornment, and not on every machine, unless it is neccesseary. And then how does your VB app know how to build the connection string to access the database from any machine on the local share?
View 2 Replies
Jan 25, 2012
My problem is I need to develop a sales application to be used on 5 computers. The database needs to stay on a main computer and other computers should connect with that over LAN.I donot want to use SQL Server as it is too complicated to give permissions, setting up firewalls etc. for the end user.Is that any type of database that could serve my purpose, without giving sharing violation error?
View 1 Replies
Dec 19, 2006
I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?
View 2 Replies
Jul 26, 2010
Im coding an application that needs to list all computers inside my LAN, and get the status of the machines ex. Power On, Power Off.. in order to Wake On Lan, or Turn it Off.. im using Visual Basic .Net.I all ready listed all machines, now i need to get the status of them..
View 5 Replies
Jul 5, 2009
What is the difference between a local database and a Service-based database? I read the MSDN and searched the Inet.
View 4 Replies
Aug 18, 2009
Here is my idea so far: I have a bunch of computers connected in a local network. One of them is a MySQL server, one will have a vb.NET program wich will act as a "second server" and the rest will be different clients. What I want to do is that the "second server" will send out some kind of message or network package to some of the clients in the network, and they will execute a code based on what message it is, or what kind of package it is. I'll give you a simple example:
[Code]...
View 6 Replies
Dec 10, 2008
Does anyone know if there is a way to determine if a drive is local or a network drive?
View 1 Replies