Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: malleyo

Page 1 of 27 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    1,483

    Re: Combobox Parent-Child Question

    I solved the problem by changing the SelectionChangeCommitted to SelectedIndexChanged and pre-loading the classes when the app starts. That way, it doesn't have to make a call to the database every...
  2. Replies
    5
    Views
    1,483

    Re: Combobox Parent-Child Question

    I can't use the SelectedIndexChanged event. I need the 2nd combobox to load when the first is selected. The user can press a button while focus is on the first combobox to skip to a particular...
  3. Replies
    5
    Views
    1,483

    Combobox Parent-Child Question

    I have 3 comboboxes (ex. State, County, City). I have code in the Combobox_SelectionChangeCommitted function to load the child combobox when the Parent is selected. If there's only 1 item loaded...
  4. Replies
    2
    Views
    687

    Re: Error Line Numbers

    The dll project that I need is in a solution with many other projects and I can't bring in just the one I need without getting the rest. Then there's issues with services and such that I don't...
  5. Replies
    2
    Views
    687

    Error Line Numbers

    Is there an easy way to display the Line Number of where an error occurred? I'm debugging an application, but I can't run the app in the environment. I build the dll and use the dll in another...
  6. Replies
    0
    Views
    3,254

    DataGridView Vertical Scrollbar bug?

    I'm loading my DataGridView with 10 rows. 5 of those rows fit on the screen without having to scroll. The verticla scrollbar will scroll enough to see the 6th row, but will not scroll to view the...
  7. Replies
    3
    Views
    1,622

    Re: Combobox.Items.Clear not working!

    It worked! Thanks! :)
  8. Replies
    3
    Views
    1,622

    Combobox.Items.Clear not working!

    I load a Combobox with the following code:



    Public colCustomers As List(Of Customers) = Nothing

    Public Sub LoadCustomers(ByVal cbx As ComboBox)

    If colCustomers Is Nothing...
  9. [RESOLVED] DataGridView: Checked Cell, Setting TrueValue at Runtime

    Can the TrueValue and FalseValue for a checkbox column in a DataGridView be set in code rather than in the control properties? And without using code to add the column to the DGV? And then how to I...
  10. Replies
    1
    Views
    10,868

    DataGridView: Merge Header Columns

    I want to merge a header cell in my DataGridView and add a second header row, like you can do in Excel. Is there an easy way to do it?

    Like this:


    ...
  11. Replies
    0
    Views
    684

    Path/File Access Error

    I have an application that has been working in a Production environment for a few years now. I need to make some tweaks to it and I'm at the testing phase and all of a sudden, I'm getting a...
  12. How can I tell when a report is finished loading?

    I query the database using ADO and pass the recordset to Crystal Reports. I need to close the recordset before exiting the function, but when I do, the report is blank (as if it wasn't done...
  13. Replies
    1
    Views
    1,279

    Display Dynamic Picture Stored in Database *Resolved*

    I'm using CR 8.5 with RDC and ADO, and SQL Server 2005. The pictures are .jpg's and are stored in an Image type column in a Picture table. I'm using ADO within VB to pull back a list of pictures...
  14. Replies
    0
    Views
    778

    SQL Server 2005 and RDO compatibility

    Are tehre any known issues with using RDO with SQL Server 2005?

    My company is in the process of updated our SQL Server 7 database to SQL Server 2005. Most of our applications are several years...
  15. Replies
    0
    Views
    395

    Updated DB, now getting Error

    I'm in the process of testing the new SQL Server 2005 database with applications that are currently running against SQL Server 7. I have the following code (using RDO, rs = Recordset, qy = Query):
    ...
  16. Replies
    1
    Views
    776

    Page Orientation

    I'm using Crystal Reports 8.5 using RDC. I have several reports in my program, some are Portrait orientation, others are Landscape. This program is distributed to about 20 different computers.
    ...
  17. Replies
    4
    Views
    742

    Re: all the error constant = empty, why?

    Just replace the x's with the correct values of the Error Codes (which you will have to look up somewhere). If you declare them in the same code module as your function, you can leave them Private...
  18. Replies
    4
    Views
    742

    Re: all the error constant = empty, why?

    Make sure you use Option Explicit at the top of all your code modules. This forces you to declare all variables and will error if you have a variable that hasn't been declared. If E.Hyde is correct...
  19. Replies
    4
    Views
    662

    Re: Result of division

    1.35307692307692E-02 is the same as 0.0135307692307692

    The E-02 is scientific notation. The number after the E tells how many places to move the decimal and which direction to move it in. In...
  20. Replies
    5
    Views
    1,013

    Re: ADO Connection and Recordset Paradigm

    I didn't know about the built in function. I also don't use VBA. It might just be a VBA thing?
  21. Replies
    5
    Views
    1,013

    Re: ADO Connection and Recordset Paradigm

    Just change the name of the function to OpenADORecordset or something else. It can be called whatever you want.
  22. Replies
    5
    Views
    1,117

    Re: Control Array and WithEvents Keyword

    To reproduce the problem, open a new project, add a Command Button and a Checkbox. Copy and paste the checkbox and click Yes when it asks if you want to create a control array. Paste all the code...
  23. Replies
    5
    Views
    1,013

    Re: ADO Connection and Recordset Paradigm

    Do a search for disconnected recordset. This will allow you to query the database, close the connection, and still be able to read the recordset. Here is function I use:




    Dim rsData As...
  24. Replies
    5
    Views
    1,117

    Re: Control Array and WithEvents Keyword

    Thanks vb_the_best, but that won't work for me. I have a class that gets passed a form. The class interates through each control on the form and creates a new class for each control that can be...
  25. Replies
    1
    Views
    1,043

    Re: Populating textboxes from a XML file.

    1. Create a class (called ServerClass or something like that) to store the data from the XML.


    Option Explicit

    Public ServerLocation As String
    Public ServerInfo1 As String
    Public...
Results 1 to 25 of 651
Page 1 of 27 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center