Thank you all that helped me a lot
mshome77
Posts
-
How to make a button that will copy two files and put them somewhere else -
How to make a button that will copy two files and put them somewhere elsewill thanks to all ok first iam using win xp iam going to use this program for my own the reason iam making this program to make it easy to setup and install all needed .exe and dll. to play with joystick this is the program http://img835.imageshack.us/img835/3469/iplayp.jpg[^] it has 4 button install: install libusb-win32-filter-bin-0.1.10.1.exe to make the ps3 sixaxies work with windows xp copy : to copy 2 files libusb0.dll and ps3sixaxis_en to C:\WINDOWS\system32 (to run ps3sixaxis_en when need to play with joystick) Xpadder : is program to configure the needed button in the joystick (not mine) exit : simple exit the program the code i made is _______________________________
Public Class Form1
Private Sub Label1\_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub Button2\_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If Dir("C:\\WINDOWS\\system32\\ps3sixaxis\_en.exe") <> "" Then MsgBox("installed successfully") Else MsgBox("File was not copied") End If End Sub Private Sub Button3\_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click System.Diagnostics.Process.Start("C:\\Program Files\\Iplay\\xpadder.exe") End Sub Private Sub Button4\_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click End End Sub Private Sub Process1\_Exited(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub Label1\_Click\_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click End Sub Private Sub Button1\_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click System.Diagnostics.Process.Start("C:\\Program Files\\Iplay\\libusb-Win32 Setup.exe") End Sub
End Class
________________________________________________________________________________________________________________ and the i used path System.Diagnostics.Process.Start("C:\Program Files\Iplay\libusb-Win32 Setup.exe") because i made setup installer to install (Xpadder and ps3sixaxis_en.exe and libusb0.dll & libusb-win32-filter-bin-0.1.10.1.exe ) to C:\Program Files\Iplay when i
-
How to make a button that will copy two files and put them somewhere elsesee below
modified on Tuesday, August 24, 2010 1:37 PM
-
How to make a button that will copy two files and put them somewhere elseno it not normal that's way there is free trail
-
How to make a button that will copy two files and put them somewhere elsehi I am beginner in programming Visual Basic and i use the visual studio 2010 ultimate Almost finished my simple program __________________________________________ just two button's left was How to make a button that will copy two files and put them somewhere else I have the two files in the C:\Program Files\Imust One. Dll and the second. Exe I want a button to copy the files and places them in C:\WINDOWS\system32 How? _________________________________________ and the other button system.diagnostics.process.start (C:\Program Files\Imust\392.exe) is there's anyway to run 392.exe without path ? _________________________________________ is there any list of usefull code's ? ______________________________________ thank