Congratulations to DanRollins, the first member to earn 50,000 Article points! With 56 articles written, including two Editor's Choice and ten EE Approved, DanRollins is more than worthy of this honor. Keep on rollin', Dan!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Visual Basic Solutions: 1 - 25 of 8244
 
Where can i get VB 6.0 for free?
Anyone have a quick script for exporting global distribution list members from an Active Directory/Exchange Group to an excel spreadsheet? I have quite a bit of knowledge on how to export us...
Occasionally my client's get this at program startup. I created some programs with nothing in them except a button to close the program. I get the error and clear it, then the programs runs. I...
Help!! I have a simple but extreamly frustrating problem.  I have a .vbs file that I am writing to help me debug a web service.  It has a variety of MsgBox statements to show me things I am...
Hi Everyone - I need to preform a daily backup of a file by copying an .mdb from one location (Location = C:\Program Files\PARKINVT) renaming it by including the date and time in the field...
Hello all! I want to run this DOS command line using VB. gpg -o c:\gnupg\outsourceone_rsmd_mr_elig.834c.gpg -r A01183A7 -e "f:\servcent\vendor\ bc ca\outsourceone_rsmd_mr_elig.834c" I...
I am writing an Access module and would like to delete all files in my "c:\files" folder that are older than 60 days.  The "c:\files" folder does not contain subfolders.  I need the code to do...
I need to convert a set of .mpp files to .pdf files automatically. I use the "FilePrintSetup" method to set "Adobe PDF" as a printer and then the "FilePrint" method. However, each time a "Prin...
Here is the program I have: Private Sub Timer1_Timer() SendKeys ("test") SendKeys ("{SPACE}") SendKeys ("test") End Sub But, it doesnt send the space... how do I do this?
VB6 SP4 WIN 2000 EXCEL 2000 ACCESS 2000 I keep getting an error on the line below. as indicated. I HAVE TRIED CHANGING THE STRINGS TO VARIANTS BUT IT DOES NOT HELP.... I'm trying to ...
I have a VB 6 application in which I have several text boxes on a form.  When the user types in a number in the first text box and presses the Enter key, I want the application to set focus to...
Im sure there is probably a really simple solution to this question but I just can't solve it. How can I make my VB program sleep or pause for say 5 seconds? Any help would be much appre...
I have a simple problem that i need a simple answer for.  I have a string that is in unicode format that I want to convert to ASCII format.  If the character is not in the ASCII range, then it...
I have a small routeen that removes all characters from a string but not any digit 0 thru 9. It works fine, but I was wondering if my For Next loop could be modified to be cleaner. Here is my ...
Can anyone please provide me an animated Progress bar gif?
I need VBA code to loop through a directory and get only the .dwg files.  The code below will loop through the directory but it gets all file types. Function GetAllFilesInDir(ByVal strDirPa...
I am using a Spreadsheet object in conjunction with my ASP code.  I found various properties for changing an Excel spreadsheet but can't figure out how to change the cell's background. Set ...
I am having problem with this code: Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Call Sleep(1000) error says can't find dll  kernel32. thanks
The command I am using is: WshShell.Run "cmd /c " & thecommand, 1, True where thecommand = "del v:/parent folder/filetodelete" the space in the folder name is why it says the file can't be ...
Ok.  I've search EE and the internet for a way to change the desktop wallpaper with VBS.  I've found some code that claims to work.  One problem that users have reported is that the code will ...
Run-time error ‘339’: Component ‘cmdlg32.ocx’ or one of its dependencies not correctly registered: a file is missing or invalid While back, I developed an application in VB 6.0. Now, tr...
How do I properly delete a registry key, I am currently using: WSHShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\DetectionStartTime" This works i...
Hello, I am newer to vbscript and need some guidance. I basically have some files that I need to rename. I so far have this which loops through all the files in my directory but I do not kn...
Hi Experts! We are facing a problem when registering a tlb file.  Through Visual Basic 6.0, we can register a tlb file by adding it on the reference section but we want to register it witho...
More than one customer of mine is reporting a "Permission Denied" error number 70 when the following lines are executed:   Dim objWMIService As Object   Set objWMIService = GetObject("winm...