473,326 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Control Panel applets in C#?

MC
Can Control Panel applets be created using C#?

I know there is a well-known web page about how to host and enumerate them -- but that's not the same as creating them.

Thanks.
Jun 27 '08 #1
3 2556
I read once, somewhere, an article about Managed C++ which explains to how
expose some unmanaged function pointer from your managed DLL.
Hence maybe you can write a MC++ wrapper of your C# applet and expose a
CplApplet() function.

However there is a potential problem, maybe that's why many OS cmponent can
be develop in managed language: You can have 1.x and 2.x and up applet in
the same process, otherwise you'll get some, hu.. problem I can't remember
of...

"MC" <fo**************@www.ai.uga.edu.slash.mcwrote in message
news:u9**************@TK2MSFTNGP03.phx.gbl...
Can Control Panel applets be created using C#?

I know there is a well-known web page about how to host and enumerate
them -- but that's not the same as creating them.

Thanks.
Jun 27 '08 #2
MC

"Lloyd Dupont" <ld@galador.removeme.netwrote in message news:uS**************@TK2MSFTNGP06.phx.gbl...
>I read once, somewhere, an article about Managed C++ which explains to how
expose some unmanaged function pointer from your managed DLL.
Hence maybe you can write a MC++ wrapper of your C# applet and expose a
CplApplet() function.
I'd like to know more about this.


However there is a potential problem, maybe that's why many OS cmponent can
be develop in managed language: You can have 1.x and 2.x and up applet in
the same process, otherwise you'll get some, hu.. problem I can't remember
of...
Pardon me? I don't quite understand what you're saying.
Jun 27 '08 #3
>>I read once, somewhere, an article about Managed C++ which explains to how
>expose some unmanaged function pointer from your managed DLL.
Hence maybe you can write a MC++ wrapper of your C# applet and expose a
CplApplet() function.

I'd like to know more about this.
Some googling later:
http://www.codeproject.com/KB/dotnet/bridge.aspx

quite simple, isn't it?

>However there is a potential problem, maybe that's why many OS cmponent
can
be develop in managed language: You can have 1.x and 2.x and up applet in
the same process, otherwise you'll get some, hu.. problem I can't
remember
of...

Pardon me? I don't quite understand what you're saying.
Well, simply put, the (.NET 1.x) and (.NET 2.x (and 3.x)) are mutually
exclusive and causing each other to crash.
As explain by Jess Kaplan here:
http://forums.msdn.microsoft.com/en-...-8e962124043e/

Therefore the problem is following: you might want to write a shelll
extension in .NET2, but then any other application on your PC which use a
different runtime will crash while doing things such as opening a file
dialog.
(there is only 2 runtime 1.x and 2.x and up, all .NET framework 2.x and up
all use the same runtime, just different library)

mmh... not sure if it is really your problem though...
ho well, I refreshed my memory!

Jun 27 '08 #4

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

Similar topics

1
by: Vincent Montressor | last post by:
I'm playing around with writing my own panel applets, and I'm trying to figure out how to get my panel applets to be restored when I log in. As an experiment, I'm using the simple clock applet...
1
by: AKR | last post by:
I have to create a control panel applet for my project using C# . But i got to know that it is not possible using C# since dll has to export static entry points. And one of the ways is using MC++...
7
by: Robert Kent | last post by:
http://msdn.microsoft.com/vjsharp/browsercontrols Does anyone know if there will be a version for C#?
0
by: yxq | last post by:
Hi I found a link to get control panel applets. http://delphi.about.com/library/weekly/aa062403b.htm I know a little about Delphi, how to get only the icon of control panel applets using...
3
by: yxq | last post by:
Hello, I found a sample code for enumerating and hosting control panel applets, http://www.codeproject.com/csharp/appletengine.asp but the applet icons have ugly shadow, how to get rid of it?...
1
by: cmn_ | last post by:
Just a quick question, How would I host a control panel applet (specifically, the Internet Options control panel) in a C# / .NET 2.0 program? Maybe I've missed something obvious while googling...
0
by: Kevin S Gallagher | last post by:
Back in my Borland Delphi days I was able to create "Control Panel Applets" and wondered if this is possible in VS2005 ? Thanks for any insight and possibly templates for a CP applet. Kevin
1
by: Neil Chambers | last post by:
Hi all, I don't know if this is possible but I'd like to access the functions contained in the 'Mail' applet within the Control Panel. Specifically I want to access the 'Profiles' list and...
2
by: shashikantbokaro1976 | last post by:
Hi all, How to create a control panel applets using c#.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.