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

GetFileOpenName problem
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: GetFileOpenName problem
quote:
Originally posted by -!Felu!-
code:
function BrowseForFile(InitialDir){
BrowseFilter = "Text Files (*.txt)|*.txt|All Files|*.*";
var BrowseDialog = new ActiveXObject("UserAccounts.CommonDialog")
BrowseDialog.Filter = BrowseFilter;
BrowseDialog.InitialDir = InitialDir;
BrowseDialog.Flags = "&H4";
BrowseDialog.ShowOpen()
return BrowseDialog.FileName;
}

Will that still work in JScript or should it be 0x4 or something :S

EDIT: Pasted code twice

This post was edited on 12-11-2006 at 12:09 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
12-11-2006 10:58 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
GetFileOpenName problem - by deAd on 12-10-2006 at 09:48 PM
RE: GetFileOpenName problem - by Ezra on 12-10-2006 at 09:51 PM
RE: GetFileOpenName problem - by Felu on 12-11-2006 at 10:45 AM
RE: GetFileOpenName problem - by Spunky on 12-11-2006 at 10:58 AM
RE: GetFileOpenName problem - by Felu on 12-11-2006 at 11:10 AM
RE: GetFileOpenName problem - by Spunky on 12-11-2006 at 12:12 PM
RE: GetFileOpenName problem - by -dt- on 12-11-2006 at 12:18 PM
RE: GetFileOpenName problem - by deAd on 12-11-2006 at 10:38 PM


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