Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: aoven
  • Order by date
  1. aoven

    passing control to sub/function

    I see someone was quicker! Oh well...
  2. aoven

    passing control to sub/function

    Oh come on! Paste this in your project and click the button! It works 100 %! Option Explicit Public Sub AddLine(ListBox As Object, ByVal Str As String) ListBox.AddItem Str End Sub Private Sub Command1_Click() AddLine List1, "Test" End Sub
  3. aoven

    Windows XP path?

    Hi! I'm not sure how it applies to VB, but there is a thing called XP Manifest, which must be implemented in all applications which want to use XP visual styles. You can search for it on the web. This is a link to Microsoft's description of XP theming...
  4. aoven

    Formatting elements on a form

    Hi! In VB there is no straightforward way. In Delphi, there is. :-) In VB, you will have to write your own code to reposition controls. You can put this code in the form's Resize event. Aleksander
  5. aoven

    passing control to sub/function

    Hi! First of all, you didn't say what is the type of your frmeditor.listproject. Is that a ListBox or what? Second, you don't have to specify ByRef explicitely, since omitting this directive tells VB to use ByRef by default. It is not wrong to specify it, it is just unnecessery. Third, try...
  6. aoven

    open a access database

    Hi! The error is actually a typing mistake! Dim TestAs New ADODB.Connection should be Dim Test As New ADODB.Connection I would however encourage you to use your first method because DAO is much faster with Access than ADO, but you have to modify it a bit: Just add DAO 3.51 or 3.6 to you...

Part and Inventory Search

Back
Top