|
by: Don Tucker |
last post by:
Hello, I am using Visual Studio .Net 2005 beta. I have my computer's two
comm ports connected with a serial cable (and null modem). I'm trying to
write the letter 'a' out on comm port 1 with the C# program and see it appear
in a Hyperterminal window open on comm port 2. Hyperterminal is configured
with the same settings that the port 1 is opened with (see below), but I do
not get an 'a', I get some funky ASCII character that looks like a...
|
by: DraguVaso |
last post by:
Hi,
I'm experimenting with the Serial Port in VB.NET 2005. Although it isn't
that easy to get any feedback from my COM-port as I thought it would be...
How can I read all the Data that the port sends back?
I tryed with SerialPort1.ReadLine, but that blocks the application and takes
a lot of time (10 seconds!), I tryed SerialPort1.Read, but I have to read it
into a buffer and has to indicate the count, but how do I know this?
|
by: Rasha |
last post by:
Hi,
What is the right way for transmitting data on the serial port of a PC using
VB.NET (under XP) ?
I used to use the ActiveX MSComm under VB6, which becomes obsolete and needs
a certification, only available if Visual Studio 6 is installed.
Thanks for any Help !!!
|
by: ken |
last post by:
Hello everyone,
I'm new to visual VB and I am trying to setup communications to the
outside world. I found the example listed below in the help section of
Microsoft Visual Basic 2005 Express Edition. Using the Hyper Terminal
should I be able to see the string "Hello" or am I completely off base
here? Thank you in advance for all and any help.
Best regards, Ken
Sub SendSerialData(ByVal data As String)
' Send strings to a serial port.
|
by: Hank |
last post by:
Hello,
I would like to get some opinions on using the Comm Port with
Access 2000. We have a few jobs coming in that require us to interface
with a PLC via the Comm Port. My partner feels we should use a Visual
Basic Front End and the VB component as opposed to Access.
Has anyone had good luck interfacing to a Comm Port using
Access?
|
|
by: glaskan |
last post by:
This code is meant to take an input from the serial port and then save the input from the serial port as the name and as the data to a text file but all i am getting is an empty text file or a text file with only "," in it. It would be much appreciated if anyone could help with this problem. Thanks
Private Sub Form_Unload(Cancel As Integer)
MSComm1.PortOpen = False ' Close the comm port
End Sub
Private Sub Timer1_Timer()
If...
|
by: Jared Grant |
last post by:
I am trying to find the value from some output parameters from a stored procedure. I have tried several different methods but somehow cannot get it to work. here is my source code:
dim dr as ODBCDataReader
Dim comm as New ODBCCommand("{call jgrant_awcconnect..edit_equipment (?, ?, ?, ?, ?, ?)}", conn)
comm.parameters.add("@equipmentId", System.Data.SqlDbType.bigint)
comm.parameters("@equipmentId").Direction = ParameterDirection.Input...
|
by: swati2106 |
last post by:
HI,
plz, help me.
how to read GPS data from comm port using mscomm control in vb.net
plz give me the code.
Actually, i have written a code for that but it give exception.
|
by: Miran Kopmajer |
last post by:
I have external device connected to my computer (Windows XP) and I
have aplication developed in FORMS 9.0.4. running on Linux Red Hat
Enterprise
Device is called DPI605R and is used for measuring pressure.
I'd like to create trigger which will read data from this device.
Can anyone tell me how can I open COMM port, initialize and read data?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|