What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Creating file dialog in Vista

Creating file dialog in Vista
Author: Message:
tribbium
Junior Member
**


Posts: 34
Reputation: 3
– / Male / Flag
Joined: Jul 2008
O.P. Creating file dialog in Vista
For some reason, i'm getting reports that the following code for creating file dialogs doesn't work in Vista. This was taken from MPScripts.net and replaced some old code using the windows API. Can anyone confirm this error as my whole house is full of XPs.

code:
function browseForFile (){
    var BrowseFilter = "Text Files (*.txt)|*.txt|All Files|*.*";
    var BrowseDialog = new ActiveXObject("UserAccounts.CommonDialog");
    BrowseDialog.Filter = BrowseFilter;
    BrowseDialog.Flags = "&H4";
    BrowseDialog.ShowOpen()
    return BrowseDialog.FileName;
}
Are you and your friends trivia enthusiasts? Download Tribbium! http://www.msgpluslive.net/scripts/view/427-Tribb...ia-Gaming-System)/

Download questions for Tribbium here:
http://www.tribbium.tk
08-13-2009 01:40 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Creating file dialog in Vista - by tribbium on 08-13-2009 at 01:40 AM
RE: Creating file dialog in Vista - by Matti on 08-13-2009 at 07:45 AM
RE: Creating file dialog in Vista - by tribbium on 08-13-2009 at 09:45 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