Search:

Type: Posts; User: rdrmdr

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    30,133

    Re: VBA, screen width/height?

    Private Declare Function GetSystemMetrics32 Lib "User32" Alias "GetSystemMetrics" (ByVal nIndex As Long) As Long
    Private Sub UserForm_Activate()
    Me.Height = GetSystemMetrics32(1)
    Me.Width =...
  2. VS 2015 Program your program on a visual basic program (confusing, I know)

    *Windows Forms Application*
    Is there any way to have a form with a richtextbox where your writte code and then save it (with a button, this is all an example) as an executable that works as a normal...
  3. Replies
    7
    Views
    951

    VS 2015 Re: Image Viewer Application

    It worked! :bigyello:
    I used the code like this...
    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    PictureBox1.Image =...
  4. Replies
    7
    Views
    951

    VS 2015 Re: Image Viewer Application

    But what's the command line? And most importantly, how can I executate my program before starting it with the image, do I do a catch, so that if the command is not sending, there's no image... Like,...
  5. Replies
    7
    Views
    951

    VS 2015 Re: Image Viewer Application

    I tried to find a post about this on the last 10 days and I didn't find any. I searched about file associations but there's nothing about images and I'm not even sure if that's what I want.
    Summing...
  6. Replies
    7
    Views
    951

    VS 2015 Re: Image Viewer Application

    Can you please link me to the threat?
  7. Replies
    7
    Views
    951

    VS 2015 [RESOLVED] Image Viewer Application

    How can I do a program that shows the image I open with. I know how to make a program, run it and make a button to open an image but I'm wondering if there's a way to open a image choosing my program...
  8. VS 2015 Re: Taskbar location and size change events

    Wow, that works exactly as I wanted! Thanks :bigyello:
  9. VS 2015 [RESOLVED] Taskbar location and size change events

    I'm trying to find an event that triggers when the location of the taskbar changes and another for when the size of the taskbar changes but I can't find any. Is there any? I would prefer to use the...
  10. Replies
    1
    Views
    498

    VS 2015 [RESOLVED] Where to post VS 2015 Projects?

    I have created some nice projects on VS 2015 and I wanna know what's the best lace to post them...
    Is it on one of the 'parts' (with different kind of posts) of this site or on another.
    Thanks in...
  11. VS 2015 Re: Quick question about the keycode of the key FN

    Ok, thanks for the help :D
  12. VS 2015 Re: Quick question about the keycode of the key FN

    QUOTE (at the end of the page)And the image on the wiki shows the combinations of the FN key.
    EDIT: Is there a keycode for thoses combinations with the FN? (showing on the wiki image)
  13. VS 2015 Re: Quick question about the keycode of the key FN

    Thats bad news because I already tried this...

    Private Sub Form1_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
    MsgBox(e.KeyCode)
    End Sub...and I pressed the key...
  14. VS 2015 Quick question about the keycode of the key FN

    I'm working with the code "keys.<something>" but I can't find the one for the key FN. I have search and some people say theres none because all combinations with FN are other keys (FN + <key> =...
  15. Replies
    6
    Views
    871

    VS 2015 Re: Input function

    Cool, thanks for letting me know about it ;)
  16. Replies
    6
    Views
    871

    VS 2015 Re: Input function

    So, if I have a notepad opened with some normal text on it and I want a variable to be equal that text, how do I do it? I tryed it this way:
    Public Sub Input(FileNumber As Integer, ByRef Value As...
  17. Replies
    6
    Views
    871

    VS 2015 [RESOLVED] Input function

    How do I apply this function? (Input)
    I get the weirdest error:
    135727
    Any questions, ask.
  18. Thread: Keylogger

    by rdrmdr
    Replies
    4
    Views
    1,027

    VS 2015 Re: Keylogger

    Here's the part (witout giving any information on how to do a keylogger):

    Moderator Action: -Removed Code-

    I think it's safe this way? I just wanna fix that, not share the code... Please...
  19. Thread: Keylogger

    by rdrmdr
    Replies
    4
    Views
    1,027

    VS 2015 Re: Keylogger

    Friends's pranks purpose. I know that I can use HotKeys or GetAsyncKeyState but I wanna try this way. Please don't remove the post, I'm not gonna use the code wrong. If the problem isn't me but the...
  20. Thread: Keylogger

    by rdrmdr
    Replies
    4
    Views
    1,027

    VS 2015 Keylogger

    I found the code of a keylogger program in visual basic 6 and I'm trying to convert it to VS 2015.
    I managed to do it all except this line about input and LOF (Length Of opened File) that even...
  21. VS 2010 Re: [RESOLVED] Change Cursor while running the program (not at the beggining)

    No need for more conversation about it. I think that using the CopyIcon is only necessary to the variable oldCursor so that you can change it back to the original. No need to copy the custom cursors,...
  22. VS 2010 Re: Half-Transparent Image (half image, half what's BEHIND the form)

    I would really like to do it on WFA, gotta keep searching...
  23. VS 2010 Re: Change Cursor while running the program (not at the beggining)

    Okay, I think I got it. I removed the CopyIcon that weren't necessary and it stills works fine.
    I understood what you mean now. I was confusing at first because it seemed like you were saying that...
  24. Replies
    28
    Views
    3,495

    Re: Visual Basic 2010

    u get paid? :D
  25. VS 2010 Re: Change Cursor while running the program (not at the beggining)

    Are you saying that it's not destroying automaticaly when I close the program!? If so, where can I go check it manually (like, a a folder) or how do I delete it and what code do I add to destroy it?...
  26. VS 2010 Re: Half-Transparent Image (half image, half what's BEHIND the form)

    I wanna have a translucent image like this images show:
    (this is just an example, my project is bigger so I don't think I can use that type of tricks...)

    134953

    134955
  27. VS 2010 Half-Transparent Image (half image, half what's BEHIND the form)

    I have an invisible form, and I wanna put an half-transparent picture box (showing half of the image, half of the background (for example, the desktop).
    I know about the property on the form...
  28. Re: Change cursor with code, by pressing keys, to the respective document.cur

    I'm trying to understand how to incorporate it on my project because of the hotspot (and because the other way makes the image scretch out for no obvious reason).
    Well, I think I can figure this...
  29. Re: Change cursor with code, by pressing keys, to the respective document.cur

    It's some ammount of code but I tried on a new project, changed some stuff, and it worked.
    Now I'm gonna try to apply it on my app.

    Form1.vb
    Public Class Form1
    Private Sub Form1_Load(ByVal...
  30. Re: Change cursor with code, by pressing keys, to the respective document.cur

    I added that code and there's no error but it didn't changed anything.
    I know I probably have to change some part or put more code, but your code is big and I have no ideia.
    Can you try to explain...
  31. Re: Change cursor with code, by pressing keys, to the respective document.cur

    I don't know how to change the HotSpot, I just went to this site https://convertio.co/pt/png-cur/ and converted my custom png documents to cur. Is there a way to change the HotSpot?
  32. VS 2010 Re: Change Cursor while running the program (not at the beggining)

    I'm gonna set this thread as [RESOLVED] because it's almost all explained on this other thread:...
  33. Re: Change cursor with code, by pressing keys, to the respective document.cur

    It works, now I can have the border as none because I added the HotKey Key.Escape (Esc) to change it back and close.

    Last two things, the image doesn't go to the right place, to click on something...
  34. Re: Change cursor with code, by pressing keys, to the respective document.cur

    It worked
    ...
    Select Case (id.ToString)
    Case "0"
    PictureBox1.Image = My.Resources.Toolbar_0
    PictureBox1.Visible = True
    ...
  35. Re: Change cursor with code, by pressing keys, to the respective document.cur

    So I put something like this:
    ...
    Select Case (id.ToString)
    Case "0"
    PictureBox1.Image = My.Resources.Toolbar_0
    PictureBox1.Visible = True...
  36. Re: Change cursor with code, by pressing keys, to the respective document.cur

    Can only attatch 5 pics for each post, here's the others...
    134799
    134801
    134805
    134803
    134807
    Note: As you can see on the code, I go get the Toolbar (image) at my resorces but to get the...
  37. Re: Change cursor with code, by pressing keys, to the respective document.cur

    [Alt] = C:\Users\Rúben\Desktop\Rúben\Texturas\Cursor.cur
    It's just a copy of the default cursor.

    [Alt+1] = C:\Users\Rúben\Desktop\Rúben\Texturas\Cursor Grass Block 3D.cur
    134791

    [Alt+2] =...
  38. Re: Change cursor with code, by pressing keys, to the respective document.cur

    Yes, I want to change to a different cursor for each of the 9 HotKeys (10, the Alt Hotkey changes it back to the default).
  39. [RESOLVED] Change cursor with code, by pressing keys, to the respective document.cur

    I'm creating a project,
    with a no border [FormBorderStyle=None] transparent [TransparencyKey=White] screen sized [Size=1366; 768] form (with 10 PictureBoxes):
    134779
    ...and I need help to make the...
  40. VS 2010 Re: Change Cursor while running the program (not at the beggining)

    *Poker Face*
    You probably didn't saw the other thread...
    I only said that because people like to send links without even known exactly if the information is there, like, they search on google...
Results 1 to 40 of 51
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width