User Profile

Collapse

Profile Sidebar

Collapse
starrysky
starrysky
Last Activity: Jan 22 '13, 02:36 PM
Joined: Dec 17 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • May have come across the answer myself - this chap has an answer

    http://blogs.msdn.com/b/astebner/arc...0/9557946.aspx
    Aaron Stebner
    25 Sep 2011 10:06 PM

    Hi Leo - By default, the .NET Framework 4 does not allow all applications built for earlier verisons of the .NET Framework to migrate forward and run on it if the earlier versions are not installed. If you are using any applications that were built
    ...
    See more | Go to post

    Leave a comment:


  • How to run an application built for .net v2 on .net v4 client profile

    I have created a simple 'hello world' windows form in VB.net using visual studio 10. In the compile tab of the project I have targeted .net framework V2.0. The application runs on my development machine which has all versions of the framework installed. If I copy it to an XP machine with ONLY .net v4.0 client profile installed it will not run but errors immediately with a msgbox "To run this application You must first install one of the following...
    See more | Go to post

  • vista - launch process as different user with elevation from non privileged process

    I have a process (A) that runs at user login on many systems. The users are usually not Administrators. I want the process to be able to launch a process (B) to do Admin level tasks. I have a common Administrator account ( called sysuser) on each system. I can use this to run process B in. Users cannot know the password to this account.

    I have had little success with .net process,process startinfo so far in Vista

    if process...
    See more | Go to post

  • All problems solved when I discovered the ContextMenuStri p and used that instead of the ContextMenu control

    Case closed!
    See more | Go to post

    Leave a comment:


  • Apologies for posting original message, silly mistake- I have cracked this myself

    I had opened the registry subkey requesting write access
    Key = ParentKey.OpenS ubKey("SOFTWARE \Policies\Micro soft\Windows\Wi ndowsUpdate\AU" , true)

    And so it was denied - I needed it to be read only
    Key = ParentKey.OpenS ubKey("SOFTWARE \Policies\Micro soft\Windows\Wi ndowsUpdate\AU" ,...
    See more | Go to post

    Leave a comment:


  • why is registry access denied - 'System.Security.SecurityException' in mscorlib.dll

    Trying to read key "HKLM\SOFTWARE\ Policies\Micros oft\Windows\Win dowsUpdate\AU" value "AUOptions"

    and get the following :
    A first chance exception of type 'System.Securit y.SecurityExcep tion' occurred in mscorlib.dll
    Error occurs in ReadRegistry key SOFTWARE\Polici es\Microsoft\Wi ndows\WindowsUp date\AU : Requested registry access is not allowed
    .

    This occurs in my vb.net application when...
    See more | Go to post

  • My investigations have not resulted in a way of detecting if menu is up when the
    notifyicon_clic k() fires ( not sure it would be up at that point anyway ie. following a menuitem click) nor a way of determining if the mouse is over the icon at the time of the click ( and this may not always be reliable as it could be over it even after a menuitem click anyway ).

    However I have used a timer to wait to see if a menuitem click...
    See more | Go to post

    Leave a comment:


  • I think we are at cross-purposes so to be clear ( humour me ) :

    It is my understanding that a single click on the menu item ( menuitem1 in the above test code ) should only produce a single click event for the menuitem and not a click event for anything else. eg in the test code supplied above clicking the "Exit" menu item should fire menuitem1_click () and nothing else.

    What is happening ( and I dont want it...
    See more | Go to post

    Leave a comment:


  • Thanks for responding.

    The code snippet I submitted was just an example that will illustrate the problem, it is not the application I am working on. That application needs an icon with a menu containing several menu items and to do something different when there is a single click on the icon itself. I want it to behave like most other icons in the windows notification area
    eg the volume control icon
    • single click on icon
    ...
    See more | Go to post

    Leave a comment:


  • Single click on notifyicon menu item produces two events

    I have a program which puts an icon in the notification area and has a menu associated with it available by right clicking on the icon. I want the menu items to be selected by single left clicks but I also want the user to be able to single left click on the icon itself to do some other functionality.

    Here's the problem - the single click on the menu first fires the notifyicon1_cli ck() routine and then the menuitem1_click () routine....
    See more | Go to post
    Last edited by tlhintoq; Dec 17 '09, 04:07 PM. Reason: [CODE] ...Your code goes between code tags [/CODE]
No activity results to display
Show More
Working...