Link to home
Start Free TrialLog in
Avatar of MRSONNY
MRSONNY

asked on

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
Avatar of BrianGEFF719
BrianGEFF719
Flag of United States of America image

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
Avatar of MRSONNY
MRSONNY

ASKER

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


Brian
Avatar of MRSONNY

ASKER

Hi  again !

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

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

http://www.slipstick.com/outlook/toolbar.htm
Avatar of MRSONNY

ASKER

...but this wont open the link in the main of outlook !

I've found something here :
https://www.experts-exchange.com/questions/21512510/Create-and-deploy-a-toolbar-to-launch-custom-forms.html?qid=21512510

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


regards
Avatar of David Lee
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!
Avatar of MRSONNY

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial