Read File From Another Computer Through Ethernet Cable?
Oct 9, 2009i would like to ask is there a method which i can read a specific file from another computer??i would like to use IP address to specify the address.
View 21 Repliesi would like to ask is there a method which i can read a specific file from another computer??i would like to use IP address to specify the address.
View 21 Repliesi want to make a little program that virtually REplugs my internet cable.
View 1 RepliesI 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.
I have a remote computer on Cable Internet. Im needing to dial a phone number which is on a Avaya VoIP network. Is there any way to do this in vb.net? Ive noticed alot of stuff using modems and AT commands but thats not what Im really looking for.
View 4 RepliesI want to read the ethernet port by using visual basic. It would be great if anyone can guide me for this.
View 5 RepliesI'm trying to read a file line by line. Right now I have...
My.Computer.FileSystem.OpenTextFileReader(strList).ReadLine() But I keep pulling the first line, not the next line and so forth, anyone know how to do this? I want to stay with the My.Computer namespace because it is thread safe.
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 RepliesI 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 Repliessetting up a Ethernet connection using vb.net...
View 4 Repliesis there a way to read a specific file from another computer through ethernet cable??for example, there is a text file on my laptop and i would like to us my desktop to retrieve it using VB2008 through ethernet..i like to use IP address which is more specific..
View 3 RepliesHow can I read unique Computer ID using vb.net
View 9 RepliesI am working on an application that collects data from PCs on the network using WMI queries. Is there any sample code that knowing the subnet would autodiscover PCs nearby?
View 4 Replies[code]Through these ports I have been able to connect simple press-button triggers (or switches) and programatically "read" them. i.e. tell when they are open or closed, grounded to earth or not.With modern PCs I am now somewhat limited. I can still use the MIC port and USB port (when connected to a USB/Serial cable) but since WiFi, my ethernet port is now "available". If you've read this far, you already know my question. How can I "read" the ethernet port pins. I realize that perhaps not all the pins may be simply read, but perhaps one or two at least.
View 1 RepliesIn the past I have been able to simply read the physical pinouts on the:
Games Port (DB15) (using PEEKS and POKES)
Parallel Port (DB25) (also using PEEK and POKES(888))
[code]....
Through these ports I have been able to connect simple press-button triggers (or switches) and programatically "read" them. i.e. tell when they are open or closed, grounded to earth or not.With modern PCs I am now somewhat limited. I can still use the MIC port and USB port (when connected to a USB/Serial cable) but since WiFi, my ethernet port is now "available".|||||||| (8 pins).If you've read this far, you already know my question. How can I "read" the ethernet port pins. I realize that perhaps not all the pins may be simply read, but perhaps one or two at least.
I am writing an app that does part of what another app does (I have no access to the source for the other app other than to see Wireshark output.)
I need to send a broadcast over the LAN and then parse the results. However, the sending of the broadcast seems to be code that is direct to the LAN connection, as in it doesn't seem to write to a standard IP/port combo.
I see apps like Raw Ether that do this at a cost of hundreds of dollars.
Is there some way to not have to buy 3rd party stuff to do this in VS2011 w/ VB.net?
I would like to get the decimal character with vb.netIn Greek the decimal character is "," while in other countries they have "." as decimal character.
View 2 RepliesI have a device that communicates with the pc via a serial to usb cable. So I have made windows form with a serial communication to speak with it. The communication is every 125ms so every time it checks if the com port is open and sends the new message. The problem is that if the usb is not connected the program tries every 125 ms to connect to the serial port and the busy cursor appears always and the form is not responding to any action (for example enter into the menu or refresh a listbox). I have tried multiple times to connect and disconnect the usb while the program is running. That's mean that the serial connection stopped and started all over again several time. The problem is that occasionally it shows an error "unable to open com port".
View 10 RepliesI recently came across a problem with My.Computer.FileSystem.DeleteDirectory(). It will not delete read only files.I found out by Googling that I could delete the read only files by changing the file attributes to 'Normal'. So I wrote a recursive function, as below.
Private Sub DeleteDir(ByVal dir As DirectoryInfo)
For Each d In dir.GetDirectories
DeleteDir(d)[code].....
It seems to work fine, but it would be nice if My.Computer.FileSystem.DeleteDirectory() had another parameter to delete read only files, or there was an easier way to do this.
I am having trouble getting the total due for businesses to calculate correctly. Especially when I run the program and alter the amount of connections or the number of premium channels.
[Code]...
I need to get data from 2 databases namely cable and History. The results obtained from it will be display in a datagridview. MyCommand is a sql statement i wrote. However,i have errors in it. The codes are as followed.
Dim dbset As New DataSet
Dim data As New OleDbDataAdapter
data = New OleDbDataAdapter(MyCommand)
[code]....
I need to read data from a GPS logger that plugs into a computer using mini USB.
I need to do this with C# but ive never used C# before so i am completely clueless.
I dont need code right now though the first thing i need to do is just recognise what processes this task consists of. What method is used what are the things i need to do.
I really need it explaining in as simple terms as possible ive tried searching the net for it for hours but terminology is so complicated and im so clueless i dont think i would recognise the correct information if it hit me in the face.
I would like to detect the insertion, and completion of installation of a USB cable in VB2008 as two separate events. The driver gets installed prior to insertion of the cable.
View 5 RepliesI have a txt file that I need to read into a listview, but I need to read from a specific line in that file. Below is a sample of the txt file to read,
6400,3200,2,95.5,84,76.6,0
1,2,-20,15,0,0,0,"NO",0,0
TOTAL GPM= 6400 HWT= 95.5 CWT= 84.0 IWBT= 76.6 ALTITUDE= 0
CODE]...
I need to perform a huge amount of registry read operations, and I'm trying to figure out a way to make each read operation faster than using My.Computer.Registry.
If I used APIs directly to do it, it should be faster, right?
So I am trying to get info from a scale using an RS232 cable into a VB2010 program. But before we even start talking about that, I don't know ANYTHING about serial ports. I need to learn how to get the data from the scale without programming first... I am using Win7. I do have a sample program (w/ source) I downloaded [URL]) It runs without any errors, then I have a big USER error, what do I push? How do I tinker to figure out the right settings on this interface? or any interface. These are the sittings for the scale: [URL] I am considering returning my scale and getting something with maybe USB on it, I need to be able to weight things up 100lbs, I am shipping car parts.
View 8 RepliesIs it possible to toggle the D+/D- signals of the USB port to activate a relay
View 9 RepliesI have a VB.net app running on one computer, displaying text into 2 texboxes or labels.I need to see the two values in two sperate textboxes or labels from the two labels on another computer via a null modem serial adapter.
1st computer.
Code:
serialport1.writeline(label1.txt)
straight forward right?
2nd computer to read the data
Code:
Private Sub SerialPort1_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
dim s as new string = serialport1.readline()
label1.text = s
This is what I was thinking;
Code:
serialport.writeline(label1.text & label2.text
This would send the two values over the serial port. How would I seperate the two values and display them in two different texboxes?cannot use them together)Am I on the right path at all? Or using the serialport.writeline method won't work at all....
I am doing wrong? I am using VB2008/VB.NET to send a command (set to 4 volts) to a Tenma DC Power Supply over an RS232 cable. I don't have documentation from Tenma that lists the commands that the instrument understands, I got "VOLT040" from a program in an older version of VB that someone else wrote for this instrument. The code is below:
[Code]...
I have created a program that saves the co-ordinates of the users mouse and saves it to a text file to be used as an auto clicker.
View 2 RepliesI'm using vb.net 1.1 to develop the program. I got text files that contain test result from a machine, like below.
T1 1.24535 2.56335 2.43253 1.24538 2.55619 4.35243
T2 1.42542 1.63728 3.57295 4.59275 1.57320 2.72057
T3 5.12857 2.45375 6.38593 2.58375 3.57259 3.57204
I need to check the test result with the data from database, to find out which test result is failed. If there is a fail test result, I will show an alert to the operator and stop the checking process. Until the operator close the alert, then the checking process will continue from the last read point.