dcsimg
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.05 seconds.

  1. Replies
    6
    Views
    1,637

    Re: Running a VB6 Program without Installing

    If the OCX can be self registered that would work, if it can be modified to allow self registration. Or a quick registry edit with a .reg file. The ocx file would remain on the thumb drive with all...
  2. Replies
    6
    Views
    1,637

    Re: Running a VB6 Program without Installing

    Mmm, I see. I forgot about the registration. So Regsvr32 is not available, or the user does not want it to be used. I would say that it can be registered manually of course, if the user is worried...
  3. Replies
    6
    Views
    1,637

    Re: Running a VB6 Program without Installing

    My Windows 10 (1803) 64-bit fresh installation does not require anything special to run VB6 applications. I took the program folder and copied it over, that's it.
    What operating system is your user...
  4. Replies
    6
    Views
    1,637

    Re: Running a VB6 Program without Installing

    I think it is possible if you place a copy of the VB6 runtimes into the usb in the same program folder.
    I remember this being possible somehow, but forget for sure. Lookup "Portable Spacejock" by...
  5. Replies
    22
    Views
    4,277

    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. ...
  6. Replies
    22
    Views
    4,277

    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...
  7. Replies
    22
    Views
    4,277

    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...
  8. Replies
    22
    Views
    4,277

    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
    ...
  9. 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.
    ...
  10. 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...
  11. 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...
  12. Replies
    2
    Views
    7,552

    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...
  13. Replies
    3
    Views
    2,945

    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...
  14. Replies
    3
    Views
    2,945

    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...
  15. Replies
    7
    Views
    2,002

    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...
  16. Replies
    7
    Views
    2,002

    Re: VScroll in tree view

    Are we enabling the ability to scroll, or actually doing it?
  17. Replies
    25
    Views
    19,942

    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:
  18. Replies
    25
    Views
    19,942

    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...
  19. Replies
    25
    Views
    19,942

    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...
  20. Replies
    25
    Views
    19,942

    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...
  21. Replies
    25
    Views
    19,942

    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
  22. Replies
    25
    Views
    19,942

    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...
  23. Replies
    25
    Views
    19,942

    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....
  24. Replies
    25
    Views
    19,942

    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...
  25. 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.
Results 1 to 25 of 746
Page 1 of 30 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)