Way For Software To Discover Others On Network

Feb 5, 2010

I am developing a system where multiple client apps are going to communicate with a server app. I will probably use TCPIP classes to facilitate the communication.

However, is there a way that a client install can automatically discover the location of the server software on another machine?

View 1 Replies


ADVERTISEMENT

Discover If Excel Running In Browser?

Feb 1, 2012

I have VSTO Excel addins (.net 3.5) and need to know when the Excel wookbook is being opened in a Browser rather than the Excel client. I haven't figured out a way to do this nor found a solution online and I suspect I am just not using the right seach words. Does anyone know how to do this?

View 2 Replies

Discover The User's Desktop Folder?

Jun 24, 2011

I'm making a little application in visual studio which loads a ROM in an emulator. I have two emulators and 20 ROMs.I made a form and added a few buttons. When you click the Button it opens a new form and closes the old one. Then on the new form I have four buttons: each one loads a different ROM in an emulator. So when you press Button1 this code is triggered:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles yellow.Click
Shell("C:UsersshiftyDesktoppokemon gamesEmulatorVBAVisualBoyAdvance.exe ""C:UsersshiftyDesktoppokemon gamesRomsYellowPokemon Yellow.gb""", vbNormalFocus)
End Sub

It works fine - I click it and it loads the game in the emulator. The bit im having trouble with is the file paths. If I send this application to a friend, it would still look for "C:UsersshiftyDesktop" - but that's on my computer, not his.Is there a way to make the application look for the file on his computer (without changing the file path to (C:Users""his user name""Desktop))

View 4 Replies

Make A Program Discover Its Own Directory?

Oct 7, 2009

I am trying to make a program that is able to find out where it has been saved on the computer, and take that directory and save the output of the program, which is a text file, to the same folder that it is in.

I have already made it so that I can type in the directory in my code, but i want it to be more adaptable.

View 3 Replies

VS 2008 Discover A Window Class Name

Jun 21, 2009

how can i Discover a Window Class Name ?

View 3 Replies

VS 2008 Network App - Send Message Or Network Package To Some Of The Clients In The Network

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

Application To "discover" Wireless Networks In The Vicinity?

Apr 29, 2011

I would like to create my own application that will simply discover the wireless networks in the area, similar to how the wireless card software works. I don't really know where to start, except with maybe the System.Net namespace.

View 2 Replies

VS 2008 My.Computer.Network.Ping() Cannot See Network Under Windows 7

Nov 18, 2011

I have a .NET 2.0 *.dll that calls My.Computer.Network.Ping(). The *.dll is then run out of an *.exe via AppDomain.CreateDomain() and Invoke(). The problem is that this works just fine under Windows XP but under Windows 7, I get an exception saying that no network connection is available. I tried the Ping() call out of a small console application under Windows 7 and it works just fine.

[Code]....

View 6 Replies

.net - Using A FileStream On A Network When The Network Drops?

Mar 26, 2012

I am writing some code as part of a framework for opening a file.The file is of custom type and should not be opened by more than one instance of my application. To stop multiple file opening I use a filestream to create a lock file and then keep said filestream open. This seems to work in preventing another instance of my application from opening the file ( as it will fail in recreating the lock stream in the files open code ) but if the file is on a network share and the network drops then the original application also can not access the file any more.The code to get the lock stream is as follows:

Try
' We need to keep this stream alive to prevent other applications gaining access to the lock
mLockStream = New FileStream(mLockPath, FileMode.CreateNew, FileAccess.Write, FileShare.None)[code]....

In this I create the lock stream the first time round and then if another application tries to create it, it throws an exception and stops them from getting any further. This is kind of how it needs to work, unfortunately as I said, if this is done across a network and then the network connection is dropped for some reason then I can not delete the lock stream as I get an IOException telling me a process cannot access the file as it is open in another process ( which shouldn't be happening I don't think).

View 1 Replies

Transfer Files From One Computer In One Network To Another Computer With A Totally Different Network

Jun 22, 2011

I have a problem I want to make a server and client where the server is password protected and will make the client display files/folders in a designated folder which will be in the server's current directory and the client will ask what IP and password to connect to and if the password is correct is allows the client to access the files/folders in that folder in C.D. of the server and the client can download any file within the folder by clicking a button, yet don't even know where to start.

View 7 Replies

Using Network In An App?

Dec 19, 2010

how can get and send something to server not download and upload(geting information for login users and send information to server)

View 10 Replies

.Net Projects Can Be Used In A Network?

Jun 26, 2009

Im gonna develop an application s/w using VB.Net & Oralce for a small company with 4 employees and a MD.

Each has their own PC connected through a Hub.The task of MD is to check in the employees daily work progress & to calculate their incentives in daily basics...

And each emp should be able to check their daily incentives from their PC using the passwords provided by the s/w Now my doubt is. how should I show the daily incentives updates to all emps PC from MD pc?(i.e) if i install the s/w in all PCs, will they'll get the updates automatically? DOES VB.NET can be used here or should we use ASP.NET?

