Visual Basic Questions


Unexpected error number in Visual Basic 6 and CR8.5
Iam using VB6.0 with CR8.5 and backend as MS Acess. During setup creation it gives me an “unexpected error number 28 has occurred.Out of Stack space”. plz help me out with proper solution Thanx in Advance…

Answer Question   |  June 23, 2011  1:03 PM
Access, Visual Basic, Visual Basic 6.0, Visual Basic Error Messages
asked by:
10 pts.

Automatically insert Date and Time
Hey there, stupid question but I am having a complete brain fart.  One of my Win7 users wants to create a keyboard shortcut to automatically insert the date and time within Office 2007 programs.  I know there is a easier way to do this than creating a vb script, can anyone refress me on the [...]

Answer Question   |  May 23, 2012  6:00 PM
Office 2007, Visual Basic, Visual Basic Script, Windows 7 64-bit
asked by:
2,045 pts.

How to retrieve, add and update data from SQL Server 2005 manually using VB.NET 2005?
How to retrieve, add and update data from SQL Server 2005 manually using VB.NET 2005?

Answer Question   |  January 21, 2012  6:03 PM
SQL Server 2005, VB.NET, VB.NET 2005, Visual Basic, Visual Basic 2005
asked by:
Bbm
5 pts.

How can I send data out using Microsoft Internet transfer control?
The other day I learned about a module in Visual Basic called Microsoft Internet transfer control, And it was needed to get me information from the internet to my program, that is now working beautifully, now I’d like to learn how to go the other way using the same module if possible, I want to [...]

Answer Question   |  June 8, 2011  2:26 PM
Microsoft Internet Transfer Control, VB, Visual Basic, Windows XP
asked by:
1,940 pts.

Printer Orientation Control using VBA Code
I want to print excel UserForms automatically using VBA proceedures.Some should print in Portrait and others in Landscape. How can I control the printer page orientation from VBA code?

Answer Question   |  June 1, 2011  9:29 PM
VBA, VBA editor, Visual Basic, Visual Basic developers
asked by:
50 pts.

What’s the best way to check for updates in my program?
Hi all, Here’s my dilemma, I have a visual basic button now that people can press to check for updates on my program, and what it does is msgbox’s them their current version and then brings them to my updates web page where they can compare what the latest there is compared to what they [...]

Answer Question   |  May 27, 2011  3:27 AM
Java, PHP, Visual Basic, Visual Basic Functions
asked by:
1,940 pts.

“Automation Error Invalid Advise Tags” What is an advise tag?
I have a visual basic module within Access that seems to compile fine; when I select the Debug function in the visual basic editor, I receive no errors or messages.  However, within my Access form, when I try to click the button associated with this module, I receive the error message, “Automation Error. Invalid Advise [...]

Answer Question   |  May 17, 2011  5:00 PM
Access 2007, VBA, Visual Basic
asked by:
5 pts.

How can I change color of Text on a Visual Basic command button
Hi everyone, I have an array of Command buttons using Visual Basic 4 and I would like to change the color of the text on the buttons as well as change the back ground color of these buttons, can someone assist me please? Thank you.

Answer Question   |  May 7, 2011  6:50 PM
VB4, Visual Basic, Visual Basic 4, Windows XP
asked by:
1,940 pts.

Visual Basic Login form and second form load
I am building an application that uses a username/passworm form for login and want to load from a flat file info relevant to the username entered in the login form.    Will the code for the reading of the flat file go in the form_load of my second form this is the code I am trying [...]

Answer Question   |  September 26, 2011  9:28 AM
Flat files, Visual Basic, Visual Studio, Visual Studio 2010, Windows 7
asked by:
75 pts.

How do I add a local admin account via script?
We have just recently joined to our parent companies domain, and as such our old local admin account “administrator” name is not being used as an login anymore. Most of our machines have administrator as the local admin account. Since we want to get away from that name, we would like to add a local [...]

Answer Question   |  May 2, 2011  7:06 PM
Group Policy Objects, Local Administrators Account, Local Administrators Group, Visual Basic, Windows 7, Windows Server 2003, Windows XP
asked by:
1,050 pts.

