 |
|
 |
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers, Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
 |
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers, Chris Maunder
The Code Project Co-founder Microsoft C++ MVP
|
| Sign In·View Thread·PermaLink | 3.67/5 |
|
|
|
 |
|
 |
I've been contacted by a company that is looking for the following from me:
"What we are looking for is automation of our office. We have started to work in Access to get some automation of document production in place. However, we have not done much beyond the use of merge. But because most of our documents are populated with the same types of basic information, we were thinking that the process can be automated much more extensively.
There are five basic programs that we are using Word, Access, Outlook, Excel, pdf (not certain if that is a program exactly). There is a government filing system we would like to be able to download into- but that may be a step too far.
We have incoming documents that at the present time we cut information from and past this information into our documents. The cut and paste process is time consuming, inefficient, and prone to errors."
Would anyone make a suggestion on what programming language would be best/easiest to complete this task in? Namely, I'm looking for a language that can create these different types of documents.
Any suggestions? Thank you very much!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Python might be worth looking into. It is able to interact with the Office apps. mentioned, as well as pdf. But I've no idea what limitations it may have.
Kevin
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
is there any software which save any webpage into MS-word document with all formattiong and pictures and auto fit into standerd page size?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Just been recently researching on Service-Oriented-Architecture. Read an article which states that web services are the most appropriate way of implementing SOA. I was just wondering if this was infact the recommended way...? Any thoughts?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
SOA is a concept that can be implemented in any number of ways. Just because Web Services provide a perfect example of what SOA is doesn't mean that it's automatically the best implementation for every use case. The "recommended way" is whichever way best solves your particular problem.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
i keep getting security tool poping up saying that this program is infected with a worm when i open something i downloaded norton antivires from the net but it wont let me install it can somebody help me please ta
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
waikato123 wrote: i downloaded norton antivires from the net but it wont let me install it
Thank you for believing that we have superhuman powers and can divine your problem from afar. Sadly however, most of us are mere mortals and need to be shown the actual error message before we can begin to guess what might be the cause.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Whatever you are downloading is probably actually infected. The most likely reason that you can't install Norton is because you already have AV installed.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello there,
I'm arguing with a friend here. Is the windows Desktop part / module of explorer.exe ? Actually when you stop the explorer.exe as a process the desktop disappers.
Is it a part / module of the operating system that is controlled by explorer.exe or is it part of the explorer.exe ?
Regards, Hris
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
If I'm using Spy++ it says the desktop-window itself is part of the csrss.exe, but the "desktop" with the icons (window class SysListView32) you see is part of the explorer.exe.
Greetings Covean
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Assuming you using the term "Desktop" to refer to only what you see on the screen, no it's not. It's actually part of two applications. The background "surface" or window is supplied by CSRSS.EXE while the Start button, Task Bar, and icons are supplied by Explorer.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Message Automatically Removed
|
|
|
|
 |
|
 |
