Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Make use of Visual Basic's predefined constants
- VB6 provides a set of predefined symbolic constants that you can use anywhere in your program. This article takes a look at a few of the more useful constants. Visual Basic 6 provides a set of predefined symbolic constants that you can use anywhere...
- Tags: Microsoft Visual Basic 6.0, Microsoft Visual Basic, vbNullChar, vbNullString, vbObjectError, Peter Aitken, Microsoft development tools, Programming languages, Visual Basic Tips Newsletter, TechRepublic Inc., Character, Development Tools, Software Development, Software/Web Development
- Technical articles 2005-07-29
Additional Resources
- How to use one Access form for multiple tasks
- Occasionally, users want to enter new records without wading through existing records. You might think you need two forms, but you might not. If the form's structure is the same, you can use just one form. For instance, let's suppose users want to enter new customer records and view existing...
- Tags: VBA, Access
- Blog posts 2007-05-17
- Open and Print .pdf in VB6
- Hope somebody can help me/point me in the right direction. I need to write an application which will open a specific .pdf file based on user input and allow the user to print the file. I own Acrobat 5.0 so I will be able to place the Acrobat control on...
- Tags: Adobe Acrobat, Open
- Discussion threads 2005-03-20
- How do I... Populate an Access list control with the results of a dynamic search?
- This information is also available as a download that includes a sample Access database demonstrating the solution we'll build here.Most applications have at least one search task. For instance, you might populate a form with product data by choosing the product's name from a combo box. That solution is simple...
- Tags: Office and Productivity, How do I
- Blog posts 2007-07-30
- VBA code to run command line and retrieve exit code
- Hi.The code below is for run an command line proggramm from vba but the exit code is not the correct.The intention of the code is to execute command line in minimized windows.here is the code:'modulo version 2007 09 13 4:45PM'FuncionRunCommandLineAndReturnExitCode'Private Type STARTUPINFO cb As Long ...
- Tags: VBA, asihuay@..., proc.hProcess, FuncionRunCommandLineAndReturnExitCode
- Discussion threads 2007-09-13
- Post Message LParam API Question
- I have a 3rd party application I am attempting to pass ALT + 1 to.I used SPY++ to determine what the Keyboard is really sending:P WM_SYSKEYDOWN nVirtKey: VK_MENU cRepeat:1 ScanCode:38 fExtended:0 fAltDown:1 fRepeat:0 fUp:0 [wParam:00000012 lParam:20380001]P WM_SYSKEYDOWN 'nVirtKey: '1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0 [wParam:00000031 lParam:20020001]Every time I attempt...
- Tags: lParam, P WM_SYSKEYDOWN, lParam:0012FB38, Long Dim lParam
- Discussion threads 2004-12-09
- Access: Find 2nd occurence of a string
- In a field named 'File' in MS Access XP I have text representing 'Artist - Album - Title'. I need to pull everything left of the second ' - ' string to create a directory path named ArtistAlbum. I can use "SELECT Left([File],InStr([File],' -')) AS DirName" but that pulls from...
- Tags: ByVal FieldValue, DirName, File, InStr, Maricaibo, Microsoft Access, programming, SELECT Left, Variant Dim sPath
- Q&A 2005-03-01
- Programmatically changing a user's Windows password with Visual Basic
- In the first installment of Visual Basic Q&A, Lamont Adams explains a simple way to change a user's password on Windows 95/98 systems.Q: How do I change a user’s Windows 95/98 password with Visual Basic?A: If you’re programming for Windows 95 or 98 and you don’t require a custom user...
- Tags: Lamont Adams, password, Microsoft Windows, Microsoft Visual Basic, Windows password
- Technical articles 2001-04-20
- Avoid program bugs in VB6 with the Option Explicit statement
- Declaring & initialising string variablesI've been using Option Explicit for years and never realised I could save a little keyboard and finger wear by ticking the relevant check box in OptionsEditor. Having spent many years programming in assembler and C, declaring variable is second nature and I can't think of...
- Tags: explicit, foggitt@..., Microsoft Visual Basic 6.0, programming, string variable, strings, strTest, VBA
- Discussion threads 2006-01-13
- << Previous
- page 1 of 1
- Next >>