Search:

Type: Posts; User: BruceG

Page 1 of 13 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    11
    Views
    609

    Re: Help with code logic

    Try this:


    Private Sub Command1_Click()
    Dim a() As Long
    ReDim a(1 To 9)

    a(1) = 2
    a(2) = 2
    a(3) = 3
  2. Replies
    2
    Views
    575

    VS 2015 Re: Position listbox below textbox

    Beautiful - thanks very much!
  3. Replies
    2
    Views
    575

    VS 2015 RESOLVED - Position listbox below textbox

    Hello, hoping to get some help on the following:
    I have a textbox and a button inside a panel.
    When I click the button, I would like to position a listbox below the textbox, where the listbox...
  4. Thread: VB6 Work

    by BruceG
    Replies
    6
    Views
    2,481

    Re: VB6 Work

    Something funky seems to have happened, because I don't see the PM I sent you in my Sent Items (sigh). Anyway, please do email or call.
    Look forward to hearing from you.
    Thanks,
    Bruce
  5. Thread: VB6 Work

    by BruceG
    Replies
    6
    Views
    2,481

    Re: VB6 Work

    OptionBase1: thank you very much for responding. I did in fact receive your PM, and responded back to you via PM as well, where I left you my contact info. In case you did not get it, my contact info...
  6. Thread: VB6 Work

    by BruceG
    Replies
    6
    Views
    2,481

    VB6 Work

    Hello. I am an independent programmer who has been operating primarily as a one-man company for the last 8+ years. I am looking to expand, or at least maintain a fairly robust roster of clientele,...
  7. Help with VB4 application (monitors animal physiological processes)

    Hello all,
    I hope it is OK to post this link here - I posted the following in the Jobs section:
    http://www.vbforums.com/showthread.php?855279-Looking-for-help-with-legacy-VB-projects
  8. Replies
    0
    Views
    793

    Looking for help with legacy VB projects

    Hello all,
    I'm looking for help with legacy VB projects. When I say help, I want to make it clear that it would paid help for a fair hourly rate, open to discussion.

    The main project I would be...
  9. Re: program crashes upon closing modal form (exe only, not in ide)

    Hey friend, thanks for responding ...
    Only the newly created form exhibits this behavior. It's started by Sub Main. No subclassing that I can see. Not sure what you mean by if it is manifested for...
  10. program crashes upon closing modal form (exe only, not in ide)

    Hello team,
    We are working on a legacy VB6 app. We added a new dialog form and are showing it using vbModal. Upon closing this form, the program crashes when run as a compiled exe, but works fine...
  11. Replies
    6
    Views
    865

    Re: "AddressOf" workaround for VB4

    Hi LaVolpe,
    I appreciate your response - however, I did come across that code on GitHub, and I did in fact play with it, but I couldn't get things working - it appears that this code is designed to...
  12. Replies
    6
    Views
    865

    "AddressOf" workaround for VB4

    Hey team,
    I am working on a VB4 (yes 4) legacy project, and I'm trying to use the SetWindowLong API, which takes an "AddressOf WinProc" as a parameter. The code I am trying to implement assumes one...
  13. Replies
    5
    Views
    896

    VS 2015 Re: how to improve my picture box graphic

    Very nice, thanks a lot.
  14. Replies
    5
    Views
    896

    VS 2015 Re: how to improve my picture box graphic

    Hey, digitalShaman - thanks very much for your response. What you did in the last post looks great - would you be willing to zip up that project with the associated graphics files so that I can...
  15. Replies
    5
    Views
    896

    VS 2015 how to improve my picture box graphic

    Hello,
    I am using basic graphics to produce the "vanilla" picture box on the left. I was wondering what I can do to get something nicer like the image on the right.
    The idea is to fill the "bucket"...
  16. Replies
    7
    Views
    973

    Re: VB.NET TextBox Value to Excel (Append)

    This should get you started. It will do what you asked.


    Public Class Form1

    Private mobjXLApp As Object 'Excel.Application
    Private mobjXLBook As Object 'Excel.Workbook
    ...
  17. Replies
    3
    Views
    531

    VS 2015 Re: What chart would I use?

    Thanks for your reply. The graphic will not have to be as fancy as the one shown in the image. The column chart would be serviceable, as you say. However, I'm looking into doing it with vertically...
  18. Replies
    3
    Views
    531

    VS 2015 What chart would I use?

    I'm drawing a blank on this. It's probably the simplest type of chart - something shaped like a "bucket" or cylinder, and filled to a given percentage (see attached pic). What type of chart would I...
  19. VS 2010 Re: Help with client-side JavaScript code on ASP.NET (VB) page

    Hi KGC - thanks very much. The reference you provided was very helpful - the guy there has a working example that I will be able to implement in my project (a set of cascading dropdowns for Continent...
  20. VS 2010 [RESOLVED] Help with client-side JavaScript code on ASP.NET (VB) page

    Hello,
    The overall goal of this is to allow a user to select a school based on gender, grade, and state. The data we are dealing with is a school table with the following fields:
    SCHOOL_NAME |...
  21. VS 2010 Re: gridview edit / update / cancel button display issue

    Never mind - I resolved the issue by turning off wrap:
    <asp:TemplateField HeaderText="" ItemStyle-Wrap="false">
  22. VS 2010 [RESOLVED]gridview edit / update / cancel button display issue

    Hello -
    In my gridview, when in non-edit mode, my edit (pencil) and delete (X) buttons show up side-by-side as expected:
    130089
    However, when I click the edit button (pencil) to go into edit mode,...
  23. VS 2010 Re: prevent user from closing via taskbar icon

    bensonsearch - thank you very much, your solution did the trick!
  24. VS 2010 Re: prevent user from closing via taskbar icon

    Hi 4x2y,
    Thanks for your response. However, since this is a MDI app, I would have to add that kind of code to every form, which I was hoping to avoid. I tested it on one form and close reason shows...
  25. VS 2010 RESOLVED - prevent user from closing via taskbar icon

    Hello,
    I have a VB2010 forms app running primarily on Win 7 boxes. In the app itself, programming is such that the user cannot exit the program without appropriate prompts (i.e. "are you sure",...
  26. Replies
    1
    Views
    487

    VS 2010 help with character code issues

    Hello all,
    I have an app where I am reading in text from a Word doc and an Excel spreadsheet, and some of the text contains characters such as "smart" quotes and apostrophes, different kinds of...
  27. VS 2010 Re: How to get Top position of ListView contained in TableLayoutPanel in SplitContain

    Thanks, jmcilhinney, I was able to implement your suggestion.
    Old code:


    ClickedItem.Y += Me.lvwOrderItems.Top
    ClickedItem.X += Me.lvwOrderItems.Left

    New code:
  28. VS 2010 [RESOLVED] How to get Top position of LV contained in TLP in SplitContainer

    Hello all,
    For years I have been using the technique to simulate an "editable listview", where on MouseUp, depending on which subitem is clicked, I float a textbox or combobox on that "cell", and...
  29. VS 2010 web reference - help me understand this ...

    Hi all,
    I need to add the FedEx address validation web service to my VB app. OK, so I have their sample application (happened to be written in VB 2005, but no problem, it converted up to VB 2010...
  30. VS 2010 [RESOLVED] Re: graphics / paint issue with datagridview

    Woo-hoo - got it! The adjustment to the code is:

    If dgvAvailItems.Rows(intRowX).Cells(14).Value <> "" AndAlso dgvAvailItems.Rows(intRowX).Displayed Then
    Thanks, Shaggy, for putting me on the...
  31. VS 2010 Re: graphics / paint issue with datagridview

    You are on to something regarding scrolling. I have resizing capability on both the form itself, as well as the fact that the grid is in the top portion of a split container - and when I resize such...
  32. VS 2010 Re: graphics / paint issue with datagridview

    Shaggy - The text appears to be the content of the items in the merged cells. There are 3 heading types, and I store an indicator in column 14 of the row ("G" for gender heading which be "Girls...
  33. VS 2010 [RESOLVED] graphics / paint issue with datagridview

    Hi all,
    The task at hand was to add group headings within my data in the datagridview (i.e., I needed to merge cells in particular rows). Since this is not a native feature of the DGV, after hours...
  34. VS 2010 Re: Math Question (Discounts and such)

    vbfbryce - thanks very much, that helps me out.
    Thanks again to all for your help.
  35. VS 2010 Re: Math Question (Discounts and such)

    Basically, I need a function that solves for "x" (x being the DollarAmountOff), where
    x + ((RegularItemPrice - x) * OrderLevelDiscount) = TotalAmountOff
  36. VS 2010 Re: Math Question (Discounts and such)

    Well, I'm not too proud to ask - what would the VB code look like to solve that equation?
  37. VS 2010 Re: Math Question (Discounts and such)

    I-and-I and dbasnett: thanks very much, I thought it might be something along those lines, but couldn't quite formulate it (what can I tell ya, it's been more years than I care to mention since I had...
  38. VS 2010 RESOLVED - Math Question (Discounts and such)

    Hello all,
    This pertains to processing sales orders for a retailer.
    A dollar or percentage discount can be given to an individual item in an order.
    On top of that, a percentage discount can be...
  39. VS 2012 Re: SQL Query works in management studio but not in .Net

    If the value of MaxValue is NULL, your code will error out, as you are not handling that possibility.
    Do something like this:


    Dim intNo As Integer
    If IsDBNull(reader("MaxValue")) Then
    ...
  40. Replies
    5
    Views
    13,217

    Re: POS Printing with an Epson Printer in VB.NET

    I can share with you what worked for me. I'm using Epson TM-T88IV. It should be able to use just a USB port, you should not have to worry about a COM port. To handle the printing in code, I'm using...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width