Jump to content
Fivewin Brasil

vmolina

Membros
  • Posts

    40
  • Joined

  • Last visited

Posts posted by vmolina

  1. Pessoal boa tarde,

    tenho o seguinte código:

    DEFINE DIALOG oDlg RESOURCE "senha" TITLE "Acesso do usuário"

    REDEFINE GET oGetLogin VAR cLogin ID 101 OF oDlg

    REDEFINE GET oGetSenha VAR cSenha ID 102 OF oDlg

    REDEFINE BUTTON ID 103 OF oDlg ACTION (lOk:=.t.,oDlg:end())

    REDEFINE BUTTON ID 104 OF oDlg ACTION (lOk:=.f.,oDlg:end())

    ACTIVATE DIALOG oDlg CENTERED

    A dúvida é a seguinte, tenho uma tabela criada no bd mysql gostaria de autenticar essa senha e usuário na tabela que criei.

    Como devo proceder?

    Desde já agradeço a todos pelo espaço.

    Vitor Molina

    vitormolina@gmail.com

    FW 10.12 + xHarbour 1.2.1 (6717) | BCC 5.82

    Editado por - vmolina on 02/02/2012 08:56:27

  2. Boa tarde pessoal,

    Estou com dúvida na hora que vou compilar meu arquivo PRG.

    Compilo o programa abre normal, porém na tela DOS aparece a seguinte mensagem:

    Compiling 'VITOR.prg' and generating preprocessed output to 'VITOR.ppo'...

    VITOR.prg(15) Warning W0001 Ambiguous reference: 'COR_TEXTO'

    VITOR.prg(16) Warning W0001 Ambiguous reference: 'COR_FUNDO'

    VITOR.prg(17) Warning W0001 Ambiguous reference: 'OFONT'

    VITOR.prg(22) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(30) Warning W0001 Ambiguous reference: 'OFONT'

    VITOR.prg(30) Warning W0001 Ambiguous reference: 'COR_FUNDO'

    VITOR.prg(30) Warning W0001 Ambiguous reference: 'COR_TEXTO'

    VITOR.prg(224) Warning W0001 Ambiguous reference: 'COR_FUNDO'

    VITOR.prg(225) Warning W0001 Ambiguous reference: 'COR_TEXTO'

    VITOR.prg(232) Warning W0001 Ambiguous reference: 'COR_FUNDO'

    VITOR.prg(232) Warning W0001 Ambiguous reference: 'COR_TEXTO'

    Lines 238, Functions/Procedures 7

    id=red>

    Generating C source output to 'VITOR.c'...

    Done.

    Borland C++ 5.82 for Win32 Copyright © 1993, 2005 Borland

    vitor.c:

    Borland Resource Compiler Version 5.40

    Copyright © 1990, 1999 Inprise Corporation. All rights reserved.

    Turbo Incremental Link 5.69 Copyright © 1997-2005 Borland

    * Application successfully built *

    Como devo proceder?

    Valeu abraço e desculpa a minha ignorancia.

    Vitor Molina

    vitormolina@gmail.com

    FW 10.12 + xHarbour 1.2.1 (6717) | BCC 5.82

  3. Boa tarde pessoal,

    Estou com dúvida na hora que vou compilar meu arquivo PRG.

    Compilo o programa abre normal, porém na tela DOS aparece a seguinte mensagem:

    Compiling 'VITOR.prg' and generating preprocessed output to 'VITOR.ppo'...

    VITOR.prg(15) Warning W0001 Ambiguous reference: 'COR_TEXTO'

    VITOR.prg(16) Warning W0001 Ambiguous reference: 'COR_FUNDO'

    VITOR.prg(17) Warning W0001 Ambiguous reference: 'OFONT'

    VITOR.prg(22) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(24) Warning W0001 Ambiguous reference: 'ODLG'

    VITOR.prg(30) Warning W0001 Ambiguous reference: 'OFONT'

    VITOR.prg(30) Warning W0001 Ambiguous reference: 'COR_FUNDO'

    VITOR.prg(30) Warning W0001 Ambiguous reference: 'COR_TEXTO'

    VITOR.prg(224) Warning W0001 Ambiguous reference: 'COR_FUNDO'

    VITOR.prg(225) Warning W0001 Ambiguous reference: 'COR_TEXTO'

    VITOR.prg(232) Warning W0001 Ambiguous reference: 'COR_FUNDO'

    VITOR.prg(232) Warning W0001 Ambiguous reference: 'COR_TEXTO'

    Lines 238, Functions/Procedures 7

    id=red>

    Generating C source output to 'VITOR.c'...

    Done.

    Borland C++ 5.82 for Win32 Copyright © 1993, 2005 Borland

    vitor.c:

    Borland Resource Compiler Version 5.40

    Copyright © 1990, 1999 Inprise Corporation. All rights reserved.

    Turbo Incremental Link 5.69 Copyright © 1997-2005 Borland

    * Application successfully built *

    Como devo proceder?

    Valeu abraço e desculpa a minha ignorancia.

    Vitor Molina

    vitormolina@gmail.com

    FW 10.12 + xHarbour 1.2.1 (6717) | BCC 5.82

  4. Boa tarde a todos,

    Gostaria de saber como faço para inserir uma imagem dentro da Window?

    Att

    ____________________________________________________________

    Boa tarde pessoal.

    Sou iniciante no FiveWin e gostaria de saber como faço para a opção 1, 2,3 acionar uma janela com uma caixa de dialogo com alguns campos para preenchimento de dados?

    Segue código.

    #include "FiveWin.ch"

    Static oWnd

    Function Main()

    Local oWnd

    Set Date British

    MENU oMenu

    MENUITEM "OPCAO1" ACTION MsgInfo ("Coloque aqui uma chamada a um dialog ou window1")

    MENUITEM "OPCAO2" ACTION MsgInfo ("Coloque aqui uma chamada a um dialog ou window2")

    MENUITEM "OPCAO3" ACTION MsgInfo ("Coloque aqui uma chamada a um dialog ou window3")

    MENUITEM "FECHAR" ACTION oWnd:End()

    ENDMENU

    DEFINE WINDOW oWnd TITLE "MEU PRIMEIRO PROGRAMA" MDI MENU oMenu COLOR "W/BG"

    SET MESSAGE OF oWnd TO "SOFTWARE PARA AUTOMAÇÃO" CLOCK DATE CENTERED

    ACTIVATE WINDOW oWnd MAXIMIZED VALID MsgYesNo( "Deseja sair ?" )

    return nil

    Desde já agradeço a todos

    id=red>

    Editado por - vmolina on 18/01/2012 17:41:19

  5. Boa tarde a todos,

    Gostaria de saber como faço para inserir uma imagem dentro da Window?

    Att

    ____________________________________________________________

    Boa tarde pessoal.

    Sou iniciante no FiveWin e gostaria de saber como faço para a opção 1, 2,3 acionar uma janela com uma caixa de dialogo com alguns campos para preenchimento de dados?

    Segue código.

    #include "FiveWin.ch"

    Static oWnd

    Function Main()

    Local oWnd

    Set Date British

    MENU oMenu

    MENUITEM "OPCAO1" ACTION MsgInfo ("Coloque aqui uma chamada a um dialog ou window1")

    MENUITEM "OPCAO2" ACTION MsgInfo ("Coloque aqui uma chamada a um dialog ou window2")

    MENUITEM "OPCAO3" ACTION MsgInfo ("Coloque aqui uma chamada a um dialog ou window3")

    MENUITEM "FECHAR" ACTION oWnd:End()

    ENDMENU

    DEFINE WINDOW oWnd TITLE "MEU PRIMEIRO PROGRAMA" MDI MENU oMenu COLOR "W/BG"

    SET MESSAGE OF oWnd TO "SOFTWARE PARA AUTOMAÇÃO" CLOCK DATE CENTERED

    ACTIVATE WINDOW oWnd MAXIMIZED VALID MsgYesNo( "Deseja sair ?" )

    return nil

    Desde já agradeço a todos

    id=red>

    Editado por - vmolina on 18/01/2012 17:41:19

×
×
  • Create New...