Thanks Led... Very precious links. But word about MSDN links... I was not investigating what registry keys were to be added but where to add them as in which section of VS Setup & Deployment Project by checking the necessary conditions. Thanks for help though...
Chaitanya Joshi
Posts
-
Outlook 2003 VSTO Addin deployment on Windows Vista - Registry and other issues - How to -
Outlook 2003 VSTO Addin deployment on Windows Vista - Registry and other issues - How toHello everybody, First of all thanks a lot for all of yours' support on forums, blogs and dev networks with the help of which development becomes very easy and motivating. I've developed an addin for Outlook 2003 using VSTO SE and VS 2005 (C#). By referring to the articles regarding deployment I was able to manage to create its MSI installer from setup and deployment project in the solution. The addin gets properly installed on other machines having Outlook 2003 and works there fine. All the security policies are granted properly as well. I am using SetSecurity project for granting trust to assemblies. For that I had referred to articles Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer Part 1 & 2 (http://msdn.microsoft.com/en-us/library/aa537173(office.11).aspx) (http://msdn.microsoft.com/en-us/library/aa537179.aspx) Now I want to deploy the same addin for Windows Vista. I am aware of the issues faced due to UAC. The major issue is regarding admin access to installer and need of presence of registry keys in HKLM when UAC is turned off. In my installer project I can add those additional registry keys in Registry view. Now my questions are (finally ...) 1. I want to know whether it is possible to use a single installer for Windows XP and Windows Vista. If yes, how can I determine OS version in my Custom Actions or Launch Conditions? 2. If answer to previous question is positive then are there any changes required in method of granting trust to assemblies For Windows Vista? I've already stated that I'm using modified version of SetSecurity project for that. 3. How can determine in Windows Vista whether the UAC has been turned on or off? How can I set a registry launch condition for that so that I can register additional keys in HKLM hive. I'm anyways going to add keys in HKCU for both XP as well as Vista. 4. How can I add those registry keys if I find that it's Windows Vista and UAC is turned off? I've read articles. They say all about where to change in the registry of Windows Vista, but not how to change it. * Deploying Application Level Addins (http://msdn.microsoft.com/en-us/library/ms269007(VS.80).aspx) * Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer (Part 1 of 2) (http://msdn.microsoft.com/en-us/library/bb332051.aspx) * Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer: Walkthroughs (Part 2 of 2) (http://msdn.microsoft.com/en-us/library
-
How much RAM you have?I've got 4 Gigs of RAM in my VAIO Z 13. To support to 2.53 C2D processor and NVIDIA 9300 GPU it takes that much...
-
Attaching FILE SYSTEM FILTER driver object to underlying target objectMy question is regarding "file system filter" drivers. I'm especially stressing on 'file system' word 'coz on msdn I learnt that file system filter drivers are different from other filters that they don't use 'AddDevice'. Now the problem is while attaching filter driver with underlying driver stack. We can still use IoAttachDeviceToDeviceStack() to attach our driver but it takes argument as
IN PDEVICE_OBJECT TargetDevice
If AddDevice would have been implemented, this parameter can be obtained from
IN PDEVICE_OBJECT PhysicalDeviceObject
parameter that we get in AddDevice(). But this way is closed for file system filter drivers. There is another alternative to call IoGetDeviceObjectPointer() and passing it the desired driver's object name. But how to find desired driver's name? And I want to add my filter to overall filesystem. Thus my qeustion is ... Q. How to obtain TargetDevice without calling IoGetDeviceObjectPointer? And if there is no other alternative, how to obtain desired driver's object name? I'll be grateful to you for the answer. Thanks.
-
How to use LinkLabel?Thank You Sir. The code snippet you gave worked perfectly fine. So finally the "linkdata" is the attribute where we've to add the actual link.
-
How to use LinkLabel?Dear friends, I intend to use LinkLabels in my project. But I am toally jumbled with it because I am not getting the exact place where the actual link should be stored. I studied its properties like LinkArea, LinkData, Links and Link types. But I am totally entangled with it. I want to display a text and underlying link and connect it to webbrowser. the later part is easy coz' I know LinkLabel's event to handle. But Plz help me with above problem. Thanks in Advance..
-
Microsoft Certifications...Need em? How many? Why?Basically I am new to this field .. new to C# programming .. and I read everything what these really eminent people who are far more wiser than me say .. But what I sincerely feel about certifications is that certifications for me are inspirations. It's a reward given to me by someone who have a say in a professional world. (And I am not yet that much professional so I might be feeling like that). People may have whatever says about MS but still they have to agree that MS is a big organization and really owns some credit in market. Reagrdless of that not just MS but any company that offers certifications has both aspects .. that you know their technology and secondly (and perhaps of more interest to the company) you use their technology.. And about giving exam... it's a personal view.. I feel honesty still remains the best policy ... But if someone wants certifications .. well they can be obtained in any way... ENDofTEXT I feel everything in life is worth doing only once.. I am yet to find an exception. Chaitanya Joshi
-
Tabs, buttons, and media questions [modified]C# Beginner Nick wrote:
If so, then when it's clicked how do you make it pop open right beside you're program no matter it's location and stay on it even when user try's to move it?
You can also use child form's load event to do whatever coding you want. And as told to you the other events are also there like position change. For button from which you want to instantiate this action, you can do programming at button's hover event also. Chaitanya Joshi
-
how does wrapper class works?Wrapper class is an avtivity of migrating non OO types in languages in OO types i.e. in case of C# from basic value types (excepting structs, enums) to class types. If this is somewhat difficult to consume consider following example. Say you have one 'int' value which you want to wrap. So you would write a class like:
public class Integer { private int var; public Integer(int v) { this.var = v; } public get(){...} public set(){...} }
So now you have wrapped a simple integer into a class Integer which will be an OO type. Fortunately they are directly available in C# libraries. Now a millon dollar question. What is use of this?? See, when you are going to deal with something which requires complete OO types e.g. object serialization, remoting you need this concept. As the complete manifest information is required in order to perform the activity. That is it. Chaitanya Joshi -
Application.Run() [modified]Thanks to all ... Really.. So now I get that the message pump that is required is provided by Application.Run(). Otherwise the application would die without any messages.. Thanks once again folks.
-
Application.Run() [modified]Hi to All, This is my first aquaintance with the forum as I am new to this forum as well as C# also. So the question may be foolish & yet it prevails. Hope you understand me .. Q: Is Application.Run() function always necessary to display your form? Can't we bypass it? I tried to do and my form instance was just flashing and exiting... Thanks in anticipation.. Regards -- modified at 3:25 Sunday 14th October, 2007