| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Mar 2007
Posts: 3
|
Basic Listbox/textbox Problem!
Hey, i have this horrible problem that i have been going crazy trying to figure out. i have spent half of my spring break trying to learn web coding, and ... well, i'm a graphic designer, not a programmer, and so this is completely impossible for me, dispite my best efforts to read up on the basics, and TRY to learn. I have a form inside my one asp page, this form contains a listbox, upload button, and a textfield. the listbox selection values are various htm file names which are located in the same directory. all i want to do is select an item in the listbox, click upload, and display the selected htm source code in the textfield. (obviously clear the textfield and display another htm file if i select another one afterwards) i know this seems VERY simple, but the best i've been able to successfully do is display the listbox value in a msgbox. Honestly, like i said, i've been going crazy trying to figure this out. could somebody PLEASE help me with this! |
|
|
|
|
|
#2 (permalink) | |
|
+
Join Date: May 2005
Location: Tropical Networks
Posts: 1,588
|
Quote:
coding instead of girls gone wild ? idiot ! Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Feb 2007
Posts: 25
|
I'd not worry about the listbox for now and concentrate on opening and reading files. I don't know anything about ASP, but in PHP you would use the "fopen" function to open a file, "fread" to read the file in, and of course "fclose" to close it afterwards. I would imagine ASP has similar functions. Try a search for "asp fopen" or similar. Hope that helps! |
|
![]() |