View 1 Replies

C# - Using SQL Server DB Over A Network?

Feb 16, 2012

I want to use my SQL Server DB over a network. I have setup server client applications.The thing is for my current DB, I need to give it to server administrator who attaches the DB to SQLExpress instance and only then my network computers can access that.My question is, is there any way that my vb.net application could attach this DB through code at runtime, and DB gets all rights that are necessary to access it over the network?

I can attach DB using Create procedure but for this I need to know the sa password. Is there any way that I could achieve the same goal without sa passord and sa intervention?My only purpose is to enable my DB to be accessible over the network with all read /Write rights.

View 1 Replies

Can't Install It On Another PC On Same Network?

Jan 3, 2012

I have a nearly finished program. I have been able to install and run on my development PC, but I can't install it on another PC on same network.

Where to ask for help on this one please. Some very basic help is needed I think.

Using Visual Studio 2008, Vis Basic

View 11 Replies

Get All Network Ip Put In Listbox?

Jul 18, 2011

if there was a way that I could get all the IP's on the network and put them into a listbox?

View 4 Replies

Get All Possible Servers On A LAN Network?

Aug 30, 2011

I'm using the details on connecting to a server from a client here: [URL]

It's quite out dated but I just need it for a quick project. I need the client to auto-connect. This program will be running on the LAN only, is there a way to find on what computer the server is running on (i.e. all computers hosting the specific server on port x). I've seen it on a couple of games that run on LAN. Without access to the internet, they manage to display all available games on the local LAN. I'm doing this with VB.net.

View 1 Replies

Get Connected Network Name?

May 31, 2012

how can i detect in VB.Net 2010 that which network card I'm currently using for internet? Like Local Area network, Wireless Network Connection, Cellular Modem or Bluetooth Modem?

View 4 Replies

Get Name Of Active Exe On Network Pc?

Oct 30, 2009

How could i get name of Active exe on Network pc?

View 1 Replies

Get The Network User Name?

Aug 24, 2009

i want to track the application for that i am storing network user in table. how to get the network user name in .net 1.0

View 2 Replies

Getting ALL Computers On Network?

Jan 22, 2012

Part of an application that I'm building searches the network that the current computer is connected to and returns a list of the IP & MAC addresses and the hostname. It is based largely on the post by richard__deeming at [URL] At the moment, it will only get the information about computers that are in the same workgroup, but I have several computers that need to be shown, that are joined to a domain rather than the workgroup. How can I get the program to find every computer on the network?

View 2 Replies

How The Network Is Being Monitored

Feb 5, 2010

I need to know how the network is being monitored by the help of vb.net.

View 1 Replies

How To Detect Network

Jun 22, 2010

i need a code on how to detect network in the dashboard.

View 2 Replies

How To Get Connected Network Name

Apr 23, 2010

Is there any easy way to find out , which network am I connected to via programmatically. I mean we can check the Network is available through "My.Computer.Network.IsAvailable", same way can i find the name the network (Either Direct or via VPN).

I have to do something if my network is connected to a particular network.

View 3 Replies

How To Get Network File

Mar 25, 2011

I am using VS2008(VB.Net) windows application. Custome upload some file through FTP in www.XXXX.com. The file store into a computer which IP is 192.XXX.X.XXX and C:XMLOrder folder. Now I want to access this through code to read the files.

View 7 Replies

How To Send Network Msg In .net

Jul 14, 2011

I have an application where i have to schedule some msg to my network users and as per the sheduler msg should be popup on their machine on local network.

View 3 Replies

IP Addresses On A Network?

Apr 1, 2010

What I Want Is To Get All The IP Addresses On A Network And Put Them Into A List

View 2 Replies

Listen To IP On Network?

Dec 6, 2011

I have barcode reader work by rs232 , i using converter from rs232 to TCP/IP to make it connect by TCP/IP, Now barcode send data on this Ip "192.168.0.125" on local network and the IP port is 50000 How i can listen to this ip to read the data send to this ip?

View 8 Replies

Network Programming In VB?

May 1, 2012

I have done my application programming in VB. But now i am trying to do some application related to network programming. But i am unable to find the winsock control in Visual Studio 2010.

View 5 Replies

Ping If Network Is Available?

Jun 10, 2011

I'm currently doing my project to check my server status with ping option. but i got problem to check either the network is plugged or unplugged...I need this checking automaticly using timer...here what i have done....to ping the server is success but when pulgged back the network...error come around..

Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
Timer4.Interval = 30000
If My.Computer.Network.IsAvailable Then
If My.Computer.Network.Ping("www.mine.my", 500) Then

[code].....

View 2 Replies

Proxy For Network?

Apr 3, 2011

How to make a vb.net application that allows me to play online games using web proxies?

I tried

Private Sub enableProxy()
Dim proxy as new WebProxy("115.160.178.253:80")
WebRequest.DefaultWebProxy = proxy
End Sub

But that only works for httpwebrequests.

View 1 Replies







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