Newbie: converting director project into VB.net

G

Guest

Hello,

I am trying to locate a tutorial that explains how to handle the downloading
of files via the http protocol within a vb application. I have an old
program I wrote in Macromedia Director and I need to recreate it's
functionality within VB.net.

One of the main components of this project is it's ability to
upload/download file data using the http protocol.

I am very new at VB development and am curious as to the handling of
asynchronous network operations are handled within VB.

Macromedia Director uses a frame based/timeline metaphor for adding code etc
whilst VB.net uses forms. In Director I make my http call in frame 10 like
this:

global gNetID
on exitframe me
gNetID = getNetText (http://myserver.com/mytext.txt)
end

I then have Director loop in frame 12 single frame testing the condition of
gNetID until it returns either an error message or the text. It looks
something like this:

global gNetID
on exitframe me
if (netDone(gNetID) = TRUE) and (netError(gNetID) = "OK") then
member("Display Text").text = netTextResult()
go to frame "display results"
else
go to the frame
end if
end

I assume that this type of transaction can be accomplished in VB.net I am
just at a loss for finding an example to study.

Any tutorials out there for this type of thing? I've checked google,
codehound, vbaccelerator, etc...looking for "downloading file techniques"
and nothing.

Many thanks in advance,

devin M. arnold
 
C

Cor

Hi Rise,

In your message I see 2 questions.

Downloading and frames.

For downloading, the best you can do I think is having a look for
"webclient" on MSDN, I think you will be overwhelmed by the possibilities.

Frames are as far as I know not usable in VB.net because it uses as you said
forms (what is a webpage in a webapplication).

(You can make html frame pages in Visual Studio net, but I never could make
(have seen) an aspx frame form page).

I hope it helps you?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top