I'm creating something where a person searches for something and the results are shown as images which can then be saved or "uploaded". To "upload" the image to my server I created a new form with a web browser. My server utilises and API to upload images with a link so my goal is something like this:
if listview1.highlight = true then webbrowser1.navigation("http://API.COM/?= * ") end if
the * represents the original image link. My first problem is that form2 doesn't recognise listview1 because its declared in form1. How would I go about using the form1 variable in form2 without mass copy and paste. My second issue is getting the original URL, as in how do I tell VB that "I want you to copy the address of the highlighted image and load it here".
I did some googling prior to making this post, but I found it rather confusing, the code was just handed to me with no explanation on using it.
or better yet can this be done without form 2, so form1 creates a temporary form or something on that line...
Any help would be appreciated.
Edited by rajjaak24, 11 August 2013 - 09:50 AM.