VS 2008 How To Access Com Port Of Remote Pc
Aug 15, 2009i want to access com port of my remote pc. this pc is connected through LAN.how can i access com port of remote pc?
View 1 Repliesi want to access com port of my remote pc. this pc is connected through LAN.how can i access com port of remote pc?
View 1 Repliesok 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
[Code]...
m really not sure in here because this code is for vb .net 2003.. are they the same?
I've been trying for a long time to do what seems to be the most simplest of things..I have a remote host and I need to know if certain posts on that host are open or closed.Many examples on the net that I have found arent complete, and because I havent worked with VB.net for long I dont knowhow to complete them.Here is my code:: The issue is with this it tell me the target port is always closed, when I know that it is open.Code:Dim host As String = "www.google.com" Dim port As Integer = 80 Dim addr As IPAddress =CType(Dns.GetHostAddresses(host)(0), IPAddress) Try Dim tcpList As New TcpListener(addr, port)tcpList.Start() Catch sx As SocketException MessageBox.Show("port is closed") End TryA friend of mine suggested using WinSock.. I've not dealt with it before so I don't know what he's on about.
View 2 RepliesI 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 RepliesI'm writing a remote desktop software that starts a connection in reverse mode, using RDP API. My problem is that I try to setup the port that the listening socket may use, but it seems not working: it uses always a random port. [Code] The problem is the seems PortId is ignored: my connection string reports other ports number, and the incoming socket is open on port different from 4000.
View 1 RepliesOur company has setup several remote devices that link to a switch Whenever there are problems on the device, some technicans will replace it using a new one We have a vb program that can automatically update the device setup in our server when technicans replace devices. So we do not need to login and update the setting manually However, our program cannot handle the case that there are more than 1 device that need replacement Therefore, our idea is to retrieve the ip and port of the router/switch that links to remote device using VB.net.
View 2 RepliesIm having problem with the Serial Port. When i run my program, "Access to the port 'COM1' is denied". What does that mean? Im not sure whats happening because theres no error in my code. Someone suggest me to use 'COM2'. Which is also the same result. I have a microcontroller, programmed and run it. And i need to capture the data onto my vb, which is on a multiline textbox. How to i do that?Just to double check my code?
[code]...
I have to access remote connection from XP os to Vista os in vb.net How to do that?
View 1 RepliesI've found a few examples of using vb.net to access an sql database, so far none of them have worked . They all involve using DataReaders. Maybe its the fact that the sql db is not on the same machine as the application.I was just wondering if anyone had a more comprehensive example of using VB.NET to access a remote sql server.
EDIT:I've received a few helpful comments an replies already. So far my connection string looks like:
"server=sqlblah.myhost.com;uid=myuser;pwd=pass;database=testdb"
Probably also good to mention their is no editing of the tables a this point, just reading.
I was wondering can I make a program that I can send to other computer so i can access their screen. is this something that can be done in visual basic? i ask how to do this because Verizon did this to me the other day i saw him moving the mouse around and checking the connection but of course i had to accept this and it showed me a thing saying he was off when he was done.
View 1 RepliesRemote registry access using WMI VB.Net..I just need simple example of how to access a remote registry (2000, XP) using the "System Registry Provider" (WMI) in VB.NET.
View 6 RepliesMy client keep on insisting that they want there database to be ms access and not sql server. But they also what to be remotely accessible in there network.
Is it possible to use ms access as a remote database? would the database locked up once a connection is made?
i have written an application in vb.net 2008 that i want to access a remote database.when it tries to connect, this is the error message:[code]
View 2 RepliesI have a web site that connects to a remote SQLServer, and is running just fine.I have some pretty simple 'batch' type tasks that I want to run (as a Windows application) on a scheduler (I'm more comfortable with VB so I prefer that).
Looks like VB Express won't allow me to access the remote data. Everything seems to be pointing to having to buy VS Professional for $545 (I don't have an original one to upgrade). Is there a more economical VB option?
I want to find the coordinates of a speeding vehicle by accessing the position of the vehicle through GPS(from a server system). how to access GPS port and retreive the data.
View 4 RepliesI am currently doing a program to control some device via usb port but i don't know how to interface the usb port using vb.net. anybody can help me with this problem as which namespace I should use?
View 10 RepliesI am looking to access a folder on my web server to retreive a picture and to replace a picture in that folder. I am using VB.Net 2005.
View 3 Repliesquerying a remote Access database! We are currently using this because thus far we have failed at hooking up a sp_linkedserver. I feel like it's a terrible hack and want to be done with this whole network mapping business once and for all!
[Code]...
what are the requirements needed on how to control a terminal pc in terms of programming it. i am planning to use vb.net when we develop the system.
View 1 RepliesI have a working code snippet that I use to Execute processes on remote machines. This works great against my Windows 2008 machine but I get an access denied when executing against my Windows 2003. The access denied is thrown when connecting the scope in the code below. I believe I have give this user all kind of rights but some setting is missing. What settings are required? This is a local admin. Is there any special DCOM settings or?
Public Shared Function ConnectToScope(ByVal nc As NetworkCredentialClass, ByVal strHostName As String) As ManagementScope
Dim scope As ManagementScope = Nothing
Dim Path As String = CType(IIf(strHostName.ToUpper() = Environment.MachineName.ToUpper(), _
"ROOTCIMV2", "\" + strHostName + "ROOTCIMV2"), String)
[code]....
How do i access a port in Visual Basic?
View 3 RepliesIs there a way to enable and than configure routing and remote access on windows server 2008 r2 using a (c#,vb).net script? What i need to do is:Enable Routing and Remote access
Configuration:
Select: Virtual Private Network (VPN) and NAT
Choose Network Interface to use based on given IP subnet
Select: Assign IP: Automatic
...and so on.
Client form need an access to the ms access database located at the Server. I've just created a database in MS Access in the format .mdb, 2000 version. Forms created in the platform Visual Basic 2010. Kindly post procedure or source code to do it. I preferred to use OleDB connection since i used it on a stand-alone access to database.
View 4 RepliesI am currently developing in Visual Studio 2008 (Visual Basic) and I have no problem reading, editing, saving, etc. to a 2007 Access database that is stored locally using the following code:
Dim NotifyDS As New DataSet()
Dim NotifyCon As New OleDb.OleDbConnection
NotifyCon.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|DataSettings.accdb"
NotifyCon.Open()
Ultimately I am going to be installing this program in my office on multiple computers, but would only like to have one "server" program where the database is installed. All of the other computers will have access to this one database over the LAN. For some reason I am unable to access this remote database file over my LAN. I have tried all sorts of things (including a username and password for the server computer),
[Code]...
I have to develop a project by which my office employees can record their time to enter into the office and leave from the office. I have 10 PCs in my office. All PCs are under network environment. This project is highly related to date and time factor. All PCs are used by an individual employee and can not be restricted to change their own PCs local date and time. So I think my project took the date and time from a central server.
View 4 RepliesI'm trying to access server database from a remote computer in lan-based network using this connection string "Server=192.168.10.2; user id=user; password=pass; database=sample_db" .. but it can't open a connection.. I don't know what to do, I tried searching for this but no luck.
View 3 RepliesI'm trying to return from a webpage, the remote HKCUVolatileCLIENTNAMEHere's what I'm doing so far:
Get the Machine Name via DNS - this bit works great:
Public Shared FunctionGetMachineName(ByVal String
[code].....
I have an existing VB6 application which permits two or more users to work with local relicated MS Access databases. At start-up and shut down the local database synchronize with the master database (if the network permits dialogue) using
mDb1.Synchronize etc.
I am trying to port the application over to VS2010 and I cannot find anything equivalent to permit occasional synchronizing of various replicated MS Access databases with the master database (again, if the network permits contact between the two machines). Has anyone found a way of doing this for Access databases (not SQL Server databases)?
Works fine in VB6 but VS2010 has me beaten at the moment.
I have an issue with am access database source located on a remote computer.I tried using ADODB to access it, it works, but when I change( update insert or delete) the database on the remote computer, the changes is not reflected in my application
View 1 Replies