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...
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...
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...
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...
Where can i get VB 6.0 for free?
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 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...
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...
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 ...
Keeping text file closed, I want to start with basic steps to buid a routine to read from a text file and later write to it. I want solid operation and want some info on text file format. Is...
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...
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...
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 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...
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...
Why do I get a "runtime error 339, MSCOMCTL.OCX or one of its dependencies not correctly registered: a file is missing or invalid" whenever I try to execute my Visual Basic Application?
Also...
Greetings,
I am having a little trouble working out how to appropriately use these three constants. In the absence of a physical workspace, i.e. a typewriter, what does "Line Feed" actuall...
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...
Hi,
I need to insert a PDF file into a SQL Server 2005 varbinary(MAX) field using Visual Basic 6. I have successfully coded a different C# application to do this by loading the file into a...
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?
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
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 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
We are looking for a data grid control which can be bound to a ADO record set and we need to do add/edit/delete and all other sorts of fancy stuff.
Currently we are evaluating True DB Grid ...