You are here:

Visual Basic/Questions

SubjectDate AskedExpert
Adding value in ListView Vb61/23/2012VITALY
  Q: Sir, can you help me with this problem: I am doing a simple POS system to use in my convenient ...
  A: I need more info: 1. What version of Windows are you using (Windows XP, Windows Vista etc.)? 2. ...
Adding value in ListView Vb61/20/2012VITALY
  Q: Sir, can you help me with this problem: I am doing a simple POS system to use in my convenient ...
  A: You can use code like this: Dim TotalSum As Double = 0 Dim TempNode As ListViewItem For Each ...
Adding value in ListView Vb61/19/2012VITALY
  Q: Sir, can you help me with this problem: I am doing a simple POS system to use in my convenient ...
  A: As far as I understand you need a basic tutorial how to work with ListView control - check this ...
reading the log file in vb61/18/2012VITALY
  Q: i am having some problem where need to read the data from the log file. can you show me how to read ...
  A: Use Split function with space as a separator - as a result you'll have an array A, where A(0) will ...
Visual Basic 200812/31/2011VITALY
  Q: Objective: read RFID tag to password field on web page. I can read the tag OK, easy part. Now I want ...
  A: As far as I understand you are trying to mix Windows and Web applications in one project, and this ...
DataReport12/29/2011VITALY
  Q: I am facing some problem with my VB6 Projects. I prepared a billing system for my shop. I use ms ...
  A: Looks like the problem is in DataReport1, the way you design it. I need more info to help you, i.e. ...
simple code to update multiple objects12/27/2011VITALY
  Q: . I'm developing a small simple shop system.. the main page of it is the items list, the items' ...
  A: Because you are using txt file, - and search txt file is not a good idea, - one way to solve your ...
Storing Data12/16/2011Kevin Watkins
  Q: i am new to VB programming.i have created form for updating my business details.with this form how i ...
  A: I apologize it took me so long to get back to you. What you need to do is a bit more complicated ...
if12/14/2011VITALY
  Q: if text1.text="this" and text2.text="that" then label1.caption="correct" else label2.caption="wrong" ...
  A: To go to If part you need to type in text1 exactly 4 letters: t, h, i, s - AND in text2 exactly ...
if12/12/2011VITALY
  Q: if text1.text="this" and text2.text="that" then label1.caption="correct" else label2.caption="wrong" ...
  A: Code looks correct, I'd only suggest to use the same label to display the results (not the 2) - this ...
Storing Data12/11/2011VITALY
  Q: i am new to VB programming.i have created form for updating my business details.with this form how i ...
  A: The code will be something like this: Private Sub Command1_Click() 'Requires ...
UPDATE command Syntax Error12/3/2011Kevin Watkins
  Q: R\Sir i want to UPDATE the previous stored values with new values i write code for this is: ...
  A: For starters you for loops are going in the wrong direction. For on thing: For j = 1 To ...
UPDATE command with msflexgrid12/3/2011VITALY
  Q: RSir i want to UPDATE the previous stored values with new values i write code for this is: ...
  A: You have an error in your update statement: str = "UPDATE ringsize SET 5='" & ...
Locate database through path11/28/2011VITALY
  Q: I am Biplob. I would like to ask you something. I made a program where user can locate database. I ...
  A: You are working with text file. Text file is not a database, just text file. To work with text file ...
run time error '91' occurs when i'm run my project11/25/2011VITALY
  Q: R\Sir i'm using msflexgrid control for saving sub item under a men item i added combo boxes in ...
  A: This error means that the program cannot see the variable you defined elsewhere in this particular ...
