Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Christian Tabligan
  Where is Christian Tabligan?
 Bacolod City, Neg. Occ.
 Philippines
 Christian Tabligan
 To: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
Subject: RE: Can we hide tables
Thread ID: 172384 Message ID: 172628 # Views: 1 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Friday, May 9, 2008 11:05:16 AM         
   



> >
> > You can still access the table even if it is hidden.
> >
> > I tested Ian Pano's piece of code and he proves it to me.
> >
> >
> > #define READONLY 1
> > #define HIDDEN 2
> > #define SYSTEM 4
> > #define DIRECTORY 16 && folder's attribute
> > #define ARCHIVE 32
> > 
> > DECLARE SHORT SetFileAttributes IN kernel32;
> >     STRING lpFileName,;
> >     INTEGER dwFileAttributes
> > 
> > 
> > CREATE TABLE C:\testhide.DBF( Field1 C(10) , Field2 C(10 ) )
> > 
> > USE IN SELECT( [testhide] )
> > =SetFileAttributes("C:\TESTHIDE.DBF",HIDDEN)
> > 
> > USE [C:\testhide.dbf]
> > 
> > BROWSE LAST 
> > 

> >
> >
> > CriZ (,")
> >
> > "Everyone is entitled to their own opinion, but not their own facts."
>
>
> I don't speak about access tables, I speak about HIDE tables.
> You can't HIDE them if the user knows what to do.
>
> -----------------
> Borislav Borissov
>
> Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
> The only thing normal about database guys is their tables.

Sorry for misunderstanding your statement.
The user need to "Hide hidden files and folders" to totally hide those tables.

CriZ (,")

"Everyone is entitled to their own opinion, but not their own facts."

ENTIRE THREAD

Can we hide tables Posted by r arjun @ 5/8/2008 10:18:57 AM
RE: Can we hide tables Posted by Borislav Borissov @ 5/8/2008 10:28:32 AM
RE: Can we hide tables Posted by surinder singh @ 5/8/2008 10:45:23 AM
RE: Can we hide tables Posted by r arjun @ 5/8/2008 3:03:54 PM
RE: Can we hide tables Posted by Borislav Borissov @ 5/8/2008 3:16:47 PM
RE: Can we hide tables Posted by Christian Tabligan @ 5/9/2008 2:14:46 AM
RE: Can we hide tables Posted by Borislav Borissov @ 5/9/2008 8:42:05 AM
RE: Can we hide tables Posted by Christian Tabligan @ 5/9/2008 11:05:16 AM
RE: Can we hide tables Posted by Samir Ibrahim @ 5/8/2008 4:55:28 PM
RE: Can we hide tables Posted by Christian Tabligan @ 5/8/2008 11:58:39 AM
RE: Can we hide tables Posted by ian pano @ 5/8/2008 1:22:01 PM
RE: Can we hide tables Posted by Christian Tabligan @ 5/9/2008 2:17:40 AM
RE: Can we hide tables Posted by tushar @ 5/8/2008 6:30:06 PM
RE: Can we hide tables Posted by Pete Sass @ 5/9/2008 10:52:49 PM