Solved

What to do after compiling an ActiveX Document project.

Posted on 2000-03-20
7
175 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pull multiple cvs files into one access table 28 69
Windows 10 start screen issues 9 55
Copy a row 12 64
VBA: Select SQL query based on a config Sheet v2 11 49
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

809 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