Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / March 2005



Tip: Looking for answers? Try searching our database.

VB6 Class name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe Sutphin - 25 Mar 2005 18:39 GMT
What is the correct VB class name to use in the following statement:

Dim oVBIDE As VB.App

   Set oVBIDE = GetObject(, "VisualBasic.Application")

Thanks!

Joe
Karl E. Peterson - 25 Mar 2005 18:54 GMT
Hi Joe --

> What is the correct VB class name to use in the following statement:
>
> Dim oVBIDE As VB.App
>
>     Set oVBIDE = GetObject(, "VisualBasic.Application")

I don't think there is one that you can use like that.  Are you thinking add-in,
here?  You'd need to set a reference to the "Microsoft Visual Basic Extensibility"
library, and can then early-bind directly to the IDE with:

  Private VBI As VBIDE.VBE

For an example addin, see "wiper" on:

  http://vb.mvps.org/tools/Vb6ControlsAndComponents.asp

Later...   Karl
Signature

Working Without a .NET?
http://classicvb.org/petition

Joe Sutphin - 25 Mar 2005 19:52 GMT
Hi Karl,

I'm trying to get at the references that are set in my application and
change them programatically like I can do in a VBA application. Do you know
how/if this can be done?

Joe
--

> Hi Joe --
>
[quoted text clipped - 17 lines]
>
> Later...   Karl
Karl E. Peterson - 25 Mar 2005 21:57 GMT
Hi Joe --

I don't think that concept applies to compiled applications.  If I asked why you were
trying to do this, maybe someone here might have an alternative suggestion.

Sorry...   Karl
Signature

Working Without a .NET?
http://classicvb.org/petition

> Hi Karl,
>
[quoted text clipped - 28 lines]
>> Working Without a .NET?
>> http://classicvb.org/petition
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.