Search Results - VBForums

Search:

Type: Posts; User: Edgemeal

Page 1 of 12 1 2 3 4

Search: Search took 0.10 seconds; generated 21 minute(s) ago.

  1. Thread: Listbox Help

    by Edgemeal
    Replies
    2
    Views
    32

    Re: Listbox Help

    If you want to remove the items from the list also try,..


    ' loop backwards thru the list so removing items doesn't effect loop counter.
    For i = ListBox1.Items.Count - 1 To 0 Step -1
    Dim...
  2. Replies
    15
    Views
    889

    Re: IRS Telephone Scam

    Na, Mr. Brand isn't that talented, but is equally annoying.
  3. VS 2010 Re: Problem with calculating throughout listboxes?

    All that is doing is adding lbNUM to the sum each time in the loop,

    Try like,..


    For Each item As String In Me.InventoryListBox.Items
    sum += Double.Parse(item)
    Next...
  4. VS 2013 Re: Hide an application TaskBar icon (not tray) but still show the window

    Another reason windows are shown in the taskbar is because they are not owned.
    For example if I set a notepads parent to my form it is no longer shown in the taskbar and the window will also hide...
  5. Replies
    11
    Views
    279

    VS 2013 Re: Controls misplaced outside IDE

    Seems it is caused by the FormBorderStyle setting, when I open your project form1 is set to FixedDialog and doesn't look correct at runtime or in the IDE (VS2010/ Win7 here), if I change form style...
  6. Re: Kill a window if window title contains...

    You do the same thing you did over here, except to terminate s process replace p.CloseMainWindow() with p.Kill() , and of course change the string to "photo" or whatever.
  7. VS 2013 Re: Hide an application TaskBar icon (not tray) but still show the window

    Well I don't have Win8 but in Win7/XP I would set the location of the window after the SendParent call or the winodw may be out of view.
    example,


    Dim p() =...
  8. VS 2013 Re: Hide an application TaskBar icon (not tray) but still show the window

    Sorry, only tested on Win7 here.

    Wouldn't setting the parent of the exe to your own form, or panel on your form remove it from windows taskbar? Why not do that?
  9. VS 2013 Re: Hide an application TaskBar icon (not tray) but still show the window

    Somewhere on MSDN I read awhile back that to hide an app from taskbar you must first hide the window, then change the style, then show the window.
    I tried using WS_EX_APPWINDOW on notepad but it...
  10. VS 2013 Re: Hide an application TaskBar icon (not tray) but still show the window

    I doubt the window is closing, using code like this,

    SetParent(hwnd, New Form().Handle)

    is changing the process's parent to a new form that you can't see, why would you do that?
  11. Replies
    11
    Views
    3,960

    [VB10] VBForums My Posts

    [VB10] VBForums My Posts
    116515

    Without much thought or effort this app attempts to answer this thread by listing recent threads that you and other members replied to or have started. No login...
  12. VS 2010 Re: Latest started threads and posts viewer

    The URL is very similar but ends with, &starteronly=1&contenttype=vBForum_Thread

    The html on the member started pages is different , so for a quick fix I added another BGW and modified the parsing...
  13. Replies
    13
    Views
    1,405

    VS 2008 Re: Loop for My.Settings

    I didn't mean to imply the buttons had to be on the form, but when you use Me.Controls the code is expecting to find the controls on the form.

    If all the buttons were in a container named...
  14. Replies
    10
    Views
    434

    Re: help with vb 2010 button events

    ' This will require a variable...

    I don't need no stinking variable! ;)



    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
    TextBox1.Text =...
  15. Replies
    20
    Views
    532

    VS 2010 Re: Help on something small.

    Didn't you ever hack any binary files growing up? :) (Thats what this sure reminds me of).

    06 - length of the text, followed by the text, i.e. 4B hex (or dec 75) is a "K".
    116403
  16. Replies
    0
    Views
    576

    zzzzzzzzzzzzzz

    Sounds an aweful lot like hacking,


    DANM IT! I HIT THE SUBMIT BUTTON AGAIN!
  17. Replies
    20
    Views
    532

    VS 2010 Re: Help on something small.

    That should help.

    I thought you were talking about simple text file, lines of text, etc.
    Hopefully someone else will step in and help.
  18. Replies
    20
    Views
    532

    VS 2010 Re: Help on something small.

    Editing text files is usually a pretty simple task.
    To make the task more clear can you post a few lines of what the text looks like?, also coloring specific text with an explanation of what you'd...
  19. Re: VB.NET - Screen Recorder with audio. Converts to MPEG-4 video now. Update 29 Dec

    Was playing with your july 14 code, not much difference, playback is still too fast, On my pc calls to ffmpeg are taking about 30ms, and screenshot (@ 1920x1080) adds another 25ms+, so time to...
  20. VS 2010 Re: Latest started threads and posts viewer

    I removed it since I don't think it does what Nightwalker wants.
    It just gathers the URLs (and some thread info) from your latest posts, so no login required, but is sort of useless. :o
    Made this...
  21. Replies
    7
    Views
    541

    Spam spam spam

    :spam:

    When did you guys add the :spam: smile?
  22. Re: how can create label control dynamically inside a Pictrebox control with transpar

    Reorginized it a bit, add label to pic box..,


    For i = 1 To Array_Size
    rb_(i) = New PictureBox
    lb_(i) = New Label

    With rb_(i)
    .Name = "Picturex" & i.ToString
    ...
  23. Replies
    13
    Views
    1,405

    VS 2008 Re: Loop for My.Settings

    Most common mistake with code like that is not having all the controls on the form. The code is using Me.Controls(), that means all 24 buttons need to be on the form and not inside some other...
  24. Replies
    2
    Views
    221

    VS 2013 Re: I can't create an array for shapes

    Not sure I follow but shouldn't that be something like,...



    Dim canvas As New ShapeContainer
    canvas.Parent = Me
    Dim theLine(NVectors) As LineShape

    For i = 0 To NVectors ' arrays are zero...
  25. Re: How to programmatically enter information and click buttons in another applicatio

    I would expect that, sounds like a typical dialog window.

    You really shouldn't need to jump through hoops just to find a window, but if you want to jump here some rope to get you started. ;)


    ...
  26. Replies
    15
    Views
    889

    Re: IRS Telephone Scam

    It is the actual call, I recorded it with my MP3 player since I don't have a working MIC for PC.
    My phone machine must be limited/set to 1 minute, it cut off before he could give the whole phone...
  27. Replies
    15
    Views
    889

    IRS Telephone Scam

    Got crazy telephone call this morning, at first I freaked out, (MP3 of phone call (958,912 bytes)), then I thought... there is no way the IRS would just call you up, the guy doesn't even say who he...
  28. Re: How to programmatically enter information and click buttons in another applicatio

    That is weird, especially if SPY++ says the classname actually starts with "#".


    Before you said it was "Connect to site" ?
    IIRC the title text parameter for FindWindow is case sensitive, so...
  29. VS 2010 Re: VB.Net Native Code To Get File Short Path?

    Try putting quotation chars around the path string.

    Instead of using Shell have a look at the Process.Start Method.
  30. Re: How to programmatically enter information and click buttons in another applicatio

    Thats good, I was going to suggest using the menu APIs instead of sendkeys, but thought it it might be too advanced at this time.

    hwnd = FindWindow("#32770", vbNullString)

    I would avoid using...
  31. Replies
    13
    Views
    1,405

    VS 2008 Re: Loop for My.Settings

    "0" - Zero placeholder - Replaces the zero with the corresponding digit if one is present; otherwise, zero appears in the result string.
    ...
  32. Re: WhatsRep - Current reputations - Reputation Power - Top Ten members: Just for fun

    I didn't even notice that "-" in Shaggy's name. Should be simple fix, (I don't do regex but) looks like you're getting member name from the <a href="member.php area. Instead try getting it from the,...
  33. Replies
    13
    Views
    1,405

    VS 2008 Re: Loop for My.Settings

    I'd probably use the string collection way as already mentioned, but you can try it like this for what you already have..


    For i = 1 To 24
    Me.Controls("Button" & i.ToString).Text =...
  34. Re: It finds the window but its not performing the command

    OK, figured that.

    If setting the button active first and/or using postmessage doesn't work then I'm not sure what the problem could be, except possibly a built-in security measure to ignore those...
  35. Re: It finds the window but its not performing the command

    That is sort of odd, but maybe try using .ToInt32 = 0 to check if the handles are valid. Not sure if it makes any difference but in one of my personal apps (compiled for 32bit) worked fine on...
  36. Re: How to programmatically enter information and click buttons in another applicatio

    Might help if you showed your code, I can only guess after sending ALT+C you're not waiting before trying to find the dialog. You could use thread.sleep() to make your code wait a bit, or start a...
  37. VS 2013 Re: Reading from the registry & System Information

    Not sure about GPU, but for CPU I've used this in XP & Win7,...



    MessageBox.Show(GetProcessorName)
    MessageBox.Show(GetProcessorMHz)


    Public Function GetProcessorName() As String
    Dim...
  38. Re: How to programmatically enter information and click buttons in another applicatio

    If there are two textboxes and they both had the same classname of "Edit", then to find the first textbox you set the "childAfter" parameter of FindWindowEx to zero, to find the second textbox with...
  39. Re: How to programmatically enter information and click buttons in another applicatio

    Before you can use SendMessage you need to get the handle of the window the controls are on, so use FindWindow API again (or your own find function) to get that window handle.

    Then you'll most...
  40. Re: How to programmatically enter information and click buttons in another applicatio

    Everytime a window (controls are windows too) is created Windows assigns it a new unused handle, so the handles are never the same, that is why we must find the window and get its current handle to...
Results 1 to 40 of 472
Page 1 of 12 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.