Currently I'm doing a project on Torque test sensor. i already have a OUSB board which can get a Analog signal and convert into Digital send through the USB port. I am using VB.net and i can pass the commands into the board through the USB port. since i have the driver to and I know all the command to communicate with the board. I can send and get values through the CMD window. Also i can send the values through Shell command in VB.net. But I can't grab the incoming values through the usb port when I am uisng VB.net[code]...
Im 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?
I'm confused , in the old days if I wanted to access a parallel or serial port I would simply set up the appropriate registers and read/write to I/O Registers. but USB is a whole different animal. Lets assume I plug device X into a usb port How do I find where the pc, or manufacturer has placed it? If it's a ddl then what is my fetch? if it's a virtual port where do I find the virtual irq and read/write port? What if it's a dongle, where do I find it's read registers? what if it's an external piano, where do I find it's sound out read regs etc.
i actually wanted to know how to program my USB port in Vb.net . I want the USB port of laptop to work as a serial port and for that i have an USB to Serial port converter ... But since laptop does not have any COM ports how do i know the to which USB port is my Adapter connected... ?
I am looking to write a VB.NET windows app or service to do simple HTTP port forwarding. This is normally done within my router, but I have more forwards to do than the router can support (10) so I would like to do it programatically.
Quite simply, an HTTP request would come in on a port where the application/service is running, and it would automatically forward the conversation to another IP address and port. That way, my router could forward a range of ports to one machine (where the application/service would be running) and the application/service would dole the requests out to the various IP/Port combinations it was listening for.
I'm working on a project that involves sending information through a GSM module, this module is connected to the system through a USB port. the information to be sent is gathered from a database using VB, now I need to send the information from my VB program to the USB port for onward delivery to the GSM module.
I have an order entry system which was developed using vb.net it uses an ms access database.I think I might be able to use mono?I'll need an IDE if possible.
Can someone tell me what I'll to download and what problems I might face, also any suggestions.
I have very limited knowledge of any programming and am desperately trying to learn. I am attempting to use Visual Basic to create a simple program to operate our church's projector from the computer. I am able to control the projector using hyperterminal and accessing the serial port. I am wondering how I would code a button to send the correct signal to the correct port? I have a simple setup w/ my church logo in background with three buttons. There is an On, Off and Freeze button. I am simply needing to know how to program the buttons to access the serial ports. I hope I am being clear.
I have a VB.Net 2008 app that I have converted from VB6 which reads data from a weight scale connected to a serial port. I am able to read the received data and display it on the screen, but when I go to Stop the reading and attempt to close the serial port, the app hangs.
Private Delegate Sub ShowWeight(ByVal tWeight As String) Private Sub comScale_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles
i want to know how can grip messages come by serial port and create data base to this message ,,,i mean to drop this message to . record to store it and i can use in my program
i have the following code which runs ok, but it hogs upto 95% of the CPU.program outline: a timer tick event = 1000ms scans through 30 readlines of data on the comport for a specific line of hex, and then extracts information from the next line and converts it to decimal for viewing on the screen.i've only included the main part of the code to try and keep it simple.
Public Class Form1 Private WithEvents serial As New IO.Ports.SerialPort Public grab As String Public cardIndex As Integer
I'm trying to make a Client that will automatically run a .DLL that I have created and send information over port 80 to my Server program that will take that data and import it into a database for me. Problem is, I don't know where to start as I have never done this before. I want to do this in VB .NET as this is the programming language that I know. What are methods of doing this? Is there sample code out there for something like this? My google searches are failing me.
A better layout of what I'm trying to do:1. Client Runs .DLL, retrieving information from an Excel file.2. Client takes these properties with the data it contains and sends it to a program outside of the local network through port 80, my boss refuses to let me use any other port.3. Server accepts the data and builds its own properties to be imported into my Access Database.4. Repeat over, and over, and over, and over.
I plan for the server application to be a console application, and the client to be a windows form.
i published my program (all the files in the bin folder). My computer crashed. Is there ANY way i can retrieve all the codes and everything out my program to VB? This is very important. This took pages and pages of codes to make, i know how to do everything its just going to take a long time to do so.
I have managed to connect vb.net to Microsoft database access but now i am struggling with the code to authentication log in. when i log in to the form i want it to display the user name in the label in vb.net form.
I want to write a program that can control port communication in a PC by blocking certain port based on the admins request and also monitor incoming and outgoing network traffic. Can i achieve this using vb.net winsock?
I am supposed to make a software for data logging via serial port but the hardware is expected to be delayed and iam required to continue with the programming of the software. What i need is that by some mechanism i want to send data on serial port (COM port) and after delay of some mili seconds i want to detect that data. I actually want to do this because i want to create environment like my software i intercepting COM port and on receiving data it captures the data values on port and record them to database. I have done most the work, the only thing left which i want is as above how i will send data on COM port (this was to actually to be done by hardware) and detect it in my program (same program from which data was sent). Please guide from where should i start.
Should be pretty simple for a pro. i have images in sql server database and i want to retrieve them in my aspx (vb.net) file.i have in aspx this image control -in vb.net i have started this [code]..
I want to download mails from pop3 server to my local system ie.. something like what other mail clients do i can send mail successfully through system.net.mail.message & by creating a smtp client through system.net.mail.smtpclienthow
My sql statement adds details of a new employee returns a @employeeID. I need to retrieve this @employeeID to display the details of the newly added employee in my viewprofile.asp.vb. How do i go about coding the VB to retrieve the @employeeID from the SQL and include the @employeeID variable in my VB code so that it displays my newly added information?
I'm trying to copy a file to "My Documents" folder via VB.Net. But my problem is that I don't know how to set the path. For example on my computer the path looks like this:
"C:Documents and SettingsArithmeticaMy Documents".
as you see this path only exists on my computer. I'm trying to find a way to retrieve the windows account username right in VB.Net.