Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 150,077 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,757 people online right now. Registration is fast and FREE... Join Now!




Open an application problem

 
Reply to this topicStart new topic

Open an application problem

solomask
25 Feb, 2008 - 01:00 AM
Post #1

New D.I.C Head
*

Joined: 6 Jan, 2008
Posts: 3

Dear all, I did have a problem after calling microsoft office picture manager from my VB.Net program:
Following is my code--

Shell("C:\Program Files\Microsoft Office\OFFICE11\ois.exe ""C:\Temp\103369_1.jpg""", AppWinStyle.MaximizedFocus)


and it works fine for me, but the only problem is once the picture manager open the image file, i need to hit the mouse button to activate to get the screen. Is there any ways I can open the picture manager and no need to mouse click, then I can directly hit alt+F .

Also, where can I find the ways to hit ALT+S automatically by using VB code? I did try to find the ways for few days, but still no clue. Any documents are related to this technic?

Thanks for all your help!
User is offlineProfile CardPM
+Quote Post

sonu5588
RE: Open An Application Problem
27 Feb, 2008 - 08:03 PM
Post #2

New D.I.C Head
*

Joined: 3 Feb, 2008
Posts: 3

Dear Solo,

Shell("C:\Program Files\Microsoft Office\OFFICE11\ois.exe "

you have to use only this line no more path you will use it will be solved ..
ok


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 11:15PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month