Search results for query: *

  1. J

    Snap Moveable buttons to each other

    Thank you sir! This works PERFECT!
  2. J

    Snap Moveable buttons to each other

    I have movable buttons on my form. To move them you right-click and drag them. I however cannot figure out the best way to "snap" them together. If anyone has any ideas on how to do this it would make me happy. These buttons are created at runtime, if that makes a difference. Thanks Jimmy
  3. J

    See what window has focus

    I'm not exactly sure how to use your code...... :(
  4. J

    See what window has focus

    I did something a little bit easyer: Declare Function GetWindowThreadProcessId Lib "user32.dll" ( _ ByVal hwnd As Int32, _ ByRef lpdwProcessId As Int32) As Int32 ----- Dim processID As Int32 GetWindowThreadProcessId(GetForegroundWindow(), processID)...
  5. J

    See what window has focus

    Thanks got it.
  6. J

    See what window has focus

    Has to be outside of the program. Like lets say these windows are notepad and firefox.
  7. J

    See what window has focus

    Why was my last post of this deleted? I need to be able to see what window has focus. If i have two windows I need to be able to figure out which one has focus. Focus being "grayed out" in windows taskbar. Thanks Jimmy
  8. J

    form appear to scroll off the screen

    That still seems to crank up the cpu usage. I got an idea this morning to make a panel slide over the form. This panel would be simi transparent on one side and fade to nontransparent on the other. The color of this panel would have to be the Transparent Key. How can I do this to the panel...
  9. J

    drag file into Picturebox

    After messing with the code you gave me I came up with this: Private Sub pb1_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles pb1.DragDrop Try Dim filedrops() As String = e.Data.GetData(DataFormats.FileDrop) Me.pb1.Image =...
  10. J

    form appear to scroll off the screen

    I have a timer set to 1ms. In this timer I have the following code: For i = 0 To loopin 'loopin is how many pixels per loop If Me.Width < xOrg Then 'xOrg is the forms width orginally Me.Width = Me.Width + 1 Else scrollIn.Enabled = False End If Next This, as you can see, makes...
  11. J

    drag file into Picturebox

    I want to be able to drag a .exe or some other executable file into a pictureBox. Get the files path and save it to a varible. Then set the pictureBox's image to the executable files image. I have no clue how to even start doing this.
  12. J

    Keep window from being minimized

    That code works perfectly! I didn't need to prevent the 'WindowsKey + D' just stop it from minimizing my form. Thanks a bunch! JimmyTheGreat
  13. J

    Keep window from being minimized

    Thanks for the fast answer, however...... I have ShowInTaskBar=False, but when a user presses 'WindowsKey + D' it minimizes to the Taskbar as invisible. Not being in the 'Alt+Tab' list isn't for this program. I needed it for other programs in the past, thanks for that info. Thanks JimmyTheGreat
  14. J

    i forgot windows xp password....

    A simple google search of "windows password cracker" would of lead you to the best windows password cracker out there, Ophcrack.
  15. J

    Keep window from being minimized

    Simple question here, I hope. How can I keep a form from being minimized to taskbar? Also, how can I keep my form from being the the 'Alt+Tab' list. Thanks JimmyTheGreat
  16. J

    Why isn't this charcode working?

    Thanks. Environment.NewLine works perfect. I never knew there was such a thing.
  17. J

    Why isn't this charcode working?

    Hi, i'm kinda new...well, not new but I forgot everything about VB.net that I learned in the past. But onto the problem. I'm using ChrW(11) to simulate the return key being pressed. Ex. main.Text = (Text1.Text + ChrW(11)) and I get (Text1.text) I searched for chrw(11) on google and it is that...
Back
Top