🔒 Locked
VB prob again
Advertisement
Original Post
Hey, thanks.
1.how can I make my form change the screen resolution? As I dont want the user to change it manually everytime they want to load my menu.
2.Im try to load a movie clip using this command,
Shell "C:\menu\clips\1.mpg"
But I get the error "Invalid procedure call or argument (Error 5)" How can I get this to work, do I have to add an Windows Media Player component?
Edited by - malachi on November 15, 2001 11:31:27 AM
1.how can I make my form change the screen resolution? As I dont want the user to change it manually everytime they want to load my menu.
2.Im try to load a movie clip using this command,
Shell "C:\menu\clips\1.mpg"
But I get the error "Invalid procedure call or argument (Error 5)" How can I get this to work, do I have to add an Windows Media Player component?
Edited by - malachi on November 15, 2001 11:31:27 AM
In VB there is an add-in called "API Viewer" that is essentially a user-interface for retrieving the majority of the API calls, constants and structures used in Windows programming. Start the add-in and load the win32api.txt file. In the declarations, look for ShellExecute, copy and paste. Simple!
For information about the API just look it up on the Microsoft MSDN.
Edited by - tph on November 16, 2001 11:26:49 AM
For information about the API just look it up on the Microsoft MSDN.
Edited by - tph on November 16, 2001 11:26:49 AM
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement