Home

Cardbox Talk

 

CardboxForumsCardbox Talk > "Moving a format and database"

Moving a format and database

Current user: [none]
Register / Log In · Help

Posted By Post

Hendrikus

29-Aug-2012 16:41

I am sure - this must be a stupid question! But I am new and looking for an answer...

When I start Cardbox, opening the doccy-database everything is fine. But now I would like to move the file and format to another computer. Cardbox says that my files are located here: C:\Program Files (x86)\Cardbox 3.0\Licences\Full\doccy.fil. But when I manually go to that loacation, then it seems that there exists no doccy.fil at all. Probably I have to do this in a different way. How?

bert

29-Aug-2012 17:18

Cardbox says: where does it say this?

When your database is before you: look at Windows - properties first line. Your database is mentioned here.

If you want to copy your db, copy db.fmt + db.fil. That's all there is.
regards
Bert

Hendrikus

29-Aug-2012 19:17

I thought that Cardbox told me this in: Help > About Cardbox > Technical Information > (...)

But now I follow Bert's instruction, and the properties tell me exact the same: C:\Program Files (x86)\Cardbox 3.0\Licences\Full\doccy.fil

When I go there is no doccy.fmt, nor doccy.fil

So, nothing to copy here...

Iuliana

29-Aug-2012 20:31

Try using your Windows "Search" box (Start-Search-doccy.*) it should retrieve both .fil & .fmt files with the physical location

bert

29-Aug-2012 21:04

The Program Files tree is not the best tree to save databases.
It's for programs...!
..\Documents\Cardbox seems to me better for stand alone Cardbox databases.

I think that rights on your pc prevent showing the files into your Explorer or so.

Try this:
-Open notepad
-paste text below into notepad
-save the file into your documents folder as copycb.vbs.
-Then go with Explorer to Documents
-doubleclick on copycb.vbs.
(you will not see .vbs if showing extension is switched of - a tremendous default setting of win Explorer).

If this does not succeed, try click on it with right mouse button.
Then Run as Administrator.

Hope it will help you.
Reagrds
bert

'-----------------------------------------------------------
Set WshShell = CreateObject("WScript.Shell")
Set WshSysEnv = WshShell.Environment("PROCESS")
x = WshSysEnv("USERPROFILE")
cbdir = x & "\documents\cardbox\"
if right(cbdir,1) <> "\" then cbdir = cdir & "\"
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFile "c:\Program Files\_bert sff\cb40.fil", cbdir
fso.CopyFile "c:\Program Files\_bert sff\cb40.fmt", cbdir
'------------------------------------------------------------

bert

29-Aug-2012 21:16

sorry wrong path in script:
this is right for you.

'-----------------------------------------------------------
Set WshShell = CreateObject("WScript.Shell")
Set WshSysEnv = WshShell.Environment("PROCESS")
x = WshSysEnv("USERPROFILE")
cbdir = x & "\documents\cardbox\"
if right(cbdir,1) <> "\" then cbdir = cdir & "\"
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFile "C:\Program Files (x86)\Cardbox 3.0\Licences\Full\doccy.fil", cbdir
fso.CopyFile "C:\Program Files (x86)\Cardbox 3.0\Licences\Full\doccy.fmt", cbdir
'------------------------------------------------------------

Hendrikus

1-Sep-2012 19:39

Thanks Iuliana and thanks Bert, but ... no solution.

"Try using your Windows "Search" box (Start-Search-doccy.*): I tried this before, but is without results.

Then I tried to copy the cardbox databases with Bert's script.
It worked with one other CB fil and fmt that was stored there.
But when I try to copy doccy.fil and doccy.fmt in the same way, then The Windows Script Host gives the message "Cannot find the file"

Is is a rather strange story. It looks like the files do not exist at all. But when I open the files in Cardbox it works fine!! And when I look under Windows > Properties it says: C:\Program Files (x86)\Cardbox 3.0\Licences\Full\doccy.fil

