473,382 Members | 1,373 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,382 software developers and data experts.

using rundll32.exe to access control panel applet?

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 then if the desired
profile (source) name is found Copy... it to another name (target) - set the
target as the default profile then Remove the source profile.

I'm not looking for someone to create the solution - examples are fine. I
just want to know if this can be done and if so where I should start looking
:-)

Cheers,
n

May 21 '07 #1
1 2644
>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.
Control Panel applets are for end users. While you can open them with
Rundll32, it's not the way to go if you want to perform actions that
users can do via the dialog.

Try to find the underlying API used by the applet and code against
that instead. In the case of the Mail applet I guess you should look
at MAPI.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
May 21 '07 #2

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

Similar topics

1
by: Rick | last post by:
Hi, I'm having problems with Java applets. I just generated a JApplet (also tried normal Applet) in Netbeans which is delivered with the newest JDK. When I compile it in Netbeans it seems to...
7
by: Ryan Park | last post by:
Hi, //SITUATION I got a panel control that hold a certain position on a form. Every controls or UIs are on this panel. At certain situation, I called dispose() method of this panel control...
1
by: Stuart Roberts | last post by:
I wish to implement a control panel applet for my application, accessed from the standard windows control panel. Is they a simple way of ding this for a C# project? Am I right in thinking that i...
0
by: Lewt | last post by:
I am aware of the 'hack the registry' approach. This is just not a safe way to accomplish this on a user's PC. I need to do this the right way. Is there anyone -perhaps from Microsoft - out there...
2
by: AKR | last post by:
I have to create control panel applet using C# . I have read in the net that it is not possible using C# . How can i create control panel applet using C# .
1
by: rajani | last post by:
How to create control panel applet in CSharp. I know that a dll renamed as .cpl with cplapplet function exported has to be created which is not possible using csharp. Any help is appreciated. ...
0
by: rajani | 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...
11
by: yxq | last post by:
Hello I want to retrive the name & Description from a Control Panel Applet(or *.cpl file), how to do? Thanks
4
by: Marc | last post by:
I am investigation how I should let an IntraNet application talk to a scanner on the client site. One possibility is using an active x component and IE and a library called twain. But I think I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.