12,425 Topics

Member Avatar for
Member Avatar for Mr Gates

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 …

Member Avatar for akgs
0
7K
Member Avatar for lerkei

does anyone knows how to input letters and disable inputting an integer or number?... plsss help...tnx

Member Avatar for akgs
0
3K
Member Avatar for trevor.hood.921

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 …

Member Avatar for AndreRet
0
242
Member Avatar for richjohn.bulante

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 …

Member Avatar for JOSheaIV
0
180
Member Avatar for mahela

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 …

Member Avatar for mahela
0
70
Member Avatar for Ramesh Sagar

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 …

Member Avatar for AndreRet
0
198
Member Avatar for mahela

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 …

Member Avatar for AndreRet
0
464
Member Avatar for rumanoid

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 …

Member Avatar for Reverend Jim
0
366
Member Avatar for mahela

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 …

Member Avatar for AndreRet
0
977
Member Avatar for samuel.akpan.1238

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.

Member Avatar for samuel.akpan.1238
0
56
Member Avatar for pardeep3dec

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 …

Member Avatar for Schol-R-LEA
0
284
Member Avatar for Helianthus

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 …

Member Avatar for AndreRet
1
345
Member Avatar for cdsanand

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

Member Avatar for AndreRet
0
42
Member Avatar for darkscythe69

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 …

Member Avatar for AndreRet
0
232
Member Avatar for karthik82vk

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 …

Member Avatar for BitBlt
0
325
Member Avatar for SpectateSwamp

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 …

Member Avatar for SpectateSwamp
0
205
Member Avatar for Steph333

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 = …

Member Avatar for Reverend Jim
0
1K
Member Avatar for joshl_1995

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) ![form2](/attachments/large/3/form2.png "form2") And so where ever i move the form the cmd windows will also follow. Also is …

Member Avatar for artemix22
0
329
Member Avatar for anisha.silva

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 …

Member Avatar for nmaillet
0
288
Member Avatar for ccschaad

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 …

Member Avatar for ccschaad
0
115
Member Avatar for UV1995

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 …

Member Avatar for dimara
0
1K
Member Avatar for jaydipzatakiya10

hi,iam using mditab control in vb8 for making browser.please give me go,back,and another button code.

Member Avatar for nmaillet
0
88
Member Avatar for ashvyas

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.

Member Avatar for kRod
0
169
Member Avatar for Blank808
Member Avatar for Jx_Man
0
162
Member Avatar for dnyaneshwari.phansekar

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 …

Member Avatar for Nutster
0
110
Member Avatar for mahela

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.

Member Avatar for mahela
0
2K
Member Avatar for forjustincase

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.

Member Avatar for AndreRet
0
3K
Member Avatar for Priti Talware

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 = …

Member Avatar for BitBlt
0
154
Member Avatar for newbie26

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 …

Member Avatar for AndreRet
0
97
Member Avatar for krunal1986

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

Member Avatar for apurvac
0
4K
Member Avatar for bkhindri

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 …

Member Avatar for aronhugos
0
737
Member Avatar for bosigosean

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 …

Member Avatar for itismypushkin
0
84
Member Avatar for mahela

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.

Member Avatar for AndreRet
0
1K
Member Avatar for yat862

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 …

Member Avatar for AndreRet
0
2K
Member Avatar for arie92

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 …

Member Avatar for Jx_Man
-1
257
Member Avatar for Skate Bart

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 …

Member Avatar for AndreRet
0
595
Member Avatar for t0kipot

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 …

Member Avatar for shahidpk
0
2K
Member Avatar for sss93

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 …

0
104
Member Avatar for honeybee2090

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

Member Avatar for AndreRet
0
117
Member Avatar for t0kipot

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 …

Member Avatar for AndreRet
0
139
Member Avatar for sriarjun2013

How to create flexgrid control with save & modify & deletaion & cancel button one example

Member Avatar for AndreRet
0
44
Member Avatar for t0kipot

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 …

Member Avatar for AndreRet
0
97
Member Avatar for ohwhatacuteanaconda

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 …

Member Avatar for ohwhatacuteanaconda
0
403
Member Avatar for Tekito

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 …

Member Avatar for MrZerocaL
0
3K
Member Avatar for Oblivi8or

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 …

Member Avatar for Novagrail
1
2K
Member Avatar for infantprgrmr

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 …

0
45
Member Avatar for ronb

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 …

Member Avatar for aronhugos
0
4K
Member Avatar for asrith001
Member Avatar for AndreRet
0
162
Member Avatar for killerSmile

can anyone help me to make a program for multiple choice test using visual basic and ms access???pls ..

Member Avatar for deceptikon
0
107
Member Avatar for newbie26

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.

Member Avatar for newbie26
0
477

The End.