Skip to content

Visual Basic

Visual Basic Questions

This category can be followed from the open social web via the handle visual-basic@forum.codeproject.com

34.4k Topics 120.1k Posts
  • Downloading a file Using ActiveX ctrl in VB6

    com tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • VB.NET events button

    csharp question
    3
    0 Votes
    3 Posts
    0 Views
    S
    Thanks, I'll pass it on to my team. Cheers, Simon X-5 452 rules.
  • HowTo?: Vb.Net ListView

    csharp question
    3
    0 Votes
    3 Posts
    0 Views
    L
    Thx for the reply! I have resorted to using the listview control but with the checkedboxes property set to True. It's not exactly what I wanted but I am tired of fighting with the listview and the datagrid. The problem that I had with the datagrid is that the dragdrop events (lack of itemdrag) were more difficult to deal with as compared to the listview. Although, at least with the datagrid I could add checkboxes to easily to a datacolumn. I was able to add checkboxes to a listview but the problem is that I just ended up painting the controls on top of the listview verses binding the control to the actual column. So when I scrolled thru the list the checkboxes were not bound to a specific row (sub-item). If I get some free time then I might try making a listview control that acts more like a datagrid. - Derek
  • deploy VB and Crystal Report

    sharepoint help question announcement
    2
    0 Votes
    2 Posts
    0 Views
    L
    Did you check that that crystal ocx is registered correctly? Cheers Schalk
  • VB String Sort Routine

    data-structures
    3
    0 Votes
    3 Posts
    0 Views
    L
    ok thx, I ported a qsort routine I had done in C when I got home and it works great.
  • help with downloading from a login/pass web using php (repost)

    help question php
    2
    0 Votes
    2 Posts
    0 Views
    L
    help!
  • Applications Dependencies

    question announcement
    2
    0 Votes
    2 Posts
    0 Views
    N
    Once you have compiled your executable, if using the Visual Studio compiler it will create a list file with a .lst file extension to it. When you open this file you will find in the bootstrap section a list of all dependent files for the application and where they are to be installed to. I needed this information when I ran into a similar problem in which I created an application that checks the users file version again what the package will be installed with where you can run into versioning problems. Hope this helps. Nick Parker
  • Picture or text in a button control

    help question learning
    2
    0 Votes
    2 Posts
    0 Views
    N
    If you are still stuck you could do something like this: 1. Create two buttons, one with an image, the other with text 2. Stack the two buttons on top of each other 3. Use the ZOrder property of each button to control which button is on top(visible) Hope this helps. Nick Parker
  • VB Programmer Guide

    tutorial question learning
    5
    0 Votes
    5 Posts
    0 Views
    A
    Visual Basic 6.0 Professional Step by Step from Microsoft Publishing. Trust me, it's really good :). I used it to learn a lot of VB, though you could probably abandon it 3/4 of the way and start learning on your own. First Programmer: "How many bits are in a bite?" Second Programmer: "You spelled bytes wrong." First Programmer: *stares* "It's a joke, moron." Second Programmer: "Joke...?"
  • ActiveX Events

    help question com
    2
    0 Votes
    2 Posts
    0 Views
    D
    Instead of using an array of objects, use the VBControlExtender class. Declare it WithEvents and you will be able to receive events. You identify the object by its Name. -- David Wengier Sonork ID: 100.14177 - Ch00k
  • Using the Print dialog

    com question help
    2
    0 Votes
    2 Posts
    0 Views
    D
    You need to print the data yourself. Lookup the Printer Object in help. -- David Wengier Sonork ID: 100.14177 - Ch00k
  • Complex configuration files

    question workspace
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Deriving combobox

    question csharp css database
    4
    0 Votes
    4 Posts
    0 Views
    A
    I think it might be easier to do 1 of two things: 1) add the "Add A Country" to the DataSource before you bind them. For instance, get the DataSet of all countries, add the new blank country to the top of the DataSet ( or whereever ) with the NewRow and Insert methods, and then set it as the ComboBox's DataSource 2) simply add a button to the form that opens the Country-editor form. Maybe you could make the control's label a "link" or something.
  • ODBC, ADO

    database sql-server sysadmin question
    5
    0 Votes
    5 Posts
    0 Views
    K
    When I use "rs.AddNew" it gives me this error: The operation requested by the application is not supported by the provider". Also, I Wonder if I can use OpenDataBase & OpenRecordSet with ODBC. Thanks
  • catching string from DOS shell

    linux question
    8
    0 Votes
    8 Posts
    1 Views
    J
    It's possible, but it won't be easy. This will involve you controlling the process and the process' console manually -- which takes some work. If you have MSDN installed, check out... mk:@MSITStore:C:\Program%20Files\Microsoft%20Visual%20Studio\MSDN\2001JAN\1033\fileio.chm::/hh/winbase/conchar_4p6c.htm And look into "Using the Console" and "Console Reference". If you don't have MSDN installed, then you can look at MSDN Online. Jeremy L. Falcon "The One Who Said, 'The One Who Said...'" Homepage: imputek.com
  • VB and .Net Naming Guidelines

    csharp sales tutorial question
    3
    0 Votes
    3 Posts
    2 Views
    K
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.asp Hungarian notation is not recommended in the the new guidelines. However, you cannot apply these guidleines consistently to VB .NET. Though some are now suggesting that you can use what you like for private fields and locals. So for the Property problem in VB you can use m_iCount or m_count, etc. Kevin
  • Controlling Distiller writer

    question
    2
    0 Votes
    2 Posts
    0 Views
    L
    I wrote some VB code awhile back to create PDF via the print driver. The distiller product was to difficult to control. caveat for the PDF print driver. You need to add a sleep function to your VB code to wait for the PDF file to be created. Check for the finished file then move on to the next file. Good Luck Alex McCool amccool@socal.rr.com
  • ole db

    database oracle com help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • ident lookup(rfc 931/1413)

    javascript sysadmin help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied