Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

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

 
Time Tested Visual Basic Solutions: 151 - 175 of 8475
 
I need to know how to make a directory in VBScript, and if the directory already exists, I don't want it to show anything. Pretty much if there is no c:\temp, dont create it, and dont do an...
I am writing a VB6 app that uses hotkeys to make the current window either "Always On Top", "Hidden", or "Mimimized to the Tray".   And, yes, I know that there are already apps out there that ...
Hi Guys, I need, using VB6 to be able to detect when a USB device has been inserted or removed. I would prefer a method that uses either WMI or something that would not cause a problem when...
I am using VB 2008 Express to develop a forms based application that has a main MDI Parent form and about 5 or 5 other forms. I am able to load one form as a child of the MDI Parent in the par...
I need to determine the current timestamp of a machine so I can track the time it takes to run a test.  I have found sample code to convert "Now()" into a timestamp with granularity down to a ...
Hi everybody I am currently writing a VB6 application to launch a vnc client and also be able to close it again with a button inside. so far I use ShellExecuteEx to launch the process, h...
How to write and SQL that will count distinct records in a table For example if I have Field F1 and data there 1,1,2,2,3,3 I want the SQL return the result 3, for 3 distinct records 1,2 an...
Hi: How can I convert the difference between 2 military times to actual minutes? 1100 minus 0800 = 300 300 should show as 180 minutes 1100 minus 0830 = 270 270 should show as 150 mi...
We use the date in the format "dd/mm/yyyy". But by default the regional settings is "mm/dd/yyyy" In case we forget to change the regional settings when we first load up or when windows is re...
I am having this same problem, but I am not the developer. I am a network administrator trying to silently push a VB application to users desktops. I am using a ZENworks 7 Application Object t...
Hi, I hope this is a reasonably quick/easy question, and apologize for not having the patience to find the answer (which likely exists out there). I want a SIMPLE way to show a table in Vi...
From vb form, I am selecting a workbook which it may or may not already open.   Public Sub OpenExcelFile(strPath As String) Dim xlWb As Excel.Workbook If <file is already open?> Then ...
I am looking for working, pastable VB6 code that will allow me to set a timer which runs every "X" seconds and automatically clicks the left mouse button. The usage of this application will...
Hi. I am trying to debug a VB DLL and have come across this strange message when trying to run the DLL in debug mode: System Error 8H80004015(-214767243) The Class is configured to run a...
The following VBScript works perfectly on a test server. It fails when run from a production server that (from what I can tell) has the same components installed the same way.    msgbox "Cr...
How can i do the following in visual basic v6? Open a .txt file ( e.g c:\test.txt ) Start searching for the string <a href=" from the top of the .txt file If found on .txt file then grab ...
Bit of background first: I have 3 Oracle queries that need to be populated into an Excel file.  My IT department set-up a website where I can enter an Oracle query and it will display the r...
Hello, i'd like to write a program in VB6 with a ping function, can anyone tell me how to realize this? Or give me a link to a module? (<-- I'd prefer this solution :) thank you! -beda79
I'm organizing a Family Feud type game for a large event.  I will have access to a computer and a projector.  I'm wondering if there is a way I can use PPT to run this game.  Here's what I thi...
I have a VBscript that will enumerate the file name in a specific folder, set it as a variable, then send it as an attachment in an email.   strComputer = "." Set objWMIService = GetObject...
I would like to print a word document via VB6.  During the print process, I don't want any word dialog bosxs to appear. The following snippet prints the document, but triggers multiple word...
Hi,  In my current ASP project, I am doing the mails using Jmail4.0. I am calling the Jmail's message class from a function of my dll. I am calling my dll from ASP page. It is working fine ...
Hi Guys, Is there a decompiler for vb6?. I need to view the source code from assignments i did in uni a few years ago. I can see via the ee search engine, this question has been asked many ...
How to substitiute with "simpleint=(p*n*r)/100" with something like "return simpleinterest", where  simpleinterest is declared as single in the function?
There are several postings about this and I have tried several.  I'm trying to load into Picture1 and then copy and scale it into Picture2 Unfortunately, it is not scaling it when it loads ...