|
Hi All
How can i copy Folder complete data to Folder?I have a source folder A which have 10 files and 2 folder.My destination folder B.I want to copy folder A to B.Plz help me
|
|
|
|
|
Hi,
Try using FindFirstFile and FindNextFile to enumerate all files in Folder A, then use CopyFile to copy each found file to Folder B.
(You can use CreateDirectory to create Folder B if it doesn't exist).
|
|
|
|
|
Thanks for reply
can you give me some example?
Plz help me
|
|
|
|
|
Try "Search Messages" for FindFirstFile in this site. There were quite a few examples.
|
|
|
|
|
There is an API called SHFileOperation using which this is possible.
«_Superman_»
|
|
|
|
|
Please read your this post[^] you already know the solution..
I hope it helps..
Regards,
Sandip.
|
|
|
|
|
Please provide the code with full steps.
|
|
|
|
|
Yes sir,
but the problem is you didn't send me the SRS for your application and multilingual application does not specify the complete needs.
BTW, how much are you ready to pay for it?
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Actually, I want a sample application so that I can get some help about how to create a multilingual application. I need elaborated solution in steps. Plz help me.
Thank You
|
|
|
|
|
See here[^]
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
There is nothing that can help me. Plz provide other solutions.
|
|
|
|
|
you went through all the pages the query returned, and didn't find anything.
Strange.
I believe you can get more help by posting specific questions
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Purish Dwivedi wrote: There is nothing that can help me.
Yeah, right
Purish Dwivedi wrote: Plz provide other solutions.
I guess by solution you mean people doing the job for you ? Then, this is not the right place to ask. Go to www.rentacoder and pay somebody to do the job for you.
|
|
|
|
|
Did you look at Localization[^] section of CP??
I hope it helps..
Regards,
Sandip.
|
|
|
|
|
Hi....
I have a small problem.I have a managed dll developed to execute a simple dialog using VC++ 2005.When i load this dll in my system, it works perfectly fine.But when i share this dll in my system and launch this dll on another remote machine in network, the dialog fails to launch.Is it a problem with managed code or do i have to give some settings in my VC++ project.Please do let me know.I just don't get what the problem is?Please do help me out....
Thnx in advance..
|
|
|
|
|
Hi,
I want to start a certain process called nvcplui.exe within my application. That process is the Nvidia Control Panel process. To do so I use the CreateProcess function. Here is my short code:
if( !CreateProcess( NULL,
"C:\\Windows\\System32\\nvcplui.exe",
NULL,
NULL,
FALSE,
0,
NULL,
NULL,
&si,
&processinfo )
)
{
printf( "CreateProcess failed (%d)\n", GetLastError() );
return;
}
As you might guess that doesn't work for me. If I use another application instead, let's say notepad (just replacing nvcplui.exe with notepad.exe), the code just works fine.
These are my investigations so far:
- Using GetLastError delivers: "Create Process failed (2)". That, as far as I know, means file not found. But the file is there for sure.
- Starting the process via command line manually (not via code) just works fine. No additional account privileges needed (was one of my first thoughts, but doesn't seem to be the case).
- As already said starting another program using the above method seems to work just fine.
- Using .net Process Class works fine with nvcplui.exe:
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.FileName = "C:\\windows\\system32\\nvcplui.exe";
process.Start();
Important notes: I'm running windows vista 64bit and unfortunately can't test the whole thing on a 32bit system, because I have none with an nvidia graphics card (for the nvidia control panel) available. I'm using UAC, but as stated above, this shouldn't be the problem.
I'm grateful for any hints. Thanks in advance.
|
|
|
|
|
You haven't mentioned if you're running your program with elevated privileges.
I'm guessing no.
So try running your executable as an administrator.
«_Superman_»
|
|
|
|
|
Thanks for the answer, but running the program as administrator doesn't change anything. This is what I expected, because nvcplui.exe doesn't need admin rights to be executed.
|
|
|
|
|
Try using the ShellExecute[^] function like the following:
int res = (int)ShellExecute(
NULL,
NULL,
"C:\\windows\\system32\\nvcplui.exe",
NULL,
NULL,
SW_NORMAL
);
if (res <= 32)
{
}
Steve
|
|
|
|
|
Try using FileMon[^] to see what files your program is accessing - this can confirm whether or not it's trying to open your particular nvcplui.exe for execution?
|
|
|
|
|
Hello,
I am new to MFC so i have a question on how properly select a control point.
When i click on the screen with my left mouse i want to select that point for my line drawing. So when i click on that spot ones and then by just moving a mouse without holding on the button i could draw a line and with right mouse click end this control point.
Does anyone know of a good source to do this? Or how to tell the program that i want to select that point...
thanks
|
|
|
|
|
Save the point in OnLButtonDown to a variable within your program and then use that point as reference to line drawing calls like LineTo .
You may also want to set a flag in OnLButtonDown and reset it in OnRButtonDown .
Also take a look at SetCapture and ReleaseCapture to capture and release the mouse.
«_Superman_»
|
|
|
|
|
How do I increase the spped of the above mentioned
I have scanned an image in by using getpixel
I now wish to use the scanned image for 3d graphics
but the rendering is to slow
can anybody recommend anything that would speed up the process,
hopefully something simple, as I am sort of
a begginer at this.
cheers Simon
|
|
|
|
|
simon alec smith wrote: I now wish to use the scanned image for 3d graphics but the rendering is to slow
How are you rendering the image in 3d?
The usual use for 2d images in 3d programming is as texture maps or mipmaps, with OpenGL or Direct3D - they definitely get rendered quickly enough there, or there would be no 3D games on PCs!!!
|
|
|
|
|
In C++, if the user-defined function is placed before the #include<iostream> and using
namespace std; statements, __.
A. cout and endl would not be recognized
B. compiler error messages would be issued.
C. the header file cannot support it.
D. All of the above
i've gone through all my notes but can't find the answer, appreciate ur help
Deval Shah
|
|
|
|