rui_fernandes Posted October 17, 2007 at 01:56 PM Report Share #140720 Posted October 17, 2007 at 01:56 PM Boa tarde.... quando ia para fazer build solution, deu uma lista enorme de erros, mas se executar o programa e tudo nao me da erro nenhum.... porque sera ??? Rui Fernandes Link to comment Share on other sites More sharing options...
Asgorath Posted October 17, 2007 at 02:26 PM Report Share #140727 Posted October 17, 2007 at 02:26 PM Boas. Encera VS. Apaga tudo o que tens na directoria /Bin do teu projecto Reabre projecto e recompila. "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 02:33 PM Author Report Share #140731 Posted October 17, 2007 at 02:33 PM continua na mesma.... 🙂  🙂 Rui Fernandes Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 02:34 PM Author Report Share #140732 Posted October 17, 2007 at 02:34 PM mas a que se deve estes erros todos sabes ?? Rui Fernandes Link to comment Share on other sites More sharing options...
Asgorath Posted October 17, 2007 at 02:46 PM Report Share #140739 Posted October 17, 2007 at 02:46 PM Mostra o codigo da linha 144 do FRMArtigosLista onde esta a acontecer o primeiro erro. "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 02:47 PM Author Report Share #140741 Posted October 17, 2007 at 02:47 PM Dim ds As New DataSet1 Rui Fernandes Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 02:47 PM Author Report Share #140742 Posted October 17, 2007 at 02:47 PM o Dataset1 fica sublinhado a AZUL..... Rui Fernandes Link to comment Share on other sites More sharing options...
Betovsky Posted October 17, 2007 at 02:49 PM Report Share #140744 Posted October 17, 2007 at 02:49 PM Ele não sabe que tipo é esse. Deve ter mais do que um sÃtio onde defines uma class com esse nome. "Give a man a fish and he will eat for a day; Teach a man to fish and he will eat for a lifetime. The moral? READ THE MANUAL !" Sign on a computer system consultant's desk Link to comment Share on other sites More sharing options...
Asgorath Posted October 17, 2007 at 02:50 PM Report Share #140745 Posted October 17, 2007 at 02:50 PM Troca por Dim ds As New System.Data.DataSet1  ver se resolve o problema A classe DataSet pertence a varios namespace por isso tens que dizer qual estas a usar. A crystalreport é a mesma coisa. "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 04:02 PM Author Report Share #140782 Posted October 17, 2007 at 04:02 PM epah, fiz isso, mas ele define o objecto datset. o dataset que eu tenh feito(DATASET1, entre muitos) e o k eu kero tas a perceber.... Rui Fernandes Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 04:05 PM Author Report Share #140786 Posted October 17, 2007 at 04:05 PM tipo, eu tenh isto tudo organizado, tipo, no sulution explorer tenh of form e dataset, reports, tudo e pastas... exemplo, pasta artigos com form, report e dataset dentro, e clientes a mesma coisa... etc... nao sei se é preciso meter o caminho de cada um...n sei...pode ser burrice minha.... Rui Fernandes Link to comment Share on other sites More sharing options...
Asgorath Posted October 17, 2007 at 04:35 PM Report Share #140796 Posted October 17, 2007 at 04:35 PM Boas. Nunca me aconteceu o erro do ambigous mas tenho Imports System.Data.SqlClient em todos os forms que crio, de certeza que tens os imports tambem? O meu projecto actual tem 4 projectos, 114 crystal reports, 143 forms, 8 datasets. "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 04:37 PM Author Report Share #140797 Posted October 17, 2007 at 04:37 PM epah, isso n tenh em nenhum... mas kuais e k devo meter ??? system.data ?? so ?? e para os reports tambem e preciso ? Rui Fernandes Link to comment Share on other sites More sharing options...
Asgorath Posted October 17, 2007 at 04:41 PM Report Share #140798 Posted October 17, 2007 at 04:41 PM Imports System.Data.SqlClient Imports System.Data Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Com esses imports todos posso declara dim a new dataset1 sem problemas.. "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 04:44 PM Author Report Share #140800 Posted October 17, 2007 at 04:44 PM vou testar... mas so mais uma coisa, a tua aplicacao deve estar distribuida p varias makinas penso eu... cm fizest o setup ? eu fiz com o do VS, mas os reports nao me funcionavam... o tiago salgado deu a sugestao de fazer com Installshield, porreiro...mas cm tava c estes erros n dava... Rui Fernandes Link to comment Share on other sites More sharing options...
Asgorath Posted October 17, 2007 at 04:47 PM Report Share #140802 Posted October 17, 2007 at 04:47 PM Ja tentaste o BUILD > Publish NOME_DO_PROJECTO? "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 17, 2007 at 05:09 PM Author Report Share #140828 Posted October 17, 2007 at 05:09 PM epah, nao funcionou c os namespaces... mas peguei no k fiz ontem e ja n da erros...so tenh de pegar em poucas coisas k alterei... pk ao fazer build,ou publish fica a funcinar direito os reports noutro pc's ? Rui Fernandes Link to comment Share on other sites More sharing options...
Asgorath Posted October 17, 2007 at 10:08 PM Report Share #141005 Posted October 17, 2007 at 10:08 PM Faço sempre uma copia de segurança dos projectos ao fim do dia para dois discos. Também usamos o Visual SourceSafe 2005 para fazer gestão de versões. Segue o wizard do publish projecto, depois quanto terminar copia o setup.exe para o pc de destino para se funciona bem os reports. "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
rui_fernandes Posted October 18, 2007 at 11:27 AM Author Report Share #141073 Posted October 18, 2007 at 11:27 AM epah, nao da... o publish n fica grande coisa, n se pode da o nome ao atalho k é criado, nao cria atalho no ambiente de trabalho, n se pode incluir na pasta onde e instalado uma BD p exemplo...a menos que de e eu n sei... Rui Fernandes Link to comment Share on other sites More sharing options...
Asgorath Posted October 18, 2007 at 01:42 PM Report Share #141096 Posted October 18, 2007 at 01:42 PM Tenta isto add new project > other project types > setup and deployment > setup project selecionar setup1 no solution explorer > right-click > add > project output left-click no primary output > Ok as detected dependencies ficam preenchidas. Abre o configuracao manager e e muda para release e e faz rebuild do projecto de setup. na directoria de nome do projecto de setup\release\ ha 1 setup.exe e um nomedoprojectosetup.msi . copia os dois e tenta instalar ver os reports funcionam. "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now