Type: Posts; User: TT(n)
Search took 0.04 seconds.
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. ...
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...
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...
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
March 12th, 2012, 08:12 PM
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.
March 11th, 2012, 10:01 AM
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...
September 2nd, 2011, 01:43 AM
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...
August 29th, 2011, 12:04 PM
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...
August 26th, 2011, 03:20 PM
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...
August 26th, 2011, 01:51 AM
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
August 25th, 2011, 09:12 AM
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...
August 24th, 2011, 11:42 AM
Are we enabling the ability to scroll, or actually doing it?
Well Hannes, considering I learned a large amount from you over the years, you need not be so humble.:thumb:
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...
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...
March 31st, 2011, 04:06 PM
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...
March 20th, 2011, 02:21 AM
Here is another link with tutorial on how to take full control of beep.sys.
March 19th, 2011, 11:56 PM
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...
March 19th, 2011, 08:54 AM
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....
March 18th, 2011, 10:02 AM
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...
March 8th, 2011, 08:18 PM
Well the OP mentioned "all the time", in which case you would need the timer poll, or event/message hook to do properly.
March 7th, 2011, 03:01 AM
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...
October 9th, 2010, 01:06 AM
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?
October 8th, 2010, 10:16 PM
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...
October 7th, 2010, 12:53 AM
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...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.