10,989 Topics

Member Avatar for
Member Avatar for RahulV

[code=visualbasic] Private Declare Function Function_Name Lib "user32" () As Datatype [/code] I've found such lines used in many VB6 projects and tutorials. What is it? What actually is this used for? Are there more such function? How to find out more such function/properties? A detail explanation will be helpful and …

Member Avatar for vb5prgrmr
0
5K
Member Avatar for firoz.raj

can anybody tell me why i am getting type mismatch error in checkinput function.Here is the code what i have written.error is generatiing from bold line. [code] Private Function CheckInput() As Boolean Dim row As Integer, itemCode() As Integer 'At first always Test for Empty TextBoxes If Combo1.Text = "Dept …

Member Avatar for vb5prgrmr
0
176
Member Avatar for firoz.raj

Can anyone tell me .why i am getting error item cannot be found in the collection corresponding to the requested name or ordinal.error is generating on bold line.Here is the code what i have written. [code=vb] Private Sub Command1_Click() y = MsgBox("do you add this record", vbYesNo + vbQuestion, "message") …

Member Avatar for vb5prgrmr
0
100
Member Avatar for baby_1

it means the new exe file is a copy of old file ( but its neccessory to see content of old exe file and save the texbox not use filecopy in vb6)

Member Avatar for cguan_77
0
67
Member Avatar for winrawr

I've tried everything, and I just can't get my program to compile in visual basic. Someone tell me what I'm doing wrong? see attached image, are the includes in the wrong spot or WAT!??!?!

Member Avatar for winrawr
0
812
Member Avatar for oscarresonable

Hello everyone, I have a project that the user can create/customize a report in a form,.. And in my project I have a form where user can choose a multiple tables, and also user can choose which fields they put in the report form..............., but the main problem is only …

Member Avatar for vb5prgrmr
0
99
Member Avatar for oscarresonable

Hello everyone, I have a project that the user can create/customize a report in a form,.. And in my project I have a form where user can choose a multiple tables, and also user can choose which fields they put in the report form..............., but the main problem is only …

0
55
Member Avatar for Henry Schubel

I'm not even sure where to post this, but since I wrote the code in VB6, maybe here... This is really more of an Outlook problem, but what I'm doing is programatically creating email. Here's the problem. My VB6/Access application is installed on a Vista machine, and the host machine …

Member Avatar for Henry Schubel
0
108
Member Avatar for nitu_thakkar
Member Avatar for nitu_thakkar
0
143
Member Avatar for RahulV

Hi, How can i open a PDF file in Form instead of using a shell to open it? Also i want to select some text in the opened PDF file and store it in a variable. Thank you.

Member Avatar for SlyMaelstrom
0
629
Member Avatar for ryan311

i have error to my code in the bold word! [code] Set rs = New ADODB.Recordset Set rs1 = New ADODB.Recordset Set rs2 = New ADODB.Recordset rs.Open "Select * from temp where pcode='" & txtEdit.Text & "'", cn, adOpenKeyset, adLockPessimistic rs1.Open "Select * from product where brandname='" & txtEdit.Text & …

Member Avatar for vb5prgrmr
0
308
Member Avatar for kamae

Hallo guys, it is me again. I need help how to create a simple backup file by just copying a file to another folder. Look at my code. [ICODE]Private Sub mnuBackup_Click() Dim SourceFile, DestinationFile As String On Error GoTo FileCopyFailed SourceFile = "D:\MyWorks\data\facility.mdb" DestinationFile = "D:\MyWorks\backup\facility.mdb" [COLOR="Red"]FileCopy SourceFile, DestinationFile[/COLOR] MsgBox …

Member Avatar for vb5prgrmr
0
95
Member Avatar for ryan311

im using adodb connection. . please help how can i load the data save to my table in database name SUPPLIER in mshflexgrid using textmatrix? thanks. . more power for daniweb.

Member Avatar for abu taher
0
71
Member Avatar for ryan311

it is possible? if the user in the running time, click the close button or the X button that we can see in the top of the form and then if the user click the close or X button message box will appear "you cannot log out"? how can i …

Member Avatar for vb5prgrmr
0
114
Member Avatar for SlyMaelstrom

This actually pertains to Visual Basic for Application in Access 2003, but I imagine that this forum should yield accurate information for a simple query such as this. Naturally, the event in the title does not exist. Not for the pre-defined text box control in VB, anyway. However, it is …

Member Avatar for SlyMaelstrom
0
152
Member Avatar for jaasaria

hi guyzz im using crystal report for my application... i have problem in making formula in details parts of my report.. i access two tables in making the details, but my problem is to display the amount by subtracting or adding the details amount.(for getting the running balance.) plss see …

Member Avatar for jaasaria
0
134
Member Avatar for PinoyDev

Good day.! I have created a menu editor with a name File. This file menu contains a popup menu which is(back-up database,restore database,logout). With this popup, i want to add an icon on the left sides all of them. Does any one there can help me pls. this is how …

Member Avatar for PinoyDev
0
463
Member Avatar for RahulV

Consider this VB6 source code [code=visualbasic] Public bc As Boolean Dim x As Long Private Sub Command1_Click() If bc Then MsgBox x Exit Sub Else Call exec End If End Sub Private Sub Command2_Click() bc = True Call Command1_Click End Sub Private Sub Form_Load() bc = False End Sub Public …

Member Avatar for hkdani
0
168
Member Avatar for dev_kc

I am not able to create object for word doc,this is the code i wrote,the object sets to nothing,when i run the code If blnChkFirst = False Then Set owordapp = CreateObject("Word.Applicatiion") Else Set owordapp = GetObject(, "Word.Applicatiion") If Err.Number <> 0 Then Set [COLOR="Red"]owordapp[/COLOR] = CreateObject("Word.Applicatiion") owordapp.Visible = True …

Member Avatar for cguan_77
0
83
Member Avatar for baby_1

Hello I wanta to create a program that send data between two computer with phone like( such as hyperterminal jobs). i created some programs that send data between each other only by a wire (com1) now can any one tell me how can i send a file between two computer …

Member Avatar for baby_1
0
82
Member Avatar for Elmismo

I try to connect by ODBC 3.51 and I get connection and I can get data from MySQL database and show it in my VB 2008 Express Edition, but when I want to AddNew or Update something it gives me an error property "Item" is "ReadOnly" (about my rs). This …

Member Avatar for vb5prgrmr
0
147
Member Avatar for fancy2

Hello, I need to create a Basketball Simulator Which requires two teams of five players each. Each player will have an offensive rank and [B]defensive rank (8-10)[/B] and a [B]shooting percentage of (55-80). [/B]The rankds rankds are randomly generated and displayed on the form. [COLOR="Red"]This part I have accomplished.[/COLOR] Once …

0
44
Member Avatar for venomocity

Alright my family of geniuses here is my new dilemma. In a card game I have created via VB6 I thought it would be great to spiff it up with music during game play. The problem however is I have no idea where to begin. I have read some posts …

Member Avatar for venomocity
0
166
Member Avatar for sal21

[url]http://www.x-rates.com/cgi-bin/cgicalc.cgi?value=1&base=EUR[/url] Based the link how to count element in table of this page? note: is the table where are all currency values tks. in vba please

Member Avatar for vb5prgrmr
0
122
Member Avatar for Asid

Hello to all I am working in VB6 and crystal report 9.0. I can pass parameters to a crystal report throgh programming but it does not solve my problem. I have successfully created a report template using template field objects. Now I want to to assign the values to these …

0
50
Member Avatar for kamae

I need help in using "[COLOR="red"]between[/COLOR]" sql function. I don't know how to use it. I am comparing two time using [COLOR="red"]dtpicker[/COLOR]. The time should only be acceptable if I input between 6:00am and 6:00pm like 7am, 8am,.........6:00pm. 5am below and 7pm above are not acceptable. In need help. . …

Member Avatar for kamae
0
92
Member Avatar for jwill55

Hello everyone..How do i create a user manual or the instructions of the software in vb6? Is it possible to pattern the manual with the manual of mysql or the like.. Another question. How do i populate my treeview in vb6 from a mysql database?? Any help would be very …

Member Avatar for debasisdas
0
1K
Member Avatar for nagatron

Hallo to all, I am making an application that will target a particular link in the internet as if some is clicking it. I have a button target. Can anyone help me? please Regards, Neil

Member Avatar for javmedia
0
214
Member Avatar for aparnesh

My project needs to read records from a CSV file. The file contains 3 columns of data. Record is continuously being appended to the file by another application (about once every 6-8 seconds), and my application is to read the records and store the new ones. I am currently opening …

Member Avatar for vb5prgrmr
0
125
Member Avatar for rudasi

Hello, I created a program which converts . xls to .csv. The problem is that the .csv file does not have similar formatting such as the column width is reduced causing dates to show up as ######. Does anyone know how I can solve this formatting issue. Thanks, Rahul

0
59

The End.