Find-out Computer / Server Name With .net Codes?
Dec 29, 2009
How to findout computer / server name with vb.net codes.I want to use it in connection string
con = New Data.SqlClient.SqlConnection("Data Source=noor;" & _
"Initial Catalog=accounts;Integrated Security=True")
View 3 Replies
ADVERTISEMENT
Jun 22, 2010
How to findout computer / server name with vb.net codes. I want to use it in connection string
[Code]...
View 1 Replies
Aug 8, 2011
I have the following function to find a SQL Server instance. It works fine on local computer. Would you please tell me how to use this function to check an instance on other computer on a Local Area Network? I am using VS 2008 (.NET Framework 3.5) and SQL Server Express 2005.
Private Function MyInstanceFound(ByVal MyInstanceName As String) As Boolean
Dim InstanceFound As Boolean = False
Dim MC As ManagedComputer = New ManagedComputer()
[code].....
View 1 Replies
Oct 3, 2009
Where can I find a list of Virtual key codes? [code]
View 4 Replies
Nov 11, 2011
i was wondering where i can find all the key codes for KeyChar function. eg, the Enter key is 'Chr13' i did a search of DIC and Google, but can't figure out what to look for exactly.
View 6 Replies
May 11, 2009
I cannot find a class library source codes where I can create the sliverlight player so I could input them in the program.
View 4 Replies
Dec 18, 2011
[code]How i can make The Program to find Numbers On Form and Do That without making So Many "Same" Codes?Its Pretty Annoying To Make Big Program nad only Copying and Pasting Text.
View 3 Replies
Apr 24, 2012
Am really crying for getting nothing of my program.This code below stores something which not quite sure if its storing image in database becuase when i go to database, all what i see is null for the column of image while i see other informations such as fname.
[Code]...
View 10 Replies
Mar 10, 2009
Website dat have samples codes on HTTP GET/POST from a device server?
View 3 Replies
Dec 25, 2009
Dear Experts modify UPDATE codes according to INSERT codes Style.
[Code].....
I need update codes as there are insert codes
View 1 Replies
Oct 20, 2009
Are there any good tutorials/links I can work through. I want to make my pc a file server or an ftp server through vb.net. How would I go about doing it?
View 5 Replies
Jul 24, 2011
How would you work out the amount of ram that is in the computer
View 1 Replies
Mar 29, 2012
To get the computer name I wrote something like below:[code]This code works on the server machine but on the client machine its not working.Is there any another way to find the computer name.
View 3 Replies
May 26, 2010
ok i got a hard question I have diferent computers, lets say 200 cps with all known mac address. i got 3 switches with 24 ports each. i want to know if i can be able to know the port No. and switch of a given computer given the mac address... some computer arent in the domain. how could i start puttin this into code
View 1 Replies
Aug 1, 2008
I am trying to get the next available computer name based on a pre/sub fix e.g. "PC0001", atm I have a working solution from sql asset database.Anyone got an idea on how to convert the following from sql query to directorysearcher.filter?"Select TOP 1 Computername from computers where Computername LIKE '" & computerNamePrefix & "%' AND ISNUMERIC(right(ComputerName,4)) = 1 ORDER BY Computername DESC"At the moment I got the following
mySearcher.Filter = "(cn=*pc*)" mySearcher.Sort = New SortOption("Name", SortDirection.Descending)
View 2 Replies
Jun 22, 2010
I have different computers, lets say 200 cps with all known mac address. i got 3 switches with 24 ports each. i want to know if i can be able to know the port No. and switch of a given computer given the mac address. some computer aren't in the domain. how could i start putting this into code.
View 1 Replies
Sep 28, 2010
How can I find the file that keeps my computer passwords such browsers IE? I want to reformat and have a lot of saved passwords sites
View 3 Replies
Jan 26, 2012
I am building a simple network browser that pings a specified range of IP addresses, and if a response is discovered, it gets the host name and MAC address of the device it pinged.My first question is how can I find the operating system of the device (if it's a computer)?My second question is, for devices that aren't computers e.g. a wireless printer or router, is there a way I can find out what type of device it is?
View 1 Replies
Apr 30, 2010
I created a hangman game and It works well when I debug, but when I publish and place it on my son computer, when you guess a letter wrong it shows an error and says it can't find the images. I just it is something that I'm doing wrong but I don't know what. Some of the thing that I have tried is including the images in resources. I believe that it has something to do with the startup path, the path that the images are looking for does not exist. The installer installs the program in the programs file
Private Sub ShowPicture()
Dim strImagePath As String
strImagePath = Application.StartupPath & "imagesfig" & intNumWrongTries + 1 & ".gif"
[Code]....
View 1 Replies
Aug 28, 2009
I am writing a quick program to display the network information of a computer without having to run ipconfig or enter the TCP/IP settings on the network adapaters.I have managed to pull the computer name, local IP address and the external IP address, but I now need to get the default gateway, the subnet mask and the DNS resolvers.I have tried using the registry, but the key differs from computer to computer, so that method has been ruled out.
View 8 Replies
Jun 2, 2012
using vb 2010 to find the fingerprint or digital ID of individual parts of a computer, specifically the motherboard? I have no idea where to begin and everything I can find on the net is written for C#.
View 2 Replies
May 25, 2010
ok i got a hard question I have diferent computers, lets say 200 cps with all known mac address.
i got 3 switches with 24 ports each. i want to know if i can be able to know the port No. and switch of a given computer given the mac address.some computer arent in the domain.
how could i start puttin this into code
View 9 Replies
Jun 5, 2011
I have a webbased proj. What i need is to connect the vb.net app to an sql server via internet. My projects run fine in a standalone pc.
View 3 Replies
Jun 5, 2011
I always get error to connect my project in vb.net to sql server on remote computer?
View 7 Replies
Jul 3, 2009
How do I know where the other end of the NetworkStream from the 'server' computer? I have been looking at the following code that comes from a post out here, and am wondering where I can tell where I am going to send back to(URL/port)?
Private Sub DoListen()
Dim incomingClient As System.Net.Sockets.TcpClient
Do
[code]....
View 5 Replies
Jun 5, 2012
I've created a Http Server in VB.net.I've used the same "template", I guess you could say, for every project requiring an Http Server (quite a few recently).The problem is, this one I'm working with now requires that the computers on the LAN be able to connect to it. I can access the server directly from my computer though using: [code]Now I get an error every time when it tries to apply the prefixes: I've checked all the ports that are listening and 8002 is still open...
View 2 Replies
Jun 12, 2010
I'm running windows 7 64 bit and using VS 2010. I'm trying to use the filesystem.getfiles to find a file on the computer and return the path for it. However, when I search C:/ and its subdirectories, it always throws an error: "A first chance exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll"
I've looked everyone online and can't find a solution. I have administrator privileges and really I dont want people who use my app to have to adjust security settings for this to work. Is there not a way to search the C drive for a specific file and return its path? [Code]
View 1 Replies
Oct 19, 2011
I do have my program running in a network. I have set one main computer as server and installed database system too. My other clients create transaction and saves it to database. Now I need to add date and time of server too in that record
View 1 Replies
Apr 15, 2012
What I tried was using My.Computer.Network.DownloadFile(), and created a shared folder in the other computer to do downloading stuff.But, in fact I didn't know how to fill the path to the other computer, the error was: "...path not supported..."
How about this:
ServerName1 = cmbServerName1.Text.Trim()
database = cmbDataBase1.Text
[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