.Net vs VB6 on autorun.inf

  • Thread starter Thread starter Miro
  • Start date Start date
M

Miro

Wondering if anyone here has come up with a different solution than I keep
coming back to:


Here is a thought and I just can't seem to come up with another solution
other than to install my old VB6 cds'.

I want to create a nice splashy screen that will run from ( Autorun.inf ) on
a CD when a cd is installed.

Creating the splash screen in vb6 - is no problems.

Creating it in .net 2008 causes me headaches as to why would someone want to
install the .net framework to see a nice application main screen running.
( If they don't have it installed ).

It takes away a bit from the easy portability ( at this time ) while there
could be / and are some computers out there without the framework installed.

Thanks,

Miro
 
Wondering if anyone here has come up with a different solution than I keep
coming back to:

Here is a thought and I just can't seem to come up with another solution
other than to install my old VB6 cds'.

I want to create a nice splashy screen that will run from ( Autorun.inf )on
a CD when a cd is installed.

Creating the splash screen in vb6 - is no problems.

Creating it in .net 2008 causes me headaches as to why would someone wantto
install the .net framework to see a nice application main screen running.
( If they don't have it installed ).

It takes away a bit from the easy portability ( at this time ) while there
could be / and are some computers out there without the framework installed.

Thanks,

Miro

Hi,
Yes, If you don't want to force your application's users to
install .NET framework just to see a autorun screen (.exe file), you
can use a flash projector file (.exe) interface using fscommand
(inside flash), or program it using VB6 or use a third party autorun
creator software which allows you to custumize your autorun interface.
Unfortunately, you need to install .NET framework even just if you
compile an fully empty form as far as i know.

Thanks,

Onur Güzel
 
Yes,

My current requirement for one of my customers is a quick splash screen.

They do not use .net at all,
and the 'vb6' way of running ( simple exe ) would be sufficient and splashy
enough.

Thanks,

Miro

Wondering if anyone here has come up with a different solution than I keep
coming back to:

Here is a thought and I just can't seem to come up with another solution
other than to install my old VB6 cds'.

I want to create a nice splashy screen that will run from ( Autorun.inf )
on
a CD when a cd is installed.

Creating the splash screen in vb6 - is no problems.

Creating it in .net 2008 causes me headaches as to why would someone want
to
install the .net framework to see a nice application main screen running.
( If they don't have it installed ).

It takes away a bit from the easy portability ( at this time ) while there
could be / and are some computers out there without the framework
installed.

Thanks,

Miro

Hi,
Yes, If you don't want to force your application's users to
install .NET framework just to see a autorun screen (.exe file), you
can use a flash projector file (.exe) interface using fscommand
(inside flash), or program it using VB6 or use a third party autorun
creator software which allows you to custumize your autorun interface.
Unfortunately, you need to install .NET framework even just if you
compile an fully empty form as far as i know.

Thanks,

Onur Güzel
 
Wondering if anyone here has come up with a different solution than I keep
coming back to:

Here is a thought and I just can't seem to come up with another solution
other than to install my old VB6 cds'.

I want to create a nice splashy screen that will run from ( Autorun.inf )on
a CD when a cd is installed.

Creating the splash screen in vb6 - is no problems.

Creating it in .net 2008 causes me headaches as to why would someone wantto
install the .net framework to see a nice application main screen running.
( If they don't have it installed ).

It takes away a bit from the easy portability ( at this time ) while there
could be / and are some computers out there without the framework installed.

Thanks,

Miro

If you are happy to do a splash screen in html then this piece of
freeware may do the job for you. Very easy to use.

http://www.tech-recipes.com/windows_tips427.html

HTH
Jeremy
 
Miro,

For what you want to create a splash screen (introduction scren) with
DotNetg as it is not for a .Net application.
I do not know how simple it is in VB6 to create a splash screen, but much
simpler then in .Net it can not be. While it can be done in .Net as well in
a background thread.

Cor
 
Cor Ligthert said:
Miro,

For what you want to create a splash screen (introduction scren) with
DotNetg as it is not for a .Net application.
I do not know how simple it is in VB6 to create a splash screen, but much
simpler then in .Net it can not be. While it can be done in .Net as well
in a background thread.

Cor

In VB6,

frmSplash.Show vbModeless

That's about as simple as it gets.
 
The 'Splash' Screen is just an example,

but it would have been a simple form with a splash screen, and then a menu
that actually points to files accross the cd that runs seperate exe files
they would wish to put on it.

I have done something like this before - but instead used a straight HTML
doc to create a dummy menu, but was really hoping to go the "vb.net VS2008"
method and create a dynamic menu in an exe with lots of pretty buttons and
links and graphics and such.

Thanks for the replies, but I beleive I will be using my old machine and
installing the old VB on that for the dummy app.

Cor - I wanted to use .net to create the menu as that is the language of
choice I want to lean towards in the future. I am familiar with VB4 or VB5
( cant remember ) from back in the days of going to school.
The customer has documents such as ( pdfs, .docs, .docx, excel, exe's,
etc... ) that they wanted in a 'Customer Driven Menu' at the start of the cd
so the customer can choose what to install, view, or copy off the cd without
having to browse the cd.
However adding the .net mix into it, a user who knows nothing about
computers - would instantly be stuck when asked to install the .net
framework on the computer.
I want to keep the autorun.inf "CLEAN" so it runs the form, and tries to
install nothing new.

Cheers'

Miro
 
Miro,

It is with .Net the same as wanting to connect a modern keyboard to an old
computer which has the big type of keyboard connector and only VESA
addapters, you most probably never will succeed.

The same is with .Net on a computer with 10Gb disk and 80Mb memory, you
cannot well run a modern OS so upgrade this to a complete version (which
means for Microsoft OS's today included .Net installed) gives problems.

But for your problem VB6 has in a way the same problem. A simple Net program
as you describe uses very few memory on disk and in memory. Every VB6
program compared with that will probably be 100 times bigger, while it need
its VB6 runtime (which is not installed on every computer). The .Net runtime
and the classes around that are integrated today in the Microsoft OS's.

As that is not the problem, then I think that creating a simple Menu
program, that only starts different documents using the "process start",
could be a fine learning curve to start with. The newest .Net languages and
therefore as well VB9 have many solutions inside .Net or as classes outside
Net. By instance MS office programming is full integrated in the Net
development environment 2008.

A link to start some processesses.

http://www.vb-tips.com/StartProcess.aspx

So if your client or you uses computers with big keyboard connectors, don't
try to install .Net on that, there is a chance that you succeed. But I would
not try it.

Cor
 
Just use one of the several freeware or shareware programs
made for just such a task.

Google search:
http://www.cdfrontend.com/autorun_autoplay_00001f.htm?padlite

No need for VB6 or .Net runtimes to be present. Not even a web
browser. If you did decide to go the HTML route, how can you be
sure that the user's default browser is going to support your startup
screen forever and ever?

/Joergen Bech
 
Back
Top