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
  • Finding .BMP's and .JPEG's after deployment

    question com graphics sysadmin tutorial
    6
    0 Votes
    6 Posts
    0 Views
    J
    Thanks A lot! The application.StartupPath namespace worked like a charm! The Jazz Master 6000 DJ Badknees Parma Grind Crew - www.geocities.com/parmagrindcrew
  • Visual Inheritance Issues

    oop help tutorial question announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Dynamically calling Webservices?

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Rise! (those controls) - vb.net 2003

    help csharp question
    2
    0 Votes
    2 Posts
    0 Views
    J
    That's because you're only copying the references to the controls, not the actual controls. "Blessed are the peacemakers, for they shall be called sons of God." - Jesus "You must be the change you wish to see in the world." - Mahatma Gandhi
  • VB6 Question and problem.

    help question csharp c++
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • vb6.0

    2
    0 Votes
    2 Posts
    0 Views
    H
    I think you want to know which one is the CD-ROM drive : use these APIs: FindFirstVolume FindNextVolumeto search volumes and GetVolumeInformation to check file system..
  • Data Structure

    csharp
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • RTF convert to postscript

    csharp dotnet algorithms question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Executing Shell Command

    windows-admin linux
    2
    0 Votes
    2 Posts
    0 Views
    D
    That's because (I THINK!!) CMD will only launch on Desktop 0, what the user sees. You can't launch CMD from a service because the service has no visible desktop and has no access to interactive inputs (keyboard and mouse), which CMD requires. What you should be doing is using the ServiceController class to start the IIS Admin Service. This is done something like this: Dim myController As New System.ServiceProcess.ServiceController("IISAdmin") If myController.Status.Equals(ServiceControllerStatus.Stopped) Then myController.Start() End If RageInTheMachine9532
  • (407) Proxy Authentication Required

    help csharp sysadmin security tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Printing Graphics

    csharp graphics
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Combo Box

    database wpf wcf tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    N
    I don't think you're not going to be able to do it that way. Why not add an event to the text boxes that checks if they both have text in and populate the combo box then? or maybe populate the text box on the Mouse_over event of the combo box? Beware the chickens, for in their silence, they plot... Life is too short to be taken seriously. -- Oscar Wilde
  • vb resource file

    question learning
    2
    0 Votes
    2 Posts
    0 Views
    R
    is it possible to set icon for executable (which has no forms/gui) without using any external add-ins rIsHaBh
  • running applications in VB 6.0

    linux help
    2
    0 Votes
    2 Posts
    0 Views
    H
    in vb6 : Add the Microsoft Common Dialog Control to the components then add the control to the form CommonDialog1.Filter = "Doc|*.doc" CommonDialog1.ShowOpen shell c:\program files\office\word.exe" & CommonDialog1.FileName you better also check if the user click cancel by checking the length of CommonDialog1.FileName
  • email

    help csharp com graphics
    6
    0 Votes
    6 Posts
    1 Views
    C
    i know,why make it difficult,:-) with outlook is it quite easier but i don't wanna use outlook.I got it in vb6,hope i can use the code in vba,but im gonna finish work today :-) I'll try it tomorrow so anyway thank u Thanx
  • Accessing an XML sequence

    csharp xml question
    2
    0 Votes
    2 Posts
    0 Views
    M
    The DataSet will load the different levels of nodes into seperate tables, but will create relationships between those tables for you. The property table that is created in the DataSet should have a relationship to the sellingpoint table, which could be accessed through the DataSet.Tables(0).ChildRelations collection. Using this DataRelation, you can access the sellingpoint children of a property row by doing DataSet.Tables(0).Rows(0).GetChildRows(DataRelation). There are other ways to do this as well. Just take a look at the help for DataSet and DataTable for more information. Or, to get an idea of exactly what is in your DataSet after loading the XML, set a breakpoint in your code, and do a QuickWatch (right click on an object after breaking into code during debug of your application) of your DataSet.
  • vb.net ListBox Click

    csharp com tutorial
    2
    0 Votes
    2 Posts
    0 Views
    N
    I didn't add a click event but I did attach a bit of Client-side Javascript to a combo box. You should probably be able to apply the same idea to a list box but I son't know how useful it will be in your situation. cboList.Attributes.Add("onchange", "JavaScriptFunction();") Beware the chickens, for in their silence, they plot... Life is too short to be taken seriously. -- Oscar Wilde
  • sending email

    help question
    2
    0 Votes
    2 Posts
    0 Views
    C
    problem solved :-) Thanx
  • Get folder and filename in CD ROM

    help tutorial
    3
    0 Votes
    3 Posts
    0 Views
    H
    Hi, I use VB.6 and I want get all directories and files in CD ROM but I don't want scan all content of CD ROM. Please help me. Thanks. H.Dung
  • Run VB app without .NET installed?

    csharp html dotnet com
    6
    0 Votes
    6 Posts
    0 Views
    J
    Same here. If they want us to buy it, they should give us a way to do it. ;) "Blessed are the peacemakers, for they shall be called sons of God." - Jesus "You must be the change you wish to see in the world." - Mahatma Gandhi