Welcome to WinForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to create a file in "Public" on vista OS?

 
   Windows Vista! (Home) -> Security RSS
Next:  MS Office 2007 activation in Vista RC1  
Author Message
Ricmy_zhu

External


Since: Sep 13, 2006
Posts: 1



(Msg. 1) Posted: Wed Sep 13, 2006 2:34 am
Post subject: How to create a file in "Public" on vista OS?
Archived from groups: microsoft>public>windows>vista>security (more info?)

hello.
I use following code to create a file in my programe
CFileException Error;
CFile oFile;
UINT nFlags = CFile::modeCreate | CFile::modeWrite;
try
{
if (oFile.Open(oPath, nFlags,Error))
{
oFile.Close();
}
}
catch (CException * pEx)
{
pEx->ReportError();
pEx->Delete();
}
the function of oFile.Open return false.
but in other folder (not in Public folder) is Okay

thanks!

 >> Stay informed about: How to create a file in ""Public"" on vista OS? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Create a Log On Message - I am trying to create a log on message that users see when they log onto my laptop running Vista RC1 - but can't find out how. In XP it was easy (with the help of XPtuner) but on Vista - nothing... Anyone help me?

File transfer messenger live Vista RC2 RTM build 6000 - HELLO hvem i transfer by MSN and i recieve files thy get blocked, i tryed the help function but it just helps me to unblock attached files send by mail, no messenger help please help me now.

UAC problem of .cpl file - as we all know some app need Elevation by default,we can config the .manifest file to do so . but i can't config the .manifest file of the .cpl, or my cpl can't Elevation with the manifest ; i find some sys cpl can do this ,such as the Windows Firewal...

UAC & PST File Access - I just installed 5728 on a dual boot system. I also installed the Office 2007 Beta Refresh. Since I am using a dual boot configuration with office installed both on XP SP2 and Vista, I would like to share the same PST (located on my XP drive). When...

Back up your file encryption key - After logging I get a system tray "balloon" pop-up prompting me to back up my file encryption key or else I could lose all encrypted data. First of all, I wasn't aware I had anything encrypted. Second, when I do oblige the prompt it takes me...
   Windows Vista! (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows XP
  Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]