❓ DF Trainer File Browser

Posts 1–4 of 4 · Page 1 of 1
❓ DF Trainer File Browser


DF Trainer Tutorial - Swf File Browser




hiya here is a quick video tutorial on how to add a file browser into your trainers, its been a while since i made a tutorial so sorry about the poor video i recommend watching in 1080p in fullscreen, code used is also posted below. if you need any further help or have any requests for tuts let me know.


Code Used

 
OpenFileDialog
Code:
ImportSwf.Text = OpenFileDialog2.FileName


 
Import Button
Code:
        OpenFileDialog2.ShowDialog()
        Me.AxShockwaveFlash1.LoadMovie(3, (ImportSwf.Text))


 
Clear Button
Code:
Me.AxShockwaveFlash1.LoadMovie(3, (""))


Suggestion

Couldn't you just have the import button code as:
OpenFileDialog1.ShowDialog()
Me.AxShockwaveFlash1.LoadMovie(3, OpenFileDialog1.FileName)
Quote Originally Posted by AlpacaBong View Post
Suggestion

Couldn't you just have the import button code as:
i made this in a simple way so you can obviously see the filename and path just for demonstration purposes this allows you to go off and experiment and make it your own no fun in just giving you everything aha

but yeah you can do it that way if you want just remove the openfiledialog piece of code and just have it coded on the button
thanks for the general tutorial
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us