I also know Java and know how to do this in java but I really need a .exe and i dont know how to amke an .exe in Java (if that is even possible)
Jump to content
Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.Create Account How it Works
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load pb.AllowDrop = True End Sub Private Sub pb_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles pb.DragDrop Dim filePaths As String() Try filePaths = CType(e.Data.GetData(DataFormats.FileDrop), String()) Catch ex As Exception TextBox1.Text = ex.Message TextBox1.Text &= "Error Doing Drag/Drop" End Try For Each filename In filePaths TextBox1.Text &= filename & vbNewLine Next End Sub Private Sub pb_DragEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles pb.DragEnter If (e.Data.GetDataPresent(DataFormats.FileDrop)) Then e.Effect = DragDropEffects.Copy End If End Sub
Ok and what is the code to create a folder?
Try Directory.CreateDirectory("name and path of the folder") Catch ex As Exception MsgBox = ex.Message End Try End Try
Oh and how do I separate the names in to 1st and last name and then sort them alphabetically by last name
Thanks the names would be like
Oh and how do i do the drag and drop in to what item on the form like a text box or what
pb is a part of the form, a picturebox in this case.
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board
Licensed to: Geeks to Go, Inc.