Visual Basic Questions and Answers

Recent IT Questions

81 - 100 of 342

Disable Form Controls in VB 2008 until selected

Beginning prog. student here... I have a form with multiple controls, and i want everything to be disabled except the datetimepicker. Once a date is selected, it should make the whole form usable. I've searched the web, and can't find the right solutin. I found this sight, and hoping someone can...

View Answer   |  Mar 5 2009  8:35 AM GMT
VB 2008, Focus and Selection, Inactive Selection
asked by Jacobass

  5 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   |  Feb 24 2009  12:53 AM GMT
Visual Basic 6, Variables, VB 6
asked by Jmbritto

  5 pts.

How to use button created by Crystal Button in VB forms

how to use export external button creaTED by s/w in vb forms

Answer Question   |  Feb 22 2009  10:42 AM GMT
Windows Forms, Visual Basic, Crystal Button InMotion
asked by Viral

  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.

View Answer   |  Feb 20 2009  7:45 AM GMT
Visual Basic 6, VB 6, VB6 Command Button
asked by G1218

  5 pts.

Toggle text between red and black

How do I write a program on VB 2008 that allows the user to use a button to toggle the color of the text between black and red?

View Answer   |  Feb 18 2009  6:07 PM GMT
VB, VB 2008, Visual Basic
asked by Lauren6

  5 pts.

Suggestions for VB.NET 2005 projects

helloo....i needed some ideas frm u all for a project that me nd ma members have to do within 2-4mnths...we came up wid ideas such a lan chat program,college mgt systems....do any1 else have any otha ideas or suggestion???we will be working on VB.Net....

asked by Rinsa

  150 pts.

VB.NET app cannot login to SQL Server 2005 after upgrade from SQL Server 2000

I have a VB.Net application which connects to an SQL2000 database and I recently upgraded to SQL2005 and after the upgrade my app does not want to connect to SQL2005 using the same password I used to connect to SQL2000. if I change the login password to all uppercase characters in SQL2005...

View Answer   |  Feb 13 2009  10:22 AM GMT
VB.NET, SQL Server 2000, SQL Server 2005
asked by Sanisto

  35 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

View Answer   |  Feb 11 2009  10:57 AM GMT
CRViewer, VB 6.0, Crystal Reports 8
asked by Madhura12

  10 pts.

TextBox problem in Visual Basic .NET 2008

My listbox1 and the textbox1 (multilines properties) When double_click the listbox1, textbox1 = data from list box Being that the user has to do the event(double_click)several times how do i code the textbox1 to have all the the results of the events? If the user for example double_click 3,4,5 or 6...

View Answer   |  Feb 7 2009  6:05 AM GMT
VB.NET 2008, TextBox, ListBox
asked by Ajibola

  80 pts.

What are the containers available in VB 6.0

containers available in vb 6.0

asked by Engimca

  5 pts.

VBA/VB code to edit hyperlinks in PDF files

Hi, How do we read the content in a pdf file. I have some sample pdf where I have to edit already existing hyperlinks . Thanks in advance.

Answer Question   |  Feb 4 2009  12:16 AM GMT
Visual Basic, VBA, PDF hyperlinks
asked by Iamfromhyd

  20 pts.

How to make installer of VB.NET including SQL Server 2000?

I had done my project in vb.net with sql server 2000 but it's installer doesn't work properly as it displays the message unexcepted error while connecting to the database.I know setup and deployment in vb.net but doesn't working please help me.I am stuck in here.thanks in advance.

View Answer   |  Feb 3 2009  11:32 AM GMT
Setup and deployment, SQL Server 2000, VB.NET
asked by Rebi977

  45 pts.

Problems saving data in tables in Visual Basic 2008

I cant Save any data in tables when i pressed the save button icon in vb 2008

View Answer   |  Jan 30 2009  9:12 AM GMT
Visual Basic 2008, Visual Basic, Database programming
asked by Anandprabhu

  5 pts.

How to convert from a project from Visual Basic 2006 to 2008?

hello, i want convert my visualbasic 2006 project to 2008 i tryed almost everything and still dont know how... anyone got a idea? Thank you Greetsz

asked by YoungIT

  10 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 ...

View Answer   |  Jan 22 2009  7:03 AM GMT
VB error handling, VB, VB 6
asked by Mayuri

  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 ?

View Answer   |  Jan 20 2009  8:13 PM GMT
Diagonal matrices, VB 6, Visual Basic
asked by Frankly747

  25 pts.

I need to up load an excel file to sql server db with vb

I need to upload a excell file to sql server. I made a Stored procedure with the openrowset but if i run de stored procedure works, but embebed in visual basic or in crystal repor an error appears.Somethig about serverliked or server trusted i don't rememeber. does somebody an idea? thanks in...

asked by Xs40

  10 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...

View Answer   |  Jan 15 2009  10:18 PM GMT
Diagonal matrix, VB 6, Visual Basic 6
asked by Frankly747

  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   |  Jan 15 2009  6:44 AM GMT
VB 6, VB Data Report, Visual Basic 6
asked by It3ckat

  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 ... ...

Answer Question   |  Jan 9 2009  11:51 AM GMT
Microsoft Excel, VB, VB 6
asked by Mayuri

  155 pts.

81 - 100 of 342