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
  • Format error Schema.ini withTransfertext

    database help xml question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Open - change and save AScii in visual Basic problem

    tutorial help question
    2
    0 Votes
    2 Posts
    1 Views
    L
    in.txt F1C58475 0- B2C58757 0- E9D48747 1- R0A01477 8- 'VB script example const infile = "C:\...\in.txt" const outfile = "C:\...\out.txt" set fso = CreateObject("Scripting.FileSystemObject") set tsin = fso.OpenTextFile(infile) set tsout = fso.CreateTextFile(outfile) do while(not tsin.AtEndOfStream) str = tsin.ReadLine str = mid(str,1,4) & "00" & mid(str,7) tsout.WriteLine str loop tsout.Close tsin.Close out.txt F1C50075 0- B2C50057 0- E9D40047 1- R0A00077 8-
  • timeline Schedua-Calander Component

    com
    2
    0 Votes
    2 Posts
    0 Views
    O
    I've been using the Solutions:Schedule component from DBI-technologies in a big project. Try it out http://www.dbi-tech.com/product\_info\_prime/solschd.htm
  • One Class two forms

    question
    2
    0 Votes
    2 Posts
    0 Views
    O
    I guess you could create a get-property i Form1 that returns the instance of Class1: public property get TheProperty as Class1 set TheProperty = myInstance end property So from Form2 do this to get the Class1 instance from Form1: set obj=Form1.TheProperty Hope this helps... Øyvind.
  • Accessing VB3/4 Program Workspace?

    database graphics help question workspace
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • IIS Application

    html windows-admin help question
    2
    0 Votes
    2 Posts
    0 Views
    J
    This is probably not the answer you're looking for but webclasses within VB are pretty much a dead technology. There are various threading and performance issues that have come to light on this particular technology. If you really need the power of vb when developing a component for a web based application you might want to investigate COM+. Switching to the new .NET stuff if you're running IIS 5 is also a very viable alternative. Good Luck!
  • Emailing from VB

    c++ tutorial question workspace
    4
    0 Votes
    4 Posts
    7 Views
    J
    If you just want to do some simple smtp based email from a vb application you can run on over to www.planet-source-code.com ... do a seach in the vb section for email and/or smtp. I know there are several examples there. Good Luck! Jon
  • Searching Message Headers in Outlook 2002

    com algorithms tools question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Phone Dialer

    algorithms help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Comunicacion con los puertos en VB

    com question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Necesitas habilitar el módulo MSCOMM en la lista de objetos. Luego pegas el objeto en el Form y alli tienes todas las propiedades del objeto
  • 0 Votes
    2 Posts
    1 Views
    R
    Why don't you place the code in a Boolean function, then trap it like followed: private function connect_to_db(Connection as string) as boolean on error goto failed_open set DBTemp = OpenDataBase("",true,false,Connection )'Public connect_to_db = true exit function failed_open: if err.number = 28000 then msgbox "Wrong Password Or User name, please try again" connect_to_db=false exit function end function Hoped to have helped you : :-O Rayman
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • VB vs VC++ in User Interfaces

    c++ question visual-studio com
    5
    0 Votes
    5 Posts
    0 Views
    L
    VB is the best choice if you do not intend to distribute your any of the component to client's machine. Apart from that VB application has Lots of dependency file which when installed may or may not creat a conflict problem . that totally depends how compatible(I mean version of the dependent files which you ignored while installing your VB application)) is your development machine and the staging machine. Generally the size of a VB app will be approx more than twice the size of VC++ app.:|
  • MAPI and Task Scheduler

    help com security
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • WebBrowser control alternatives?

    wpf question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Problem about MSHFlexgrid control!

    question help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Command Line Parameters

    question
    2
    0 Votes
    2 Posts
    2 Views
    S
    Just in case anyone else is interested there is an article on CodeGuru that documents the extraction of multiple command line parameters. http://www.codeguru.com/vb/articles/1755.shtml
  • Menu Font in VB (and Outlook 2000)

    c++ question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Menus in an ActiveX Control

    com question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • dates as interger

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Use the VB function FormatDateTime(...)