Solved

What to do after compiling an ActiveX Document project.

Posted on 2000-03-20
7
173 Views
Last Modified: 2010-05-02
Very strange: I have read all the information in the msdn libarary about the AxtiveX Document but got no idea how to let the visiter to read the documents in the ActiveX Document project.

We may comile the AxtiveX Document project to an exe file, then put it in a folder of the server...then how to let the visiter to read the document inside the exe?

Hope you can understand what I want to know.
0
Comment
Question by:victorlong
  • 4
  • 2
7 Comments
 
LVL 1

Expert Comment

by:abidn
ID: 2638201
Please refer to MSDN HOWTO article Q168428.
0
 

Author Comment

by:victorlong
ID: 2638252
To abidn:

I have just read the article but still got no idea.....That article seems tell me how to test an AxtiveX Document project and not answers my question.
Perhaps, I didn't explain clearly my question...
0
 
LVL 14

Accepted Solution

by:
wsh2 earned 55 total points
ID: 2638599
Open up Internet Explorer (or Microsoft Binder).. and open / run the MyProg.VBD file in the MyProg.Exe directory. With ActiveX Documents.. the VBD file is the starting point, not the EXE.. <smile>.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:victorlong
ID: 2640683
Hi wsh2,

I see....That is right!!!
So, after compiling, we need to put the exe and vbd of the project onto the server and the vbd file is the door for a visitor.
If I understand correctly, you have answered this question.

Another question is: How to make "submit form" by ActiveX Document?
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2641167
Hello Victorlong,

If you are pleased with an answer, there is a place to accept, grade and award it points on your screen there.. <smile>. Generally speaking, YOU are best served by asking only one question per thread. While I am more than happy to respond to your question, other experts do not know it is here, and as such you are robbed of their expertise, and you are limited to only my comments.. <yikes!.. lol>. You may want to consider presenting your "submit form" question to the general populace.. <smile>.

"How to make "submit form" by ActiveX Document?"

Add another Userdocument to your project. To activate that form.. use a
navigate statement to activate it.. Eg.

Userdocument1.Hyperlink.NavigateTo = "c:\PathName\Userdocument2.Vbd"

NOTE: Be advised that all data entered into Userdocument1 will be lost unless you first store it into PropertyBags. Eg.

<----- Code Begin ----->

Private Sub UserControl1.ReadProperties (Propbag as PropertyBag)

  UserControl1.ReadProperty (DataName, DefaultValue)

End Sub

Private Sub UserControl1.WriteProperties (Propbag as PropertyBag)

  UserControl1.WriteProperty (DataName, Value, DefaultValue)

End Sub

Private Sub Text1_Changed ()

  PropertyChanged ' Notify PropertyBag

End Sub

<----- Code End ----->
0
 

Author Comment

by:victorlong
ID: 2641183
Hi wsh2,

Thank you for your help.

Now I am going to post the second question about the "submit from". Please check that if you like to answer.
0
 

Author Comment

by:victorlong
ID: 2641243
Hi wsh2,

I have finished this question before I found your last comment...I thought you got no time to answer the second question.....please go to the new question.......
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now