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
  • Raw Sockets

    question csharp
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • DLL File Creation

    question
    2
    0 Votes
    2 Posts
    0 Views
    H
    Hi.. you can create a DLL by selecting : ActiveX DLL enstead of Standard EXE when creating the project.. I wish this is what you mean by your question..
  • Launching Application/Program Once

    beta-testing help tutorial question code-review
    4
    0 Votes
    4 Posts
    1 Views
    Richard DeemingR
    Look at http://msdn.microsoft.com/library/en-us/dnwinforms/html/reaworapps1.asp[^] "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • 0 Votes
    1 Posts
    2 Views
    No one has replied
  • browse

    csharp linux testing tools
    2
    0 Votes
    2 Posts
    0 Views
    R
    After you get the Folder object, use the FolderItems collection, like: Dim fiPath As String Set f = sh.BrowseForFolder(Me.hWnd, "SDFg", 0) Set fi = f.Items.Item filePath = fi.Path MsgBox filePath This will give you the full path of the item that was selected. You may need to add some checking against the FolderItem object because is maybe a 'special' folder and not have a Path associated with it (i.e MYCOMPUTER). Roger Stewart "I Owe, I Owe, it's off to work I go..."
  • Operator Overloading

    csharp
    2
    0 Votes
    2 Posts
    0 Views
    S
    Sorry, VB.NET doesn't have operator overloading. You'll have to use C# for that... steve
  • Send and receive data

    xml tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    R
    Try using the M$ XML parser (latest verision is 4.0 I think). If you d/l from M$, comes with both VB and C++ tutorials.
  • AfterLabelEdit

    help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Multiple DataTables in DataGrid?

    csharp help question
    2
    0 Votes
    2 Posts
    0 Views
    T
    Greetings As far as I know that is not possible. One way around is to create a temporary datatable with desired columns and copy the data there. This, however, does consume some amount of memory. It should not be an issue if the data is not very big. Nothing else comes to my mind right now.
  • add sum from list

    4
    0 Votes
    4 Posts
    1 Views
    A
    Investigate the "List" property of the List object. List1.List()
  • Drawing Rectangle on .Tiff image

    graphics help
    4
    0 Votes
    4 Posts
    9 Views
    C
    Zulfikar Ali wrote: for example it could be anything Yes, but what IS it ? Did you step into the code and make sure it was something that should draw a decent rectangle ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
  • showing the status bar of the webbrowser

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Hot keys

    help question
    3
    0 Votes
    3 Posts
    0 Views
    H
    thank you for your reply .. but mean to support function keys (F1-F12) I made it by setting the form's KeyPreview property to True and check for the KeyCode in the keydown event:)
  • Adding Items to DropDownListBox

    question database help
    2
    0 Votes
    2 Posts
    0 Views
    A
    txt_listbox.items.insert(0,"Select one by clicking") txt_listbox.setselected(0,true) Hopefully that will work.
  • Application with an Online Upgrade Feature

    tutorial learning
    2
    0 Votes
    2 Posts
    0 Views
    A
    I don't know if this is the best way, but since it has been some time since you posted this, I'll take a shot at it. You could use a Microsoft Internet Transfer Control to check versions listed in an html file. Dim sTest as String Dim sUrl as String sUrl = "http://www.your-url-goes-here.com/versions.txt" Inet1.AccessType = icUseDefault sTest = Inet1.OpenURL(sUrl) Then, you would need to compare the versions that you stored in that file with the versions of the files on the user's computer. There is likely a way to access the versioning information (I cannot find it right now,) but you could always have your application maintain a similar file on the user's computer that could would contain the versioning info. Then, you could use the "OpenURL" to grab any needed files (saving them as binary.) Here is the sample from MSDN Dim b() As Byte Dim strURL As String ' Set the strURL to a valid address. strURL = "FTP://ftp.GreatSite.com/China.exe" b() = Inet1.OpenURL(strURL, icByteArray) Open "C:\Temp\China.exe" For Binary Access _ Write As #1 Put #1, , b() Close #1 Hope that helps.
  • Fun with OpenUrl

    help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • VB.net Resource

    csharp question learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Telephony

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

    c++ csharp help question
    6
    0 Votes
    6 Posts
    2 Views
    S
    Ok, I am halfway done for implementing my telephony application and I encountered a major problem. I am using a ZOOM USB Modem and was stunned to learn that it is half duplex. When I dial the phone, and the voice mail answers I can set tones and transmit voice, but I cannot hear what is going on at the other end. How do I switch from a send state to listening state?