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
  • Safearray in VB

    question
    2
    0 Votes
    2 Posts
    0 Views
    G
    Dim vx As Variant Dim v(2) As String v(0) = "First Argument" v(1) = "First Argument" vx = v It is Illogical to define an inventor by his invention
  • Internet Options

    help tutorial question
    2
    0 Votes
    2 Posts
    1 Views
    G
    Use API Calls Here is an example Const INTERNET_OPTION_END_BROWSER_SESSION = 42 Private Declare Function InternetSetOption Lib "wininet.dll" Alias "InternetSetOptionA" _ (ByVal hInternet As Long, ByVal lOption As Long, ByRef sBuffer As Any, ByVal lBufferLength As Long) As Integer Public Function flushCredentials() As Integer Dim h As Integer h = InternetSetOption(0, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0) flushCredentials = h End Function It is Illogical to define an inventor by his invention
  • richtx32.OCX+fm20.DLL

    design help
    2
    0 Votes
    2 Posts
    0 Views
    G
    To use the RichTextBox control in your application, you must add the Richtx32.ocx file to the project. When distributing your application, install the Richtx32.ocx file in the user's Microsoft Windows SYSTEM directory. For more information on how to add a custom control to a project, see the Programmer's Guide. Cheers It is Illogical to define an inventor by his invention
  • Reading Function Name

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Topmost Window in VB6

    2
    0 Votes
    2 Posts
    1 Views
    D
    Just show the form with the main form as a parent. Load frmChild frmChild.Show 0, frmMain
  • Treeview tooltiphelp

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • how to make a trial software

    question tutorial
    7
    0 Votes
    7 Posts
    6 Views
    N
    I was only giving an example of a method to limit application life, there are of course other ways (i.e. - including encryption) that are better. Nick Parker
  • Integration of mp3 files in VB application

    question
    3
    0 Votes
    3 Posts
    0 Views
    S
    If you want to use winamp instead, check out http://winamp.com/nsdn/
  • Permission Denied

    help
    3
    0 Votes
    3 Posts
    0 Views
    G
    Cuold you be more specific , exactly what is the scenario ?;P
  • Data Environments

    database workspace css question
    2
    0 Votes
    2 Posts
    0 Views
    D
    I don't know what I did wrong on the first place but it has automagically fixed itself now :confused: Derek Lakin. I wish I was what I thought I was when I wished I was what I am. Salamander Software Ltd.
  • Excel Macro

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • .NET SaveFileDialog bug

    help csharp question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • CAPICOM

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Building Char Strings, Chars ASCII > 127 & Chinese Windows

    csharp c++ java php com
    2
    0 Votes
    2 Posts
    0 Views
    J
    Note: the answer was provided somewhere else - use ChrB$() instead of Chr$() - I didn't know this existed :)
  • Cursor Question

    question com json
    5
    0 Votes
    5 Posts
    0 Views
    J
    Nick Parker wrote: I figured that out about 30 minutes later during lunch Funny ain't it? It's usually the same way with me. When I get away from the computer is when the solution just pops in my head. Oh well, at least it gave me an excuse to visit the VB forum again. :) Jeremy L. Falcon Homepage : Sonork = 100.16311 "It was a blind man who taught me how to see." - Aerosmith
  • Message box question

    help question
    9
    0 Votes
    9 Posts
    0 Views
    P
    Just for your information, the message box and other window controls that display text ignore the carraige return, and since you need to type this in VB to get a carraige return: & chr(13) & I suggest to not use it at all. You do need a carraige return when you are dealing with files though. Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
  • Hey...can you use radio buttons on a menu?

    question
    2
    0 Votes
    2 Posts
    0 Views
    P
    You cannot put an actual radio button on the menu, but you can add the functionality so that the choice between 3 or 4 items will only allow you to select one of them like a radio button. Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
  • Word Macro

    c++ dotnet help
    6
    0 Votes
    6 Posts
    1 Views
    L
    Rama Krishna wrote: Dim Selection as Word.Selection Dim WordApplication as New Word.Application It looks like "TYPE WORD NOT DEFINED" ???? "Nelle cose del mondo non e' il sapere ma il volere che puo'."
  • how to use the SVGControl.dll in VB6

    tutorial
    2
    0 Votes
    2 Posts
    0 Views
    L
    I found the answer to this one on my own thanks. The SVGControl is for viewing SGV files only. When you try to view a .pdf file no error message is given, only nothing shows on the screen.
  • How do u make a newline in an text box?

    csharp c++ question
    4
    0 Votes
    4 Posts
    0 Views
    B
    Try CrLf Carriage Return and Line Feed characters. use one every time you want to start a new line.:)