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
  • WebBrowser Control (version 4 and 5 compatibility)

    question announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How can I use FSO instructions in my project??

    question sysadmin help
    4
    0 Votes
    4 Posts
    0 Views
    V
    Hi Ahuva, the FileSystemObject object ;) does not have a method named "createfile". Use CreateTextFile instead. Good luck. Volodya Ahuva wrote: Set d = CreateObject("scripting.FileSystemObject") d.createfile ("c:\program files\Ahuva\testing.txt") Volodya Orlenko, orlenko [at] hotmail [dot] com
  • Renaming Developer Studio Toolbars by VB Hooks

    debugging help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • scanner interaction with vb through API or any solution

    json help question
    2
    0 Votes
    2 Posts
    0 Views
    L
    visit www.twain.org Peter
  • Saving the last value of variable

    question database help
    2
    0 Votes
    2 Posts
    0 Views
    C
    What your looking for the the propbag PropBag.WriteProperty PropBag.ReadProperty or you could put it in a recordset.. Dim rs As Recordset Set rs = New Recordset rs.CursorLocation = adUseClient rs.Fields.Append "Value", adsingle rs.open rs![value]=10 rs.save "c:\myvalue.dat" , adPersistADTG rs.close then to retrive the data Dim rs As Recordset Set rs = New Recordset rs.CursorLocation = adUseClient rs.open "c:\myvalue.dat" txtValue.text=rs![Value]
  • VB & International Number Format

    question career
    2
    0 Votes
    2 Posts
    0 Views
    K
    Take a look at FormatNumber() and FormatCurrency() functions.
  • VBasic Module-programming

    question
    3
    0 Votes
    3 Posts
    0 Views
    A
    Well, you see, I really don't know what I'm talking about. I used to make some QBASIC junk and after I installed Visual Basic to my computer, all my .bas files turned into VBasic modules, so I was wondering what that was all about. Everyone welcome the NewbiE!!!! First Programmer: "How many bits are in a bite?" Second Programmer: "You spelled bytes wrong." First Programmer: *stares* "It's a joke, moron." Second Programmer: "Joke...?"
  • Drag and Drop Confusion in VBA

    data-structures workspace
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • URGENT

    database data-structures xml
    3
    0 Votes
    3 Posts
    0 Views
    F
    Wow...That really is a great idea... FiRoZ
  • App data storage on PocketPC

    discussion xml performance
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Problem with shell running asynchronously

    question sysadmin linux help tutorial
    3
    0 Votes
    3 Posts
    0 Views
    C
    I'm not sure what the CreateProcess API is. If you have a nice little component that might help, I'd be very glad to try it out! Please send it to my email :-D If you understand my dilemma, would you mind trying to explain to me how this process works/should work? Consultant, system/web developer. IMS Consulting AB, Sweden
  • VB Send Win32 Message to Other Apps

    tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    A
    SendKeys
  • Icons on menus not working under XP

    com graphics help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • VB 5 doesn't compile project

    tools question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Resource File Compiler

    help learning
    2
    0 Votes
    2 Posts
    0 Views
    L
    Update . . . I found the file I was looking for. It's called WinRC. You put your Bitmap, Icon, String and Wave files into it and it compiles it for you without an external compiler. Will compile in 16 and 32 bit so it can be used on VB416 bit, VB432 bit and VB5 and newer. If your interested in getting this little utility just e-mail me at zed350@aol.com and I'll send it off to you. It's Freeware and a small file. Thanks Again :) :rose:
  • Dependencies

    com help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    S
    I think I have found the answer I am looking for. The Package and Deployment Wizard that comes with Visual Studio pointed me in the right direction. To install a .OCX file all you have to do is use the REGSVR32.EXE tool. ie to install my DLL on a workstation without Visual Basic installed I had to do the following: "regsvr32 axistools.dll" - DLL containing my COM object "regsvr32 msinet.ocx" - DLL referenced by my DLL Systems AXIS Ltd - Software for Business ...
  • How do you find out the CLSID

    com c++ help question
    2
    0 Votes
    2 Posts
    0 Views
    R
    In oleview the CLSID for the component is the one found above the coclass declaration. Interface ID is the one found above the interface declaration.
  • Getting File Name of an application with handle

    help question json
    2
    0 Votes
    2 Posts
    0 Views
    K
    Given a window handle you should be able to use GetWindowModuleFileName API. However, it does not appear to work on Win95, only 98 or later. UINT GetWindowModuleFileName( HWND hwnd, // handle to window LPTSTR lpszFileName, // file name buffer UINT cchFileNameMax // max size of file name buffer );
  • Speech Recognition

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    K
    Look into Microsoft Speach SDK: http://www.microsoft.com/speech/
  • Backspace key not working

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