Solved

Re. ActiveX Application Documents & regular apps

Posted on 2000-04-27
6
127 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…

821 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