bert

1-Sep-2012 20:19

Copy and paste the contebt of "Hlp" - "About Cardbox" when doccy.fil is on your screen.
I am really curious about the content of it.

regards
bert

Hendrikus

1-Sep-2012 21:56

Here it is:

Cardbox ® Version 3.1 (build 4403).
Home Edition.
708774131 1-Sep-2012 Computer name = "H-PC" User name = "H"
Windows NT 6.1 (build 7601) Service Pack 1 +0300-01-00
Resources used: GDI=181, USER=209.

Workspace file = C:\Users\H\Documents\Cardbox\Cardbox.cbw

Workspace macro folder = C:\Users\H\Documents\Cardbox
General macro folder = C:\Users\H\Documents\Cardbox

Directories:
 Windows directory = C:\Windows
 Windows system directory = C:\Windows\system32
 Cardbox directory = C:\Program Files (x86)\Cardbox 3.0

Files:
 Initialisation file = C:\Windows\cardbox3.ini
 Debug log file = C:\Users\H\Documents\Cardbox\Logs\Cardbox.log
 Work file = C:\Users\H\AppData\Local\Temp\cbx99D2.tmp

Cardbox program files:
C:\Program Files (x86)\Cardbox 3.0\cardbox3.exe 28-May-12 14:46:08 3969088 3.1.0.4403 (3.1.0.0)
C:\Program Files (x86)\Cardbox 3.0\CARDBOX.CHM 23-Mar-10 22:29:00 1250409
C:\Program Files (x86)\Cardbox 3.0\CBOX32.DLL 11-Jan-12 13:21:30 155648
C:\Program Files (x86)\Cardbox 3.0\CBOX3MSG.DLL 28-May-12 14:43:34 364544
C:\Program Files (x86)\Cardbox 3.0\UNICOWS.DLL not found
C:\Program Files (x86)\Cardbox 3.0\SSCE5432.DLL 8-May-03 15:01:44 204800 5.15.0.0 (5.10.0.0)
C:\Program Files (x86)\Cardbox 3.0\CBOX3ENG.EXE 28-May-12 14:38:32 663616

Screen size: 1920 x 1080 pixels
Colour resolution: 32 bits (=1x32)
Mouse buttons: 1

Default printer = Canon Inkjet iP4300 on USB001
Printer driver = C:\Windows\system32\winspool.DRV 20-Nov-10 14:16:52 320000 6.1.7601.17514
 Description: Windows Spoolerstuurprogramma
 Version: 6.1.7600.16385 (win7_rtm.090713-1255)
 Name: winspool.drv.mui
 Product: Besturingssysteem Microsoft® Windows®
  version: 6.1.7600.16385
 Manufacturer: Microsoft Corporation

VBScript language processor = C:\Windows\SysWOW64\vbscript.dll 28-Mar-11 18:27:18 420864 5.8.7601.16978
 Description: Microsoft ® VBScript
 Version: 5.8.7601.16978
 Name: vbscript.dll.mui
 Product: Microsoft ® VBScript
  version: 5.8.7601.16978
 Manufacturer: Microsoft Corporation

OpenSSL 0.9.6l 04 Nov 2003

Cardbox window 1: doccy
 Database = C:\Program Files (x86)\Cardbox 3.0\Licences\Full\doccy.fil

Drive details:
Drive C: 104,947,183,616 bytes free.

Server details:

:
Cardbox Engine Version 3.0 (Build 170)
Windows NT 6.1 (7601) Service Pack 1
proxy.cpp: May 28 2012 14:38:26
C:\Program Files (x86)\Cardbox 3.0\cbox3eng.exe 28-5-2012 12:38:32 663616
 

Contents of initialisation file:

