Joanne M. Orzech
asked on
Can't import form
When I try to import a form, I get various error messages. The log says this:
Line 2: Property OleObjectBlob in frmFU could not be set
What does this mean? I really need access to this form.... I can't import it or copy it anywhere.
Line 2: Property OleObjectBlob in frmFU could not be set
What does this mean? I really need access to this form.... I can't import it or copy it anywhere.
Have you tried adding a reference to Microsoft ActiveX Data Objects Library before importing?
Actually it doesn't have to be activeX Data Objects library. It could be a missing reference to another library as well. What does the code on the form do?
ASKER
Thanks vinnyd79. I just tried that - still errors.
Three error windows come up.
Errors during load.
System error ------------------------ Unspecified error.
Out of memory.
The form attaches to an access database and then performs a search for the user.
The control that is causing the problem is called CD1 for what it's worth.
Three error windows come up.
Errors during load.
System error ------------------------ Unspecified error.
Out of memory.
The form attaches to an access database and then performs a search for the user.
The control that is causing the problem is called CD1 for what it's worth.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just tried - thanks.
This is the error I get:
Could not paste the control. The control could not be created because it is not properly licensed.
We got this form from a third-party developer.
This is the error I get:
Could not paste the control. The control could not be created because it is not properly licensed.
We got this form from a third-party developer.
Do you know which control the message is referring to? If so,you will need to add that control to your system and register it using RegSvr32
ASKER
I have the Common Dialog registered..... which is what I thought it was. comdlg32.ocx It says Properties: CD1 Common Dialog.
ASKER
I've tried to upload the form here:
http://f1.pg.briefcase.yahoo.com/bc/joanneorzech/lst?.dir=/EE&.view=l
see if you can get it.
Thanks for your help vinny
http://f1.pg.briefcase.yahoo.com/bc/joanneorzech/lst?.dir=/EE&.view=l
see if you can get it.
Thanks for your help vinny
I wasn't able to get the file. Maybe you can try removing the common dialog to see if that was the cause.Are you using VB6 with atleast Service Pack 5?
Hi JOrzech:
I also am not able to see anything in the link you have provided.
Maybe open the .frm file using Notepad and copy and paste the top rows of the form here, so that we can see if it is actually
comdlg32.ocx or something else causing your problem. The refernce to CD1 can be of interest.
Dabas
I also am not able to see anything in the link you have provided.
Maybe open the .frm file using Notepad and copy and paste the top rows of the form here, so that we can see if it is actually
comdlg32.ocx or something else causing your problem. The refernce to CD1 can be of interest.
Dabas
ASKER
I'm using Visual Basic 6.3
ASKER
Is this what you need?
VERSION 5.00
Begin {C62A69F0-16DC-11CE-9E98-0 0AA00574A4 F} frmFU
Caption = "Find User"
ClientHeight = 1665
ClientLeft = 2040
ClientTop = 2340
ClientWidth = 4755
OleObjectBlob = "frmFU.frx":0000
StartUpPosition = 0 'Manual
End
VERSION 5.00
Begin {C62A69F0-16DC-11CE-9E98-0
Caption = "Find User"
ClientHeight = 1665
ClientLeft = 2040
ClientTop = 2340
ClientWidth = 4755
OleObjectBlob = "frmFU.frx":0000
StartUpPosition = 0 'Manual
End
JOrzech:
OK. We see the OleObjectBlob defined there.
With complex controls, there is an frx file that has the same name as your frm file that holds extra information.
I suspect that in your case it either is missing or corrupted.
At the beginning of your question you say "When I try to _import_ a form"
How did you do the "import"? Did it include the frx file?
Dabas
OK. We see the OleObjectBlob defined there.
With complex controls, there is an frx file that has the same name as your frm file that holds extra information.
I suspect that in your case it either is missing or corrupted.
At the beginning of your question you say "When I try to _import_ a form"
How did you do the "import"? Did it include the frx file?
Dabas
ASKER
Sorry Dabas - holidays - company.... yes. I've got the *.frx form - when I try to import I point to the *.frm. Is this not correct?
JOrzech:
You have to import BOTH files
Dabas
You have to import BOTH files
Dabas
I still do not understand what you mean by "import"
ASKER
Thanks for your continued help. I try to import the form into a project in Word by going to VBE and File, Import.
JOrzech:
Why in Word??? I thought you said you are using VB6?
Dabas
Why in Word??? I thought you said you are using VB6?
Dabas
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The template is a Word template. When I go into Visual Basic (F11) from Word, under Help, About, it says VB 6.
Forgive my ignorance.....I only work with VB in Word. I don't have a separate Visual Basic program.... other than the VB 6 Software Developers Kit.
May I email you the form(s)?
Forgive my ignorance.....I only work with VB in Word. I don't have a separate Visual Basic program.... other than the VB 6 Software Developers Kit.
May I email you the form(s)?
JOrzech:
Sorry. Can't help you. I do not have any experience with Word forms.
Maybe you should ask your question in the Microsoft Word TA
Dabas
Sorry. Can't help you. I do not have any experience with Word forms.
Maybe you should ask your question in the Microsoft Word TA
Dabas
ASKER
I thought a user form was a user form?
In any event, I'll award points to all who tried to help.
I'm the Page Editor of the Word TA! So maybe someone there will know....
Many thanks.
In any event, I'll award points to all who tried to help.
I'm the Page Editor of the Word TA! So maybe someone there will know....
Many thanks.
JOrzech,
LOL. I did not expect that.
Word uses VBA, which is a subset of VB. I assume that the forms are part of the Word Document, while in VB each .frm file is a separate document.
If I am wrong and your user form also has a .frm extension then somewhere or other the folder where this form is stored at is missing the corresponding .frx file
Good luck!
Dabas
LOL. I did not expect that.
Word uses VBA, which is a subset of VB. I assume that the forms are part of the Word Document, while in VB each .frm file is a separate document.
If I am wrong and your user form also has a .frm extension then somewhere or other the folder where this form is stored at is missing the corresponding .frx file
Good luck!
Dabas
ASKER
Dabas - I have both files (frmFU.frm and frmFU.frx).... I just can't import them, drag them, copy them.... nothing. But I appreciate your help. Thank you.
Joanne
Joanne