We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Run vb6 form in outlook !

MRSONNY
MRSONNY asked
on
Medium Priority
241 Views
Last Modified: 2010-05-01
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
Comment
Watch Question

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

Author

Commented:
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

Author

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
Take a look at this article, it should help you:

http://www.slipstick.com/outlook/toolbar.htm

Author

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
CERTIFIED EXPERT
Top Expert 2010

Commented:
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!

Author

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
CERTIFIED EXPERT
Top Expert 2010
Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.