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
  • Entering Feet/Inches in Textbox

    csharp question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Documenting .NET classes

    csharp html xml question
    2
    0 Votes
    2 Posts
    0 Views
    M
    The support for XML documentation provided by the C# compiler is very nice... using the xml output it produces combined with a tool like NDoc[^] creates very nice "MSDN-looking" documentation. Or if you don't want to use NDoc, you can always create your own XSL stylesheet to process the xml documentation. It's too bad that the VB.NET compiler does not support the same feature. You may want to look at the following: http://vb-doc.sourceforge.net/[^] http://www.fesersoft.com/products/VBXmlComments/[^] http://vbxmldoc.tor-erik.net/[^] I haven't used any of these, so I can't offer a recommendation. But one may be what you're looking for.
  • Datagrid related question ? (vb.net)

    question csharp asp-net
    2
    0 Votes
    2 Posts
    0 Views
    K
    If you change the Property Selection BackColor in the Grid Proerties page you can get your results. (If I understand your question properly) Thanks, Ken Keshav.
  • Any idea about editing mpeg2 files

    design json help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Reading image data within an IPicture

    help tools tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Export to microsoft excel

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • excel to C++

    c++ database help question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Goh Hui Beng wrote: I got a problem here. I need to link the microsoft excel to C++. The excel will act as a database for the coordinates..and i need to programme some commands for these coordinates like 3 Can C++ do this or should i use visual basic? Thx alot Hi, i have create a program using VB6.The purpose of this program are for sales department person key in the data and then review by manager.Now, my problem is manager want me to create a command button to export the data from microsoft access to excel.What is the command button code and the step? Another Question,this program must set up in the office and all the staff can see and use this program at their own PC's!Thank for ur help!
  • VB.NET and Images

    csharp help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Get all directories and subdirectories

    tutorial question
    13
    0 Votes
    13 Posts
    3 Views
    L
    I did it, it works, for me, the code is above, if you want to make any changes... Thanks for everybody who helped me. Here is the code, using a ListBox named as 'lst' Dim folders As New System.Collections.Specialized.StringCollection Private Function GetAllDirectories(ByVal Name As String) On Error Resume Next Dim finder As System.IO.Directory Dim cdir As New System.Collections.Specialized.StringCollection Dim cdir2 As New System.Collections.Specialized.StringCollection Dim cancel As Boolean = False Dim dir As String cdir.AddRange(finder.GetDirectories(Name)) folders.AddRange(finder.GetDirectories(Name)) Do While cancel = False For Each dir In cdir folders.AddRange(finder.GetDirectories(dir)) cdir2.AddRange(finder.GetDirectories(dir)) Next If cdir2.Count = 0 Then cdir = Nothing cdir2 = Nothing Dim i As Integer For i = 0 To folders.Count lst.Items.Add(folders(i).ToString) Next cancel = True Exit Do Else cdir.Clear() Dim y As Integer For y = 0 To cdir2.Count cdir.Add(cdir2(y)) Next cdir2.Clear() dir = Nothing y = Nothing End If Loop MessageBox.Show(lst.Items.Count) End Function Private Function GetAllFiles() On error resume next Dim files As System.IO.Directory Dim dir As String For Each dir In folders lst.Items.AddRange(files.GetFiles(dir)) Next End Function
  • Form problem

    graphics help csharp question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • What's wrong with my codes??

    help question adobe
    2
    0 Votes
    2 Posts
    0 Views
    G
    Dont know. This is how i show swf files: Use a ShockWaveFlash (flash.ocx) control and run: Me![swfCredits].Movie = App.Path & "\AppCredits.swf" Grtz, Guus
  • c1 truedbgrid

    help question
    2
    0 Votes
    2 Posts
    0 Views
    G
    When you install the truedbgrid component you also have installed some tutorials and samples. Browse to tutorial 11. There you will find the secret chronicals of your desire. Grtz, Guus
  • Excel feedback in VB6

    help sysadmin beta-testing question
    4
    0 Votes
    4 Posts
    0 Views
    D
    The Excel object should fire the events. Make sure the withevents declaration is at the class or module level. Now click on the left dropdown above the code and select the Excel object variable then right dropdown to select the appropriate events. I have not personally used this but the events should fire. I just don't an event you are needing. You will have to play around with them so see which one will suite your needs. Michael
  • Map & disconnect drives

    question csharp sysadmin
    2
    0 Votes
    2 Posts
    0 Views
    M
    How about using P/Invoke to call WNetAddConnection2?
  • Crystal Report - Error...

    help com sysadmin learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Get shared folders

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Thread

    3
    0 Votes
    3 Posts
    1 Views
    C
    Anonymous wrote: I need help on how to use threading to close a form I bit more information on the background would be helpful. For instance. I don't know if you already have a second thread, or you want to launch a thread to close the form or what? --Colin Mackay-- EuroCPian Spring 2004 Get Together[^] "You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
  • Newbie question

    question sysadmin workspace
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Backgroundimage of Treeview

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