Visual Basic 6 Questions


Converting Integer to Short in VB6
I need to convert integer to short and short to integer. I need a .dll which I can use in my VB6 project. Please help.

Answer Question   |  March 13, 2009  10:27 AM
DataType, Integer, VB DataTypes, Visual Basic 6
asked by:
15 pts.

Connectivity of Visual Basic 6 and Oracle 10g
Can u plzzz sugest me the code of how to connect Visual Basic6 and oracle 10g, I am facing problems while connecting. Plzz do reply at ur earliest. -Supriya

Answer Question   |  April 10, 2012  4:57 PM
Database connectivity, Oracle 10g, Oracle connectivity, Oracle development, VB 6, Visual Basic 6
asked by:
5 pts.

Code for searching in VB 6
what are the code for search in vb6?

Answer Question   |  September 30, 2011  11:52 AM
Search string, VB 6, Visual Basic 6
asked by:
5 pts.

DataGrid in Visual Basic 6
I am developing an application in VB6 using a bound data grid with a data control, and am struggling with the following: 1. How do I force an update of the data grid to the data control by pressing the Enter Key, regardless of which cell of the data grid is current. 2. When updating [...]

Answer Question   |  March 3, 2009  12:48 AM
Database programming, DataGrid, VB 6, Visual Basic 6
asked by:
5 pts.

Integrating IT operations/developers from acquisition
My firm has just purchased another company, and I have been placed in charge of the process of absorbing the IT operations into the other company. While my company has largely standardized on a .NET platform, the new purchase uses a mix of COM/COM+, Java Beans, and older Visual Basic 6 applications. The staff of [...]

Answer Question   |  March 2, 2009  1:05 AM
.NET development, Acquisitions, COM/COM+, IT operations, JavaBeans, VB 6, Visual Basic 6
asked by:
10 pts.

How to call a procedure in VB 6 depending on variable
i have some procedure in vb 6.0 like sub a_on msgbox”A” end sub Sub b_on msgbox”B” End sub dim str as string ‘str may be a_on or b_on str=”a_on” i m planning to call procedure a_on or b_on based on the variable str how to call the procedure a_on or b_on depending on variable

Answer Question   |  July 10, 2011  12:53 PM
Variables, VB 6, Visual Basic, Visual Basic 6
asked by:
5 pts.

Visual Basic 6 – Changing font style, font color and font size?
how to change font style,font size and font color using command button in visual basic 6.0? the input text will be change if you click the appropriate button.Please help me.Thank you and god bless. I will be waiting your answer as soon as possible.Thank you very much.

Answer Question   |  February 20, 2009  7:45 AM
VB 6, VB6 Command Button, Visual Basic, Visual Basic 6
asked by:
5 pts.

Select printer from CRViewer in VB 6.0 and Crystal Reports 8.0
i use Rpt.PrinterSetup Me.hWnd this, to set up printer setup. it prints blank page

Answer Question   |  August 5, 2009  10:57 AM
CRViewer, Crystal Reports, Crystal Reports 8, Crystal Reports printing, VB 6, VB 6.0, Visual Basic, Visual Basic 6
asked by:
10 pts.

Connecting to Oracle with Visual Basic 2005?
what are “oracle” version to connect “visual basic 2008″,”visual basic 2005″ and “visual basic 6.0″ ? whether it’s possible to connect “oracle9i” and “visual basic 2005″ ? please solve my Q……….

Answer Question   |  March 13, 2012  10:20 AM
Database connectivity, Oracle connectivity, Visual Basic 2005, Visual Basic 2008, Visual Basic 6
asked by:
20 pts.

VB Error Handling
While execution of my program’s exe, the EndUser sometimes get run time error or application defined error etc., which are not handled by me in my code. So, in each & every ‘Sub’ or ‘Function’, before ‘End Sub’ or ‘End Function’, I have put these lines… If Not Err.Number = 0 Then MsgBox Me.Name & [...]

Answer Question   |  January 23, 2009  7:03 AM
Error control, Error handling, Error Messages, Error Report, Software development, VB, VB 6, VB error handling, Visual Basic, Visual Basic 6, Visual Basic developers
asked by:
155 pts.

