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)
Davis
Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!
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
abby joe
bob sue
steve jobs
Oddy Fore
etc
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.Handles pb.DragDrop
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board
Licensed to: Geeks to Go, Inc.