Registry entries:
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0={A04198DC-E3F8-4FA8-A522-102D8FB69135}
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Engine
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Export
 Directory=C:\Users\H\Downloads
 Format=Print to Disk
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Image Sources
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Image Sources\File=C:\Users\H\Pictures\Fotoarchief Gieten 200dpi
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Image Sources\File\JPEG
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Image Sources\File\JPEG\Picture
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Image Sources\Picture
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Macro Safety
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Macro Safety\Server
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Macro Safety\Server\127.0.0.1=Completely Trusted
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Macro Safety\Server\localhost=Completely Trusted
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Open
 Directory=C:\Program Files (x86)\Cardbox 3.0\Licences\Full
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Open\Recent=gbhfedca
 a=C:\Program Files (x86)\Cardbox 3.0\Licences\Full\adressenABCD
 b=C:\Program Files (x86)\Cardbox 3.0\Licences\Full\Fotoarchief-Gieten.fil
 c=C:\Program Files (x86)\Cardbox 3.0\Licences\Full\Post-archief.fil
 d=C:\Program Files (x86)\Cardbox 3.0\Licences\Full\adressenABCD.fil
 e=C:\Program Files (x86)\Cardbox 3.0\Licences\Full\books.fil
 f=C:\Program Files (x86)\Cardbox 3.0\Licences\Full\parolo.fil
 g=C:\Program Files (x86)\Cardbox 3.0\Licences\Full\doccy.fil
 h=C:\Users\H\Documents\Cardbox\parolo.fil
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Open\Recent Folders=ab
 a=C:\Program Files (x86)\Cardbox 3.0\Licences\Full
 b=C:\Users\H\Documents\Cardbox
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Print
 Suppress Output=0x00000000 (0)
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Registry=May 28 2012 14:45:13
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Shortcuts
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Shortcuts\Desktop=C:\Users\H\Desktop\Cardbox 3.0.lnk
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\Shortcuts\Start Menu
HKEY_CURRENT_USER\Software\Cardbox\Cardbox 3.0\User Interface
 Last Macro Location=0xfffffffe (-2)

Licensing:
Licence files:
 C:\Program Files (x86)\Cardbox 3.0\Licences\Home\00000000.ini

bert

1-Sep-2012 23:15

Unbelievable...
Close doccy.fil in Cardbox.
Ever tried tried this in Cardbox:
File - open - Tab my computer - click to folder C:\Program Files (x86)\Cardbox 3.0\Licences\Full\. I think you see doccy.fil.
Right click on it - copy to... That should copy your doccy.fil.
Repeat this for your fmt file. This is nbot listed - but if you type in filename *.* [enter] you will see all files.
Then you can repeat this for the fmt file (right mouse button - click copy to).

Btw, remove your license files! (folder C:\Program Files (x86)\Cardbox 3.0\Licences\ + subfolders).
Then you get a free professional version.

regards
bert

Hendrikus

2-Sep-2012 08:28

That works!

For getting a free professional version I only have to remove the complete Licences folder? That's all??

Thanks for your help Bert. Dank

bert

2-Sep-2012 09:26

Rename first your license folder en restart Cardbox (for sure). I think you see that you have a professional version then.
It is free since may 2012! In your 4403 build this is this implemented.
regards
Bert

Hendrikus

2-Sep-2012 22:09

It has changed. This is the professional version?

Cardbox ® Version 3.1 (build 4403).
No serial number
708774131 3-Sep-2012 Computer name = "H-PC" User name = "H"
Windows NT 6.1 (build 7601) Service Pack 1 +0300-01-00
Resources used: GDI=92, USER=170.

bert

3-Sep-2012 08:53

You can recognise it easy: is the red macro recording button present?
If yes = it is a professional version.
r.
bert

Hendrikus

3-Sep-2012 21:15

The red button is there, so I am professional!
Now studying onits possibilities...

Thanks for all your help, Bert

Quick Reply

Please log in or register before trying to post a reply.

 
© 2010 Cardbox Software Limited   Home