473,779 Members | 2,041 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Making a Application (.NET/C#) truely platform independant

Hi All,

We have a windows from application written in C#, there we have used Browser
COM and other basic libraries present in standard .NET/C# SDK. So the next
part is to make this appliaction available to Unix and Mac platform. I have
couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.
Nov 15 '05
14 1980
Thanks for the reply Daniel

What we have right now is a Winform application that purely uses Microsoft
Web Browser COM for content browsing and many other operations. The Winform
application is a thin client and it is commnicating with a Web service
interface (that is a content repository) to download and view the content.
They are SCORM compliant (if you don't know just ignore this it is a
standard). So I don't mind the effort we are ready, but the issue is the
correct path and the potential problem we may face of getting our
application run on MAC and Unix. I even don't mind going for Mozilla. We do
lots of marking on the content like we highlight certain part of the content
and we add annotations so on plus we drag drop content to create short notes
there we use html dom do get access to the html document so if mozilla can
support these we are OK. But if there is any other way which we can get the
Ms Browser COM work in other plat form we will choose that root. if you know
can you please comment on the WINE and it usage here.

Nirosh.

"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:O7******** ******@TK2MSFTN GP10.phx.gbl...
You won't. Browsers and other interop are often the biggest platform
compatibility issues you'll have. While COM is not soley tied to windows,
most, if not all other systems do not run COM normally(there are COM
implementations for unix, probably macs as well). As a result you will have alot of work to get things going.
What are you attempting to do? If you just want to host the browser locally, you could look into embedding mozilla or another OSS browser(assumin g
licensing will suit you). If you need automation you will hav eto invest in platform specific modules(which can be tricky, mono annoyingly claims to be windows XP) which performs the work for you. How are you interfacing with
say Mozilla now? Or are you totally dependent on IE?
"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:eA******** ******@TK2MSFTN GP11.phx.gbl...
Thanks for the reply any thought on how we can get the Browser COM work in MAC?

<.> wrote in message news:#J******** ******@TK2MSFTN GP10.phx.gbl...
COM is not platform independant, COM is a Microsoft technology.

Anything under System.* namespaces SHOULD be platform neutral .

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:#5******** ******@TK2MSFTN GP11.phx.gbl...
> Hi All,
>
> We have a windows from application written in C#, there we have used
Browser
> COM and other basic libraries present in standard .NET/C# SDK. So the
next
> part is to make this appliaction available to Unix and Mac platform.

I have
> couple of questions here
>
> 1. What are the possibilities we have of doing some thing like this?
> 2. What are the technical chalenges we will face of doing this?
> 3. What are the direct indirect solution we have to achive our goal?
> 4. What short of support we can get from MONO, ROTOR, and WINE?
>
> Please shade some light on these ........ I really appreciate it..
> Add what ever comment you have becos we deadly need lots of ideas.
>
> Thanks,
> Regards,
> Nirosh.
>
>



Nov 15 '05 #11

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:e%******** *******@tk2msft ngp13.phx.gbl.. .
Thanks for the reply Daniel

What we have right now is a Winform application that purely uses Microsoft
Web Browser COM for content browsing and many other operations. The Winform application is a thin client and it is commnicating with a Web service
interface (that is a content repository) to download and view the content.
They are SCORM compliant (if you don't know just ignore this it is a
standard). So I don't mind the effort we are ready, but the issue is the
correct path and the potential problem we may face of getting our
application run on MAC and Unix. I even don't mind going for Mozilla. We do lots of marking on the content like we highlight certain part of the content and we add annotations so on plus we drag drop content to create short notes there we use html dom do get access to the html document so if mozilla can
support these we are OK. But if there is any other way which we can get the Ms Browser COM work in other plat form we will choose that root. if you know can you please comment on the WINE and it usage here.
Unfortunatly I know very little about WINE, I would say simply test it and
see what happens.

Getting the MS Browser control to work off platform is likely going to be
hard, if possible. Examining Mozilla for the features you need would be my
first suggestion(if they don't have waht you want...khtml or a few of the
other OSS ones may). However, you may want to research how to interface with
the Mac version of IE, its probably not the most popular browser on the
platform but it does still exist(although I don't know its state of
maintainence).

Currently I don't know of a standalone managed code html renderer. Its
something I want to see, something I've even considered trying, but time and
a low level dislike of html have kept me from doing so, ;).

Sorry I can't offer much advice, I hope this helps in some way. Nirosh.

