Home All Groups Group Topic Archive Search About

From Windows application to ASP.Net Web Application

Author
12 Mar 2006 6:13 PM
Husam
Hi EveryBody:

In Vb.Net 2003 :

How can I convert my Windows application  to ASP.Net Web Application  ?

In other word I want to add the following editor which is htmlArea v2.03
code to my windows application forms :

<head>
<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "";                     // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate() { return
false; }</scr'+'ipt>'); }
// --></script>
</head>

any help or redirection will be compltlly appreciated

regard's

Husam

Author
13 Mar 2006 3:39 AM
Steven Nagy
>> How can I convert my Windows application  to ASP.Net Web Application  ?
Wow...

Do you mean that you want to convert Web app to windows app instead?
I would check your product's vendor's site to see if it has a windows
control version.

You could always just use a rich text box as an alternative.

Otherwise keep your javascript in your HTML file and simply load an
instance of IE from your application:

Shell("iexplore.exe", "Myfile.html")

If this doesn't answer your question, you may need to be more specific
about what it is that you are trying to achieve, and we can come up
with an alternative together.

Steven Nagy