Detect Connected Computers In A LAN Using Visual Basic And Connect It Using A Client Application?
Mar 10, 2009
I would like to ask how to connect our application to connected computers in a LAN.Will I use the winsock control?How can I run queries using a server database?Any answers are welcome.
View 3 Replies
ADVERTISEMENT
Jul 30, 2009
I am making a server - multiple client windows form application using Visual Basic Express 2005.
I was wondering if there was a way that I could debug multiple instances of the client at the same time?Ashray Lavsi If my post answers your Question, don't forget to "Mark it as Answer"
View 6 Replies
Nov 19, 2010
I have a vb.net 2010 windows forms application (32 bit) which is hanging regularly on SOME computers, mainly when minimised to the task bar
View 6 Replies
Jul 6, 2011
I can connect to a mysql database with the following PHP code... is there code to do something similar in Visual Basic?
[Code]...
View 1 Replies
Apr 28, 2011
i am beginer in visual basic.i am developing a software which require to insert and view from local database of sql server
i wrote connection string in class like this :
Private connectionstring As String = "provider=sqloledb.1;" & "data source=harampak.sdf ; conntiontimeout = 15 ; integrated security=sspi but error is occuring , saying that sql server doesnt exist , invalid connection string the database file is on the same folder of the project file
View 4 Replies
Jan 6, 2010
However I have hit a massive brick wall with my program. My program that I'm trying (can't emphasis this word the importance of that word) to create a Client/Server chatroom using TCPClient in Visual Basic. So far I can get my client to speak to my server. However, i'm trying to get the returned data to display in a listbox which never happened, i then tried a label, which again never happened then a text box which I'm sure you can figure out how that went! I'm not great at networking programmers nor am I not bad I'm terrible but duty calls when it comes to projects.
The code I currently have was mostly taken from the net but when I have the program fully work and I understand how the software works I intend to heavily modify for it to suit the needs of what I need to achieve. where I can get my client to display the data from the server that I have already sent to the server (which displays successfully within the server).
[Code].....
View 2 Replies
Jun 13, 2010
I am a student and trying to start a programming career, my colleague asked me to make a multi tier or multi client desktop application for the schedule tracking using xml as a database; however the desktop application would be deployed in one or more computers but my leader can monitor the info from her office in addition she wanted me to put administrative privilege to avoid unauthorized access in some database features of the system. an info regarding multi-client desktop app.
View 3 Replies
Aug 15, 2011
i am new with SQL server 2005 and visual studio 2008.how do i connect the forms and the tables in the database
View 4 Replies
Jan 9, 2009
how do i get list of all connected computers in local network i have tried through Active Directory and it gives all computer names whether connected or not. the main problem is few computers on network have dual operating systems and both have different name like different on xp (comp1 xp) and different on vista (comp1 vista) and when i try to ping a computer name like (comp1 vista) which is not active, but maps to its associated ip and return replying so i m not able to get true status of computer name as (comp1 xp) can also reply on ping
View 15 Replies
Sep 26, 2009
I have Visual Studio 2008 Professional and I'm trying to make it so I can click a button to send the application to the System Tray and then click the icon in the System Tray to make the application come back.
Can anyone provide me a method or sample code to do this?
View 8 Replies
Feb 15, 2012
I've been Searching the Net for hours now, and i can't really seem to find anything clear and straight to the point.
I need to create a Server/Client application using VB.net 2008, it's actually my first time to have a database on another computer. So I first searched the internet for the things i need to make this software.
[code]...
View 5 Replies
Nov 25, 2010
I'm looking into making just a simple Instant Messenger that will be accessed through the Login program i just made.I'm having trouble just creating the APP window at the moment. I get an eror when i try to add a message queue to it so help with this will.This is just going to be a simple Instant IM like program connected between two or more computers.Does anyone know about a source for this out there- or how would i go about codeing this?
View 2 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
Jul 30, 2011
i m new in .net programming i am wanting to develop a network application by which i can watch the screens of other computers connected in LAN,i can give permissions/privilages to other users.
View 5 Replies
Apr 5, 2011
I need to send a short string, (less than 30 bytes, but sent every second), from one VB application, to a Delphi application.. is this possible, using CopyDataStruct, WM_COPYDATA and SendMessage functions in Windows?
View 1 Replies
Mar 30, 2009
I've basically made a basic tcp server/client application. The thing is that I'm behind a router and so will be the other people that use my clients. I've had to use port-forwarding or the software "rinetd"to run quite a few applications online.
Let me explain: I'm on a lan network that connects to the internet. Whenever I want to host a server - for instance a basic ftp or http server. If I give my external IP to anyone, they won't be able to access my server. Even if I portforward, it doesnt work. I have to use rinetd here. For other applications, portforwarding works. I'm not sure how these things work at all.
Anyway, my issue now is that I have created this server/client application. I'm having serious doubts that if I run the server, I'll have to either a) portforward or use rinetd to get people to connect to my server. IF I need to portforward, that's fine. However, using rinetd would really suck... My 2nd concern is as follows: IF the person running the client is in a similar situation as me (i.e he's on a lan that has a router which connects to the net), will he have to portforward or use rinetd as well? If he portforwards that's fine. But I don't think I could get people to use rinetd.... Also, if there are more than 1 person on a lan trying to connect to my server, there is a big problem when they try to portforward: they will only be able to allocate one of their internal ip to that port, and the others won't be able to connect, right? How does this work? I mean, I use many softwares like msn/skype/(some games)/firefox that do not need portforwarding/rinetd. Yet they work. My housemates(other people on the lan) use the same softwares, and it works fine. There's no clash/probs watsoever How come these run fine?
Anyway, back to my issues. Given I have no knowledge about how the above work, I was wondering whether there was a way to host a vb .net server application on an external website (external to my house) so that I might *avoid* the above mentioned problems, and to what extent that would be a sound solution.
View 11 Replies
Nov 1, 2011
Is it possible to connect to a database on SQL Server R2 Express from Visual Basic Express? I am following a set of tutorial videos done in SQL Server 2005, but cannot seem to connect to create the database. I have created the database in SQL Server R2 Express, but cannot connect. Is there a work around?
View 4 Replies
Apr 27, 2011
my code is giving me a serious problems i thought my code has worked prefectly but theresulting valuesare not corresponding with the typed sentences in the text box .i thought when i had trimmed my sentences the code would work but thatis not the case now .i am requesting full assitance with my code is displayed here:
Dim txtInput
As
String =
[code].....
View 8 Replies
Dec 10, 2009
I'm a complete beginner to Visual Basic & am hoping to get a solution here.(VB version = Microsoft Visual Basic 2008 Express Edition)I'm trying to use VB to construct a GUI that runs an external application w/ arguments. The actual app is a DB builder that takes 3 arguments:
- a working directory ( flag = -d )
- an output directory ( flag = -o )
- an input text file
When I run the application from a DOS window it works fine as follows:
[Code]...
View 1 Replies
Jun 22, 2010
How to Exit Application in Visual Basic
View 2 Replies
Dec 9, 2011
I am looking for some tip on how to send keystroke of a mouse button click. Basically my requirement is when a list box is dropped it shows a datagrid, right now user has to click 2 times to get focus on datagrid, although i send a focus on datagrid when list is dropped from dropdown event still the focus stays on list box, i have to click 1 time to release focus from listbox then click on datagrid to set focus. I like to automate this 2 clicks with a keystroke. I dont see any mouse button click keystrokes.
View 4 Replies
Feb 3, 2010
How do I go about enabling web features in my application? I'm wanting to put in a title in my application send it to imbd.com and scrape the site for the results to display in my application. Can anyone direct me to a tutorial or simply tell me how to go about implementing this type of feature?
View 2 Replies
Oct 24, 2011
What is the best way to zip a file with my visual basic application?
View 2 Replies
Jun 16, 2011
How do I completely remove a visual basic application?
View 3 Replies
Apr 25, 2011
I was wondering if someone could tell me how to print text from a console application to the default printer.
View 1 Replies
Oct 4, 2011
We are installing our application on windows 7. The application utlizes a Acces database. The application locates the database by looking in the registry under at HKEY_LOCAL_MACHINE / SOFTWARE / WOW6432NODE / COMPANY NAME / SOFTWARE NAME /STARTUP. When i install the application on windows 7 it places the a database where installshield directs it to and writes the path to the registry. However, somehow local copies of the database are showing up under the user profiles. (Example: c:/users/profilename/AppData/Local/VirtualStore/Program FIles (X86)/Company/SoftwareName/Data). We recently changed it to store the information in c:/ProgramData/Company/software however the same issue occurs and its creating local copies of the database and when the application runs it points to the local copy of the database. What we need is for all users to be pointed to and use the same database in ProgramData, is there something we are missing to accomplish this?
View 10 Replies
Jan 25, 2010
It needs to be run standalone on NT How do you launch a VB app without VB being installed on the run-time computer? The VB executable will be on a CD. It can be standalone or as part of a bat file.
View 5 Replies
Feb 2, 2010
I need to detect a usb device when it is connected to PC.I found next code that is working. But it works only with Mass Storage.
Imports System.Management
Public Class Form1
Private WithEvents m_MediaConnectWatcher As ManagementEventWatcher
Public USBDriveName As String
[code]....
View 1 Replies
Sep 6, 2009
I am trying to figure out how to detect if a device is connected. The exact c# sample can be found here: [URL]
But when I tried to convert it to C# .... I wasted hours!
I googled a lot and changed the declaration of the API many times...
View 3 Replies
Mar 27, 2009
I want to detect when a new usb-device (can be anything) is connected to the computer. I don't need to know what kind of device it is, I just want to know when it is plugged in.
I found this thread: [URL]
I know the solution is in here, but I'm overlooking it I'm afraid. What I want:
USB-device connected > Run function. USB-device disconnected > Run another function.
View 1 Replies