"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:O7******** ******@TK2MSFTN GP10.phx.gbl...
You won't. Browsers and other interop are often the biggest platform
compatibility issues you'll have. While COM is not soley tied to windows,
most, if not all other systems do not run COM normally(there are COM
implementations for unix, probably macs as well). As a result you will have
alot of work to get things going.
What are you attempting to do? If you just want to host the browser

locally,
you could look into embedding mozilla or another OSS browser(assumin g
licensing will suit you). If you need automation you will hav eto invest

in
platform specific modules(which can be tricky, mono annoyingly claims to

be
windows XP) which performs the work for you. How are you interfacing with say Mozilla now? Or are you totally dependent on IE?
"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:eA******** ******@TK2MSFTN GP11.phx.gbl...
Thanks for the reply any thought on how we can get the Browser COM work in MAC?

<.> wrote in message news:#J******** ******@TK2MSFTN GP10.phx.gbl...
> COM is not platform independant, COM is a Microsoft technology.
>
> Anything under System.* namespaces SHOULD be platform neutral .
>
>
>
>
>
> "Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
> news:#5******** ******@TK2MSFTN GP11.phx.gbl...
> > Hi All,
> >
> > We have a windows from application written in C#, there we have
used > Browser
> > COM and other basic libraries present in standard .NET/C# SDK. So
the next
> > part is to make this appliaction available to Unix and Mac platform. I
> have
> > couple of questions here
> >
> > 1. What are the possibilities we have of doing some thing like

this? > > 2. What are the technical chalenges we will face of doing this?
> > 3. What are the direct indirect solution we have to achive our goal? > > 4. What short of support we can get from MONO, ROTOR, and WINE?
> >
> > Please shade some light on these ........ I really appreciate it..
> > Add what ever comment you have becos we deadly need lots of ideas.
> >
> > Thanks,
> > Regards,
> > Nirosh.
> >
> >
>
>



Nov 15 '05 #12


with regards,
J.V.Ravichandra n
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandra n+J.V.&cob=aspn etpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID= P3966388&BN=999 &PN=2
- Or, just search on "J.V.Ravichandr an"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #13
Highly appreciate your interest on helping me.. we will see how it goes, the
info I gathered from here is truely helpful

Nirosh.

"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:eN******** ******@TK2MSFTN GP10.phx.gbl...

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:e%******** *******@tk2msft ngp13.phx.gbl.. .
Thanks for the reply Daniel

What we have right now is a Winform application that purely uses Microsoft
Web Browser COM for content browsing and many other operations. The Winform
application is a thin client and it is commnicating with a Web service
interface (that is a content repository) to download and view the content. They are SCORM compliant (if you don't know just ignore this it is a
standard). So I don't mind the effort we are ready, but the issue is the
correct path and the potential problem we may face of getting our
application run on MAC and Unix. I even don't mind going for Mozilla. We

do
lots of marking on the content like we highlight certain part of the

content
and we add annotations so on plus we drag drop content to create short

notes
there we use html dom do get access to the html document so if mozilla can support these we are OK. But if there is any other way which we can get

the
Ms Browser COM work in other plat form we will choose that root. if you

know
can you please comment on the WINE and it usage here.

Unfortunatly I know very little about WINE, I would say simply test it and
see what happens.

Getting the MS Browser control to work off platform is likely going to be
hard, if possible. Examining Mozilla for the features you need would be my
first suggestion(if they don't have waht you want...khtml or a few of the
other OSS ones may). However, you may want to research how to interface

with the Mac version of IE, its probably not the most popular browser on the
platform but it does still exist(although I don't know its state of
maintainence).

Currently I don't know of a standalone managed code html renderer. Its
something I want to see, something I've even considered trying, but time and a low level dislike of html have kept me from doing so, ;).

Sorry I can't offer much advice, I hope this helps in some way.
Nirosh.

"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:O7******** ******@TK2MSFTN GP10.phx.gbl...
You won't. Browsers and other interop are often the biggest platform
compatibility issues you'll have. While COM is not soley tied to windows, most, if not all other systems do not run COM normally(there are COM
implementations for unix, probably macs as well). As a result you will

have
alot of work to get things going.
What are you attempting to do? If you just want to host the browser

