473,774 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2659
>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
2637
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 work fine. But when I try outside Netbeans by opening the html page which is automatically generated I only see a gray area where the applet was supposed to be... I tried some other example applets on the internet. Some work but also many won't show...
7
22745
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 and change it with other panel which contains other business logic and UI controls.
1
6280
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 just need a dll file (renamed to cpl?) with some sort of standard interface? -- Regards, Stu.
0
5032
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 who can assist me on this? "Colin Stutley" wrote: > I now see your dilemma. > > Not sure of the appropiate API calls, but an alternative may be to simple > add the appropiate registry entries for the DSN. I would try; > 1) Export your...
2
7697
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
5545
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. Thanks in advance
0
1326
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 MC++ to write > a wrapper for the C# component. > > as we know that .NET languages all are based on a common library ie > CLR. I do not see any reason why Managed C++ can work with C++.NET not > C#.NET. Could you please let me know why is this...
11
3383
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
1482
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 could also use a java version of that twain lib, and an applet. I cannot find much information about this, I am wondering if anyone in this group ever tried it. How should I go about. One problem on the intranet is that the users are also using...
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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
10264
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...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9914
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...
1
7463
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
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4012
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

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.