How to prompt the user for .Net framework installation

deepapoulosem

New member
Joined
Dec 29, 2006
Messages
4
Programming Experience
Beginner
I have developed a c#.Net Web application . This application could be used in a system in which .Net framework is installed .So when ever i open the application if .Net framework is not installed it should prompt the user for .Net framework installation . plz help me

I know for java the code will be

HTML:
<html>
<script>function called(value) { doc = document.open("text/html", "replace"); doc.writeln(value); doc.close(); } </script>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<object id = App classid="clsid:CAFEEFAC-0015-0000-0002-ABCDEFFEDCBA"
width="100%" height="100%" align="baseline"
codebase="plugin/jre-1_5_0_02-windows-i586-p.exe#Version=1,5,0,0">
<param name="classid" value="CAFEEFAC-0015-0000-0002-ABCDEFFEDCBA">
<param name="code" value="com.gefanuc.proficyrtip.apps.startup.StartupApp.class">
<param name="type" value="application/x-java-applet">
<param name="archive" value="SystemApp.jar">
<param name="user" value="">
<param name="image" value="">
No Java 1.5.0 plugin support for APPLET!!
</object>
</body>
</html>


what are the changes in classid and code base if we want .Net framework
 
publish your application using ClickOnce and select the framework as a prerequisite.

Go to project properties, then publish and look at the settings.

I have just done the very same thing this morning and found all I need to know on this forum ;)
 
Back
Top