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


ADVERTISEMENT

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

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

.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

Run A Program From A Network?

Apr 9, 2010

I have my program that runs from a workstation and the SQL DB is on the SERVER.I am having a lot of problem with it as the VB.NET program wont refresh the dataset.I would like to test the same by putting the SQL DB on a network drive, and run the program from another workstation.Just to narrow down the problem.My Question is this. I install the SQL DB on machine A and then install my program on Machine B?

What should I do to get Machine B to access the SQL DB on Machine A.Will sharing the SQL FOLDER be good enough for my program to access the DB of course, I have to modify the connection string on my program, but other that is there anything more to be done.

View 2 Replies

Showing The Network Name?

Jun 22, 2011

i am trying to show if the computer is connected to the internet and showing the network name at the same time.example (when connected) "Connected To NetworkName"

[Code]...

View 2 Replies

UDP On Home Network

Jun 21, 2010

Does anyone have any experience with UDP on a home network + particularly any experience with tinyUDP (attached)? i tried running it on my network + it doesn't receive the messages.

View 6 Replies

Unable To Run App From Network?

Dec 15, 2009

I have a program that I have written using 2005 and .Net Framework 2 SP2. I went ahead and created the snk file placed it in a shared folder on the same server that I will be running the app from. In my AssemblyInfo file I added point to where the snk file is located as follows.

View 7 Replies

Way To Get Network Directories

Oct 12, 2010

Does anyone know a way to get a list of UNC servers (A.K.A. items in the "Network" system folder in windows vista +, or "My Network Places" in win xp -), and get a list of shared files for a particular server?

When I try to get directories using System.IO.Directory.GetDirectories("\"), it says I need to put it in the form of \UNC serverFile share

View 7 Replies

Getting The OpenFileDialog To See Network Drives?

Mar 25, 2010

I don't have any problem with the OpenFileDialog provided I set the .InitialDirectory to somewhere or other on my machine.However I just can't set the .InitialDirectory to a URL even as "http:localhost/..." ie my machine.Is there some way of getting the OpenFileDialog to see Network Drives, URLs, etc?

View 7 Replies







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