|
-
Apr 1st, 2001, 07:41 AM
#1
Thread Starter
Junior Member
I was wondering what the usage of UserDocument is?
Can you use it in webpages? and if so how?
I wan't to create an application that is in the browserwindow. (thinking of IE)
-Cheers!
-
Apr 1st, 2001, 04:58 PM
#2
Fanatic Member
UserDocument is the same as the normal form. it is used to display on the browser. However, the UserDocument object has most, but not all, of the events that are found on a Form object
The simplest method to do is:
Make normal application, then use ActiveX Documentation Migration Wizard to convert the form to User document.
For more detail, please see MSDN.
Regards,
TheBao
-
Apr 6th, 2001, 02:11 PM
#3
Thread Starter
Junior Member
What I can't figure out is how to get the UserDocument in the browser window. When you debug VB creates a .vbd file witch IE opens. But that is just a temp-file, isn't it?
I was wondering if it's possilbe to add a Userdocument in a HTML document. That would be the best solution for me. But if not possible how do I open the UserDocument? do I have to use the .vbd file?
-
Apr 8th, 2001, 04:36 PM
#4
Fanatic Member
Use the NavigateTo method to jump to a URL. For example, the following code presumes an ActiveX document named "axdMyDoc" exists:
Example:
Code:
UserDocument.Hyperlink.NavigateTo _
"c:\mydocs\axdmydoc.vbd"
Code:
Private Sub cmdGoForward_Click()
On Error GoTo noDocInHistory
UserDocument.Hyperlink.GoForward
Exit Sub
noDocInHistory:
Resume Next
End Sub
Regards,
TheBao
-
Apr 9th, 2001, 11:01 AM
#5
Thread Starter
Junior Member
well, one more question:
How do I create the .vbd - file? That is the thing I can't figure out...
-
Apr 10th, 2001, 04:54 PM
#6
Fanatic Member
.vbd file is a binary version of your activex document.
-
Apr 13th, 2001, 02:45 PM
#7
Thread Starter
Junior Member
I'm sorry to ask another quetion because I still don't really understand...
How do you create a .vbd-file? is it created automaticly? if so, where is it created? in the path for your project?
-
Apr 16th, 2001, 04:26 PM
#8
Fanatic Member
Sorry for the late reply, I am just back from Easter holiday.
Onto your problem:
How do you create a .vbd-file? is it created automaticly? if so, where is it created? in the path for your project?
Yes, .vdb file is created automatically when you compile your project. It is located in the path of your project.
Regards,
TheBao
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|