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: 201 - 225 of 8466
 
I found the following VB script to kill active and disconnected terminal server sessions on the web, but I'm having difficulty getting it to work.  Since it doesn't provide any output, I don't...
hi experts i have developed an accounting application using vb/ms access what i need to know is that for example i have  a form and that is being inactive for say 5 mins then i would li...
i want to take all values from that select statement given below into an array in form1(std exe vb6.0) and i want to call one function from different form2(activeX dll) and pass these arrays a...
Our users enter their hours worked into a timecard that was developed using EXCEL.  They enter those hours to the nearest quarter hour (e.g. 8.25), however some people will enter their hours...
I am running the Microsoft VB file xcacls.vbs from a script, the file is stored on a remote share but whenever it is called I get the Open File  Security Warning, I would like to be able to su...
Hi, I get the "Operation is not allowed when the object is open" error for the following code...I try to close the connection at the begginng of runcmd, but it said that "operation is not all...
Hi all, I wrote a VB 6 program using Access as DB, the access DB contains some linked tables to a foxpro database. It all worked fine but for one sql statement, this statement works alright ...
I get a Run-time error '91': Object variable or With block variable not set on some machines and it runs fine on others.  Below is my code: Option Explicit ''''''''''''''''''''''''''''''''...
Hi, I have a form with a picture on the background, and I need to put a TextBox inside the form. I want the textbox background to look transparent, but it doesn't have the "BackStyle" proper...
Thank you for your time in advance, the following script crashes at the FOR Each with the following error error 0x80041017 code 80041017 source (null) I assume it means that the query i...
Hi, is it possible, with Microsoft Visual Basix 6.0, to wrtie the string: "Hello World" in a text file and save it as UTF-8 ?
I have 100 text box controls on a Form.    Every time I hit the Enter Key, I want the cursor to jump to the next control.... I have set the Tab Order Correctly and am good there. This code ...
This is an easy one. what is the best way to exit from a while loop? Can I label the while loop? "labelWhile" for example? labelWhile:  while <condition>  <code>  if <condition2> then ...
I am writing a VB .Net app that has an MDI Parent form and 7 or 8 other forms that I want to logically tie together such that if I load child form 1 into the mdi parent form and click on a but...
Hi, How do i get the 'name' of a DataGridView Column? Ive tried: Dim myColumn as DataGridViewColumn myColumn = DataGridView.Column.Item("Column Name") No such luck!
I'm trying to look through a folder X for subfolders. I then would like to list each subfolder's total size. How can I do this in VBA?
When I try to run this basic script I get the following error: ********Script************ Dim objNetwork, objSysInfo, strUserDN, objUser, strUser Set objNetwork = CreateObject("Wscrip...
Iam Getting an error called Object variable or With block variable not set the error number is 0091: Below is my code: Private Sub tmpinput_LostFocus(Index As Integer) 10         On Erro...
Hi, How do I check if the VB array is empty. The followinf code If LBound(MyArray()) <> -99 Then DoesExist = True works but throws a floating type exception. So, how do I check if the a...
So, I'm working on a VBScript to run on our anti-virus servers which will backup and <<then perform DB maintenance>> on some log files.  Part of the script uses the FSO.CopyFolder method to co...
I'm having a hard time finding the standard icons for Save, Cut, Paste, Next, Previous, etc. that are used in most applications. Most of them are not present in the Common/Graphics folder unde...
Hi I have scoured the Net but haven't found anything to help! I think the problem after I installed Outlook 2003. All richtext controls I had on forms in VBA have disappeared. I still se...
Dear Experts, This problem is really frustrating. I'm trying to complete a project and this is my only "show-stopper". Here is my VB code: Public lblApp As LabelManager2.Application Pu...
Hi all, I'm trying to set the path to Application Data through a login script (.vbs).  I set the following registry values to my path: "HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre...
I am trying to add an icon to a form in VB6 and I keep getting an "Invalid Picture" error. The file is an icon file (.ico extension). I am able to add this logo to forms in Visual Studios .NET...