Can't Seem To Get VB To Recognise The Computer?
Jun 11, 2009
I'm using VB .NET (2003) and I can't seem to get VB to recognise the My.Computer... method. It tells me the name 'My' is not declared:
Imports System.Net.Sockets
Imports System.Runtime.InteropServices
Imports System
Imports System.Net
[Code]...
View 2 Replies
ADVERTISEMENT
Jun 9, 2010
I am trying to create excel files in vb, but when I open them what I have tried to put into seperate columns by using vbTab is just in the first column with a square between them.Heres the code that relates to my problem:
Dim FileLocation As String = "c:SpeedLogger" & dt & ".xls"
Public Sub WriteToFile()
Try
tm = TimeValue(Now)
[code]....
View 6 Replies
Apr 14, 2010
I'm trying to reference a usercontrol that exists on the page by using a string which contains its name.[code]but all that happens is "myLabel" gets set to nothing.[code]
View 3 Replies
May 8, 2012
I have code which saves DGV contents including check box columns as a comma separated text file. I also have correct code which will take the text file and re-insert it into the DGV at a later time. This all works.When I'm working on the DGV, I have this
Private Sub DataGridView1_CellValueChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellValueChanged
If DataGridView1.Columns(e.ColumnIndex).Name = "Column12" Then[code]....
So that when the check box is true, columns 1 and 3 turn different colours, and when false, go to a yellow colour.However, when I "re-insert" my DGV info from my text file, the check boxes come back correctly - as true and false on the right rows - but columns 1 and 3 don't change colour. I've tried a "DataGridView1.Refresh" option but not getting it to work.The DGV is unbound. I need it to recognise which check boxes are true and update automatically when the information is opened from a text file.
View 16 Replies
Apr 16, 2012
CODE:
That code works to read the entry data and to recognise the correct data, and the incorrect. However, even if entry is correct, the error msgbox will appear (x times of how many records there are in file), despite being navigated to the menu. Anyway that the Else isn't triggered when data is correct. Also for it to appear just one instead of (x times of how many records there are in file.)
View 2 Replies
Mar 19, 2012
i have a task to create a TCP Server (a program that is listening on its network card interfaces for incoming data stream).I have search on the internet and i found that i can use two methods : Socket or TCPListener class.I have created an example for Socket class, but i wondering how could i test it? I need to check that if another computer in the network send some string data to the listener computer , then this message should be displayed.Here is the example from microsoft that i am using for TCP Server using Socket:
Public Shared Sub Main()
' Data buffer for incoming data.
Dim data = nothingc[code]....
But it does not work because of the PORT setting.If in the TCP Server i have "Dim localEndPoint As New IPEndPoint(ipAddress, 0)" the client crashes, but if i change the port from any (0) to 11000 for example,the client works fine.Do you know why?
Later edit2:Maybe i should have started with this question:Which method is recommended for my scope?asynchronous or synchronous method ?
View 2 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
Jul 11, 2009
I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer
Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status
[code].....
But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?
View 6 Replies
Feb 4, 2011
i have encountered a problem, i want to access the data coming to the computer from the in-built bluetooth module of a computer on windows platform, this data has been sent by a remote bluetooth module say a by an autonomous device (just like a bluetooth mouse connecting to the computer). The to be sent is in the form of numbers and i need these to manipulate on the computer.
View 6 Replies
Jun 12, 2010
I have a desktop computer with a cable connection on the back that allows me to watch TV on the computer using Windows Media Center. I had the idea of writing a program that would access this feed and send it to another computer (laptop) via my network. That way I would be able to watch TV from anywhere that my network spans. I have no idea if this is possible or how I would even do it,
So I have three questions.
1: Is it possible?
2: How would I go about access the feed?
3: How would I send it over the network?
My original thought was doing it in Flash, but I'm not very good at Flash so I wanted to do it in VB.Net.
View 2 Replies
Dec 19, 2006
I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?
View 2 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
Mar 31, 2009
Problem:When my computer restarts my mapped drive appears under My Computer. When I try to use it from code I get errors. If I open the mapped drive by double clicking it, and then try the code, it works. What I discovered is that when my computer starts the status, using net use, is
[code]...
View 5 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
Oct 8, 2011
This line of code freezes on my Win7 dev computer but not my XP dev computer.I am using Visual Studio 2003.
strOutputFile = "c: est.mp3"
View 3 Replies
Dec 21, 2009
How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..
View 1 Replies
Nov 4, 2010
I have exe file that lunch a program takes 5 inputs. this exe locates in computer B and I need to execute it from computer A using VB.net customized application that pass the inputs through it.
View 3 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
Nov 18, 2010
how to transfer files from 1. computer to the computer with the program made in visual studio 2008 (visual basic)
View 3 Replies
Feb 27, 2011
how to make automatic backup from one computer to another computer ? I'm using vb.net. We are on the local network.
View 14 Replies
Mar 15, 2012
The way we get my.computer.name, can we also get the name of all computers on a network?
View 1 Replies
Jan 29, 2009
I want to find the computer which are connected with my computer via lan connection using vb.net code. actually a have a mini project in network connection setting.
View 1 Replies
May 2, 2012
This would be easier if I were able to have the external computer get its own name and just pass it to a web service as a variable, but I'm not able to do that right now. There are a variable number of computers from several different entities that regurarly access a web service on one of our servers. Changing only some VB.Net code on the server and nothing at all on any of those external computers, how would I be able to get their names programmatically in VB.Net?
View 2 Replies
Nov 24, 2009
i have a list of Hostnames from computers in my network and now i want to know how i can get the computer-description from these computers.
View 3 Replies
May 3, 2010
We have an VB.NET VS 2005 application that goes out and connects to remote computers on the network to gather information about the running services, processes, etc.
However, not all of the computers and servers are Windows boxes, and this is causing us some grief.
Is there a way in VB .NET to determine if a computer is running a Windows OS before trying to make a connection to it?
View 6 Replies
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
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
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
Sep 17, 2010
I have to computers in my network and i need to listen the Mic from first computer on the second computer
I have the username and password and IPs for each computer
View 7 Replies
Aug 3, 2009
how can i use the IP add of another computer and resolve into the mac add using my own desktop?
View 6 Replies