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
  • Events in VBScript

    question
    2
    0 Votes
    2 Posts
    0 Views
    L
    yes, with a qualifier vbscript depends on the script host to handle the events. each script host may expose it differently. examples of a script host are IE, Windows Scripting Host, and ASP 3.0.
  • Does anyone know how to add an MP3 to a form?

    tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • emailing with Visual Basic

    help
    2
    0 Votes
    2 Posts
    0 Views
    N
    If you are on NT, 2K or XP you can use the CDONTS library. Somebody has an article here that shows how you can do that from ASP. It should be same in VB Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • Help me

    sysadmin help tutorial announcement
    2
    0 Votes
    2 Posts
    0 Views
    J
    Depends on the network. Is there a Windows network running with at least one mount point on each machine? If so, you could just do a normal copy with a UNC path (e.g.; \\mymachine\mymountpoint\somefolder). If not, you could always FTP it either interfacing with ftp.exe or writing something yourself. Jeremy L. Falcon Homepage : Sonork = 100.16311 xenophobic Xanthippe – xerophthalmic Xanadu Perseverance pushes past painful promenades - providing precious peace. Surely some striving souls survive symptomatic stress? Maybe my mangling might misguide malicious miscreants?
  • Chr( ) function

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Hex(192) Try that. Jeremy L. Falcon Homepage : Sonork = 100.16311 xenophobic Xanthippe – xerophthalmic Xanadu Perseverance pushes past painful promenades - providing precious peace. Surely some striving souls survive symptomatic stress? Maybe my mangling might misguide malicious miscreants?
  • Serial Port Communications?

    csharp help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Forums with VB.NET

    csharp question
    2
    0 Votes
    2 Posts
    0 Views
    M
    I'm assuming you mean web forums. It would be possible with ASP.NET to create web forums. You could choose either to use VB or C# as your 'script' language. http://www.codeproject.com/aspnet/aspnet_guestbook.asp wouldn't be hard to convert to VB from C#. http://www.codeproject.com/asp/codeproject-forum.asp would be another starting point for conversion. Michael :-) Errata 1: p. 154, section 'Defusing'. For 'red wire' read 'blue wire'.
  • Websites

    design question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • ListView Problem

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

    question
    2
    0 Votes
    2 Posts
    0 Views
    V
    Which kind of item? Vanclei Matheus Brazil MSN Msgr - vmatheus@msn.com
  • List boxes

    com help
    2
    0 Votes
    2 Posts
    0 Views
    D
    in the List1_Click event, put in Text1.Text = List1.Text -- David Wengier Sonork ID: 100.14177 - Ch00k
  • Access the dll

    question
    2
    0 Votes
    2 Posts
    0 Views
    N
    When you said that you made a .dll that runs under Internet Explorer did you mean within IE, such as a component for an .asp page, or did you mean that you are using a pluggin to access the Internet from a VB app? The solution should be rather simple in either situation. For example: Visual Basic Solution - Inside New Window Dim a As [ClassName] Set a = CreateObject("[ProjectName].[ClassName]") a.[ListOfMethods] ...when done, clean up... Set a = nothing VBScript ASP Solution - Inside New Window Dim a Set a = Server.CreateObject("[ProjectName].[ClassName]") a.[ListOfMethods] ...when done, clean up... Set a = nothing I hope that I understood your problem correctly, if not, just let me know. HTH Nick Parker
  • Server Applications

    database sql-server sysadmin windows-admin help
    3
    0 Votes
    3 Posts
    0 Views
    R
    Richard_D wrote: You need to create a Windows Service. If you're using .Net, it should be quite simple Could you tell me how, in C#? :) Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C# and C++!
  • GUI

    design tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    T
    1.use ocx control.... 2. use api to draw, but it's so pain ...
  • ado and .ini files

    database help question
    2
    0 Votes
    2 Posts
    0 Views
    D
    If the connection string has been entered into a property in the properties window, you will need to delete it. Then, you will have to read in the ini file yourself (using either standard file access methods, or GetPrivateProfileString API call) and set the ConnectionString property to be the string that is read out. ADO wont automatically go looking in an ini file. -- David Wengier Sonork ID: 100.14177 - Ch00k
  • scrollbar size

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    D
    Use the SysInfo control to read the system metrics. Look on MSDN, there is a sample. -- David Wengier Sonork ID: 100.14177 - Ch00k
  • Readin and writing xml Documents / .net

    csharp xml help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • settimer in a activex dll

    com question
    2
    0 Votes
    2 Posts
    0 Views
    Richard DeemingR
    In VB6, the AddressOf operator can only be used for procedures in a module, not a class. To see how to work around the problem, look here.
  • Sending Data on Sockets

    data-structures question
    2
    0 Votes
    2 Posts
    0 Views
    Richard DeemingR
    Try: arrBytes() As Byte = System.Text.Encoding.Default.GetBytes(strString)
  • Events

    c++ question
    2
    0 Votes
    2 Posts
    0 Views
    L
    in ocx controls u define one variable as event. Eg. Private Event myEvent 'where Event is the reserved word and u can also pass parameter and even create parameter list following the reserved word Event then u can raise this event in the code wherever u want by adding foll code RaiseEvent myEvent thats it :cool: Good Luck Buddy