Solved

What to do after compiling an ActiveX Document project.

Posted on 2000-03-20
7
176 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

756 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