Jump to content
Sign in to follow this  
poisonkiller

FileOpenDialog problem

Recommended Posts

poisonkiller

Today i discovered a nasty problem for me. I made a script, where i can select any file with FileOpenDialog, then i can add that files name into a list using a button. Now, when i open and add one file, for an example .jpg file, and after that open FileOpenDialog and drag my mouse on .rar file, script just exits(even .rar file tooltip cant open up). It gives no error, doesnt go to OnAutoitExit() function, just exits. Any clues whats going on?

EDIT: Posted code.

EDIT2: Removed code, posted a lot shorter example and i'll make a movie of it too, if i can

Edited by poisonkiller

Share this post


Link to post
Share on other sites
poisonkiller

$diag1 = FileOpenDialog("", @DesktopDir, "All (*.*)") ;Here select .jpg file

$diag2 = FileOpenDialog("", @DesktopDir, "All (*.*)") ;Here select .rar file, when u try, program should shut down

MsgBox(0, "", $diag1 &@CRLF& $diag2) ;MsgBox to prove shutdown

EDIT: I made a video to show how it happens.

test.wmv

Edited by poisonkiller

Share this post


Link to post
Share on other sites
MHz

$diag1 = FileOpenDialog("", @DesktopDir, "All (*.*)") ;Here select .jpg file

$diag2 = FileOpenDialog("", @DesktopDir, "All (*.*)") ;Here select .rar file, when u try, program should shut down

MsgBox(0, "", $diag1 &@CRLF& $diag2) ;MsgBox to prove shutdown

EDIT: I made a video to show how it happens.

You have gone to a lot of trouble, but by using Search may have been quicker. :)

Search word: FileOpenDialog. The one just below your topic :D. By coincidence, he made a video as well.

Share this post


Link to post
Share on other sites
poisonkiller

It seems im blind, cant even see topic right below mine. :) So, does anyone know, will they fix this in SP3?

Share this post


Link to post
Share on other sites
MHz

It seems im blind, cant even see topic right below mine. :) So, does anyone know, will they fix this in SP3?

Just checked Vista, yep, it works fine in Vista. If or when SP3 comes out for XP is anyone's guess and what M$ do fix with the release of SP3 is anyone's guess as well.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×