12
2012
Using Windows MessageBox(“test”)

Need to make a FileDialog popup for standalone exe, for selecting image files.
Atleast got MessageBox working now..
Webplayer:
Doesnt work on webplayer..
Info:
– Copy “System.Windows.Forms.dll” into Assets/Plugins/ folder
– Then use it from script:
using System.Windows.Forms;
..
void Start () {
MessageBox.Show("test");
}
Related Posts
4 Comments + Add Comment
Leave a comment
Recent posts
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












That looks like a Web-From to me… any change you stumbled onto a way to get WPF integrated ?
Supposedly there should be some way, but didnt get it working yet.. it compiles fine, but crashes..
http://forum.unity3d.com/threads/117990-Getting-windows-open-file-dialog-browser-to-open
But most of the topics are saying, use the dialog script from unifycommunity..
Interestingly the MessageBox works, using unity indie, copied some windows dll files to “plugins” folder.. (there was a topic on that in unity answers, I dont have the link right now..)
Hey,
can you pls tell me how thats work ?
You simply put the System.Windows.Forms.dll and System.Deployment.dll from C:/Windows/Microsoft.NET and then the latest version v4.0 you find them there drag them into the plugins folder in your unity project and then you can start using the messagebox function and also build it without having issues