12,425 Topics
![]() | |
Here's an example, but Visual basic gives me an error when trying to run it. Say I wanted to ask the user for their name, then display it like: "Hello there" strName By the way, my CDs finally came Friday, so I have VB .NET, but this was done in … | |
does anyone knows how to input letters and disable inputting an integer or number?... plsss help...tnx | |
Hi, I'm Trevor Hood. I'm an aspiring game developer from California trying to make sense of some intermediate to advanced topics in Visual Basic, XNA and Silverlight. I am also interested in learning more about: * Theory and Practice of Game Design * Game Engines * HTML/CSS/PHP/JavaScript * Eiffel Programming … | |
hi there ahmm, in creating or implementing a face recognition in an system is advisable because we have an onlie poject wherein we must get the time in and out of a user that is register in the system. the problem is we do not have any background in terms … | |
I use following codes in my project. Dim cnCheck As ADODB.Connection Set cnCheck = New ADODB.Connection Dim rsCheck As ADODB.Recordset Set rsCheck = New ADODB.Recordset cnCheck.Open "provider = microsoft.jet.oledb.4.0;persist security info=false;data source = " & App.Path & "\MyDatabaseNameHere.mdb" cnCheck.CursorLocation = adUseClient rsCheck.Open "SELECT * FROM yourtablenamehere WHERE id=" & txtid.text … | |
Hi, My query is: On clicking the button i get a form where i can enter the text in text fields namely, HEADER, NOTES and FOOTER. The entered data is saved. But when i open the fresh form, the previously enterd data will be displayed. Could you please help me … | |
In my project I used a datagrid and Adodc.datasource of datagrid is Adodc.there in Adodc properties I select "use connection string".I used Microsoft jet 4.0 OLE DB provider and select the connection path to the database as "F:\project\super.mdb". Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\project\super.mdb the path sould be valid when runing the program in … | |
I am making a program for school where the user has to choose a chapter to learn. when the user has choosen one i want to use a text file where all the words are in: for example In the program you choose chapter 5 then the program has to … | |
I made a vb project and there i use a database as "super.mdb".My database is located at mydocuments. So i used the path(c:\mydocuments\super.mdb)in forms of my project to connect the database with my vb project. After making my project as a setup file, I installed it in my system and … | |
I am a final year of student of a Polytechnic in Nigeria and into Software. I want develop a software using either Visual Basic 6 or Visual Basic.Net I dont know wat exactly to even develop, I'm just confuss and need help. | |
Dear Experts,can we make dll in turbo c and use that dll in vb 6.0. Actually i have a program in c and it has so many constant 3 dimensional array.I have to use some API which can not be used in turbo c so i am planning to make … | |
I have been struggling with this for 4 days - Please help. I have attached a copy of my code with the hope that someone here can give me some insight as to what I am missing. (This is a homework assignment, so please keep that in mind. I am … | |
i need to store data from msflexgrid to msasscess. in one record 6 rows and 5 coloums of flexgrid data to be stored in msaccess. columns header contains "particulars", nos, gweight, nweight, "remars" is necessary to use array pls let me know the codes thanks | |
Below I have two subs, once RearrangeDecks is run, it will call moveToEnd(p1stat,p2stat). I get p1stat and p2stat from a different sub used earlier. However when I run it, it gives me back an error saying "**Arguments not optional**" as well ass highlighting the first offset word in the sub … | |
Hi, I am creating an vb application that compares two data's pasted in two mshflexgrid. The data's will be copied from the source to the flexgrid control using clipboard. I have coded all the needed things. I just want to remove the unwanted empty cells that are displayed in the … | |
Lately I have been using the program name to control the program execution. If the name has "random" in it then random. If it has "mix" in it then it plays / displays a mix of text and video - pictures - audio. The 3 program prompts are set based … | |
Hi, In my game of Battleships, I am trying right now to randomly generate ship placement for the computer. I have made the program generate one particular spot in the grid using code like this: While CPlacementX > 5 GenerateCoords() End While For Each label In Me.Controls If label.Tag = … | |
Hello Community, I was wondering if there is a way to stick a cmd window/process that i called from my vb form to the bottom of the form like the picture: (below)  And so where ever i move the form the cmd windows will also follow. Also is … | |
hi i am trying to build an application coded in C# and i has using MSFileIO = Microsoft.VisualBasic.FileIO; and giving an error "Error 1 The type or namespace name 'FileIO' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference?) UZipDotNet " how do i add the … | |
hello, I am trying to make an excel spreed sheet that will always be adding more option buttons in sets of six. Each Set of six will be doing basicly the same thing just one row below the last. Is there any way to assign a option button to call … | |
Hi all! I need help with Visual Basic I am trying to build a program in which the user types a question into a text box. Then the program looks for that question in a database (access database to be specific) and returns the appropriate answer from the database. I … | |
hi,iam using mditab control in vb8 for making browser.please give me go,back,and another button code. | |
I want 1 dialog box which is having a login username and Password field. ANd it must have 12 buttons. whenever i click on any button, it must open 1 Excel sheet associated with it. Just want 1 skeleton code. | |
**Can you help me with this** TEXT will not accept the number zero and negative numbers. | |
The employees of our company are using an India Cash Program application that displays records and data according to search criteria and also genertes reports.It is built using VB6.0,sql server 2005 and crystal report 8.5 .The application is used daily from an .exe file that is installed on all computers.The … | |
In vb6 I installed in my computer it has microsoft windows common controls 5.0(sp2).I want to know how to have full row select option in listview component.how can i select full row at listview.in listview properties there is no fullrowselection check box.it has only 5 chechboxes. | |
How can I connect my msacces database and use SQL query command like "Select Field FROM Table Where Field1 = foo AND Field2 = foo2" in Visual basic 6 and display the query result to a textbox. | |
![]() | Option Explicit Dim mem As Double, ans As Double, desi As Boolean, n As Double Dim no1 As Double, no2 As Double, fact As Integer, i As Integer Dim operation As Boolean, op As String, res As Double, index As Integer Private Sub cmd1divide_Click() n = Val(Label1.Caption) If n = … |
hey..can somebody help me? how can i make this work? one pc has a vb6 application which added a record in the database (mysql) and when he/she had already added a record, a pop up message will show to the another pc that a new record has been added to … | |
hi, i have just migrated from CR8.5 to CR9. now i want to run/display Crystal Report 9 on client machine without installing it there. so, which .dll required for this situation? thanks, krunal | |
I am trying to use an IF statement to enable/disable command buttons; however, I get the following error message "Run Time Error '424': Object Required". The "cmdDeptStoresMC.Enabled=True" is highlighted in yellow when I run the code. Please assist. Below is my code: Sub Check_AccessRights() Dim X As String Dim Y … | |
William is interested in numbers. His friend Mary has been programming using Visual Basic and has told William about the Radom Number facility that the programming language provides. William never takes anything for granted and says to Mary: “I wonder how good this random number generator is. Suppose you write … | |
I have two forms as form1 and form2 in my project.in form1 it has textbox as txtid. I take n=txtid.text in from1.then how can I use the same value of n (got at form1) applicable at from2. | |
hi, i have a problem of Index was outside the bounds of the array. i don't understand how to amend the existing solution in my case. anyone could help me? the message error is System.IndexOutOfRangeException {"Index was outside the bounds of the array. below is the code & the error … | |
i have 5 form that with 4 form to enter input and the last form is to make a calculation and display the output.But the problem is,i cannot get the calculation and the output to be played because the last form does not attach the input that i have enter … | |
I'm using a MSHFlexGrid (fgdVehicle) to input data from a database ( via a recordset (rsVehicle) ). You can either enter the data into the database in two ways : 1. From the database application 2. From a form. The problem is present in the second method. There are specific … | |
hi, can u help me my Datagrid which connected to ADODC1 was updating evrytime i click my ADD command button, then i made another command button to CLEAR what data is in the grid, i used this codes to do that but always error like this "KEY COLUMN INFO IS … | |
Hey so I have a customer form which has two buttons and displays contact data,containing a simple cancel and proceed. The main functionality is behind the proceed on_click handler.Becuase I want to determine whether the the entered details belong to a new person or just edit. I have got the … | |
i want to add items from webbrowser to listview i had use these codes to add in text1.text text1.text = WebBrowser1.Document.Body.InnerText now i want to use listview i try this LV.ListItems = WebBrowser1.Document.Body.InnerText but its wrong need lil Help with this code | |
hi, my command button sets its function to get the sum of my daily income. And when i click it again the sum will become double (EVERY CLICK) so i want to my command button to WORK by only 1 CLICK. example 10 + 10 = 20 when i click … | |
How to create flexgrid control with save & modify & deletaion & cancel button one example | |
Hi, help me please I have a project that gather the total cash of my customer. First when i click the 1st total button, the cash value will go to adodc1. Adodc1 is set for DAILY cash values inputs. After multiple cash value in the adodc1 i need to total … | |
I need assistance with using Keypress to only allow a certain range of numbers (1-26) to be typed into the textbox. When ever I do it, it only allows me to press the numbers "1 and 2". I'm very new to VB so the help is much obliged. I know … | |
I am new to Visual Basic 6 Class Modules and am having difficulty constructing a certain class. First off, I created a simple class, which is basically an array with some basic properties (Sum, etc). Next off, I want to create another class, which has these arrays as properties. As … | |
Hi. I'm fairly new to VB.NET programming, and i'm currently developing an application for the sake of experience. What i know about Visual Basic programming might be considered dangerous, but none the less, i'm trying. I'm having difficulty getting past the idea of how to update a record in a … | |
Hi, I am new into Visual Basic programming and I am using a VB2010 Express. I've been working on something and so far managed to achieve results by refering to different articles online. Now I am stuck at the serial communication part. Can anyone please help me describing how to … | |
i wrote and compiled an vb 6 program on a windows xp sp2 box i am trying to run the program via a batch file from an nt box i get this error: runtime error 91: object variable or With block variable not set the program runs under the scheduler … | |
hi i need a code for update a record in vb6 i am using ms acess and ado | |
can anyone help me to make a program for multiple choice test using visual basic and ms access???pls .. | |
hey..can someone help me?? i have a html/php file with a command button and when i clicked it, it will run the exe file of a vb6 application. how can i do this?can i have sample code?? thanks in advance. |
The End.