|
-
Feb 25th, 2007, 10:02 AM
#1
Thread Starter
Member
"Converting" this web page to VB
Right now, my program is just a Form with a WebBrowser in it, and the WebBrowser loads a web page (hosted locally) that allows you to upload an image to a website. You find the image you're looking for, then click Submit. It gets uploaded, and then you get redirected to a new page that has the url to the image you just uploaded. Here's the code for it:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Imageshack Uploader Test</title>
</head>
<body bgcolor="#F7F7F7">
<form method="post" action="http://imageshack.us/" enctype="multipart/form-data" onSubmit="return checkemail()" id="upform">
<div id="upfile"><input type="file" name="fileupload" size="30" onChange="showoptions(this)" id="fileupload"> </div>
<div id="upurl" style="display: none"><input type="text" id="fileupload" value="paste image url here" style="color: #888;"
onfocus="focusfield(this)" name="url" size="30"> </div>
<input type="hidden" name="MAX_FILE_SIZE" value="13145728">
<input type="hidden" name="refer" value="">
<input type="hidden" name="brand" value="">
<div id="hostbutton" style="padding-top: 5px;">
<input name="Button" type="submit" id="butan" style="width:135px" value="Submit!">
</div>
</form>
</body>
</html>
If you don't understand what I was talking about before, then just try saving that as an html file and running it :P
Now, I have two questions. A, is it possible to make this work using VB, instead of having a WebBrowser loading a web page, and if it is, then B, how would I do this? It's been quite a while since I used VB, and even when I did, I didn't know alot.
Thanks
Last edited by Skootles; Feb 25th, 2007 at 11:35 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|