VB.NET - Serial Communication doubts in VS 2008

Asked By Indu mathy
01-Jun-09 01:35 PM
Sir,
 my problem is to do serial communication bet a PDA(Windows Mobile 5.0) and hyperterminal and my doubts are

-should i need to compulsory use the "device manager" for this comm.
-though i wrote program in console app n windows app on VB.NET its not working
-what type of serial cable to be used for this.


Plz help me sir....I thankful to u in advance....

Re  Re

01-Jun-09 02:12 PM
Hi

here some cool tutorial her to serial port with windows mobile

http://msdn.microsoft.com/en-us/library/aa446565.aspx

http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesvbcs/thread/542b74c4-1514-4488-96f0-863ccd4c67f3

thank you
  H K replied to Indu mathy
01-Jun-09 04:00 PM
In order to communicate serially between PDA and hyperterminal, you can use vb.net and make use of the Serialport class available under the namespace

System.IO.Ports.

its not mandatory to use device manager, you can refer to the code below in c# for serial communication b/w PDA and hyperterminal with out use of device manager.

http://www.codeproject.com/KB/mobile/bth_serial_port.aspx

Regarding the cable as you are making use of serial communication, rs232 or sync cable should be good enough.

 
Create New Account
help
Time (US & Canada). [11 / 17 / 2011 19:10:25.0731] [0] Operating System version: Microsoft Windows NT 6.1.7601 Service Pack 1. [11 / 17 / 2011 19:10:25.0731] [0 the server.). [11 / 17 / 2011 19:14:14.0479] [1] Executing: if($RoleInstallWindowsComponents) { # Install any Windows Roles or Features required for the Client Access role Install-WindowsComponent -ShortNameForRole "CAS" -ADToolsNeeded $RoleADToolsNeeded MSExchangeADTopologyService, 1484, msftesql, 1532, svchost, 1552, SMSvcHost, 1576, Setup, D: \ Setup.EXE 1576, Setup, C: \ Windows \ SYSTEM32 \ ntdll.dll 1576, Setup, C: \ Windows \ system32 \ kernel32.dll 1576, Setup, C: \ Windows \ system32 \ KERNELBASE.dll 1576, Setup, C: \ Windows \ system32 \ ADVAPI32.dll 1576, Setup, C: \ Windows \ system32 \ msvcrt.dll 1576, Setup, C Windows \ SYSTEM32 \ sechost.dll 1576, Setup, C: \ Windows \ system32 \ RPCRT4.dll 1576, Setup, C: \ Windows \ system32
Time (US & Canada). [11 / 17 / 2011 19:10:25.0731] [0] Operating System version: Microsoft Windows NT 6.1.7601 Service Pack 1. [11 / 17 / 2011 19:10:25.0731] [0 the server.). [11 / 17 / 2011 19:14:14.0479] [1] Executing: if($RoleInstallWindowsComponents) { # Install any Windows Roles or Features required for the Client Access role Install-WindowsComponent -ShortNameForRole "CAS" -ADToolsNeeded $RoleADToolsNeeded MSExchangeADTopologyService, 1484, msftesql, 1532, svchost, 1552, SMSvcHost, 1576, Setup, D: \ Setup.EXE 1576, Setup, C: \ Windows \ SYSTEM32 \ ntdll.dll 1576, Setup, C: \ Windows \ system32 \ kernel32.dll 1576, Setup, C: \ Windows \ system32 \ KERNELBASE.dll 1576, Setup, C: \ Windows \ system32 \ ADVAPI32.dll 1576, Setup, C: \ Windows \ system32 \ msvcrt.dll 1576, Setup, C Windows \ SYSTEM32 \ sechost.dll 1576, Setup, C: \ Windows \ system32 \ RPCRT4.dll 1576, Setup, C: \ Windows \ system32
types? (B) What is concept of Boxing and Unboxing ? (B) What is the difference between VB.NET and C#? (I) what is the difference between System exceptions and Application exceptions? (I)What COM? (A)How can we use .NET components in COM? (A) How can we make Windows API calls in .NET? (B) When we use windows API in .NET is it managed or unmanaged code? (I)What is COM? (A) What How can we know a state of a thread? (A) What is use of Interlocked class ? (A) What is a monitor object? (A) What are wait handles? (A) What is ManualResetEvent and Webservices (B)What is an application domain? (B) What is .NET Remoting? (B) Which class does the remote object has to inherit? (I) what are two different types of remote Cache substitution? Chapter 6: OOPS (B) What is Object Oriented Programming? (B) What is a Class? (B) What is an Object? (A) What is the relation between Classes and Objects? (B are different properties provided by Object-oriented systems? (B) How can we achieve inheritance in VB.NET? (I) what are abstract classes? (B) What is a Interface? (A) What is difference
Difference between vb and vb.net Hai, I want to know about the main difference between vb and vb.net. • The greatest change in VB6 and VB.NET is of runtime environment. VB6 used the VB-Runtime while VB.NET uses the .Net Common Language Runtime (.Net CLR). The CLR is much better designed and