AllExperts > Experts 
Search      

Visual Basic

Volunteer
Answers to thousands of questions
 Home · More Questions · Question Library  · Free Encyclopedia ·
More Visual Basic Answers
Question Library

Ask a question about Visual Basic
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
About Mr Basic
(Top Expert on this page)

Expertise
Questions regarding real world development in VB6 with SQL Server 2000 back end; XML & Document Object Model.

Experience
I have been a software developer for over 7 years utilising VB6 and various databases.

Education/Credentials
HND Software Development.

   

You are here:  Experts > Computing/Technology > Basic > Visual Basic

SubjectDate AskedExpert

Reading text file11/15/2008Mangesh Deshmane
  Q: I am trying to write a simple piece of code that collects two numbers from a line in a text file. ...
  A: here we expect you have only one line in your text file. Now we need separate this data into array, ...
Multiple listboxes11/15/2008Mangesh Deshmane
  Q: I have two list boxes and what i want to do is when i press a button the first LB will display "10" ...
  A: If both the list box having values in sequence / by index , then when you click on first LB i.e. 10, ...
VB11/13/2008Mangesh Deshmane
  Q: I am new user of VB ,i want to devlop the small project using vb and oracle ,can i get the sample ...
  A: To use more than 1 transaction from 1 record set In VB we have to use loop. i.e. do while loop ...
removing blanks in listbox11/13/2008Mangesh Deshmane
  Q: im using this command to add a item in the listbox with one command button. List1.AddItem ...
  A: Dim i As Integer 'counter Dim isaAdd As Boolean 'control on existing item from list 1 isaAdd = True ...
