VB Project Type and Inet Control - Easy Questions

Posted on 2006-11-17
Last Modified: 2010-04-30
I am building a program to run on my PC in the background.  I am going to program it in VB 6.0, because that is what I have available.  The program will interact with a remote web domain every 5 minutes, download a file, and then transfer the file to my web server.  A previously answered question lays out the basic program design.  If you are interested, the previous question was:

I am not sure about some details.
1.  Which kind of project in VB should I start?  I am referring to this screen shot when asking this:

2.  How do I make certain I have the latest/correct version of Inet control (Microsoft Internet Transfer Control)?  I am running VB 6.0 on XP Pro and IE7, with all critical updates.

Thank you in advance for any assistance you can provide.

Question by:Danimal
  • 2

Accepted Solution

drydenhogg earned 50 total points
ID: 17964002
I would think you should use the standard exe project. A DLL / Ax Control don't really suit, there is the possibility to use ActiveX exe, if other programs intend to interact with your downloading one.

In terms of the latest / with updates I take it you are thinking of security flaws - on the basis that shipping out of date dll's etc would be bad. In that respect I would look at doing it the other way round and dont rely on a specific version of the dll, even if you were able to ship the most upto date version, by next month it would be out of date and contains more flaws found since.

I would late bind to an instance of Internet Explorer, and control it through the object model.

dim myIE as Object
set myIE = CreateObject("InternetExplorer.Application")

This places responsbility for patching IE on the user / automatic updates.


Author Comment

ID: 18013790
In case you are interested, the web page that came out of this little project is a world updates every 30 seconds.  It doesn't look like anything at first, but if you keep looking at it over time, it is somewhat interesting.  The images are from NASA.  It doesn't do anything except slowly show the light/night passing... but when you think about it, that is 1000 mph!  LOL  The VB script I needed was for grabbing the picture from a server in Switzerland that produces the day/night effect, starting with graphics he got from NASA.

Anyway, I think this is a cool little gadget, and I could not have figured out how to put it together had it not been for the folks here.  So, everyone have a good day!  peace.

Oh, if you have not seen it, the earth viewer is Switzerland is pretty sweet:

You can look at the earth from any angle at any point in time.  Very interesting.  From what I can tell looking through that site, it doesn't look like he is going to have a problem with me grabbing these images, but I am curious to know what others can tell me about that.  I don't want to get into trouble.

For my site, I just wanted a continuously updated shot from a certain position.  Peace again.

Author Comment

ID: 18013793
and THANK YOU to everyone too!  :-)

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
vb6 programatically bring window to front 8 76
VB6 ListBox Question 4 49
transition to visual .net from vb6 5 41
Collapse and expand table in Word 2010 2 37
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question