Is there any way to burn CD/DVD with copy protection of the data file?
Please help me if you can.
Best Regards, Saravanan T
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Since there is no executable code, no, there isn't.
All the user would have to do is copy the files locally and burn them to another disk.
Since your application would have to read the files, the same as any other copy operation would, there is no way to protect just the data files.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello everyone.
My problem states like this:
I have a form created with adobe livecycle, each of the controls in the form being bind to an element from the data connection. What I want is that if the user does not enter any data in a control, when the export XML is created, that control should not appear in the xml.
What I've tried: remove the binding from the control. if the binding is set to none, then the control should not appear in the xml. To remove the binding i've used the following code:
control.bind.match="none"; control.bind.ref = "";
But it does not work. the corresponding node is still available in the exported xml.
Can anyone help me with this problem?
Thank you.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi, I am running my laptop with Windows XP Tablet PC Edition. The problem is I could not view my video file in windows explorer using te Thumbnail view type. It just display its icon only. Does anyone know what is the cause of the problem and how to fix it?
Thank in advance!!!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Depends on the video format and the existance of an appropriate codec to decode it, which you apparently don't have.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
My computer could play WMV file, but the WMV file could not preview in the thumbnail view. This is just one of file type that got a problem. There are many more file type that it could play but it could not preview in thumbnail view. Any idea?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I am a control theorist with many years of programming experience. I can code in C/C++, Java, FORTRAN, VB6, VB.NET and C#. However, all this time I have avoided Visual C++ and MFC. Now I have a project that really needs the speed and flexibility of an unmanaged platform on Windows 7. It will be a realtime simulation with DirectX 11 graphics.
My question is, where should I start? Is MFC still relevant? What is ATL? What are my choices at this juncture? I am a very quick learner and I am willing to learn anything. Where should I start?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello MFC users,
I asked the same question. Is MFC (still) relevant, because the complexity is higher than e.g. VCL. VCL is a class/ component base for Delphi and C++Builder of Borland.
In my opinion the whole .Net environement (Visual Studio) is build on the classes of MFC.
For the majority of developers MFC seems to be too complex. It takes a long time to learn and it's not easy to keep hands on with it. Not using it some months often meens starting from scratch again.
Microsoft developers themselves belief it to be hard to use MFC. Internally they made other initiatives that sometimes became (unintended) popular outside MS. ATL is one of these. For very quick coding developers still rely on more pure Win32 objects and functions.
At the launch of Windows 7 I asked the "stupid" question, wheter Windows 7 is still based upon MFC, as NT and derivatives were. The technical MS people couldn't answer this question. MS believes its own architecture to be to complex to explain to its own technicians in the field.
The freedom to mix everything and even mix with STL (standard library for C++; for portability over other operating systems like Unix) makes C and C++ very powerfull. But makes the learnability decrease as well.
Because of the installed base for MFC I said good bye to VCL 10 years ago, but to be honest: in MFC I still can't be that productive as I was in Borlands VCL.
The use of the wellknown MFCxxx.dll files in the deployement of applications proves the relavance of MFC. Try to remove these dll files and see your self which applications turn out to be not working anymore.
The use of these MFCxxx.dll's garantied an enormous reuse of code-elements. On a low level all these elements were tested over and over again. The long lifecycle and the low number of successive versions for these files have been a sign of robustness of these files. More or less they have been the backbone for the successes of MS after Windows95. Very strange that MS did little effort on explaining its object-oriented architecture to a large public.
At the moment I try as an amateur-programmer to hide complexity of all function and class libraries with the use of specific DLL's. What was made with VCL can be reused in the future this way. But also reused with ATL, STL, Win32, etc. And it can be reused with all the languages that are supported by .Net. It's the only way to use managed code next to unmanaged code in a robust way.
The complexity of using dll's in MFC is one of the reason's that many developers feel frustrated in using MFC. But using Visual Studio more or less always meant ... building on MFC. With investing in a new flavour (C#) MS seemed to take away attention for a bigger, more common experienced problem: the need for a library of classes for dummies, that could hide complexity better, than MFC could.
Some books to advise: Jeffrey Prosise (several books) Tom Archer and Andrew Whitechapel: Visual C++ .NET Bible (Also on ATL, COM+ etc.)
ATL stands for Active(X) Template Library. It's meant to be less complex than MFC. Archer and Whitechapel can tell you more on e.g. creating COM-objects with ATL.
A first credo: the more I know, the more I don't know. And even this ... is "reused code" from ancient times.
A second credo: It might be an act of wisdom to question wheter to be a fool myself, and making the wrong choices ... asking the wrong questions.
Don't hesitate to call me a fool ... but at least ... tell me why.
Regards, Oscar
modified on Saturday, November 14, 2009 6:14 PM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
oscar1966 wrote: In my opinion the whole .Net environement (Visual Studio) is build on the classes of MFC
Hmm, not sure about that. It's certainly built with C++. But some parts are written in C# and of course VS 2010 uses WPF.
oscar1966 wrote: Internally they made other initiatives that sometimes became (unintended) popular outside MS. ATL is one of these
You mean WTL.
oscar1966 wrote: At the launch of Windows 7 I asked the "stupid" question, wheter Windows 7 is still based upon MFC, as NT and derivatives were.
Windows from at least XP onwards is written mostly in C with some C++, Assembler and Managed C++ (C++/CLI).
Kevin
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Sky High wrote: Is MFC still relevant?
Yes, and it is till being developed as each new version of Windows is released.
Sky High wrote: What is ATL?
Active Template Library - used for creating COM components.
Sky High wrote: What are my choices at this juncture?
You could also try WTL (Windows Template Library). This is now open source and many people rate it. There will be some tutorials on Code Project.
There is also Qt, which is highly regarded.
Sky High wrote: Where should I start?
Hmmm, I don't know. MFC is the most widely used for Windows development so you may as well start there. Greater chance of getting help.
Kevin
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |