Run vb6 form in outlook !

Hi !

I'm working on a application and I want (if possible) the form to be activated with a button inside outlook, and then be displayed in the main window of outlook, just like when you click inbox and get the mail in the main window !


hope you understand :-|


...Is this possible ?


regards
MRSONNYAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BrianGEFF719Commented:
You can create an outlook macro that runs another executable if this would work for you?


For example: create macro:

Sub MyMacro()
Shell("MyApplication.exe")
End Sub




Does that help?

Brian
MRSONNYAuthor Commented:
ok, mm , but how do I create a button in outlook ?
BrianGEFF719Commented:
When you say a button, are you talking about the "toolbar" buttons? Or are you talking about a seperate form?


Brian
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

MRSONNYAuthor Commented:
Hi  again !

I can use tool bar button, and when clicking that button the form should open in the main window of outlook !

regards
BrianGEFF719Commented:
Take a look at this article, it should help you:

http://www.slipstick.com/outlook/toolbar.htm
MRSONNYAuthor Commented:
...but this wont open the link in the main of outlook !

I've found something here :
http://www.experts-exchange.com/Applications/MS_Office/Outlook/Q_21512510.html?qid=21512510

the onlything I can't figure out is how to make it open in the main of outlook :-(


regards
David LeeCommented:
Hi MRSONNY,

You cannot open an external program in an Outlook window.  You can only open Outlook objects.  Perhaps if you explained a bit more about what you're trying to do we could offer an alternative.

Cheers!
MRSONNYAuthor Commented:
Hi !

I wanted to make a vb6 app. and then let the form start up inside outlooks main window, just like when you click the inbox and the mail will show inside the main window(on the right). I know that you could have the window open a url, so a solution for opening a url inside the main window would probably do the same trick, I then would make a activeX instead


regards
David LeeCommented:
Yes, you can pass Outlook a url, but the url's target won't open in Outlook's window unless it's an Outlook item or a web page.  For example, I can enter a file url such as "file:///C:/eeTesting/myfile.txt", but the text file the url points to opens in Notepad, not an Outlook window.  The window you're talking about is actually an Outlook Explorer object.  It's not designed to handle anything but Outlook items, which includes web pages.  The ActiveX approach will work, but only if it's in a web page.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.