Lost my code! Need help

I lost my code for some reason. I tried to rebuild the application from scratch but for some reason the tray icon only updates when the mouse is over it. Something that did not happen in the original when it constantly updated. I still have the original files (An exe, pdb, xml, ocx and about 3 dlls). What can I do as I don't think Ill ever be able to rebuild it again.



Answer this question

Lost my code! Need help

  • rlw

    It figures! Unfortunately we are still on 1.1. Thanks for the answer.
  • SiddharthK

    Perhaps you can use Reflector to look at the code. Unless you obsfucated it, you should be able to discern what you were doing.

    Lutz Roeder's .NET Reflector: http://www.aisto.com/roeder/dotnet/



  • Steven W.

    Hi lsproc,

    Commonly we will focus on one question in one post.
    Also I did not understand your question very clearly.
    Can you help to post a new question and elaborate the problem more detailed

    Thanks for your understanding!

    If you still have any concern, please feel free to post here.

    Best regards,
    Peter Huang



  • David Notario

    SJWhiteley wrote:

    Perhaps you can use Reflector to look at the code. Unless you obsfucated it, you should be able to discern what you were doing.

    Lutz Roeder's .NET Reflector: http://www.aisto.com/roeder/dotnet/

    Thanks! I have rebuilt most of it. The only problem is that for some reason as I said earlier (I think) is that for some reason the system tray icon only updates if the main window is open or if the mouse is over the tray. It can only be a problem with either the activex, the timer or the tray icon.

    Is there a .NET component that reports the status of the caps, num and scroll locks and possibly if insert is activated I want to move away from COM now. I doubt it will be supported in Vista+1


  • Ian George

    Are you using VB 2005

    My is not available in earlier version of VB.NET


  • Alain B-H

    I've also been wanting to detect the CapsLock status so I added the line Dim flgCapsLock As Boolean = My.Computer.Keyboard.CapsLock. The problem I am having is that I am getting the error "Name 'My' is not declared. I'm guessing I need to import a certain class but what Or is it something else. Any help would be appreciated
  • smashweaver

    Thanks! Just a question: Will the main form need to be active in order for the tray icon to update with this
  • Floyd Gladden

    Hi,


    In VB.NET 2005, you can use the code below to retrieve the CapsLock's status.

    My.Computer.Keyboard.CapsLock(ScrollLock,NumLock)
    If you still have any concern, please feel free to post here.

    Best regards,
    Peter Huang



  • Lost my code! Need help