124 Posted Topics

Member Avatar for victor77

Maybe look at the Mod function... interesting, 1462 Mod 365 = 2. Wonder when DateDiff starts?

Member Avatar for SCBWV
0
152
Member Avatar for jayDC

Sounds to me like you want to sunchronize the toolbar on all the mdi forms. Try looping through the forms collection: If you can identify each mdi form by name then you can use: For Each frm In Forms If frm.Name = "mdiform" Then frm.Toolbar1.Buttons(5).Value = tbrPressed End If Next …

Member Avatar for SCBWV
0
725
Member Avatar for pip1975

Its hard for me to follow which forms are which in your example. However, you can use Use fmticket.Text1.Text = fmpay1.Text1.Text to have one form's text box use the value of the other.

Member Avatar for pip1975
0
65
Member Avatar for janvanderpeet

Copy protection usually brings its own set up problems, which I don't care to support in my commercial applications. I imagine that could be a nightmare. I use a key code, that I build into the installation routine and the program. The code is based on the user and company …

Member Avatar for choudhuryshouvi
0
90
Member Avatar for janvanderpeet

Why convert to ADO? I successfully sell a DAO database that runs on everything from 98 to Vista. I'm not sure about 95, but feel confident it would. I've used Access 98, 2000, and 2002-2003 formats. The Visual Studio Installer, or the Package and Deployment Wizard, should identify and include …

Member Avatar for SCBWV
0
104
Member Avatar for pranavdv

Why not use InStr? If InStr(Email$, "@") > 0 Then 'Valid Email Format If UCase$(Left$(Website$, 4))="WWW." then 'valid web format If UCase$(Left$(Website$, 11))="HTTP://WWW." then 'valid web format

Member Avatar for pranavdv
0
136
Member Avatar for guest11

Private Function GetColor(DefaultColor) On Local Error GoTo GetColorError CommonDialog1.CancelError = True CommonDialog1.Flags = cdlCCRGBInit CommonDialog1.Color = DefaultColor CommonDialog1.ShowColor GetColor = CommonDialog1.Color Exit Function GetColorError: 'User clicked the Cancel button GetColor = DefaultColor End Function

Member Avatar for hkdani
0
129
Member Avatar for Qpido

Since it seems the Excel data is populating a text box control, why not use the Change event for the text box to trigger your code?

Member Avatar for Qpido
0
200
Member Avatar for gireeshb22
Member Avatar for kartik07

App.Path is Read Only and is set to the path of the executable file. You shouldn't define this anyway, as a user may chose a different path when installing the program. You can use like App.Path$ & "\Data\MyFile.MDB" and your program will the data directory no matter when the user …

Member Avatar for kartik07
0
149
Member Avatar for complete
Member Avatar for hkdani
0
148
Member Avatar for tgifgemini
Member Avatar for HB25

You can use frmsummary.lblfname0.Caption = frmWage.lblfirstname.Caption or you can put the captions / text in public variables which are accessible to any form.

Member Avatar for hkdani
0
645
Member Avatar for meanjean

File$ = Dir("*.DAT") Do While File$ > "" 'Open and process file here 'Close File File$ = Dir Loop

Member Avatar for SCBWV
0
43
Member Avatar for MCMdizajn
Member Avatar for SCBWV
0
143
Member Avatar for plusplus

The toolbar should be in a CoolBar. In the CoolBar Property Pages, on the Band tab, there's a settign for New Row. Add more then one Band and set the second Band to NewRow.

Member Avatar for plusplus
0
85
Member Avatar for TOROOOLOLOOLO

What database version format are you using? What version of DAO are you using? Also, if you're working strictly with strings, you should use the specific versions of Left$(), Mid$(), Right$(), Chr$(), ChrW$(), UCase$(), LCase$(), LTrim$(), RTrim$(), Trim$(), Space$(), String$(), Format$(), Hex$(), Oct$(), and Str$(). Otherwise, VB uses the Variant …

Member Avatar for choudhuryshouvi
0
141
Member Avatar for SCBWV

I have a VB6 application that uses DAO to read and write MS Access files. Since the program uses Access files exclusives, it was written in DAO instead of ADO. The recordsets within the program are based on queries in the database. I need to add a field to the …

Member Avatar for choudhuryshouvi
0
2K
Member Avatar for Rizza

If the database is on a LAN, you can use Access format quite easily... I do it all the time.

Member Avatar for SCBWV
0
298
Member Avatar for shahriar2403
Member Avatar for locsin

I ran into this on a commercial application I sell. It seems some of the new screens, particularly wide screen flat panels, return a different TwipsPerPixel. I was able to work around the issue by comparing the design resolution with the screen resolution being used (Screen.Width / Screen.TwipsPerPixelX) and adjusting …

Member Avatar for SCBWV
0
617
Member Avatar for christina>you
Member Avatar for millanskie

Why not you Microsoft Visual Studio Installer? The intallation can be uninstalled through the Control Panel.

Member Avatar for jbennet
0
276
Member Avatar for IvanRJ

I'm not exactly sure what you're trying to do, but if you need the dimensions of a picture, why not load it in an autosiing picture box and read the dimensions?

Member Avatar for SCBWV
0
227

The End.