How do I make vb make a .EXE file? and Split()
1) Using Split(), How would I make it so the user can enter aNY charecter, like if I split using "_", the thing is NAME_AGE_LOCATION, and I want to split that, but the user enters like Da_ve for name, itll split it to Da ve instead of Da_ve.
2) How would I make vb 'produce' a .exe file? Lets say, I want to make a command button, and when u run this and click it, I want vb to make a bin file in "C:\" named biff.exe, and this file does whatever I want, Is it harder in VB than another language? (delphi?)
Re: How do I make vb make a .EXE file? and Split()
Quote:
Originally posted by scr0p
1) Using Split(), How would I make it so the user can enter aNY charecter, like if I split using "_", the thing is NAME_AGE_LOCATION, and I want to split that, but the user enters like Da_ve for name, itll split it to Da ve instead of Da_ve.
2) How would I make vb 'produce' a .exe file? Lets say, I want to make a command button, and when u run this and click it, I want vb to make a bin file in "C:\" named biff.exe, and this file does whatever I want, Is it harder in VB than another language? (delphi?)
As for your first question... This may not be the prettiest thing to do but you could always replace the "_" with something else when validating user's input. Like on a LostFocus event or something.
That way it would'nt interfere with your own delimiter?
Either that or maybe use some odd ball character as a delimiter. One that doesn’t get used much. Less chance for things to go awry that way. ;)
Just my 2¢
As for your other question... I don't have a clue, sorry.:(