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
  • Microsoft Agent Problem

    csharp agentic-ai help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Properties In A Web Service?

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Memory Leaks?

    performance question announcement
    3
    0 Votes
    3 Posts
    0 Views
    M
    Thanks! :) Marcus Spitzmiller "Why must life be so hard? Why must I fail at every attempt at masonry?" - Homer
  • Concurrency control in VB.NET

    csharp database question
    4
    0 Votes
    4 Posts
    1 Views
    J
    I apologize for the brevity of my response -- you can achieve concurrency control using transactions in ADO.NET with the SqlTransaction class (see MSDN[^] for more details). However, the following two examples might be more specific to the issue you are attempting to resolve: MSDN Data Concurrency[^] Data Concurrency Exception Handling[^]
  • Control.Select Method

    com help question
    2
    0 Votes
    2 Posts
    0 Views
    R
    This allows you to select text inside the textbox. By Select I mean highlighted as you do with a mouse by clicking and dragging. 'Fill the text box with some chars textbox1.Text = "ABCDEFGHIJ" 'This line will highlight the first 3 characters 'in the text box textbox1.Select(0,3) It is located in the help here: http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformstextboxbaseclassselecttopic1.asp?frame=true[^] Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
  • DataSet Changes?

    database question announcement
    3
    0 Votes
    3 Posts
    0 Views
    A
    u have to take care of concurrency also if it is a muti-user system ....
  • Multiple Projects

    question
    6
    0 Votes
    6 Posts
    0 Views
    R
    Check out the help under System.Diagnostics.Process Here is some code from my head.... Dim myproc As System.Diagnostics.Process myproc = New System.Diagnostics.Process myproc.EnableRaisingEvents = False myproc.Start("notepad.exe") Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
  • XP Style Password Box.

    architecture question
    3
    0 Votes
    3 Posts
    0 Views
    G
    Thanks for the info. It would be nice if you could access the same controls M$ uses. The XP Style password box displays a ballon tip when you turn CAPS Lock on and things like that.
  • Ping

    sysadmin question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Try looking for examples related to System.Net / System.Net.Sockets Namespaces. I seem to recall that I saw an example of this on DotNetJunkies.com or c-sharpcorner.com; even though the example was in C#, it could be done fairly easily in VB.NET.
  • Handling Mouse Events for any Object

    tutorial
    2
    0 Votes
    2 Posts
    0 Views
    R
    I am not sure how to do this if you are referring to something drawn onto the form via GDI. Vasant Salian wrote: BETTER TO BURN OUT THAN TO FADE AWAY I KNOW this was said by a musician... maybe the Who, maybe the Roling Stones... but it was also at the botton of Kurt Cobains suiside note. Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
  • Web Service?

    question sysadmin
    3
    0 Votes
    3 Posts
    0 Views
    R
    You found that on Google too hugh? :-D I just had the same issue. Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
  • SQL Question

    question database
    5
    0 Votes
    5 Posts
    0 Views
    R
    Oh boy... Your DB admin will love that :) Just use one table and add a date of entry column. Its soooooo much simpler. Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
  • Random Colors?

    graphics question lounge
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    R
    This is in C#: http://www.codeproject.com/useritems/ActiveDirQuery.asp[^] But it should give you a starting point... Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
  • InfraRed Data transfer

    question help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • VB and Excell Automation

    com testing tools workspace
    2
    0 Votes
    2 Posts
    0 Views
    H
    Read the VBA help in Office.. Automating Excel in VB6 is very similar to it.
  • Using Datagrid to indicate range of dates

    help data-structures
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • problem of frequent process

    question csharp help announcement
    2
    0 Votes
    2 Posts
    0 Views
    H
    vb6 is not strong in multithreading but you can use an ActiveX EXE to do multithreading (but better to use APIs if you want some synchronization) in .NET multithreading is supported.
  • Macro in .NET

    csharp help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Inet control StateChanged event Q. VB6

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied