Pocket PC Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!





Go Back   Thoughts Media Forums > POCKET PC THOUGHTS > Pocket PC Developer

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-27-2003, 06:56 PM
Ponderer
Join Date: Feb 2002
Posts: 78
Default YOU guys might know....hyperlinking

I got a news letter that talked about hyperlinking from contacts out to pictures. they had this command in the form of file://\stuff\filename.jpg

I've played around with this and it works for HTM files since this command seems to activate PIE. I couldn't seem to get it to work for jpg even when i associated the file with PIE. This linking to HTM files works in several places that i tried - like inside Pocket Slides, and a Word document. At this point I think i've got that down. Now I'd like to go the next step and link to any document and have it fire up the appropriate application. 0X Pocket Mind Map does this. I'm not a developer so i'm not looking to create some code. the learning curve would be immense for something so small. What i've ofter wanted was a way to hyperlink files to a meeting in my calendar.

So - I think what i'm looking for is a similar one line magic command that starts windows explorer and navigates a path. Can that happen?
 
Reply With Quote
  #2 (permalink)  
Old 05-21-2003, 05:11 PM
Neophyte
Join Date: May 2003
Posts: 5

I do:

SHELLEXECUTEINFO sei;
memset(&sei, 0, sizeof(SHELLEXECUTEINFO));
sei.cbSize = sizeof(SHELLEXECUTEINFO);
sei.fMask = SEE_MASK_NOCLOSEPROCESS;
sei.lpVerb = L"open";
sei.nShow = SW_SHOWNORMAL;
sei.lpFile = L"iexplore";
sei.lpParameters = szUrl;
ShellExecuteEx(&sei);

Where szURL is the url you are interested in opening. I can't remember if just executing a URL worked, but I think I had problems with that.
-Ian
 
Reply With Quote
  #3 (permalink)  
Old 09-05-2003, 01:55 AM
Ponderer
Join Date: Feb 2002
Posts: 78
Default sorry that got by me.

:jawdrop: what is that code and where would i put it? I don't really expect an answer but i would appreciate a hint on where to find the answers. After following a lead from Andy in one of his posts I found the MSDN home. that sent me to an article by Mike hall.

http://www.pocketpcthoughts.com/foru...&highlight=sdk

Mike Hall "Windows ce.net application development: what are my options?"

At this point since I am just starting, even this is too opaque for me to start. I'd like to play with this but this post is an attempt to jump to the right tool and learn rather than learn several partially until i know they won't work. Should I try and learn win32? can i do something with a version of visual basic?

This would just be for me so I don't need to make it with a full bullet proof GUI.
__________________
ipaq 3670*OS 2002
 
Reply With Quote
  #4 (permalink)  
Old 09-10-2003, 05:39 PM
Intellectual
Join Date: Jul 2003
Posts: 158
Send a message via ICQ to gohtor Send a message via MSN to gohtor

try doing a context search on the word ShellExecuteEx. they should provide an easy to plug in example of how this is invoked
 
Reply With Quote
  #5 (permalink)  
Old 09-10-2003, 09:21 PM
Ponderer
Join Date: Feb 2002
Posts: 78
Default thanks

I'll give that a shot.
__________________
ipaq 3670*OS 2002
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 12:16 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7