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
  • Drawing circles in excel from a form :((

    graphics help lounge
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Creating forms programmatically

    question
    4
    0 Votes
    4 Posts
    0 Views
    W
    You can use WinAPI W
  • Printing on printer

    question wpf
    4
    0 Votes
    4 Posts
    0 Views
    C
    Peter, You posted your question under something called Visual Basic Forum...;) I thinked that because you put in the previous question the function TextOut... Printer.Font is a function in VB. But How I love VC++ And hate VB I will answer you... TextOut use the current Font... For select the font must to use CDC::SelectObject Regards...;) ;) ;) Carlos Antollini. Sonork ID 100.10529 cantollini
  • 0 Votes
    2 Posts
    0 Views
    L
    Hello Gaurav, I have the Pure VB Code to make IE Toolbars like Google and yahoo. See the screenhots of the toolbars developed using this code at www.chadhaajay.net
  • Report problem !

    game-dev help question html database
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • mousewheel not working

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • registry editing

    windows-admin
    2
    0 Votes
    2 Posts
    0 Views
    R
    It may not be a good idea to store it in the registry. Probably saving a certain number say 10 - in a local file should serve the purpose. But if you need to store that in registry - see GetSetting() function.
  • HRESULT

    com question
    2
    0 Votes
    2 Posts
    0 Views
    R
    I am not sure whether you can see the HResult. But if the HRESULT is not equal to S_OK, I think Vb raises an exception with err.number equal to the hresult.!!
  • pass by reference is default?

    question help
    3
    0 Votes
    3 Posts
    0 Views
    L
    Try this Option Explicit Public testnum As Integer Public Sub MakeBig(inpt As Integer) MsgBox "Make big receives 'inpt' = " & inpt, vbOKOnly, "In MakeBig()" inpt = inpt + 1 MsgBox "'inpt' now is = " & inpt, vbOKOnly, "In MakeBig()" MsgBox "testnum now is = " & testnum, vbOKOnly, "In MakeBig()" End Sub Public Sub Test() testnum = 1 MsgBox "The original value of testnum = " & testnum, vbOKOnly, "In Test()" MakeBig testnum MsgBox "After MakeBig()= " & testnum, vbOKOnly, "In Test" End Sub Paul Lyons Do not go where the path may lead, go instead where there is no path and leave a trail. - Ralph Waldo Emerson
  • comma delimited files

    help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    J
    Instantiate an Excel Application object (try get before you try create) and use the Excel object model to load the CSV. If it was me I'd use the filesystem object (part of scripting) and then parse it with the Split function into an array or some such, but I gues that dependes on where and what you want to do with the data.
  • Batch update linked tables

    help question database announcement code-review
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Trouble automating PowerPoint XP

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Anyone tried CE programming in VB

    workspace
    3
    0 Votes
    3 Posts
    0 Views
    L
    get Microsoft eMbedded Visual tools. It plugs into VB or VC++ if you have it, and allows you to develop in windows CE. It has bad error handling, but its the best out. Its a 300 meg download, or you can get it free on a CD, with S&H.
  • LAN Chat

    com help question lounge
    2
    0 Votes
    2 Posts
    0 Views
    L
    There is a really simple version of a server/client chat program in the MSDN for visual basic. You may be able to use that as a base for one (to help you learn what needs to be done). If you search for "Using the Winsock Control" in the MSDN you should come up with the 'page' that has the simple version of a chat type program. I played with this myself a bit and it is fairly easy to understand. Hope that helps some. Quinn (aka Monkey Joe)
  • Using Plugins in a program

    help tutorial learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • VB Email Server Possible?

    sysadmin question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Cyber Software

    com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Batch compile in VB

    2
    0 Votes
    2 Posts
    0 Views
    K
    Look at the command line parameters for vb6.exe: vb6.exe /?
  • I need help to create a custom IE Toolbars in Visual Basic

    c++ help
    2
    0 Votes
    2 Posts
    0 Views
    N
    Here is some information on the subject in C++ Hope this can lead you in the right direction. Deskbands :laugh: Nick Parker
  • File Read

    question
    2
    0 Votes
    2 Posts
    0 Views
    N
    Something like this should do it Dim strFileName as String Dim Data as String Dim strVariable as String Open strFileName For Input as #1 Do Until EOF(1) Line Input #1, Data strVariable = Right(Data, 5) ...Do something with strVariable Loop Close #1 Nick Parker