Hello,
I don't have PBWin 9.0 yet. Just recently upgraded from 7.04 to 8.04. >:(
I read in the PB Forum that with PBwin version 9.0 - Powerbasic with Objects one can access the properties and Methods of COM Objects directly. Just like in VB6 where a save routine would be something like this?
rstEmployees.AddNew
rstEmployees!emp_id = strID
rstEmployees!fname = strFirstName
rstEmployees!lname = strLastName
rstEmployees.Update
Would the AddNew, Update, and Fields methods be accessed directly like this? Does it also mean that one would not need Jose's ADO Include File. I would like to see some sample codes where PBWin9 accesses MS Access through ADO directly.
Kind regards,
Exactly like this, not. The "!" shortcut is not something standard, but a feature of VB. You no longer need my libraries of wrappers. You can find a bunch of examples here: http://www.jose.it-berater.org/smfforum/index.php?board=215.0
Hello Jose,
Thank you for your response.
>>Exactly like this, not. The "!" shortcut is not something standard,
I knew it won't be exactly anyway. :)
>>You can find a bunch of examples here
Thank you so much. But where does ADO.inc file come from?
Kind regards,
Quote
Thank you so much. But where does ADO.inc file come from?
It is one of the many files from my new include files:
http://www.jose.it-berater.org/smfforum/index.php?topic=2656.0
You can use them or make your own using the new PB COM Browser or my new TypeLib Browser: http://www.jose.it-berater.org/index.html
Hello Jose,
Thank you and God Bless You.
Best regards,