Thanks Richard.
aeskan
Posts
-
How to connect an electrical switch to my vb.net application via USB port? -
How to connect an electrical switch to my vb.net application via USB port?Thank you Eddy for reply.
-
How to connect an electrical switch to my vb.net application via USB port?Thanks Dave.
-
How to connect an electrical switch to my vb.net application via USB port?Thank you dusty_dex, that's what I was searching for. :-D
-
How to connect an electrical switch to my vb.net application via USB port?Hi guys, I've read articles about; "Sending and receiving data from RS232 or USB ports" or, "Using vb.net to switch on/off electrical devices", but conversely in my case I want to just using a simple electrical switch to do something in my vb.net application (via RS232 or USB port). For example; if user pushed an electrical switch button which is connected to the RS232 or USB port, then simply a text same as "Pushed" appear in my application's text box. Briefly, could we connect an electrical switch without any circuit or board to USB port to do something simple in our application? Any suggestion or experience? Thanks.
-
In VB .NET how do we get the new row ID number in an access database table BEFORE inserting the new row?Yes that's the best way, thanks for your remark.
-
In VB .NET how do we get the new row ID number in an access database table BEFORE inserting the new row?Thank you Pete.
-
In VB .NET how do we get the new row ID number in an access database table BEFORE inserting the new row?I'm programming with VB .NET 2010 and using a Microsoft Access Database file which is bound to my project as a Dataset. Now I want to know: BEFORE inserting a new row into my dataset table what will be the new ID number, or totally is it possible to know? Surely you know the autonumber ID of a table is different with row count number, for there may be deleted rows between the table rows. Like the following example: Row 0: ID=1 Row 1: ID=2 Row 2: ID=4 (ID number 3 is deleted) Row 3: ID=5 Row 4: ID=9 (ID numbers 6,7,8 are deleted) Now how do we know what ID number of Row 5 will be before inserting the new row? Perhaps ID numbers 10 and 11 are either deleted or not, so it may be 10, may be 11 or 12 or whatever! Is there a way to know it BEFORE adding or inserting the new row into the table? Thank you beforehand.