Solved

Re. ActiveX Application Documents & regular apps

Posted on 2000-04-27
6
126 Views
Last Modified: 2010-05-02
Hi,
We are attempting to place an existing VB application onto the company's intranet page (all IE setup).  The incomplete information I have claims that I can just add the app to an ActiveX Application Document for use on an intranet (using version 6.0).  Is this possible and how can I get the Document to recognize the standard forms (we hope to have the regular app be executed from the Document window - over top as it were)?  Whenever I try to reference the opening form of the std app it doesn't recognize the .show method.  I don't know how to code that link.  Any help on this matter would be greatly appreciated.
0
Comment
Question by:mcaninch
6 Comments
 
LVL 6

Expert Comment

by:Marine
ID: 2755256
well i think you have to use NaviagateTo or Hyperlink Methods.
0
 
LVL 3

Expert Comment

by:paulstamp
ID: 2755262
As far as I understand it, having experimented a while ago with ActiveX docs, you cant use standard forms... you need to replace each form with a document.

Beyond that you only need to modify a small amount of code (many of the forms' events and properties are available as properties of the document but not all).
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2755344
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 32

Accepted Solution

by:
Erick37 earned 100 total points
ID: 2755372
Also:

"INFO: Behavior of Forms in an ActiveX Document"

http://support.microsoft.com/support/kb/articles/Q176/4/68.ASP
0
 
LVL 6

Expert Comment

by:Marine
ID: 2755410
well i think you have to use NaviagateTo or Hyperlink Methods.
0
 

Expert Comment

by:tanda
ID: 2757781

I'm not sure this will help, but you can try if you haven't already-

frmName.show vbModal


I don't know if ActiveX documents allow forms, but Controls do as long as they are Modal and not Modeless.  This means that the user must exit from the form before they can do anything else.

Perhaps you could try using a Control instead of a Document?
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 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

17 Experts available now in Live!

Get 1:1 Help Now