Home » Developer & Programmer » Forms » need help
icon8.gif  need help [message #133264] Thu, 18 August 2005 05:14 Go to next message
toufiq_raja
Messages: 39
Registered: May 2005
Location: Islamabad
Member

i need to know, how i can use ora_ffi package to read serial number of hard disk.

i got a routine in vb which reads the hard-disk serial number.
will ora_ffi be able to interact with vb to read its out put
is there any other way i can complete my task

regards
Re: need help [message #133398 is a reply to message #133264] Thu, 18 August 2005 18:53 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Can your vb routine, via ODBC for example, write to your Oracle database? If yes, then write to a 'special place' and then get your form to read the vb 'special place' and compare it to the stored serial number.

Have a search of this forum for 'ora_ffi', there should be enough threads to give you a good start to solving your problem.

Questions: can a vb routine have 'out' parameters as well as 'in' parameters? Are vb routine always 'procedures' or can a vb routine be written as a 'function' with a return code? Can your routine read your Oracle database, compare the stored value with the 'live' value and, for example, return a non-zero return code to indicate 'failure'?

David
Previous Topic: set size of a button
Next Topic: how to kill ifweb90 in forms
Goto Forum:
  


Current Time: Thu Sep 19 22:42:14 CDT 2024