Autor
|
Thema: Open file Box (1479 mal gelesen)
|
toyo83 Mitglied CAD Application Engineer
Beiträge: 21 Registriert: 15.02.2007 Ok it works !! You forgot to put File in brackets :) Thanks and best REGARDS guys !!!!!!
|
erstellt am: 22. Mai. 2007 13:35 <-- editieren / zitieren --> Unities abgeben:
Hello my friends!! I need your help! I want to save a file-this is simple- but using a save dialogbox, If enybody could help ! Thanks and best regards [Diese Nachricht wurde von toyo83 am 22. Mai. 2007 editiert.] Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
YellowDevil Mitglied PI, Makroentwicklung, NC Automatisierung
Beiträge: 67 Registriert: 21.12.2006
|
erstellt am: 22. Mai. 2007 13:57 <-- editieren / zitieren --> Unities abgeben: Nur für toyo83
|
Proofin Mitglied Dpl.Ing
Beiträge: 208 Registriert: 24.11.2004
|
erstellt am: 22. Mai. 2007 13:58 <-- editieren / zitieren --> Unities abgeben: Nur für toyo83
|
toyo83 Mitglied CAD Application Engineer
Beiträge: 21 Registriert: 15.02.2007 Ok it works !! You forgot to put File in brackets :) Thanks and best REGARDS guys !!!!!!
|
erstellt am: 22. Mai. 2007 14:21 <-- editieren / zitieren --> Unities abgeben:
Zitat: Original erstellt von YellowDevil: I hope its working!Sub CATMain() Dim File File=CATIA.FileSelectionBox("Filename", "*.catproduct", CATFileSelectionModeSave) CATIA.ActiveDocument.SaveAs File End Sub
yes !!! but there is a error msg ByRef Argumnet, type mismatch and the compiler show the File as the bad argument Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
toyo83 Mitglied CAD Application Engineer
Beiträge: 21 Registriert: 15.02.2007 Ok it works !! You forgot to put File in brackets :) Thanks and best REGARDS guys !!!!!!
|
erstellt am: 22. Mai. 2007 14:28 <-- editieren / zitieren --> Unities abgeben:
Zitat: Original erstellt von toyo83: [QUOTE]Original erstellt von YellowDevil: [i]I hope its working!Sub CATMain() Dim File File=CATIA.FileSelectionBox("Filename", "*.catproduct", CATFileSelectionModeSave) CATIA.ActiveDocument.SaveAs File End Sub
yes !!! but there is a error msg ByRef Argumnet, type mismatch and the compiler show the File as the bad argument[/i][/QUOTE] Ok it works !! You forgot to put File in brackets Thanks and best REGARDS guys !!!!!!
[Diese Nachricht wurde von toyo83 am 22. Mai. 2007 editiert.] Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
YellowDevil Mitglied PI, Makroentwicklung, NC Automatisierung
Beiträge: 67 Registriert: 21.12.2006
|
erstellt am: 22. Mai. 2007 14:41 <-- editieren / zitieren --> Unities abgeben: Nur für toyo83
|