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
  • Validate value as int32

    help
    2
    0 Votes
    2 Posts
    0 Views
    G
    Try using Int32.Parse() This function converts a string into a Int32 type. You can find more info in Help Free your mind...
  • Visual Basic and WinXP

    help question
    2
    0 Votes
    2 Posts
    0 Views
    R
    I had this problem once. I moved my code to another machine and it worked fine. In the end I reinstalled VB and all was fine. Also make sure you have all Services packs (for windows and VB). I ask myself what did I do today? I don't like the answer!
  • mpeg/avi extract audio in mp3 format

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • MDI in VB.NET?

    csharp question
    8
    0 Votes
    8 Posts
    0 Views
    K
    How to make the other form be a member of the MDICHILDREN? I want to call a second FORM from the first FORM through a button(first FORM is already a MDI CHILD). How to make this second FORM be a part of the MDI? thanx!
  • Parse Quotation marks

    linux tools help
    5
    0 Votes
    5 Posts
    0 Views
    R
    RageInTheMachine9532 wrote: OK. Why are you using two strings? Why not just use the one: shell("c:\program files\d-tools\daemon.exe -unmount 0") :doh: My bad that was the way I had to do it in my batch file My head is NOT screwed on right.
  • How do you use default parameters in VB functions?

    c++ question
    5
    0 Votes
    5 Posts
    0 Views
    L
    And C# is missing this functionality (unless you like to have 10's of overloads). This is one of the main reason I am still mainly developing in VB.NET. Has everything C# has (almost) plus some extras... I also feel the IDE is much more responsive with VB.NET... My 2¢. Carl
  • Checking for .NET before running

    csharp help question
    5
    0 Votes
    5 Posts
    0 Views
    L
    I have asked a great Delphi coder to code something that detects if the framework is installed. If it is, it launches my application, if not, it tells the user which version is required (1.0/1.1) and gives the option to install it (from the CD). Very efficient way of doing it. The good thing about it being done in Delphi is that it requires no external DLL or runtime (VB6 would require VBRUN6.DLL). It could also have been done in C++, but we felt Delphi was a better language for this purpose.
  • extracting iptc data from a jpeg

    2
    0 Votes
    2 Posts
    0 Views
    J
    These links may be of interest to you, I dunno? They show how to get properties from images. Photo Properties By Jeffrey S. Gangel and LookCool, an image browser application (JPG only) Jim
  • How to monitor users on network?

    sysadmin tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Tearing my hair out: drawing transparent image

    graphics help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • combo box linked to datagrid

    database help css sysadmin learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Shutdown windows

    csharp tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • OCX Reverse Engineerin

    help
    3
    0 Votes
    3 Posts
    0 Views
    A
    I'll bite! Ummmm... no.
  • I need HELP

    com help question
    3
    0 Votes
    3 Posts
    0 Views
    C
    Of course remember to show it non modal... No Matter where you are, there you are
  • Listening to a Port

    help csharp
    3
    0 Votes
    3 Posts
    0 Views
    A
    You are right I wanted to do that... But How to capture TCP/UDP or only TCP will also do now???
  • connection access2000 vb6

    tutorial database
    2
    0 Votes
    2 Posts
    0 Views
    C
    Kinda tricky question - ADO is a BIG topic... You can start with something like the code below (quick'n dirty) - remember to make a reference to some version of "Microsoft ActiveX Data Objects Library" or other in your project. Dim DBConn As ADODB.Connection Dim RS As ADODB.Recordset Dim ConnectionString As String Dim Query As String ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\myDatabase.mdb" Query = "Select * from myTable" Set DBConn = New ADODB.Connection DBConn.Open ConnectionString Set RS = DBConn.Execute(Query) Do Until (RS.EOF)     MsgBox(RS.Fields(0))     RS.MoveNext Loop RS.Close Set RS = Nothing DBConn.Close Set DBConn = Nothing I would recomend that you download "Microsoft Data Access Components (MDAC) 2.6 SDK from" Microsoft. It's quite informative and containes a lot of examples for Visual Basic... (http://www.microsoft.com/downloads/details.aspx?FamilyID=cf5bf48d-9bbb-4ca2-9b03-4ee000db37ff&DisplayLang=en)
  • keyboard

    help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • HASP(Hardware Against Software Piracy)

    csharp hardware question
    3
    0 Votes
    3 Posts
    0 Views
    A
    They have samples for accessing generic HASP DLL which is in C++ or Visual Basic 6.0. You could call generic DLL (Win32 DLLs) in VB.NET. Shouldn't be a problem. Sonork 100.41263:Anthony_Yio
  • VB Code for Access

    question database tutorial
    3
    0 Votes
    3 Posts
    0 Views
    A
    Or here http://www.codeguru.com/vb_database/CreateMSAccess.html[^] Sonork 100.41263:Anthony_Yio
  • Folder Size

    csharp help question
    4
    0 Votes
    4 Posts
    0 Views
    R
    Thanks, I appreciate the help.