|
oshah wrote: your problem should be solvable, If you make it clearer what feature of IsolatedStorage you need. ie. why do you need IsolatedStorage?
Fair enough, here is what I want:
1. I want to remove files that are present in these folders. DeleteFile does not delete them. I dont know what GetLastError DeleteFile returns as I have limited access to experiment on this computer that has these files.
2. Why I want to remove these files? I am writing a cleanup program in which I need to remove these files.
3. I believe they cant be removed so easily using any of DeleteFile or SHFileOperation. I havent got a chance to examine these files and their attributes yet, but if you know, I am wondering if they leverage any of underlying file system's functionality, and if it is NTFS's, then is this API not supported with FAT? This is unlikely, as I dont see any mention of file system in the IsolatedStorage documentation.
oshah wrote: do you need to get at the Publisher.cya1vn0ixvflytpedycizjvrbaqeoksg folder directly without using .NET
You said it! And, remove the things there as I mentioned above.
thanks!
|
|
|
|
|
Chintoo723 wrote: 2. Why I want to remove these files? I am writing a cleanup program in which I need to remove these files.
I hope you're not planning to differentiate between each application's IsolatedStorage Dir name. By this, I mean your program does: "Hmm... Publisher.cya1vn0ixvflytpedycizjvrbaqeoksg belongs to Regex designer. Let's tell the user that it belongs to Visual Studio". This feature (ie. identifying "Publisher.cya1vn0ixvflytpedycizjvrbaqeoksg" as belonging to this and that .NET program), I have no idea how to do without .NET to help.
The other feature (doing a brute-force delete of the isolatedstorage folder), should be doable. FWIW, I WAS able to delete the IsolatedStorage folder.
Therefore, I would check if some external process is still active and is locking the folder. If there is a process, find it and kill close it.
|
|
|
|
|
I added an item on my menu. I also added handlers to it. but when i run my project, the menu i added is disabled. Does anybody know how to solve this problem. it would help a lot.
|
|
|
|
|
I think the item menu need to function for enable
you must Add event handler for item menu
|
|
|
|
|
i actually added an event handler.
when the event handler is only ON_COMMAND for that dialog the menu is enabled but when i add the ON_UPDATE_COMMAND_UI event handler, the menu is disabled. and i have another problem, it doesn't show the dialog.
|
|
|
|
|
Hi
For show Dialog you can ShowWindow(1) or WS_VISIBLE and
for diable menu do you use MF_DISABLED?or ModifyMenu
Do you use InsertMenu?
|
|
|
|
|
Hi ,
I want to connect the access database with vc++ programically also want to add , delete , modify the records
programically. If somebody send me the code .
Thank You
Pankaj
|
|
|
|
|
There are many database access technologies. Probably the two most common in use today (for C++) are ADO and OLEDB. ATL has wrapper classes for OLEDB. I'm sure if you look on the CP for OLEDB examples/articles you will find what you're after.
Steve
|
|
|
|
|
Hi ,
I want to add the desktop , recyclebin , mycomputer , network neighbourhood in treeview.Please send my any code or link.
Thank You
Pankaj
|
|
|
|
|
I think you want to FolderTree you find your answer in codeproject
|
|
|
|
|
Hi,
If you may send me any link.
Thank You
Pankaj
|
|
|
|
|
|
Hi ,
I want to connect access with vc++ programically and also want to add , delete , modify the records through the vc++ form.If somebody may send the code or any link.
Thank You
Pankaj
|
|
|
|
|
you can use CDataSource and CSession
But in the MFC you can find Example for Access
|
|
|
|
|
Hi ,
If you may send me the code , I am in urgent need of it.
Thank You
Pankaj
|
|
|
|
|
|
Hi,
My query is based on vc++ 6.0.
Thank You
Pankaj
|
|
|
|
|
this[^] is as good as it gets
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
I want to build a SDI (just) like Windows Explorer, have icon, and a icon have a text below, when i drag the icon, the text also follows. When i drop down, the new location is set for the icon & its text.
I'm the beginner.
Anyone can help me.
Thanks so much
|
|
|
|
|
|
I wanted to make some really large letters in my application but whenever I change the font size everything within the window becomes bigger, buttons, etc... Is there anyway to only change the letter font sizes only?
Thanks
|
|
|
|
|
If you change the font through Dialog Properties the dialog size will also be resized,
Instead change the font of a window from within the code
//put this in constructor
LOGFONT lf;
memset(&lf,0,sizeof(lf));
lf.lfHeight = -14;
lf.lfWeight = FW_BOLD;
lf.lfUnderline = (BYTE)TRUE;
_tcscpy(lf.lfFaceName,_T("Arial"));
m_fontBig.CreateFontIndirect(&lf);
Not set the font anywhere you like
m_targetWindow.SetFont(&m_fontBig);
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
Hi
for change font and font size you can use CreateFont and SelectFont
|
|
|
|
|
Dear friends,
I develop one application. I am trying to connect
proxy. I use Chttpconnection and CInternetsession
class. I connect proxy proper manner but I will not be
able to connect to the proper site that I want in my
application. what problem is suppose to occur. kindly
give me a reply.
Regards
kedar
Girish
Software Developer
|
|
|
|
|
Hello, I'm trying to compile a sample DLL that I found while searching on the forums here.
Here's the link to it:
http://www.codeproject.com/system/winlogon_notification_package.asp[^]
I'm coming from a VB background, so some of this stuff is kind of new to me. I have worked with VC++ 6.0 many times, but I have never compiled a DLL. Can anyone please provide a walkthrough on how to go about compiling this DLL. It would be helpful if you could provide a walkthrough for this example specifically since I have the code and can follow it easily.
I've tried numerous things and I have not been able to compile sucessfully. I'm simply copying and pasting the code from the above link into an MFC AppWizard (DLL) and then trying to compile. One error I keep getting is:
error C2065: 'PWLX_NOTIFICATION_INFO' : undeclared identifier
As mentioned before, I am simply copying and pasting so I have made sure to copy the includes. So I have no idea why it would say that PWLX_NOTIFICATION_INFO is "undeclared". It seems like I have tried everything and I don't know how to go about compiling. Any help would be greatly appreciated!
-- modified at 0:09 Saturday 11th March, 2006
|
|
|
|