Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. octane

    ADO insert

    I'm using VB6 and SQL Server 7 Here is the code Dim rcd As New ADODB.Recordset Private Sub cmdGuardar_Click() Dim sSQL As String sSQL = "select * from alta_prod where id_prod = 0" rcd.Open sSQL, cn, adOpenKeyset, adLockOptimistic rcd.AddNew rcd.Fields("ID_PROD") =...
  2. octane

    papersize???

    I am working with this code at this time With Printer .ScaleMode = vbCentimeters On Error GoTo Carta .PaperSize = vbPRPSUser '.Width = 21.5 '.Height = 14 PrintRoutine Printer .EndDoc End With SalirImprimir: Exit Sub Carta: Printer.PaperSize = vbPRPSLetter PrintRoutine Printer...
  3. octane

    papersize???

    My paper size = 8 1/2 X 5 1/2 inches I need to print on it I know that .papersize exist I tryed this code Printer.ScaleMode = vbCentimeters Printer.PaperSize = xlPaperUser PrintRoutine Printer Printer.EndDoc but I it doesn't work what's wrong with the code???
  4. octane

    papersize?? help!

    I got this code: Printer.ScaleMode = vbCentimeters Printer.PaperSize = xlPaperUser PrintRoutine Printer Printer.EndDoc my paper form is 8 1/2 X 5 1/2 inches where I have to put the paper size value??
  5. octane

    how can I print??

    I have this example: Private Sub Command2_Click() Dim objPrint As Printer CommonDialog1.Flags = cdlPDDisablePrintToFile CommonDialog1.Copies = 3 CommonDialog1.PrinterDefault = True CommonDialog1.ShowPrinter 'what's next?? MsgBox "The default printer is:" & Printer.DeviceName End Sub...
  6. octane

    how can I print???

    I have this example: Private Sub Command2_Click() Dim objPrint As Printer CommonDialog1.Flags = cdlPDDisablePrintToFile CommonDialog1.Copies = 3 CommonDialog1.PrinterDefault = True CommonDialog1.ShowPrinter 'what's next?? MsgBox "The default printer is:" & Printer.DeviceName End Sub...
  7. octane

    Identity on MS Access

    My sql script look like this create table ENVIO ( ID Integer not null, CLAVE_REM Integer not null, CLAVE_DES Integer not null, FECHA DateTime not null , GUIA Integer...
  8. octane

    relative path???

    My database path looks like this gsDataBaseName = "C:\CVS Mensajeria\cvs2k1.mdb" but if the application is installed into other directory the application does not work how can I put a relative path in my app code???
  9. octane

    Identity on MS Access

    My sql script look like this create table ENVIO ( ID Integer not null, CLAVE_REM Integer not null, CLAVE_DES Integer not null, FECHA DateTime not null , GUIA Integer...
  10. octane

    how can I print from vb's app???

    I have a form with database access and I need to print some records. Can some one show me how to do it??? I don't know if I must print textbox or can I print SQL sentence!
  11. octane

    MSFlexGrid, Help!!!

    I need to fill a MSFlexGrid Some one give an idea I have this code but, it doesn't not work Dim cad As String cad = "SELECT clave_des,comp_des FROM destinatario WHERE comp_des LIKE " & "'*" & txt_Buscar.Text & "*'" Data1.RecordSource = cad Data1.Refresh...
  12. octane

    Converting access programs to stand alone programs

    If I have office 98 or office 2000 can I find the Developers tool. I have a lap top so my info is in cab files. If not please tell me where I can get this info. Thank you.

Part and Inventory Search

Back
Top