10,991 Topics
| |
Here is my code: If optName.Value = True Then Dim strWhere As String Dim ctl As Control Dim varItem As Variant 'make sure a selection has been made If Me.List1.ItemsSelected.Count = 0 Then[COLOR="Red"][/COLOR] MsgBox "Must select at least 1 employee" Exit Sub End If 'add selected values to string Set … | |
I need to build a string and then interpret that string as the name of an element in a defined array. Concatination of the string is easy. strCard = R2_5 & "(17)" How then to put strCard into If(strCard = 1) Then ...? | |
im trying to make a error trap for my program. my program is all about receiving report module, i have to modules, receiving report entry and update. and my problem is how can i make a code if one of the receiving report items were not found in the purchase … | |
hi, i'm working with a project. i'm using data report. i'm using defarent kind of paper size. pls tell me some one how can i use defarent kind of page setup using vb code. | |
Hello guys,please help me here. Am having a problem with my listview because i cant ediit or delete records in my list view.Please assist me with the codes here | |
My problem is, i use sql 2000 server, and i'm able to display records on the datagrid. Now, I'm able to display the checkboxes beside the rows of the datagrid. Now, I want whatever row the user checks, the recordset of the datagrid should move accrodingly. Whether the rows have … | |
Hi, I use Oracle database with vb6. [code]Label6.Caption = rcsetFran.Fields(0)[/code] generates 'Type mismatch and Variable uses an Automation type not supported in Visual Basic'. 0 is a autonumber column. Solution is to use 'Use a variable of a type recognized by Visual Basic'. If i do this, i cannot use … | |
pls how do i Creating a dynamic report with crystal report 10 in vb 6.I want to display the report by the output of my query result | |
Hi!! I have a problem to connect VB to Mysql database | |
hi can anyone help me out in suggesting a way to connect oracle and VB6. | |
Hi I was wondering if anyone knew how to make a highscore list in VB 2005. This is for my project which is basically a quiz, and I would like the user to be able to click on the highscore button so that they can see their name, ranking and … | |
HELP.. It Is Possible to copy a form,image or pic box to be paste in Ms word | |
I have an app in VB w/ Excel that uses the Microsoft Solver feature. In order to ensure functionality of the Solver I run the line: Application.Run ("Solver.xla!Auto_Open") when starting up the program. I have now discovered that for some reason, after running this line, a listbox (that is totally … | |
Okay here is my code: If optName.Value = True Then Dim strSQL As String strSQL = "SELECT * FROM Usages WHERE UsageID = " & List2.Text & "" Adodc1.RecordSource = strSQL Adodc1.Refresh Refresh is causing an error in from clause?? I tried setting my adodc1 to an adcmdunknown recordsource, with … | |
Hi, Is there any way to send a SMS Message in VB6? If so, please share your information with me. Thanks | |
Dear All I am using the API calls to ReadFile and WriteFile to access data coming in on serial ports and sending commands out to devices on Serial ports. Everything works fine in the VB6 developer. When I compile the programme I can compile to P-Code and everything works fine. … | |
pls help, i need a vb6 code to compare images in a database and returning query of duplicate | |
i have in vb6 2 proyects in one.....now there group into one....but from proyect 1 how can i call a form from proyect 2.... Example From Proyect1 From1 a Comand Click To open or Call Proyect2 Form2 To show.... Please help if is posible..... | |
Hello is it there any function to know the size of a dynamic array? | |
Does anyone have a custom function to Remove a child node from a TreeView and move it to another child? That may not make sense, so here's an Example: [code] Private Sub Form_Load() Dim Test As Node Dim Test2 As Node Set Test = TreeView1.Nodes.Add(, , "Testing", "Testing") Test.Expanded = … | |
hi there i want my forms do not move is there any property that sets it at a fixed position thank u very much | |
Hi, I am bound to use VCF15.ocx and need to set printer programmatically. According to the help file it can be done via PrintDevMode property, but there isn't any *working* example available. Any ideas? Thanks! PrintDevMode Property Member of: F1Book, F1BookView Remarks The DEVMODE data structure contains information about the … | |
Hi, I have a custom control that we delevoped, I Added a new property to the control hence breaking compatability. I re-compiled all applications with the new version of the OCX and released them to TEST. All applications passed testing and was delivered to our client. All these app's with … | |
hw cn i enter & save data in a form which is a subset of another form(database) that is already populated. i want that when i update this record it automatically gets saved in the mother database against the respective record | |
Hello everybody, I want to make an installer of my VB6 app so that it installs all the required files, create database, tables, Stored Procs in MSSQL 2000. Is there anybody who can give me some idea on this? Thanks in advance! | |
hi I am facing a problem in vb with crystal report the code is as under : on running it is some showing error in formula mn = Cmb_Mnth.Text yr = Val(Cmb_Yr.Text) Crpt1.Connect = "UID=sa;PWD=;DSN=WORK" Crpt1.ReportFileName = "D:\WORK\REPORT1.RPT" Crpt1.SelectionFormula = "{Emp_Bill.bl_mnth} = " & mn & " " And "{Emp_Bill.bl_yr} … | |
Thank u so much for sending this code,and i appreciate it so much.But i need to be able to move foward by getting thesame code that will save into the database,Others conversion i used were'nt working.Pls help me with the code that will save in to the database(SQL server) with … | |
i am developing a project so it involves working with picture.i have a code in vb6 that can retrieve image from the sql server,the code is this.And i need exact of such code that will be able to save into the DB,to avoid disparity in the binary conversion. Dim CN … | |
I've been using VB 6.0 for a long time and this is the first time that I run into this. When I make changes to a project and try to save it, VB gives a message "File [name of the project.vbp] not found". I've checked that I tried to save … | |
Please I've been struggling to use a [B]datagrid control to display records with check Boxes in VB 6.0 [/B] but which I could not, and has been come a headache for me. Can any kind persons/Gurus help me solve this burning problem? For God's sake. I've been going from site … |
The End.