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
  • Storing and retrieving problem

    help tutorial question
    4
    0 Votes
    4 Posts
    0 Views
    L
    I'm not sure if it's what you want, but maybe the GetSetting and SaveSetting functions are useful? they save info in the registry - very useful for options dialogs etc. Hope it helps Paul W -- A wise fox has many exits from its burrow.
  • VB.Net decreased speed

    csharp performance
    4
    0 Votes
    4 Posts
    0 Views
    M
    To make a Connection using this is simple. Using "Option Strict": Dim sqlCon As SQLClient.SQLConnection = Ctype(DataSource.Connection, SQLClient.SQLConnection) Not using Option Strict: Dim sqlCon As SQLClient.SQLConnection = DataSource.Connection Even if you don't explicitly call "DataSource.Connect", the DataSource class knows it needs to make a Connection.
  • Capturing a process...

    tools question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Programatically change Folder Properties

    sysadmin help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Environnement variable with CreateProcess

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Double click on windows data grid

    csharp css question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Custom TextBox Drawing

    csharp graphics architecture question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Checking status of DLL in Com Object

    question database com discussion
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • how to choose among VC/VB/C#?

    csharp question c++ dotnet
    8
    0 Votes
    8 Posts
    0 Views
    D
    thanks, good to know. norm
  • Index number starting point HELL!

    csharp database question
    8
    0 Votes
    8 Posts
    0 Views
    C
    Nick Parker wrote: however there are many things as I am learning that can be done in C++ that just can't be done in VB. Absolutely. I have to write my own linked list because VB does not provide one. How is that remotely a programming language ? But as I said, if I had started it, I would have done it in C++. We still haven't figured out how to debug our dll. And the syntax is just crap. There are so many examples of design with no thought for the consequences, it's really quite frustrating. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
  • data caching

    csharp asp-net com question
    3
    0 Votes
    3 Posts
    0 Views
    B
    I am writing a VISUAL BASIC(VB.NET) application that will utilize the ASP.NET cache. See your second quote !!
  • ODBC with Access 2000

    database com help question
    2
    0 Votes
    2 Posts
    0 Views
    D
    You need to download the latest version of MDAC[^]. Paul van der Walt wrote: Or maybe one of you has another solution? Use a decent DBMS like SQL Server, or, if you can't afford it, use MSDE. I see dumb people
  • VB6: Call a java method from VB project?!?!!? Possible or not?

    java question
    5
    0 Votes
    5 Posts
    0 Views
    N
    Daniel Turini wrote: Nil, Nada, Nothing, Nyet, Niente. So are you saying there isn't any. :laugh: ;P Nick Parker Not everything that can be counted counts, and not everything that counts can be counted. - Albert Einstein
  • Custom Property Editor in VB.NET

    csharp tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    F
    Try http://www.codeproject.com/useritems/Using_PropertyGrid.asp
  • Selecting all the Items in Checked List Box

    question help
    3
    0 Votes
    3 Posts
    0 Views
    A
    Thaks dear, The same thing I did just two days ago myself. You are a little late but it is good that at least you are. ;P Again, Very very thanks to you, Sameers
  • menu enable/disable problem....??

    help question
    2
    0 Votes
    2 Posts
    0 Views
    M
    This is very simple. You shout not Dim a NEW instance of your Form1 because it should already open. Instead call the controls on the already open Form: Form1.MenuItem1.Enabled = True
  • what is the difference between..

    question help
    3
    0 Votes
    3 Posts
    0 Views
    Z
    But in fact,I see such dim : dim form1 as form2(form2 is an user-defined class) and the app uses "form1.param1"(param1 is also defined in class form2) immediately,not use new pointer first. this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
  • Freeing Memory

    csharp performance question learning
    3
    0 Votes
    3 Posts
    0 Views
    M
    Setting an Object = Nothing does not ALWAYS free the memory in VB6 (this goes for .NET as well). Get familiar with the Objects you are using, if they implement a "Close" or "Dispose" method, ALWAYS use it before Setting your Object = Nothing. For example, watch ADO eat up memory in a VB6 app. However, when you use the Close method, the memory usage goes way down. It takes a little while for the VB6 runtime to clean up the memory references, but it happens.
  • Disabled image

    csharp visual-studio tutorial
    2
    0 Votes
    2 Posts
    0 Views
    M
    Try this: ControlPaint.DrawImageDisabled(Graphics, Image, x, y, BackColor)
  • DispatchWrapper gives error

    help csharp c++ com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied