Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Brent113

    Find associated program hotkeys

    I created a little application that enumerates all possible hotkey combinations and calls the registerhotkey api on each one to see if it's available (of course cleaning up afterwards). This successfully lists all hotkeys in use, but it doesn't tell which application (for example, Winamp global...
  2. Brent113

    Find associated program hotkeys

    I created a little application that enumerates all possible hotkey combinations and calls the registerhotkey api on each one to see if it's available (of course cleaning up afterwards). This successfully lists all hotkeys in use, but it doesn't tell which application (for example, Winamp global...
  3. Brent113

    asychronous tcl listener

    That appears to be the thread class. How are you starting the new thread? Do you use the Thread class or a BackgroundWorker (preferred by Microsoft)? ____________________________________________________________________________ There are only 10 types of people in the world. Those that know...
  4. Brent113

    Read icon on desktop into bitmap

    Hi, thanks for reading. I need to read all the icons on the desktop, whether it's a file or a shortcut to a file (or program) into a bitmap. I have searched google but come up empty handed. How do I read the icons (real files or programs And shortcuts to files and programs) into bitmaps in...
  5. Brent113

    Text Problems in ToolStripMenuItem

    I guess for the record I'll say what I did to fix it. I forgot that the TextRenderer.MeasureText makes a direct api call, and therefore you have to trim after the null char with something like: Strings.left(result, instr(result, ControlChars.NullChar)-1)...
  6. Brent113

    Saving a signature in PDA device

    This is code to draw on a bitmap: Dim bit As Bitmap = New Bitmap(Me.Width, Me.Height) Dim g As Graphics = Graphics.FromImage(bit) Dim myPen As Pen = New Pen(Color.Blue, 3) g.DrawLine(myPen, 0, 0, Me.Width, Me.Height) This draws a blue diagonal line of width...
  7. Brent113

    ListView in another program...

    Have you looked at this? http://vbforums.com/showthread.php?t=184384 ____________________________________________________________________________ There are only 10 types of people in the world. Those that know binary and those that don't Brent
  8. Brent113

    Text Problems in ToolStripMenuItem

    Hello again, I am programmatically creating ToolStripMenuItems and I have it all working except when I assign it text. I first pass a path to the PathEllipsis function to make it fit in a smaller space and then assign the return to the Text property. My problem is that when I step through the...
  9. Brent113

    Listview prevent click deselecting

    I'm using VB 2005 I've noticed if you click in a listview on something other that an item (assuming it's not full) then all the items get deselected. How do I prevent items from getting deselected? I come from vb6 and I'm not used to this happening. Thanks! Brent...
  10. Brent113

    msi.installer

    I've had poor luck with built in sendkeys. I have a class wrapper called cSendKeys wqhich can be found at http://www.vbaccelerator.com/home/VB/Tips/SendKeys_using_the_API/article.asp . It works for me, I hope it works for you...
  11. Brent113

    Flexgrid and arrow down

    You could try subclassing your window and seeing if the grid is selected and an arrow key is being pressed, then run your code. ____________________________________________________________________________ There are only 10 types of people in the world. Those that know binary and those that...
  12. Brent113

    Hooking Troubles

    I guess for the record I'll state the workaround I used, and it works, becuase it uses equivalent functions. Instead of using the JournalRecord hook with a GetMessage, I used a Keyboard and a Mouse hook separately. I had to change the code a smidge, but now it doesn't kill windows :)...
  13. Brent113

    VB with Excel COM object: Hiding Opened File

    I just type tmpbook.Windows(1).visible = false ____________________________________________________________________________ There are only 10 types of people in the world. Those that know binary and those that don't Brent
  14. Brent113

    Hooking Troubles

    I've actually used this same code in other programs just fine. The procedure it's in is kind of long, I wonder if that could have anything to do with it. But why only the volume keys? ____________________________________________________________________________ There are only 10 types of...
  15. Brent113

    Hooking Troubles

    You do need the getmessage hook or there is no way of detecting if the journal gets removed. If you'd like me to paste the code, I can, but it's nothing special, just standard hook code ____________________________________________________________________________ There are only 10 types of...
  16. Brent113

    Hooking Troubles

    I am using a JournalRecord hook to monitor the keyboard and mouse, and a GetMessage hook to monitor if that hook gets removed with ctrl-esc or ctrl-alt-del so I can reinstall it. Everything works great except: Small problem: hit the volume key on the keyboard and the entire system freezes, and...
  17. Brent113

    VB with Excel COM object: Hiding Opened File

    Thanks combo, I added that last night and it worked perfectly! ____________________________________________________________________________ There are only 10 types of people in the world. Those that know binary and those that don't Brent
  18. Brent113

    VB with Excel COM object: Hiding Opened File

    Maybe I wasn't clear. The problem is upon opening ANOTHER workbook while my program is ALREADY ACCESSING one. It is hidden until then, but opening another makes both visible. Specifying the particular workbook my program is using to remain hidden is the only way to get past this issue...
  19. Brent113

    VB with Excel COM object: Hiding Opened File

    Thanks for the reply, but someone in the VBA threads helped me. The command is [Workbook Name].Windows(1).Visible = False ____________________________________________________________________________ There are only 10 types of people in the world. Those that know binary and those that don't Brent
  20. Brent113

    Excel Open file, hide window?

    Thanks for the quick reply, I have a question though. Will that prevent the other excel windows from being shown too? ____________________________________________________________________________ There are only 10 types of people in the world. Those that know binary and those that don't Brent

Part and Inventory Search

Back
Top