Control which form opens up first in VB6 app
Developing an ap in VB6 for the first time. I need my “control Panel” to be the first form to pop up. Where do I set this?

Answer Question   |  May 2, 2011  6:47 PM
Application development, VB6 default screen, Visual Basic, Windows 7
asked by:
15 pts.

Install fonts in windows 7 using vbs
I have clients that are going to place their fonts, usually downloaded ones into a folder. I need a script to assist me in this. Since I dont know what the fonts are called, I can’t use this one as stated, since I don’t know the .ParseName values. How do I write this so it [...]

Answer Question   |  May 3, 2011  3:31 PM
Fonts, Scripts, Visual Basic, Windows 7, Windows 7 support, Windows Server 2003
asked by:
1,050 pts.

opening rtf files using visual basic cmd button
I’m in this project and got problem on how to open a file from rtf using vb cmd open button..what’s the code..tenx..

Answer Question   |  April 5, 2011  8:27 AM
CMD, RTF, Visual Basic, Visual Basic 6.0
asked by:
5 pts.

Disk Icon?
Hi, I know how to get an icon for a shortcut to be what you want it to be, but can anyone tell me how to get an icon image in the disk views.

Answer Question   |  May 12, 2011  1:38 AM
VB4, Visual Basic, Visual Basic 4, Windows Server
asked by:
1,940 pts.

VB.NET Conversion Help: Bool Array to Integer and Inteher to Bool Array
Hello everyone, I would like to know how to convert an 32 bit Boolean array to an integer value from one command line instead of writing a For Loop. dim myBOOL(32) as Boolean dim myINT as Integer myBOOL(0) = True myBOOL(1) = True myBOOL(5) = True myINT = xxx(myBOOL) where INT will be 35 ——————————————————– [...]

Answer Question   |  March 14, 2011  6:27 AM
VB, VB.NET, Visual Basic, Visual Basic .NET
asked by:
35 pts.

How do I upload an image or images at runtime in Visual Basic 6
I have designed an interface by which users are soppose to UPLOAD their thier pictures but they cannot do that at RUN TIME. Please help me with the CODE. am using VB6. It is a library registration form with Name, Index, Picture. we are able to update the name and index but unable to UPDATE [...]

Answer Question   |  March 9, 2011  11:14 PM
Database administration, VB 6.0, Visual Basic, Visual Basic 6.0
asked by:
55 pts.

Limiting character input in specific cells on a DataGridView in Visual Basic.
I’m making a gradebook program (for a project) but I haven’t touched VB in years. Given it is a simple language, there’s still plenty of things I don’t know about it.  At the moment I’m trying to figure out how to limit the characters a user is allowed to input in each specific cell (20) in a [...]

Answer Question   |  February 21, 2011  3:34 AM
DataGridView, VB 2008, Visual Basic, Visual Basic 2008
asked by:
5 pts.

How to remove spaces from text lines in Visual Basic script
I have a script that reads a text file and replaces a character string with a new string. The problem is that the data following the new string has spaces that are causing a problem. For example, here is how my data looks prior to running the script Joe Manager Bob Eric Manager Freddy What [...]

Answer Question   |  February 18, 2011  6:26 PM
VB script, Visual Basic, Visual Basic Script
asked by:
5 pts.

How to count data in Access 2003 stored database
hello to all, will u please help me on how to count data in stored data in database, I am using ms access and vb6. Thank you

Answer Question   |  February 17, 2011  12:21 PM
Access 2003, Access Database, VB 6.0, Visual Basic, Visual Basic 6.0
asked by:
55 pts.

Date in Visual Basic 5
I’m a novice at VB5. I’ve written a small subroutine to retrieve the current date. I want to learn how to extract the year as an integer for another subroutine.  Any help would be appreciated.

Answer Question   |  February 16, 2011  5:14 PM
VB5, Visual Basic, Visual Basic 5, Visual Basic developers
asked by:
5 pts.