Which COM Port # to Open?

To discuss Oracle Forms & Reports related technical issues.
Post Reply
Kashif
Posts: 137
Joined: Wed Apr 26, 2006 5:57 am
Location: Pakistan
Contact:

Which COM Port # to Open?

Post by Kashif »

Dear Memebrs.

I have a Time attendance Machine. Which can Connect to any COM Port (i.e 1,2 3,4 .....).
How My Form can Know the Machine is Connected to any Specific Port Number.
If i Hard Code in the Oracle Forms. using this code
MSCOMMLib_IMSComm.CommPort(objVAR,1);
objVar has the Reference of COM PORT OCX Control
This Statment is Assiging the PORT #1 to this Control
Then Its Working Well.
but if the Machine is Connected to PORT number 2 then how do i DO this.

I little Complex Question. if any thig is not understand able then please let me know. i will try to explain it.

Thankx
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests