10,991 Topics

Member Avatar for
Member Avatar for dbdork

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 …

0
65
Member Avatar for Giffordw

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 ...?

0
67
Member Avatar for janz_03

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 …

0
47
Member Avatar for nipu_haq

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.

Member Avatar for nipu_haq
-1
32
Member Avatar for futgates

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

0
52
Member Avatar for Benniit

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 …

0
56
Member Avatar for veledrom

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 …

Member Avatar for veledrom
0
76
Member Avatar for realone

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

0
49
Member Avatar for ramso
Member Avatar for regi
Member Avatar for QVeen72
0
33
Member Avatar for sddproject

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 …

Member Avatar for Jx_Man
0
57
Member Avatar for loveknights07
Member Avatar for Tekito

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 …

0
65
Member Avatar for dbdork

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 …

Member Avatar for dbdork
0
230
Member Avatar for veledrom

Hi, Is there any way to send a SMS Message in VB6? If so, please share your information with me. Thanks

0
60
Member Avatar for JohnKelly

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

Member Avatar for JohnKelly
0
319
Member Avatar for realone
Member Avatar for debasisdas
0
47
Member Avatar for BORAX

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.....

Member Avatar for debasisdas
0
87
Member Avatar for ahmbil
Member Avatar for QVeen72
0
71
Member Avatar for IShotTheSheriff

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

Member Avatar for QVeen72
0
121
Member Avatar for swapna7999

hi there i want my forms do not move is there any property that sets it at a fixed position thank u very much

Member Avatar for swapna7999
0
75
Member Avatar for VIeditorlover

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 …

0
67
Member Avatar for DGULLIVER

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 …

Member Avatar for maheshsayani
0
136
Member Avatar for abhishek_jammu

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

Member Avatar for maheshsayani
0
69
Member Avatar for efarook

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!

Member Avatar for efarook
0
119
Member Avatar for ashish.bhatia

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

Member Avatar for debasisdas
0
29
Member Avatar for realone

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 …

Member Avatar for debasisdas
0
282
Member Avatar for realone

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 …

Member Avatar for debasisdas
0
132
Member Avatar for Jose_A_Duran

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 …

Member Avatar for debasisdas
0
185
Member Avatar for Benniit

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 …

Member Avatar for jk_bscomp
0
79

The End.