Visual Basic Questions and Answers

Recent IT Questions

101 - 120 of 342

Visual Basic If Then Statement

HELP! I normally don't write code or develop databases but I am trying to build a MS access database. I have one table (departments) with a list of departments and one table (112) with department, question text and question answer columns. I am trying to build a form where user selects department...

Answer Question   |  Jan 8 2009  9:53 PM GMT
Visual Basic, IF statement, IF Then Else
asked by Williams777

  10 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   |  Jan 6 2009  1:07 PM GMT
Visual Basic 6, Visual Basic, DAO 6
asked by Reena

  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   |  Jan 6 2009  1:04 PM GMT
ADO, Visual Basic, Visual Basic 6
asked by Reena

  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   |  Jan 5 2009  6:39 AM GMT
VB, Visual Basic, VB 6
asked by 5starkarthick

  5 pts.

How to convert DBGrid database information to text files with VB 6

how to convert dbgrid database information in to text files (vb 6.0)

View Answer   |  Jan 3 2009  3:12 PM GMT
Database programming, VB 6, Visual Basic 6
asked by Rajeshrajini

  5 pts.

Part of program on external monitor

How can I display my main program on the laptop monitor and results (for the public)on a external monitor in visual basic 2008?

View Answer   |  Jan 3 2009  11:45 AM GMT
external monitor, Visual Basic 2008, Dual monitors
asked by Sportsbuilder

  5 pts.

Checkboxes with INSERT and DELETE actions

I'm fairly novice with Access, though I know how to program in a variety of languages. I need to know how to do something in an MS Access 2003 Form. I have two tables: Attribute A B C D E [Items Table] Serial Num Attribute 1 A 1 D 2 A 2 B 2 C What I want is a form where...

Answer Question   |  Dec 31 2008  3:13 PM GMT
Visual Basic, Access 2003, Access forms
asked by Trobertson

  5 pts.

Visual basic60 code

How create a database with this problem like there is a faimly and its have a number like 1 (Anil Father) we have create a method to entere members of faimly i.e. 1.1 Member Name Age etc

View Answer   |  Dec 31 2008  9:32 AM GMT
Visual Basic, Visual Basic 6.0
asked by Tanveersml

  5 pts.

Spoolersp.exe Error occuring frequrently in Windows 2003 environment running a VB application.

We are running a VB Application in Windows 2003 environment. The database Server is SQL 2005. The Application runs in a separate server and the database in another. Remote Users connect to the application through the Remote Desktop facility. Users can go for direct print as well as save to PDF and...

asked by Ravikswamy

  20 pts.

Visual basic 6.0 varible completion with user defined types not working

If I have the following code... Type xyz V1 as byte V2 as byte End Type Dim myVar as xyz It used to be that when I typed: myVar. in the VB 6.0 editor, I would get a pop up menu with V1 and V2 as my choices. I've done something to disable that and now I don't get the menu anymore. What...

Answer Question   |  Dec 25 2008  9:16 PM GMT
Visual Basic, VB 6
asked by Stingrr44

  5 pts.

VB Data Report number format

I want number field in Data Report to be formatted like 12,90,565 or 89,675 How to do it Please Help me

Answer Question   |  Dec 22 2008  6:14 AM GMT
Visual Basic, VB, VB Data Report
asked by Try it

  85 pts.

Visual Basic

What would be the code (using regular expression) to match the page , whos title changes during runtime, but we know that it will contain the string "Welcome" in the begining of the title?

Answer Question   |  Dec 18 2008  5:05 PM GMT
Visual Basic, VB, VB Code
asked by Gaby

  15 pts.

Microsoft Visual Studio 2008 Express edition

Hello everybody, i recently downloaded the Microsoft Visual Studio 2008 Express Edition. It has Visual Basic 2008, Visual C# 2008, Visual C++ 2008 and Visual Web Developer 2008 (all Express editions). The problem is i dont know where to start. I have programming background. i have programmed in...

View Answer   |  Dec 17 2008  1:23 PM GMT
Visual Basic, SQL Server 2005, C#
asked by GK

  30 pts.

How do I find the file path to write my file to?

Here is my code and then my question. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim objfile As New System.IO.StreamWriter("C:\Documents and Settings\JOHNDOE\My Documents\THETARGETFOLDER\MYFILE.TXT") objfile.WriteLine("just a...

View Answer   |  Dec 12 2008  11:51 PM GMT
Visual Basic, Visual Basic 2008, %HOMEPATH% variable
asked by TryingHard

  50 pts.

How do I open files through Visual Basic 6?

HOW I CAN OPEN A FILE (DOC, PPT, XLS, MDB ETC) BY CALLING FROM VISULA BASIC 6.0

View Answer   |  Dec 11 2008  9:58 AM GMT
Visual Basic, Visual Basic 6, VB 6
asked by AnandaDebnath

  260 pts.

Sample code for DataEnvironment VB 6

Provide code sample for using of DataEnviornment VB 6.0

View Answer   |  Dec 11 2008  9:57 AM GMT
Visual Basic, Visual Basic 6, Source code
asked by AnandaDebnath

  260 pts.

How to output a text file and separate the data into different fields using VB 2005

i am new at this. This is an example of the data (in notepad) it looks like this.. 1,ABC,12/12/2008 2,DEF,13/12/2008 3,GHI,14/12/2008 4,JKL,15/12/2008 i would like to read only the first line and have each field dim as varchar. The output should be in this form: Field 1 = 1 Field 2 = ABC Field...

View Answer   |  Dec 11 2008  9:33 AM GMT
Visual Basic, VB, VB 2005
asked by Aeiou123

  5 pts.

VB6 and Crystal Reports - Error 20599 SQL not found

sir, i have vb6 base software and when i click for showing crystal base report by package i seen the message error 20599 sql not found please help me

View Answer   |  Dec 10 2008  9:00 AM GMT
Crystal Reports, Visual Basic, Visual Basic 6
asked by Krrish

  25 pts.

Export from Visual Basic 6 to Microsoft Excel file

how to export visual basic6 to excel file

View Answer   |  Dec 10 2008  1:54 AM GMT
Visual Basic, Microsoft Excel, Visual Basic 6
asked by Goood

  5 pts.

How to fill Combo Box at runtime in VB 6.0 ...I've used RecordSet object but rec.count of rs obj returns (-1).I hv enough data in the DB

[Private Sub Form_Load() FillCombo End Sub Sub FillCombo() Dim rs As New ADODB.Recordset, SQL As String SQL = "Select Spare_Name from Spare" rs.Open SQL, Conn, adOpenDynamic, adLockOptimistic Dim i As Integer For i = 1 To rs.RecordCount cboSpare.AddItem rs("Spare_Name") rs.MoveNext Next...

View Answer   |  Dec 6 2008  7:49 PM GMT
Visual Basic, Database programming, Visual Basic 6
asked by Spartanx

  5 pts.

101 - 120 of 342