C# - Force Application To Use A Specific IP Address From Running Computer?
Dec 4, 2011
I have a server (server A) that has several public IP addresses. I am building a desktop application that will run on server A to fetch data from another server (server B) using the httpwebrequest class.
What I would like to do is be able to programatically direct the application to use a specific IP address from the one the server (A) has.
View 2 Replies
ADVERTISEMENT
Mar 15, 2012
Is it possible to reload a form of the running application from one computer when I executed a function from my other computer with the same application? co'z I want to see the changes of data on my datagrid view?
View 2 Replies
Jan 29, 2009
I've searched and seen alot of posts about obtaining the mac address of computers but I'm not sure if I understand completely or if those are the ones I need.
I am needing to obtain the mac address of a specific computer via an ip address. Most of what I've seen returns to me an array or list of items.
View 6 Replies
Dec 26, 2008
I have write an application to control internet access on my com, is it possible to use it on another computer thru lan. Meaning that running that app on my com and control internet access on another lan computer.
View 2 Replies
Feb 7, 2011
I'd like to get the clock running on my program which is the clock from the computer and displays it into the label text of my window form. I'm using VB 2008 Express edition and I only get the current value of the time at the moment the application starts but not running as a clock.Is there anyway to do this? I used the line 'Me.Label3.Text = TimeOfDay'.
View 4 Replies
Nov 27, 2009
I'm trying to use the DHCP API (using the references on pinvoke.net) to retrieve a computer's MAC address when given the IP address but I can't get the code to work. I've run all the C# code on pinvoke.net through the C#-to-VB converter but I'm stuck now.
Here's what I have so far. The value of res is always 5 (should be 0). Thing is, I can't find any documentation on what the return codes mean
vb
Private Sub GetMACDim client As String = "1.1.1.1" Dim server As String = "0.0.0.0" Dim si As New NativeMethods.DHCP_SEARCH_INFO si.SearchType = NativeMethods.DHCP_SEARCH_INFO_TYPE.DhcpClientIpAddress si.ClientIpAddress = Convert.ToUInt32(StringIPAddressToUint32(client)) Dim res As UInteger Dim oInfo As IntPtr
[code]....
View 2 Replies
Jun 8, 2011
Using any version of .NET how do you find out which zone a particular share is classified under. I am having a problem identifying if a share where my referenced dlls reside is in the "intranet zone" or "internet" zone relative to some user machine that is running my .NET application. I suspect this is a problem because I am having a problem accessing referenced dlls from a share on some machines but not others. How can I tell which zone .NET is classifying that share in so I can adjust permissions accordingly?
View 1 Replies
Apr 16, 2010
I tried to get os version of remote computer using ip address with WMI ,It shows "RPC server unavailable" error.If anybody have solution for getting remote system information without WMI in vbnet,
View 1 Replies
May 21, 2010
how can i look up for a specific computer given ip or computer name ...retrieve the user logged on..
View 2 Replies
Sep 22, 2010
Any way to set (force) using binary or text for ftp in My.Computer.Network.DownloadFile?
View 4 Replies
Jan 23, 2012
I am calling a function from a VB.NET webserver to a custom written unmanaged DLL.If we call this DLL via a webservice on a multi-core server we run into problems and it always crashes.If I reboot the server and make it only use a single-core, it always runs fine and never crashes.I know the DLL call is responsible for the crash as I have outputted debugging code just before and after the DLL call.I can force the processor affinity of the .NET code to 1 core but this doesn't apply to the unmanaged DLL.How can I force the unmanaged DLL to only run on a single core as I am sure this will solve the problem?
View 1 Replies
Dec 19, 2010
I am running a test program for VB.NET, and it will simply crunch a million numbers in for loop. I've linked a variable implying the progress of the for loop with the progress bar, but it seems that when I run the program, the progress bar does not update itself. The bar itself has only value 0-100 as input (as stated in the document) and I've tested it without using the for loop, and it works.
View 2 Replies
May 11, 2010
does anyone know how to get a computer's mac address with an IP address?
View 25 Replies
Dec 16, 2009
I have a text box labled QTY, which feeds the QTY column on a datatable. the table then is ran through a function that takes the data and converts it to a string which my production machine can read. My problem is this, and its probably really simple (these problems usually are) how to i force the user to use a specific type of input on the txtbox so they would have to put the QTY in the format of 01 02 03 etc etc, i have it set to default to 00 but i want to force the user to haver to input 2 chars.
View 5 Replies
Nov 29, 2010
How can I get the IP address of my computer (on which my application is running)in vb.net
View 3 Replies
Feb 10, 2010
How to get the remote computer name and IP address with vb.net !!! We are running a vb.net application on Intranet. We have users in remote areas who use the application. So I would like to know their computername and password.
View 3 Replies
Jun 6, 2010
How do I get the Internet IP of a computer using VB? not the xxx.xxx.x.xxx of a router. This code will go into a Windows Forms control and will be storable.
View 5 Replies
Dec 27, 2009
I'm trying to develop a windows application where i can get connected to remote server and look for process state going in remote server.We have many remote servers where automatic installation of software going on. We have an xml file(installstatus.xml) where it tells us at what stage the installation is (Example : Inprogress , Completed, Failed.)
So our aim is to develop a windows application where i can get connected to that servers and look for their installation status(may be we can use installstatus.xml to look for installation status). Every time i connect to a server, the server information should get stored in XML file(i want to create a xml file where all the servers list i connect to should get stored)
The UI at left side should will have list of servers i can connect to. When i get connected to server, at right side of UI, i want to display the status of installation (In progress, failed , completed).
View 1 Replies
Aug 6, 2010
Actually it is possible to find the mac address of host computer using but i just want the code for access the visitor's computer mac address in c#.net
View 1 Replies
Oct 10, 2009
how to get physical address of computer having Windows 7.
View 8 Replies
Jan 29, 2009
I am developing a computer application designed to monitor the network and CPU statistics on a computer remotely. The monitored computer would have my program installed and the monitoring computer would display, in a form, the information being sent from the remote client.The application does not send any information regarding packets, user names, passwords, etc. It is solely meant for monitoring CPU performance and Network resources remotely.
What would be the best method to send this information over to my host machine?I am programing in Visual Studio 2008 on windows XP. The client machine is also XP. I know this sounds a little shady, but it is required for my little business (http://www.iquorum.net) to monitor what and when something happens on our machines when I and my employees are away.
View 2 Replies
Sep 2, 2007
I am new in to .NET. I am creating an application where I have to perform Mail Merge from my program. I have created a form which contain RTB and user can write letters. I programmatically add tags for address, name, comp. name et while saving the letter. I have a datasource - in for mof a dataset to whom I have to send the letter.This is where I am stuck. I don't know how to open the selected letter and replace the tags and how to do mail merge.
View 6 Replies
Feb 22, 2011
im in the process of using vb.net code to return the ip address of my machine its working sorta correctly i can get the right ip address if i change the addresslist.getvalue(0) from [0] to any where up to [5]this im guessing is an array of information in the network adapter or something im not real interested in the other information in the other values my problem is depending on weather i have ipv6 options enabled in my adapter settings the true(192.xxx.x.x) is in value(2) for on and value(3) for off also i tried it on another machine and it came back as value(5) of 12 my problem is i can display every value() that has information in it in a text box but i cant make the program find the right address to use(192.xxx.x.x) this code runs and produces a multiline textbox with up to 11 lines of data in it and the ip address is visible in the list of data
Dim myIPs As System.Net.IPHostEntry = Nothing
Dim ip As String
Dim h As System.Net.IPHostEntry = Nothing
[code]....
but is there a way to either compare the adapter address list to a mask to get the correct value() for the ip address or is there another way to return the ip im not aware of?
View 1 Replies
Jun 1, 2008
I have to create an online application which i can apply it on every employee's computer in my company and i have create the application on visual basic 2008 and SQL 2005 using windows application and database. The problem is i do not understand how am i going to run the application on every employee's conputer. Because i have create the application on my computer, must i install SQL on every employee's computer? or any other software i have to used.
View 8 Replies
Jan 9, 2009
How do I address a specific control that is on a UserControl? For example, I have a UserControl containing a TextBox, that I add to a form in code. Now I want to set the text of that TextBox, but I'm not sure how to do that.
View 1 Replies
May 22, 2009
What's the best way to monitor a specific address in memory? And is it possible in theory to block a certain address being written to?
View 1 Replies
Dec 11, 2011
i am trying to run a .vbs script that is not in the same directory as the program is in
Dim CustomInstalaionPath As String = "C:UsersuserDesktopTest"
Process.Start(CustomInstalationPath + "/run.vbs")
the program is running in the normal directory for de-bugging
C:UsersuserDocumentsVisual Studio 2010Projects...
i have tried loads of ways but nothing is successfully running it
View 1 Replies
Dec 21, 2011
I have a system with multiple IP address. But I'm allowed to initiate SOAP Request only from one IP address. How do I obtain that in VB.NET.
View 2 Replies
May 13, 2011
I have this code which gives me all of the information I need regarding tasks, information etc. I have it all shelled into a VB program and I want to be able to run this from one computer and have it return the data from all computers on the domain.[code]I have script that will list all users on the domain, can I implement that or is there an easier way? If I could search the entire domain for a specific file that would work too.At the moment I just need all the data returned to a text file, I am not worried about it being sorted, or how long a process like this would take.
View 1 Replies
Sep 21, 2009
I have written an application for a customer, and the application is run in various locations around the world. The company carefully controls the release of the software to the various buildings where it is being used, and because of this, I have made use of the "Check for updates" feature. The problem I am faced with, is that the folks using this software more often than not answers "NO" when prompted to download and install the latest version of the application. This is unacceptable and ultimately, we'll need to go in and have them manually install the software.
We don't publish updates to the software w/o meaning for them to be necessary, and I find it hard to believe that Microsoft doesn't recognize this sort of thing as being needed when they designed the update procedures. Alas, this seems to be the case.
View 4 Replies