creating picturebox11/23/2011VITALY
  Q: i am doing a game in vb.net (the latest version) and in my game the character shoots up(with a ...
  A: First of all, where are you defining variable i? This variable should be form level variable ...
msflexgrid with access table connectivity11/23/2011VITALY
  Q: R\Sir i'm developing a inventory system in vb6.0 in which i face a problem, i' using a msflexgrid ...
  A: Please, check those links: http://www.pbdr.com/vbtips/gen/Article-UsingFlexGrids%281%29.htm ...
vb611/22/2011Kevin Watkins
  Q: i have an application developed in vb6 with access as my database which runs perfectly in the m/c ...
  A: The path is not the file name the path includes the drive and folders were the files can be found. ...
creating picturebox11/18/2011VITALY
  Q: i am doing a game in vb.net (the latest version) and in my game the character shoots up(with a ...
  A: You said: "it stops the current picturebox and restart the same image from the beginning". And you ...
labels11/16/2011VITALY
  Q: I'm trying to find a way to make a label that when you click a button it displays some text, then ...
  A: You can use this code in your command Button1_Click event: Dim i As Integer ...
VB.net split11/16/2011Kevin Watkins
  Q: first of all...thanks 4 ur time.how could i split a text file like "name;category;salary"(5 lines ...
  A: You would need something similar to this: Try REM Test that File Exist and/or file was ...
Visual Basic 6 Help Need.11/6/2011VITALY
  Q: A-o-A Sir. I want to make a global report in Visual Basic by using the query from multi tables. ...
  A: Got to your Access database and select query - New Query and create one query which will return what ...
Visual Basic 6 Help Need.11/5/2011VITALY
  Q: A-o-A Sir. I want to make a global report in Visual Basic by using the query from multi tables. ...
  A: Please check this link: http://www.vbtutor.net/vb6/lesson40.html This page has a very good ...
Merging Excel and Word11/3/2011Kevin Watkins
  Q: I am by all accounts a rookie in programming, and I feel like this is a fairly advanced question so ...
  A: It sounds like you have already started writing a program with MS Office integrated. That being ...
visual basic10/28/2011VITALY
  Q: Create a program using VB 2008 software. Asks the user to enter the name of a State and an amount ...
  A: Create a form with those 4 controls on it: text box to enter State (txtState) text box to enter ...
VBA Array help.10/22/2011VITALY
  Q: I'm new to VBA and trying to get some practice from a couple texts. I'm having problems with this ...
  A: You can use the code like this: ' define array Dim arrBins(9) As Integer Dim ...
Update Record through VB10/12/2011VITALY
  Q: Sir, I am not familiar with Vb. But I need little procedure. I am making a form which contain Emp. ...
  A: To answer your question I need more details: 1) In what database you have Emp. # , Empname , & ...
vba code cipher10/10/2011VITALY
  Q: hey, im new to vba but i know some codes. Im trying to create a shift cipher (dog would be fqi if ...
  A: Change your function Remove(x) something like this: Function Remove(x) tempText = LCase(x) ...
vba code cipher10/9/2011VITALY
  Q: hey, im new to vba but i know some codes. Im trying to create a shift cipher (dog would be fqi if ...
  A: Diamond, This is a sample code for your cipher written in VB.Net, you can update it to your needs. ...
Snmp class.10/5/2011VITALY
  Q: I need a working snmp class coding. I was using SnmpSharpNet.dll but I cannot send get request to ...
  A: Unfortunately, I'm not an expert in SNMP. Please, check this link: ...
Would love your expertise10/4/2011VITALY
  Q: Where do I code a message box to show that the country name or abbreviation a user select is not ...
  A: You need to declare Boolean variable outside your loop. Code could be something like this: Private ...
Save and email macro9/28/2011VITALY
  Q: VITALY, I have a macro attached to a button in excel to automatically send the spreadsheet as an ...
  A: Code you sent me has only code to send e-mail, so I can discuss only the e-mail sending part of your ...
update database9/25/2011VITALY
  Q: I am using Visual basic 2010 and when I update database.accdb with Me.Validate() ...
  A: Looks like something's happening when you "close it and do something in source code " - you do not ...
Sorting identical information9/20/2011VITALY
  Q: I am using VB to read a text file and pull small parts to post in a Excell Sheet. I have been able ...
  A: All you need is to find what is 1st dot position in string. After you have it - let's say it in the ...
Storing + calculating moving average9/13/2011VITALY
  Q: I am having alot of trouble trying to get variables stored into an area so I can have a moving ...
  A: You need to start using Global variables. You entering them right after Class definition, something ...
vb.net read registry9/13/2011Frank G. Dahncke
  Q: I am trying to read registry data that is output from a game (Starcraft 2) Any idea where to ...
  A: First thing before we begin: Do you know how the registry is structured and have you ever used ...
c++ dll, for use in Vb.net9/11/2011VITALY
  Q: I have a c++ project that makes a dll, but I am at a stop trying to get visual basic to read it, and ...
  A: Open your VB.Net project, right click on project name, select Add Reference, it should open pop-up ...
VB68/19/2011Ravindra
  Q: I'm new to VB6. I wrote a program in VB6, used the Package and Deployment Wizard to generate all the ...
  A: this is because the 2nd computer does not have vb runtime files. the setup wizard works fine if the ...
dbgrid32.ocx8/11/2011Ravindra
  Q: I have an application written in VB6 which utilises a dbgrid control. When I package and deploy this ...
  A: this is because the second computer has not got vb6 installed. these controls like dbgrid are not ...
SELECT with GROUP BY Joined to Subquery7/28/2011Frank G. Dahncke
  Q: I have been having problems trying to get this to work. Basically, what I'm trying to do is get the ...
  A: Interesting problem :) It seems to me, that this is a problem of the parser: you as a human might ...

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

Visual Basic

All Answers


Answers by Expert:


Ask Experts

Volunteer


VITALY

Top Expert on this page

Expertise

Area of expertise is Visual Basic .NET (VS 2008 and Framework 3.5) design and development for Windows applications. You can ask me any Visual Basic questions and some questions about .NET Framework. You can also ask me how to use Component One controls in Visual Basic. Do not ask me questions about Web design and development in Visual Basic.

Experience

I'm working as VB programmer from 1997, so I have a lot of experience with Visual Basic .NET as well as Visual Basic 6. Area of expertise is Visual Basic .NET (VS 2008 and Framework 3.5) design and development for Windows applications; Component One controls for Visual Basic; User controls; Moving VB6 applications to .NET.

Education/Credentials
B.S. in Computer Science

©2012 About.com, a part of The New York Times Company. All rights reserved.