What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » CommonDialog help

CommonDialog help
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: CommonDialog help
I think I know what you're doing wrong. When you say 'the file path isn't being saved to the variable', I'm going to assume you mean the variable named 'pm'. It looks just fine to me, 'pm' IS being assigned the file path, but the variable is being destroyed on the very next line when the function ends.

What you need to do instead, is read the value of the function when its being called. Thats what the 'return' function does.
So somwhere else in your script i suppose you are calling the BrowseForPM() function, and then checking the value of pm on the next line. Instead, check the value of BrowseForPm(), and you shall get your file path.
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
11-24-2008 06:57 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
CommonDialog help - by Otacon on 11-24-2008 at 06:46 PM
RE: CommonDialog help - by MeEtc on 11-24-2008 at 06:57 PM
RE: CommonDialog help - by Matti on 11-24-2008 at 06:59 PM
RE: CommonDialog help - by Otacon on 11-24-2008 at 07:12 PM
RE: CommonDialog help - by Matti on 11-24-2008 at 07:38 PM
RE: CommonDialog help - by Otacon on 11-24-2008 at 07:57 PM
RE: CommonDialog help - by matty on 11-24-2008 at 08:03 PM
RE: CommonDialog help - by Otacon on 11-24-2008 at 08:16 PM
RE: CommonDialog help - by Spunky on 11-24-2008 at 08:48 PM
RE: CommonDialog help - by matty on 11-24-2008 at 09:20 PM
RE: CommonDialog help - by Otacon on 11-24-2008 at 09:23 PM
RE: CommonDialog help - by Matti on 11-25-2008 at 05:20 PM
RE: CommonDialog help - by Otacon on 11-25-2008 at 06:02 PM
RE: CommonDialog help - by matty on 11-25-2008 at 06:27 PM
RE: CommonDialog help - by Otacon on 11-25-2008 at 06:29 PM
RE: CommonDialog help - by CookieRevised on 04-11-2011 at 07:51 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On