|
You can use of DlgDirList after read folder this function replcase contents of a listbox with names of files and folders without any work but use of FindFirstFile/FindNextFile (James R. Twine said to you) is better
|
|
|
|
|
Since you are using MFC, use the CFileFind class.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I think you can use CFileDialog class this purpose
Known is a drop, unknown is an ocean
|
|
|
|
|
Greetings:
I don't know if this is the forum to ask this question - but I don't know that it isn't either, so, there you go...
I just want to know if anybody out there has experience with the Ultimate Toolbox. We are considering purchasing a license. The demo looks great but you don't get a chance to try it and I need to know how long it will take to learn it and become productive with it. How was the documentation? What about tech support? Were you able to get help quickly? Was the help, well, helpful?
Thanks in advance.
Mark
|
|
|
|
|
I can only speak from experience of having to maintain a legacy UT app, and have hated most of it, although that's probably not UT's fault itself, more the non-designed "evolved from a hacky prototype" nature of the app itself.
|
|
|
|
|
benjymous wrote: non-designed "evolved from a hacky prototype" nature of the app itself.
You work here?
led mike
|
|
|
|
|
Hi Benjymous:
Thanks for your response. Did you access tech support at all? How were they?
Mark
|
|
|
|
|
We have purchased the UT. I like it. I have had no troubles with it. The couple of times I had to get tech support, I got a really fast response from them. It didn't take me too long to get going as I recall (it was a long time ago and I have slept since then). How fast you pick it up is pretty much up to you. They do have fairly good documentation and there are a whole bunch of sample projects to play with. The only real complaint that I have is they seem to be slow with updates.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
|
|
|
|
|
Hello,
I was wondering if it is possible to generate a skeleton that contains some configuration properties of a project (like for example include directories, library directories, ...). I need to generate a lot of small projects that are based on more or less the same properties and it takes a lot of time to reset every single property for each new project.
If this is possible, would it also be possible to generate a kind of wizard (for example, that you can select some specific options and some properties will be set depending of that). I know, I'm asking a lot
Thank you.
|
|
|
|
|
Not sure what you really want Cédric, but it looks to me like you want an AppWizard for creating your projects. Right?
For what VS version is this?
I've created multiple AppWizards for VC6, but not for the later ones.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|
|
Roger Stoltz wrote: For what VS version is this?
Oops, sorry, I forgot to say that I'm using VS2005 professional.
Roger Stoltz wrote: Not sure what you really want Cédric, but it looks to me like you want an AppWizard for creating your projects.
In fact, what would be really nice is that I'm able to add some steps to the standard wizard that is started when you create a new project (where you select which kind of project, ...). So, in fact instead of starting this wizard, I can start a specific wizard of my own that does a little bit more than the standard wizard. It lets me configure some settings and then automatically adjust the project properties depending of what I selected (so, it fills the my additional include directory, it fills to which library my project will be linked, ...) and that for both release and debug configuration.
I hope this is a little bit clearer.
|
|
|
|
|
Ok, then I think this[^] is what you need to do.
As I mentioned earlier I haven't done any wizards for VS2005, but for VC6 it was possible to create a new project with desired wizard and set it up and modify it, tweak project settings and source files. Then you could create a custom AppWizard with the new project as template.
I suspect this would be possible for VS2005 as well, at least in the professional edition.
[edit]
This is how it was done with VC6: clickety[^].
[/edit]
-- modified at 10:51 Wednesday 7th February, 2007
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|
|
Some time ago one member of codeproject said he wrote a program like it and said if someone want his program send a mail to him.
see this[^] thread if its helpfuls
|
|
|
|
|
Hi
I've written very simple code to explain my problem:
char znak = 'a';
String ^ yhy = znak.ToString();
And my question is:
Why yhy=="97", and not just yhy=="a" how can i write to the yhy the letter 'a' from the znak variable , i don't want its ASCII representation... i want just 'a'
please help
visual c++ 2005 Express Edition
-- modified at 10:10 Wednesday 7th February, 2007
|
|
|
|
|
This would be better asked here on the C++/CLI board[^]
A char is a byte. You've requested the string representation of a byte by using ToString().
Can't you use something like:
String ^ yhy = "a";
or
String ^ yhy = gcnew String("a");
|
|
|
|
|
I can't use: String ^yhy="a";
because important data is in the variable znak
But I used gcnew:
char znak='a';
Str ^yhy;
Str = gcnew String(&znak);
Thx Mark for your reply, I didn't know how to convert variables in vc++ gcnew String(const wchar_t *value) <-- that's good haha:]
I've just read about it in vc++ help
|
|
|
|
|
If you post your answer to correct forum you can get your answer early
|
|
|
|
|
I know i know i'm sorry i used wrong place to talk about my problem.
Fortunately i've got the solution, so thanks again.
|
|
|
|
|
|
Hi, I'm using Win32 API to make my application and I was wondering if there is a way to open a file in it's own file. For example, open a file in a word document (From C++), or open a file in Excel. So if the user pressed a button on my program the excel, or word document would open up in the respective program. Is this the right place to ask this question? I'm using Visual C++ 6.0 and my project is a Win32 Application.
------------------------
Impossible is Nothing
|
|
|
|
|
If the file is associated with an application, use ShellExecute() .
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Is it possible to do other things after executing. What about running a macro.
------------------------
Impossible is Nothing
|
|
|
|
|
deville75 wrote: What about running a macro.
For that you'd need to use Word Automation.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Word automation? What is that.. I'll give it a search I guess, but I'm mainly using Excel.
------------------------
Impossible is Nothing
|
|
|
|
|
deville75 wrote: ...but I'm mainly using Excel.
Excel also has a COM interface.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|