![]() |
|
[.NET] [VB.NET] Simple file binder tutorial [EASY] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [VB.NET] Simple file binder tutorial [EASY] (/showthread.php?tid=2182606) |
[VB.NET] Simple file binder tutorial [EASY] - Vamprrr - Feb 5, 2012 Create a new project add: 2 buttons 2 text boxes Button1 is to get the files you want to bind to rename that to what you like. Then add this code to it: Quote:Dim ofd As New OpenFileDialog Now you are going to want to rename button2 to what you want this is the button that binds the files together. Then add this code : Quote:Dim stub, File_One, File_Two, Filename1, filename2 As String Done! now its time to create the stub, create a new form name it stub. You wont need to add anything to it just this code: Quote: On Error Resume Next And your done enjoy guys, tell me what you think p.s the stub and the binder have to be in the same location or it wont work [IMG]http://i1140.photobucket.com/albums/n568/IiMagezz/Untitled-3.png[/IMG] * - Ethernal Five - Feb 5, 2012 Wow this is an awesome tutorial, you explain everything so well! /sarcasm * - +Bourbon - Feb 5, 2012 (Feb 5, 2012 06:44 AM)Ethernal Five Wrote: Wow this is an awesome tutorial, you explain everything so well! Quote: By definition, he doesn't need to explain it. * - Ethernal Five - Feb 5, 2012 (Feb 5, 2012 06:46 AM)ByteBlast Wrote: By definition, he doesn't need to explain it. This isnt a tutorial if he doesnt explain it, its just a snippet A tutorial is were he explains every line so i know what i'm doing. * - globemasters - Feb 5, 2012 wow Awesome Tutorial Mate and its with a great GUI Thanks for this.... * - Vamprrr - Feb 5, 2012 (Feb 5, 2012 06:47 AM)Ethernal Five Wrote: This isnt a tutorial if he doesnt explain it, its just a snippetit is still a tutorial.... lol? + it doesn't need to be written perfectly its so simple... * - dix0nb - Feb 5, 2012 Sure, it's useful if you just need to create one simple binder in VB. But for those (i guess all on HF) who wants to actually learn what you do, this is useless. However, some contribution is better than none, so thank you for sharing anyways :) * - Vamprrr - Feb 5, 2012 (Feb 5, 2012 06:59 AM)dix0nb Wrote: Sure, it's useful if you just need to create one simple binder in VB. But for those (i guess all on HF) who wants to actually learn what you do, this is useless.its not useless to everyone. to short. |