creating popup window11/11/2008Mr Basic
  Q: Respected Sir, i am developing a LIBRARY project, i took two textboxes one for student ...
  A: You will need to place code behind the Key like so: Private Sub txtStudentName_KeyUp(KeyCode As ...
Help in VB11/11/2008Mangesh Deshmane
  Q: Can you help me with this in VB or Excel? I have these data in excel (please note: column # is ...
  A: --------------------------------------- A B C D E --------------------------------------- ...
vb excel11/10/2008Mangesh Deshmane
  Q: I am a beginner in VB Excel. Is it possible to create a Macro to perform data entry onto a VB form? ...
  A: To passing a loop over blank cells is more risky, because in such case u has to know where to store ...
Centralized Path11/10/2008Mangesh Deshmane
  Q: I have prepared a project in VB6 and prepared its database in Access 97.In this project i have fixed ...
  A: while define a Connection use following code and always try to keep a Path in application path range ...
check box11/8/2008Mr Basic
  Q: I want to insert the selected check boxes value in access database i have multiple check box ...
  A: What is your question? Do you have your tables set up or are you wanting advice on table structure? ...
vb excel11/6/2008Mangesh Deshmane
  Q: I am a beginner in VB Excel. Is it possible to create a Macro to perform data entry onto a VB form? ...
  A: As you mentioned you have Form in VBA,1 Button and 2 Text Boxes. So Add a code on Buttons Click ...
Creating a variable for saving a file in EXCEL VB11/4/2008Mangesh Deshmane
  Q: I have a macro-heavy file that at the moment, saves the various files it opens with the name: ...
  A: there is one option in macro is Auto_Open . use this, while u open ur file it will copy ur cell ...
Hi11/4/2008Frank G. Dahncke
  Q: I'm new to VB and I have created a text box to hold total value. I wana restrict this text box to ...
  A: You can't do that with a textbox control, but you can do it with a control named either MaskEdit ...
VBA and time operations11/4/2008Richard Rost
  Q: I would like to know if MS Access has the ability (some function) to fill the time and then ...
  A: Yes, MS Access can do this relatively easily with the Now() or Date() functions. There are some ...
vb and access11/4/2008Mr Basic
  Q: i want to add a search button to VB interface which gives the whole data that about 1 machine that ...
  A: Hopefully I've understood your question correctly. You have inputted a record containing the details ...
Copy11/4/2008Mangesh Deshmane
  Q: I am developing one application, I am unable to the copy the contents of a textbox. Please let me ...
  A: I explain you one easy method for copy. As u r not mentioned here ur size of data. So u do one thing ...
Editing list box items11/3/2008Mr Basic
  Q: Private Sub lstClasses_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As ...
  A: If you have the code I have provided behind the listbox's click event and no code anywhere else ...
Press key to pause or exit macro10/31/2008Mangesh Deshmane
  Q: I currently have a macro that takes a set of data from a test and plots each line on a graph using a ...
  A: In do loop it is very difficult to get value from outside - subject to excel macro. Laso the excel ...
Editing list box items10/30/2008Mr Basic
  Q: Private Sub lstClasses_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As ...
  A: Try coding behind the click event of the listbox instead. 'Module level track of last selected ...
change the direction of backspace10/29/2008Richard Rost
  Q: I want to change the direction of backspace in richtextbox.The backspace deletes character which is ...
  A: Use the DELETE key instead of the BACKSPACE key. Anything beyond that would involve customizing the ...
Do While Loop10/29/2008Frank G. Dahncke
  Q: How do I calculate a total after the Do While Loop has been activated?
  A: You will have to break out of the loop. You can do this in two ways: a) By setting a terminating ...
coding10/28/2008Mr Basic
  Q: How to Open,read,write,close a file ?
  A: Give this a try: Dim intFil As Integer intFil = FreeFile Open "C:\test.txt" For Output As ...
system registry settings10/28/2008Mr Basic
  Q: how to read write a string into system registry during installation time in vb 6.o
  A: Sorry about the delay in getting back to you. You can use the SaveSetting and GetSetting functions ...
compute standard deviation10/27/2008Mr Basic
  Q: I need to write a program in which the user can compute the standard deviation of a group of ...
  A: The code below should work. Create a proj with a form named form1. Add 3 command buttons named ...
access and vb connection10/26/2008Mr Basic
  Q: i am creating an application using access 2003 as database.And all the forms i designed to satisfies ...
  A: Yes you will need a connection string to identify your database. Make a reference to Microsoft ...
For...Next Loop10/25/2008Mr Basic
  Q: I have a question about For...Next Loops in VB.NET. I have to create a small program using the ...
  A: I'm not at a machine with VB so excuse if this is not 100% but the following should be very close to ...
Strip space delimited strings10/24/2008Richard Rost
  Q: I am able to import strings into a visual basic 6 program, but I need to strip the string into ...
  A: There is a SPLIT function which you can use to break this up into an array on any character - in ...
VB5 and VB0510/23/2008Mr Basic
  Q: In VB5 I used to work on access databases like this: Set Ws = DBEngine.Workspaces(0) Set Db = ...
  A: I'm not a .NET developer really. In the little I have done it went something like this.....: ...
C++ Compiler using vb.net10/23/2008Frank G. Dahncke
  Q: i am making a c++ compiler using vb.net i have managed to do most of the job. i am sending the file ...
  A: Yes, it is possible - by using a technique called "threading". However, threading is generally very ...
How to use drivelistbox & filelistbox10/23/2008Richard Rost
  Q: I am trying to use a drive list box on a form to select a specific drive like (c) drive @ run time ...
  A: Brian, explaining how to use these in detail here would take much more time than I can spend. ...
VB Dates10/22/2008Mr Basic
  Q: I have a input form which takes an arrival date in a textbox and similarly the number of nights to ...
  A: What locale is your machine set up for en-us/en-uk etc..? Are the columns you are sending the dates ...
Date formatting10/22/2008Richard Rost
  Q: I have a input form which takes an arrival date in a textbox and similarly the number of nights to ...
  A: It seems like an International Date setting problem. Check your Windows time/date settings and make ...
VBA10/21/2008Richard Rost
  Q: This is NOT a homework question!!! I am working on a project using MS Access 2003 and I need to ...
  A: If you want to refer to a value on a Form, you can use the notation: Forms!FormName!FieldName You ...
How to select a particular string from List Box VB 610/21/2008Mr Basic
  Q: I am new with VB6. Now I am learning list box properties. Can anybody solve my problem? I have a ...
  A: Create a project with a form. On the form add a listbox and a command button and paste the following ...
SQL - retrieving data from the database10/20/2008Mr Basic
  Q: Hey!!! IM STUCKKK :( lol Do you know the code to retrieving data from the database? We are using ...
  A: You need a reference to Microsoft Activex Data Objects library. In your code you will need to place ...
Passing a value from one form to another10/20/2008Richard Rost
  Q: I have two forms both with a field named 'Change Control Number' (both set as primary key in the ...
  A: Just put it in your button that does the form open: FormName.Show FormName.TextBox = Value I'm ...
VB6 and Access Database10/17/2008Mr Basic
  Q: Are you familiar with creating a database programmatically with VB6? I have a problem, and ...
  A: Sorry for delay, been away from machine. I've tried your code and found the following issues: 1) You ...
Importing from Other Excel File10/16/2008Mr Basic
  Q: We have a process where our internal customers submit a request for work, and we export that request ...
  A: VBA is not my area but from what you have told me it sounds like you need to know how to get the ...
vb.....adodc..............10/16/2008Mr Basic
  Q: this is shweta again.............u hav told me to be a bit more clear...........ok fine......... i ...
  A: You need a rererence to Microsoft Activex Data Objects library(I have 2.6) Option Explicit Private ...
regarding combobox in vb.net10/15/2008Richard Rost
  Q: i am fetching data into comobox from a column of a table but i only want unique values to be ...
  A: Use an aggregate query to show unique values. To do this, use an Aggregate Query... also called a ...
save txt file as current time10/14/2008Mr Basic
  Q: txt file but the file name will be the current system time how can i do this?
  A: Try this Dim intFil As Integer Dim strTime As String intFil = FreeFile strTime = ...

Page:   1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10  |  Next      All


Questions by
Active Experts:
Robert NunemakerAmal Raj AMr Basic
Richard RostKevin WatkinsFrank G. Dahncke
Kaustav NeogyGolfnut_1969Mangesh Deshmane
RavindraJonathan D Roach 

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.