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
  • Changing letter casing

    tutorial csharp help question
    6
    0 Votes
    6 Posts
    2 Views
    C
    Emmmmm... I have no idea what you mean.... You have a string you call the substring method on it and Robert is your father's brother. --Colin Mackay-- "In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
  • How to detect the network adapter

    help sysadmin tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    R
    I see~~~!! Thanks for your answer~~~!! ^_^
  • error during setting up the project in vb

    help database sysadmin workspace
    4
    0 Votes
    4 Posts
    0 Views
    S
    Windows XP Sampath K.S Bangkok
  • 0 Votes
    3 Posts
    0 Views
    D
    You might want to try reinstalling MDAC 2.5SP3 on the machine to see if this fixes the problem. You can get the older version from here[^]. RageInTheMachine9532
  • How to make an exe accept an argument

    tutorial question javascript
    2
    0 Votes
    2 Posts
    0 Views
    D
    In VB6, you can get the command line arguments from the Command variable. In VB.NET, you can get them from the Microsoft.VisualBasic.Command() variable. VB.NET docs on this are here[^]. Now, did you want to communicate with an already running instance of your app or is your app going to be running as a service? RageInTheMachine9532
  • rightclick and get fileinfo

    question
    2
    0 Votes
    2 Posts
    0 Views
    D
    Are you talking about writing a Shell extension? If so, you can't do it in VB6 without a little outside help from VC++. VB6 can't generate the required .DLL type to get this to work properly. RageInTheMachine9532
  • [Urgent] NT EventLogs

    tutorial
    2
    0 Votes
    2 Posts
    0 Views
    D
    The best way to do it is to use WMI. THere is an article on the technique here[^]. RageInTheMachine9532
  • Using a vb ocx in vc++

    c++ help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    D
    Your question might be better answered on the Visual C++ board, not this one. RageInTheMachine9532
  • Loading A Data Grid from A Module

    tutorial question css database
    3
    0 Votes
    3 Posts
    0 Views
    D
    You can try using the Name of the form, NOT the titlebar name, but the Name property in the form's properties. RageInTheMachine9532
  • Visual studio UI

    csharp html visual-studio design hardware
    4
    0 Votes
    4 Posts
    0 Views
    D
    It's actually Internet Explorer. You can place it on the form and configure the control to not show menu bars, tool bars, address bar, basically turn anything on or off. Experiment with to see what I mean. But all you have to do is give it the URL you want to display or just the filename if it's a local page on disk. RageInTheMachine9532
  • Windows Soket option setting from VB

    tutorial workspace
    2
    0 Votes
    2 Posts
    0 Views
    S
    hi There is an very good examples in the MSDN. Refer it Shanmuga Sundar.V
  • Add new property to TreeNode

    question csharp data-structures tutorial
    2
    0 Votes
    2 Posts
    0 Views
    G
    You need to cast thee treenode object that comes in e.node to your object. e.g. Dim vExtendedNode as MyNode vExtendedNode=CType(e.node,MyNode) Hope this helps... Free your mind...
  • Escape character

    database com question
    2
    0 Votes
    2 Posts
    0 Views
    D
    The proper format is to double the quotes, e.g.: getFieldValues = Replace(getFieldValues, """", "'") denimined
  • Calling a Dialup connection

    csharp help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    L
    Calling a Dialup connection
  • Passing user defined types

    help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Urgent ! How to Declare VC Dll in VB

    data-structures tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Increment CD songs with VB.NET

    question csharp
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Input Boxes in VB.Net2003

    csharp visual-studio help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Need help with class design: data types, etc

    csharp design help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • VB.NET toolbar in mdi parent window

    help question csharp debugging
    2
    0 Votes
    2 Posts
    1 Views
    D
    First, you might want to move the Dim statements into the Case Is blocks. Its a better idea to allocate the new forms as you need them, not before you determine that. This will save the garbage collector some time because it doesn't have to destroy objects that were never used. Second, the problem doesn't appear to be in your code snippet. I can use the exact same code and create new forms all day. Judging by the error message, the problem appears to be in the child form itself, not with the parent. You might be doing something that is not allowed in a child form, although I can't fathom what that might be. Its also possible you might have a data binding problem where pages/records/fields are getting locked and a bind is failing on the second form. You'll have to trace into the creation of the child form to find out whats going on. Set a breakpoint on the Show statement and run your app. When you click on the button to create the new child, the debugger will stop on the Show statement. Hit F11 to step into the child form to see what's going on. RageInTheMachine9532