Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: TT(n)

Page 1 of 30 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    22
    Views
    2,128

    Re: Limiting the Acceptance of Keyboard Interrupts

    You are doing the ChrW function over and over. Your boolean readyflag check should be before that. This boolean check is ok, it doesn't cost much. That data type is the least expensive to check. ...
  2. Replies
    22
    Views
    2,128

    Re: Limiting the Acceptance of Keyboard Interrupts

    Ok that is why the problem was not easy to diagnose. You are using Joy2key and not the physical keyboard. Now it makes sense why you posted the subject as interrupts.

    Have you tried it with the...
  3. Replies
    22
    Views
    2,128

    Re: Limiting the Acceptance of Keyboard Interrupts

    Don't be frustrated just yet. We just didn't think the handler itself would cause a hang. I could see the overhead of calling ChrW for each repeat but not the boolen flag check. You have...
  4. Replies
    22
    Views
    2,128

    Re: Limiting the Acceptance of Keyboard Interrupts

    Sub MainScreen_KeyPress(ByVal sender As Object, ByVal e As KeyPressEventArgs) Handles Me.KeyPress

    If readyFlag = False Then exit sub

    If e.KeyChar = ChrW(122) Then
    ...
  5. Re: How to add reference to Microsoft HTML Object Library?

    Yes, I did look there but it was not present. Even after taking the steps to make it present, the version was still 7. ie, Microsoft.mshtml.dll.
    I did finally get it working and here is how.
    ...
  6. How to add reference to Microsoft HTML Object Library?

    Okay normally this was easy to do, but now with IE9 Visual Studio 2010 hangs and crashes. The problem seems to be even worse because you can't build an Interop.mshtml.dll to match version 9. I've...
  7. Re: Referencing a Windows Forms App from a Windows Service App

    I agree with two different projects as much better and easier than a single.

    Although, in Vista/7 it is easy to add a program so that it starts up at the boot screen, provided the user adding it...
  8. Replies
    2
    Views
    3,761

    Re: SetForegroundWindow & Windows 7

    I hate it when that happens. Yeah post your code, so we can look for any additional problems.

    Using the Flash API does not seem to work, however there are a couple of general solutions to this...
  9. Replies
    3
    Views
    1,763

    Re: AppBar - Windows 7

    It worked in Form_Load too, but this was just my sample with buttons to be simple. The problem was in the MoveWindow return value. I believe calling this function to early overlaps with the...
  10. Replies
    3
    Views
    1,763

    Re: AppBar - Windows 7

    I think it's a timing issue. This works for me on Windows 7 Ultimate.



    Const ABE_LEFT As Int32 = 0
    Const ABE_TOP As Int32 = 1
    Const ABE_RIGHT As Int32 = 2
    Const ABE_BOTTOM...
  11. Replies
    7
    Views
    1,592

    Re: VScroll in tree view

    Ah yes similar to EnsureVisible, the selected item is scrolled into view automatically. I myself actually needed code to scroll the treeview to a desired increment more flexibly. For example...
  12. Replies
    7
    Views
    1,592

    Re: VScroll in tree view

    Are we enabling the ability to scroll, or actually doing it?
  13. Replies
    25
    Views
    10,082

    Re: Guru challenge (seriously!): beep in Win7 64bit

    Well Hannes, considering I learned a large amount from you over the years, you need not be so humble.:thumb:
  14. Replies
    25
    Views
    10,082

    Re: Guru challenge (seriously!): beep in Win7 64bit

    Support for the older beep driver was dropped, and a new driver created.
    The beep now comes out of the speakers, if a sound card is installed.

    So, yes there is still a beep.sys driver within the...
  15. Replies
    25
    Views
    10,082

    Re: Guru challenge (seriously!): beep in Win7 64bit

    I assume you need a sys file that matches the bit of the os.
    I could not get the xp 32 bit beep file, to work on win 7 64 bit enterprise.

    My xp 64 bit os system fails to setup from CD(for some...
  16. Replies
    25
    Views
    10,082

    Re: Guru challenge (seriously!): beep in Win7 64bit

    To see this driver you have to open device manager then click on View > Show hidden devices. Then under Non-Plug and Play Drivers you’ll see “Beep.” This is the driver that runs your beep. Right...
  17. Replies
    25
    Views
    10,082

    Re: Guru challenge (seriously!): beep in Win7 64bit

    Here is another link with tutorial on how to take full control of beep.sys.
    http://www.fanhow.com/knowhow:Restore_old_style_PC_Beep_sound_in_Windows_7_42581702
  18. Replies
    25
    Views
    10,082

    Re: Guru challenge (seriously!): beep in Win7 64bit

    I think this method should work.
    I was getting a message that the driver was blocked.
    However I was not booting from CD as my link described.

    I will try again from BartPE -like CD, and post the...
  19. Replies
    25
    Views
    10,082

    Re: Guru challenge (seriously!): beep in Win7 64bit

    Have you tried to replace the Beep.sys file with an xp one?

    I read that you can do this, and two people allegedly had success....
  20. Replies
    25
    Views
    10,082

    Re: Guru challenge (seriously!): beep in Win7 64bit

    This is a problem I came across too, but I have been able to make sound with the api.
    Although, it is really choppy-poppy on 64 bit systems. On some machines it may not work at all, although I have...
  21. Re: Force some other or a chosen application window to bottom

    Well the OP mentioned "all the time", in which case you would need the timer poll, or event/message hook to do properly.
  22. Re: Force some other or a chosen application window to bottom

    Ya, SetWindowPos has that optional constant.

    You can respond to changes in an event hook.

    In a module:

    Const OB_REORDER As Long = 32772 '-- hwnd + ID + idChild is parent of zordering...
  23. Replies
    19
    Views
    5,162

    Re: Know when laptop lid is closed

    JamesStewy,

    I thought I read that you wanted to allow a certain time of day, that when the lid is closed it does go into standby, and other times it does not.

    Is this correct?

    Then the...
  24. Replies
    19
    Views
    5,162

    Re: Know when laptop lid is closed

    Maybe your laptop doesn't send that message then.
    You may do a registry search for "LidClose", because some laptops have a reg setting for this, that is specific to the machine.

    Are you looking...
  25. Replies
    8
    Views
    1,023

    Re: codeguru and vbforums crashing

    I traced it down to forum ads that use "Shockwave Flash Object" add-in.
    The new version 10 is not working well with codeguru and vbforums.
    I ended up starting from scratch and reinstalling windows...
Results 1 to 25 of 742
Page 1 of 30 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center