Page 1 of 1

how do i....

Posted: Wed Jan 19, 2005 4:18 pm
by theguy2042000
in visual basic how do i make a txt file appear in a specifc folder and what is the code i need to make a form appear when i press a button so i could set the place where to place the txt file please help

Posted: Thu Jan 20, 2005 4:42 pm
by theguy2042000
anybody???

Posted: Thu Jan 20, 2005 4:43 pm
by theguy2042000
anybody???

Posted: Thu Jan 20, 2005 5:13 pm
by Thebirthdayhat
i dotn understand ure question bout the text but with the button to amke the form popup, just make ure command button,
and if the form u want to pop up has the name frm1 then type

frm1.Visible = True

Posted: Thu Jan 20, 2005 5:45 pm
by theguy2042000
thanks but how do you save atxt file like to a specic folder ,like make another form that you type in a pth like c:programfiles/bla/bla
then save the file with a specific name like saving a document in notepad

Posted: Thu Jan 20, 2005 6:16 pm
by Oosty
ok, so, you want to save the text in a file

Code: Select all

open "C:\whereever the hell the file is.extention" for input as #1
try that, i dont think i left anything out

Posted: Thu Jan 20, 2005 6:17 pm
by Thebirthdayhat
dn i need to no that also
EDit: i posted same time as fox, that was weird

Posted: Thu Jan 20, 2005 6:37 pm
by theguy2042000
???? what i want to do is make the program that im making save a txt file to a specific place i tell it to
i also want to make a place seter that peopel put where the certain exe or txt file will be saved at
and i want to know how to launch the exe from the place typed in

Posted: Thu Jan 20, 2005 6:42 pm
by theguy2042000
also how do you take out the maximize button

Posted: Mon Jan 31, 2005 10:07 pm
by kaptainkommie
The maximize button is a Window (Form) Style, Look there.