Search Results - VBForums

Search:

Type: Posts; User: Edgemeal

Page 1 of 12 1 2 3 4

Search: Search took 0.07 seconds; generated 10 minute(s) ago.

  1. Re: ComboBox: concatenate value runtime

    I agree with kaliman as its not natural but who says it has to be? ;)

    I think your only real choice is to inherit the control into a class and use the overrides to make it wotrk the way you want,...
  2. Re: One Question Poll / Survey - The results?

    Just seems odd the poll doesn't update and display the results after you vote, and doesn't have a link to view the current results like most do.

    Here is a poll for you.
    Whats the chance you'll go...
  3. [RESOLVED] One Question Poll / Survey - The results?

    How do I view the results of the poll in the right-pane of the layout? :confused:
  4. Thread: Insert Image

    by Edgemeal
    Replies
    13
    Views
    337

    Re: Insert Image

    Ya it sucks.

    I think your only option now is to use an image host and when inserting it here and asked to uploaded locally say NO!
    Your code should then look like this,
    URL_To_Image_Here
  5. VS 2010 Re: Help adding up all the numeric values in a listbox

    It is still doing a conversion but behind the scenes because you have "Option Strict Off", which basically tells VB to guess what conversion to use, and that can return unexpected results or even...
  6. VS 2010 Re: Help adding up all the numeric values in a listbox

    Try something like,


    ' variable to hold total value
    Dim total As Decimal
    ' loop through list box, add item values to total
    For Each itm In ListBox1.Items
    total += CDec(itm) ' convert...
  7. Thread: Error help

    by Edgemeal
    Replies
    7
    Views
    132

    VS 2010 Re: Error help

    Well its not the OPs fault, the forum resizes uploaded images wider then 600 pixels now. :cry: :rolleyes:
  8. VS 2008 Re: IDE message in W8 :this task requires... elevated permissions

    I get that message for one of my projects becasue I needed the user to start it with elevated permissions so I changed the manifest from,
    <requestedExecutionLevel level="asInvoker"...
  9. Re: ContextMenuStrip.... getting the object clicked on

    I didn't know about that bug.
    What if we save the sourcecontrol in the menu opening event, then use that in our menu events?
    Quick test,..


    Private sourceControl As Control

    Private Sub...
  10. Re: ContextMenuStrip.... getting the object clicked on

    Maybe have a look at SourceControl, use it something like this,...


    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
    Me.Button1.ContextMenuStrip =...
  11. Thread: Insert Image

    by Edgemeal
    Replies
    13
    Views
    337

    Re: Insert Image

    I did too until recently, I guess it just grew on me, all the forums I go to are on ver 4 except one that is still using ver 3, oddly none I visit are using vB ver 5.

    Its been nearly two years...
  12. Re: [VS 2012] how to switch to another forms properly and close them properly

    Maybe change the shutdown mode option set in project properties, you can have it so the "start up form" closes the app or "when last form closes".
  13. Replies
    35
    Views
    1,023

    Re: How fast and accurate can you type?

    ya this one is a bit more complete,
    http://www.youtube.com/watch?v=W6BJON-77rQ

    I love the one hand typing and drinking coffee LOL!

    My typing sucks, injuries to left hand, 50 WPM on a good...
  14. Thread: Shaggy

    by Edgemeal
    Replies
    17
    Views
    234

    Re: Shaggy

    Wow, didn't think this forum was that strict. Sorry! :o

    I best stick to the programming forums. :wave:
  15. Replies
    35
    Views
    1,023

    Re: How fast and accurate can you type?

    This one?
    http://www.youtube.com/watch?v=u9d2xnR0f40
  16. Replies
    8
    Views
    3,091

    Re: [VB10] Parsing VBForums New Layout (vBulletin v4.2.0)

    Updated to v1.04 - Now parses and adds the "Go To Last Post" URL to output.
    Updated to v1.05 - Fixed bug forcing a log out when launching a last post URL.
  17. Thread: Shaggy

    by Edgemeal
    Replies
    17
    Views
    234

    Re: Shaggy

    Image Removed by site staff.
  18. Thread: .

    by Edgemeal
    Replies
    1
    Views
    224

    Re: .

    dot dot dot

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
  19. Re: [RESOLVED] How Can I show Form2 Without Show all Project Forms !?

    Did you try using that 2nd part of that code instead?...
    SetWindowLong f.hwnd, GWL_HWNDPARENT, CreateWindowEx(.....

    Note, one was for compiled exe and other for testing in IDE.

    EDIT, just in...
  20. VS 2012 Re: How to make a button visible when a tab is clicked?

    btnUpdate.Visible = TabControl1.SelectedTab.Name = "TabPage1"

    When compiled its about 4 calls less, so should be more efficient.

    But the general rule is to avoid string comparisons whenever...
  21. Re: How Can I show Form2 Without Show all Project Forms !?

    There is a workaround for that, but IIRC it involves setting the windows GWL_HWNDPARENT , something like...


    Private Declare Function SetWindowLong Lib "user32.dll" Alias "SetWindowLongA" ( ByVal...
  22. VS 2010 Re: Process start and stop using vb.net application

    You really shouldn't use Kill unless you need to terminate a process that is not responding.

    You should attempt to close the window first so apps can ask the user if they want to save their work...
  23. Re: vb2010 Button Disable When TextBox is Empty

    As long as the code is readable and makes logical sense I don't see what difference it really makes, unless it hinders performance, uses more memory, etc,..

    BTW, all Four lines below produce the...
  24. Re: vb2010 Button Disable When TextBox is Empty

    That's fine, like I've said before, compilers aren't 't that stupid.

    I just compared two exes, one used,


    Public Class Form1
    Private Sub Form1_Load(sender As System.Object, e As...
  25. Replies
    115
    Views
    3,152

    Re: Forum Template / Layout Change

    That script only makes the code windows fit the posting area width the same way quotes auto size to fit.

    Why they want to hard code the width of code windows here to be so small is beyond me,...
  26. Re: vb2010 Button Disable When TextBox is Empty

    But if it was, isn't the MS VB compiler smart enough not to do unnecessary comparisons anyway ?
  27. Re: vb2010 Button Disable When TextBox is Empty

    ' I suppose he means, why not just do something like,
    Button1.Enabled = Not (TextBox1.Text & TextBox2.Text = String.Empty)
    ' or,
    Button1.Enabled = (TextBox1.Text & TextBox2.Text <> String.Empty)...
  28. Re: vb2010 Button Disable When TextBox is Empty

    Make a sub that checks the controls properties you want, and set the button enabled state there. Now call that sub from the control events that apply. To make coding easier you can handle the same...
  29. VS 2010 Re: Why Debug.WriteLine(a) does no shows in Output window?

    My guess is you have the "Redirect output to the immediate window" option enabled.

    In VS 2010 the option is under advanced debugging options,
    Menu > Tools > Options > check Show all Settings >...
  30. VS 2012 Re: "path's format is not supported" issue

    I think the OP isn't coping the path correctly for VB.
    When coping path from explorer best to use "Copy address as text" not "Copy address".
  31. Re: In need of help: proc.StandardInput.WriteLine with TextBox VB 2010

    result = string1 & string2

    so try,
    .WriteLine("c:\random command text goes here" & TextBox1.Text)
  32. VS 2010 Re: Exchanging Data Between 2 Separated Applications

    If you want to send text between vb.net apps maybe try using WM_COPYDATA. Using that you don't need to know any classnames, you just watch for the message then decide what to do with the incoming...
  33. VS 2013 Re: Displaying the DOS CMD output in a text box: Confused???

    Right, you can't be declaring the same things more then once in the same scope, that is a conflict, it also appears you'd be adding a timer for every new task, that's usually a bad idea. I'm not...
  34. VS 2010 Re: [RESOLVED] Most painless way to get hardware accelerated graphics.

    Sorry, removed it, just seemed irrelevant after Niya mentioned double buffer and the results changed.

    Niya's w/double buffered enabled, on i7-3770 sys...
    GDI: 1.174 , GDI+: 0.940
  35. VS 2013 Re: Displaying the DOS CMD output in a text box: Confused???

    Well 2 months ago when you started the thread you were talking about old OS (Win95?), if that has changed then you should mention that, and explain as much as you can in detail, otherwise it is very...
  36. VS 2013 Re: Show no focus with out showing in taskbar??

    Have you tried changing the WS_EX_APPWINDOW style (show in taskbar style) before the window is visible?...



    SetWindowLong(frm.Handle, GWL_EXSTYLE, (GetWindowLong(frm.Handle, GWL_EXSTYLE) And...
  37. Thread: instr

    by Edgemeal
    Replies
    2
    Views
    106

    VS 2010 Re: instr

    Not sure I understand the whole problem, but you could simplify it by using a dictionary to hold the checkbox and the text they refer to, and handle all of the checkbox change events in one sub,...
  38. Replies
    4
    Views
    110

    VS 2010 Re: Change Individual Item Font in Combo box

    Code works fine, so can only guess you're forgetting to set the Bold property when adding the item to the combo.

    I normally add a Sub New to the class or structure with the same properties, then...
  39. Replies
    2
    Views
    129

    VS 2013 Re: How many words....

    Basically what I was thinking , but if using wordbreak you could test the height and break the text into pages of text, though I'm sure this isn't perfect it may give OP some ideas,..



    Public...
  40. Re: Listbox to display latest items

    ListBox1.TopIndex = ListBox1.Items.Count - 1
Results 1 to 40 of 454
Page 1 of 12 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.