What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

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

 
Time Tested Visual Basic Solutions: 1 - 25 of 8398
 
Where can i get VB 6.0 for free?
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...
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...
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...
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...
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...
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...
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?
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...
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 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 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...
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 ...
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 ...
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...
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...
What's an easy way to convert military time to standard time examples: 2115  = 9:15 pm 0051 = 00:51 am 1734 = 5:34 pm 0912 = 9:12 am Thanks
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...
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...