Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2004

Tip: Looking for answers? Try searching our database.

not use .NET technology before a certain point

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Maileen - 23 Oct 2004 12:16 GMT
Hi,

I'm writing a VB.NET application.
Before to use .NET technology i would like to be sure that .NET
Framework is installed.
I know where should i check in registry for that but i would like to
know if it's possible to do my application in 2 parts.

1st - my app check is the NET Framework is intalled using on api and not
 .NET technolology.
2nd - my app use .NET techno.

but i don't want to split my app in 2 exe files.
my 1st part should be done via a splash screen only.

Does anyone have an idea how can i do that ?
thx,
Maileen
Herfried K. Wagner [MVP] - 23 Oct 2004 12:36 GMT
"Maileen" <nospan@email.com> schrieb:
> I'm writing a VB.NET application.
> Before to use .NET technology i would like to be sure that .NET
[quoted text clipped - 8 lines]
> but i don't want to split my app in 2 exe files.
> my 1st part should be done via a splash screen only.

That's not possible without a separate (unmanaged) application.

I suggest to install the .NET Framework as part of your application's setup:

Deploying the .NET Framework in a setup package
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework>

Signature

Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/

OpticTygre - 23 Oct 2004 13:50 GMT
I just mentioned this in her other post, but check out
http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/ for the .NET
Bootstrapper plugin.  Or, packaging programs such as installshield will
check whether or not the framework has been installed, as Herfried stated
already.

-Jason

> "Maileen" <nospan@email.com> schrieb:
>> I'm writing a VB.NET application.
[quoted text clipped - 17 lines]
> Deploying the .NET Framework in a setup package
> <URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework>
Larry Serflaten - 23 Oct 2004 13:48 GMT
"Maileen" <nospan@email.com> wrote
> Hi,
>
> I'm writing a VB.NET application.
> Before to use .NET technology i would like to be sure that .NET
> Framework is installed.

The next question would be;  What are you going to do if you
find the .Net framework is not installed?

To expand on that a bit, what would you do in your program,
if a person is not using Windows?

If the user hasn't got the proper software to run the program,
then your program will not run, regardless of what you add to
it.  So, I really have to wonder if you should concern yourself
with that problem, in your program.  It should be addressed
long before they attempt to run your program, like during
installation.

But as we are now able to XCopy programs, and installation
programs may not always be needed, still, I would think your
program should not even attempt to deal with it, because if
they haven't got the proper software installed to run your
program, it simply will not run!

LFS

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.