Diagonal matrices in VB6
Thanks for the first part. The second part—- well, imagine a 3 by 3 matrix. Row 1, Column 1 = some value, Row 2 Column 2 = some value and Row 3, Column 3 = some value. Everything else in the matrix = 0. How do you do that in VB 6 ?

Answer Question   |  January 21, 2009  8:13 PM
Diagonal matrices, VB 6, Visual Basic, Visual Basic 6
asked by:
25 pts.

How to make a VB Setup File
My Dear Friends I Can’t Make Setup File using vb6.0 . I use package Wizard But setup file can’t run and Get Error “Run Time” so how cant i make setup File Pls tell me

Answer Question   |  July 6, 2010  9:52 AM
Package and Deployment wizard, VB 6, VB Setup File, Visual Basic 6
asked by:
5 pts.

How to replace a record in Microsoft Access 97 with VB 6.0
I create a program with vb 6.0 and i connected with ms access 97. Now i don’t know how to replace an existing record. For example i have the field “A” and the record is “20″ now i want to replace “20″ with “15″

Answer Question   |  January 19, 2009  3:40 AM
Access 97, Database programming, Microsoft Access 97, VB 6, Visual Basic 6
asked by:
5 pts.

Defining a diagonal matrix in VB 6
Hi. I am having trouble defining a diagonal matrix. I am using code that is something like public diagmatrix(numofm, numofm) as long (numofm has been pre-set as some number) but i’m getting an error message, “constant expression required”. Thing is, to begin with, the number of columns and rows (square matrix) should be equal to [...]

Answer Question   |  January 24, 2009  10:18 PM
Diagonal matrix, VB 6, Visual Basic, Visual Basic 6
asked by:
25 pts.

How to print selected data in VB 6 Data Report
we were about to create a system that generate eport such as daily weekly monthly and annual… and we dont know how to do it.. plz.. help us..

Answer Question   |  April 9, 2012  6:44 AM
VB 6, VB Data Report, VB Data Report designer, Visual Basic, Visual Basic 6
asked by:
5 pts.

Sending a print job to two separate printers using VB 6
I have prepared a Restaurant Software in VB 6.0 and Access 2001. I have to print a prepaid bill in two copies (one for customer and another for kitchen). One epson lq 300+ printer is attached in LPT1: port and another in USB001:port. I printed the Bill through LPT1: port and I could not print [...]

Answer Question   |  January 12, 2009  3:34 PM
Crystal Reports, Crystal Reports printing, Printers, Software development, Visual Basic 6, Visual Basic printing
asked by:
5 pts.

Date format in Microsoft Excel 2002
In my program I pass values from VB to Excel for reporting. When I pass 03-01-2009 (3rd Jan 2009), in excel it shows as 01-03-2009. I have set short date format to dd-mm-yyyy, in control panel, regional settings. Also in excel, I set cell format through VB as … Exl.Range(“A1″).NumberFormat = “dd-mm-yyyy” and Exl.Range(Rng).NumberFormat = [...]

Answer Question   |  January 9, 2009  11:51 AM
Excel 2002, Excel Cell Formats, Microsoft Excel, VB, VB 6, Visual Basic, Visual Basic 6
asked by:
155 pts.

Database connectivity using Data Control
Provide a sample code to how by using VB 6.0 connectivity can be done by Daat Control tool with the database SQL Server 2000

Answer Question   |  January 6, 2009  1:07 PM
DAO, DAO 6, Data Access Object, Database connectivity, SQL Server 2000, VB 6, Visual Basic, Visual Basic 6
asked by:
10 pts.

Database connectivity using ActiveX control
Provide a sample code to how by using VB 6.0 connectivity can be done by ActiveX(ADO) Control tool with the database SQL Server 2000

Answer Question   |  January 6, 2009  1:04 PM
ActiveX, ActiveX Data Objects, ADO, Database connectivity, SQL Server 2000, VB 6, Visual Basic, Visual Basic 6
asked by:
10 pts.

How to create the number of images appeared where we put the quantity of images?
I create a form (browse image buttom model) using vb 6.0. I want to create the quantity field, and when I entered the image quantity the number of images appeared(where I select the browse option). Is this possible. Help me…. Thank You

Answer Question   |  January 5, 2009  6:39 AM
VB, VB 6, Visual Basic, Visual Basic 6
asked by:
5 pts.