how to handle this error [message #135170] |
Tue, 30 August 2005 04:29 |
toufiq_raja
Messages: 39 Registered: May 2005 Location: Islamabad
|
Member |
|
|
hi all.
i am using an activex controll ( hardware info )... and importing ole package and events of hardware controll.
when i run the form, an error comes...
"ole object not defined for the item in the current record group"
whts happening ....?
need help
Regards!
|
|
|
|
|
|
|
Re: how to handle this error [message #136089 is a reply to message #136087] |
Tue, 06 September 2005 01:21 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Unlicensed at home and licensed at work is completely acceptable to Oracle. They like it actually, as they don't have to give you any support and you create applications that increase the number of users and processors running their software that do need to be licensed.
I think your problem is to do with EITHER the difference between the DS on your home machine and the AS on your corporate machine OR the difference in the various paths that are defined on your various machines. Export the Oracle entry from your home registry (make sure your change the '.reg' to '.txt' because if you accidently double click it on the other machine, you will be very unhappy), read it as a flat file on your corporate PC and compare it to the entries in the corporate machine's register.
Make sure the 'extra' jar files come at the 'end' of the register entries and not at the beginning. This is opposite of what you do for your forms and reports which need to have the work directories at the beginning of the register entry.
David
[Updated on: Tue, 06 September 2005 19:30] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: how to handle this error [message #136462 is a reply to message #136456] |
Thu, 08 September 2005 02:40 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Okay ... creating something twice is not my preferred method (I am not a god and therefore make errors).
Please, please, please, take the form that works, open it in the 'other' version, do a Ctrl-Shft-k and then a Ctrl-t, and then try to run it. If it will not open in the 'other' forms builder, then use the adminstration feature of the working forms builder to convert it to an 'fmt', then using the forms builder that is 'failing', convert it back to an 'fmb' and then do a Compile All and Generate.
David
|
|
|
|
|
Re: how to handle this error [message #136700 is a reply to message #135170] |
Fri, 09 September 2005 10:21 |
ramisy2k
Messages: 150 Registered: April 2005
|
Senior Member |
|
|
Toufiq,
I am unable to understand why you are wasting yours and our's time on a thing which is not even clear to you for what you are doing. what are you trying to do??..i have checked the three forms in the your file and amazed to see that you have told others in your own Form of how to get the serial no but you have forgotten yourself to act on that..I just followed the 'Note' mentioned on your Form and got my hard disk serial no. have you followed that? have you made this form yourself??
just see the snapshot below
it says'
Right click and select the activex
'HardWareInfo Controll and press
the verify button
this is your statement...now follow this step after copying the two .dll files and one ocx controll to your windows and windows system folder, and register the ocx from RUN command....
you problem will be solved..
secondly, if you dont want to insert the OLE Hardware control at runtime you can insert it in the same way in layout editor and then run the form...
the error you are getting at runtime is because you have not inserted the the hardware control to you OCX item and calling the serial number through the procedure at new form instance...
lastly, if you had followed all the steps given by me at this link
http://www.orafaq.com/forum/m/133984/68790/#msg_133992
you would not have faced this self created problem
hope this will be clear to you..
Asim.
-
Attachment: 123.JPG
(Size: 61.63KB, Downloaded 2182 times)
[Updated on: Fri, 09 September 2005 10:40] Report message to a moderator
|
|
|
Re: how to handle this error [message #136757 is a reply to message #135170] |
Fri, 09 September 2005 22:58 |
toufiq_raja
Messages: 39 Registered: May 2005 Location: Islamabad
|
Member |
|
|
mr. asim u r not getting my point
if u read all the threads u will see, i have mentioned the error.
i said that when i use the licensed version form, errors comes becuase its not inserting the ocx controll at run time in new form instance and gives the error ("Ole object not defined for b in current record")while in unlicenced version it works without error,
i inserted the ocx before running the form, but error comes
another problem is there in unlicensed version
that it shows the hdd# of the other machine, i.e. when u first time sended me the file, i told u that it shows ur hdd# this is problem in unlicenced version,while in licensed version ocx controll does't attach at run time, u have to manually select the controll.
thts why i sent three forms one generated in licenced version, on in unlicenced version and other have controll of both version on one form.
try to think and workout what i have said, and trying to ask
regards
raja toufiq
(+92-333-5126445)
|
|
|
Re: how to handle this error [message #136763 is a reply to message #135170] |
Fri, 09 September 2005 23:56 |
ramisy2k
Messages: 150 Registered: April 2005
|
Senior Member |
|
|
Toufiq,
I dont have the licensed version so i can't say anything why it is not working..make a new form in licensed version and insett the ocx control...dont use the unlicensed version form in licensed version...
secondly, in unlicensed version if you insert the OCX control at run time then it will give you the correct hard disk no. of that machine..check it i think it will work..
whereas, in unlicensed version if you insert the OCX control in layout editor then it has the problem of giving the same hard disk serial no for every machine just like my original form..
i dont have further time to look more into it this week and the next..
though you may talk to me on my cell
regards,
Asim
+92-300-8820623
|
|
|
|
|
|
|
|