Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is .cc related to visual dbase database ?

Status
Not open for further replies.
Mar 13, 2002
34
MY
I am not having any knowledge on Visual Dbase. Recently there was a problem reported from other departments in a company I work. A customised application was corrupted and the software are not able to run anymore. The data was kept in a file with an extension .cc
When I search through internet, the extension is known to belong to visual dbase. I am wondering if the .cc extension file is native database format of visual dbase. If it is, is there any free tools that I can use either to read the .cc file or convert it to some other common format ?
I am hoping to write a software to replace the corrupted software. But first I should be able to preserve the old data.

Any help would be good. Thanks.
 
The CC should be a text file, CO is compiled. Can you read it as text? If so, post a few lines. Christopher F. Neumann
[dBASE Charter Member]
Blue Star Visual dBASE graduate
ICCP TCP/IP Network Analyst
Data Communications Engineer
 
The file when opened using notepad contain a mixture of non-print-able character and print-able character. The text data (column) are separated with 'garbage'.

Eg :

 è   ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ U ` ` f  ~ e › ÿ n q  9  µ µ r ðL¯Þ_Ž Ð æª\5 þ B ”ú db1.mdb m”
|” Databases (*.mdb) All Files (*.*)   ( a: c: bilbo_c d: gdi e: g: \\gandalf\public m: \\melmac\cc50

END of Example
The filename is having an extension of .cc
I have no experience of this format. But what is the 'db1.mdb'and 'Databases (*.mdb)' in the example above shows ? Is it related to microsoft access ?
 
db1.mdb sounds more like MS Access.

Christopher F. Neumann
[dBASE Charter Member]
Blue Star Visual dBASE graduate
ICCP TCP/IP Network Analyst
Data Communications Engineer
 
That's the problem.
The physical file name is having a .cc extension. I couldn't open it using MS Access. A peek into the file, among the garbage, we did see the db1.mdb.

Searching through the net revealed that .cc is related to visual dbase.

Anybody has a clue ?
thanks
 
You can take this web page that you are looking at and save it as test.html. In explorer, rename test.html to test.exe and try to execute it. Of course, you cannot. The type of file is only identified in explorer as whichever naming that the last setup/configuration has labeled it as.

Christopher F. Neumann
[dBASE Charter Member]
Blue Star Visual dBASE graduate
ICCP TCP/IP Network Analyst
Data Communications Engineer
 
Yes,I know that. But renaming the file from .cc to .mdb
and open it using Microsoft Access does not solve the problem.

So it seems to be a case of missing identification, fake identification or propietary manipulation of files....
 
.cc in visual dbase is a custom configuration class. it has many functions. the compiled version is .co.
it sounds like you're not sure IF IT IS dbase??
is their a file(s) in your program folder, .exe or .DLL that indicates dbase?? if not, sorry, NOT dbase.
otherwise, is your program an *.exe, if so you are trying to work on a compiled file, not impossible but easier to write the program from scrach. now the good news, IF you bought the program you should have gotten the SOURCE code, the code the program was written from. No.. get in touch with the programer, you paid for it, it's yours. LOTS of help out there with progaming.
hope this helped;
charlesdenver@msn.com
 
As charlesdenver states, .cc is a custom class in Borland's Visualdb. Below is what the .cc class peforms when compiled into a program. Each .wfm which is the extention of a form developed system that I've writtened contain the following or a similar statement linking the .cc module into the program and it sounds as if the .cc module is missing or corrupted in your system. Set Procedure To \dir of stored .cc\BUTTONS.CC additive
Hope this helps TheGipper2


PROGRAM: Buttons.cc
*
* WRITTEN BY: Borland Samples Group
*
* DATE: 2/94
*
* UPDATED: 7/95
*
* REVISION: $Revision: 1.70 $
*
* VERSION: Visual dBASE
*
*
* DESCRIPTION: This is a procedure file containing class definitions for pushbuttons most frequently used in Visual dBASE forms.These buttons contain both bitmaps, which are located in dbwinhome>\designer\form\Resource.dll, and text.
* Current Classes:
* OkButton
* CloseButton
* CancelButton
* YesButton
* NoButton
* NextButton
* PrevButton
* HelpButton
* InfoButton
* ToolButton
* ReportButton
* BrowseButton
* SampleInfoButton
*
* PARAMETERS: Each custom button control in this file requires 2 arguments:
*F -- Object -- Reference to the parent form
*Name -- String -- Name of the control being created
*Example:
f = new form()
p = new OkButton(f,"myOkButton")
*
* CALLS: None
*
* USAGE:set procedure to Buttons.cc additive, then use these classes with:
NEW syntax: x = new OkButton(f,"myOkButton"),
DEFINE syntax: define OkButton x of f
FORMS DESIGNER: <Select Buttons.cc from the
"Set Up Custom Controls" dialog, and then
select the classes you want from the
"Custom" page of the Controls Palette.>
*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top