Solved

What to do after compiling an ActiveX Document project.

Posted on 2000-03-20
7
174 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 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…

810 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