![]() |
|
#1
|
|||
|
|||
![]()
hello,
is it posible to clean an gms file? The current size is 16.869 KB. I think, if I make little changes (2-5 lines) the new filesize is (filesize+filezize). |
#4
|
|||
|
|||
![]() Quote:
it doesn't work. My file is now 66.675 KB. Quote:
is there a tool to export and import all forms and modules? Thanks for the replays |
#5
|
|||
|
|||
![]() Quote:
Create a folder written in Dir_for_code variable Start code. It should export all the forms and modules exept of protected ones Code:
Sub code_save() Dim vbc As VBComponent Dim vbp As VBProject Dir_for_code="c:\temp\code\" On Error Resume Next For Each vbp In VBE.VBProjects MkDir Dir_for_code + vbp.Name For Each vbc In vbp.VBComponents Select Case vbc.Type Case vbext_ct_ClassModule ext = ".cls" Case vbext_ct_StdModule ext = ".bas" Case vbext_ct_MSForm ext = ".frm" Case Else ext = "" End Select fn = Dir_for_code + vbp.Name + "\" + vbc.Name + ext vbc.Export fn Next Next End Sub |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How sets size form same as size images ? | woycek21 | Corel Photo-Paint VBA | 0 | 09-07-2005 12:30 |
How to get the size of an object including the outline. | CORNMEN | CorelDRAW/Corel DESIGNER VBA | 2 | 03-05-2005 16:03 |
how to specify the font size in inches | bbolte | CorelDRAW/Corel DESIGNER VBA | 14 | 26-01-2005 22:19 |
Where does COrelPhotopaint 12 keeps its Globalmacros file? | cyrilgupta | Corel Photo-Paint VBA | 1 | 08-11-2004 15:02 |
What is a GMS file? | sergent | CorelDRAW/Corel DESIGNER VBA | 1 | 12-06-2003 17:57 |