locally,
you could look into embedding mozilla or another OSS browser(assumin g
licensing will suit you). If you need automation you will hav eto invest in
platform specific modules(which can be tricky, mono annoyingly claims
to
be
windows XP) which performs the work for you. How are you interfacing with say Mozilla now? Or are you totally dependent on IE?
"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:eA******** ******@TK2MSFTN GP11.phx.gbl...
> Thanks for the reply any thought on how we can get the Browser COM work
in
> MAC?
>
> <.> wrote in message news:#J******** ******@TK2MSFTN GP10.phx.gbl...
> > COM is not platform independant, COM is a Microsoft technology.
> >
> > Anything under System.* namespaces SHOULD be platform neutral .
> >
> >
> >
> >
> >
> > "Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
> > news:#5******** ******@TK2MSFTN GP11.phx.gbl...
> > > Hi All,
> > >
> > > We have a windows from application written in C#, there we have

used > > Browser
> > > COM and other basic libraries present in standard .NET/C# SDK.
So the
> next
> > > part is to make this appliaction available to Unix and Mac

platform.
I
> > have
> > > couple of questions here
> > >
> > > 1. What are the possibilities we have of doing some thing like

this? > > > 2. What are the technical chalenges we will face of doing this?
> > > 3. What are the direct indirect solution we have to achive our goal? > > > 4. What short of support we can get from MONO, ROTOR, and WINE?
> > >
> > > Please shade some light on these ........ I really appreciate

it.. > > > Add what ever comment you have becos we deadly need lots of ideas. > > >
> > > Thanks,
> > > Regards,
> > > Nirosh.
> > >
> > >
> >
> >
>
>



Nov 15 '05 #14
??????????????? ??????????????? ?
"Ravichandr an J.V." <jv************ @yahoo.com> wrote in message
news:OR******** ******@TK2MSFTN GP09.phx.gbl...


with regards,
J.V.Ravichandra n
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandra n+J.V.&cob=aspn etpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID= P3966388&BN=999 &PN=2
- Or, just search on "J.V.Ravichandr an"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
56706
by: Anon Email | last post by:
Hi everyone, Let's see, now. This question is about the capabilities of ANSI C++. I want to write and compile code in ANSI C++ that, when compiled, will make the computer speaker beep; or, at least, SHOULD make the computer speaker beep. I know that whether the computer speaker actually beeps or not is largely dependent on the OS I'm using. But I'm not so much concerned about that (at this stage). I just want to know if ANSI C++...
11
2248
by: Paul Tremblay | last post by:
Hi, Is there a way to ensure that only one instance of an application runs on a physical machine. I would want to do this in a cross platform way. One ide I have is to obtain a list of the running processes and checking the list - but then (presumably), the checking code would always be on the list - so this defeats the point somewhat. Any ideas?
3
2146
by: nrhayyal | last post by:
Hi All, thanks for reading this post. just wanted to know about the ratio of threads and processors. i am working on c++ on AIX5.2 platform. my c++ program are multithreaded programs. In a multithreaded application,should no of processors be equal to no of threads ? if we set the thread_scope to system( meaning 1 kernel thread to 1
4
1569
by: Navin Mishra | last post by:
Hi, Are there any implications of having ASMX and ASPX in same ASP.NET application ? Both would share the same global varriables, etc. Regards Navin
4
1250
by: Nader | last post by:
Is it possible to make, build and deploy a windows .Net application which can be installed in any pc without installing .Net framework on it?? In VB6 it's possible because you can deliver the .dll files with the setup file togather(in the same folder). It's a pity if it's not possible with VS .Net.
16
3928
by: Andy | last post by:
Hi, I have read that 'C' is platform-independent and portable. I can'tsee much a difference between the two terms. Could anyone differentiate the two? Also is the statement actually true? Thanks Andy
9
16150
by: SeC | last post by:
Hi. Is there any way to detect if application is being killed by 'End Process' via Task Manager ?
4
4185
by: archana | last post by:
Hi all, can anyone tell me does dot net platform independent? Why can't i run dot net on unix operating system?. thanks in advance.
2
1483
by: sono | last post by:
1. I am looking which HTML CODE is AS GENERAL AS POSSIBLE (i.e. independant of platform and browser). 2. To be more explicit : 2.a) I am writing HTML code which I would like to run on ALL possible platforms (PC, Mac, UNIX, …) and browsers (Safari, IE, Netscape, …) or at least as many as possible. 2.b) I use as well hyphens (in names with hyphens for hyphenation, etc.) as en-dashes - for a comment within a text like this one - and also...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10306
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9930
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.