|
Jeremy Falcon wrote:
If you're using a browser then specify the params in the mailto tag (e.g.; mailto:jdoe@somewhere.com?subject=hey&body=hi&bcc=no@where.com).
This also works with Outlook.
|
|
|
|
|
I've made a tcp/ip server application. The server is a console based program written in pure C++, though it uses Win32 API . I want to add a feature of sending email from it, i.e whenever a client sends a particular message to server, the server send email to some email address on internet. How can i achieve this goal easily ???
|
|
|
|
|
You could reuse ideas from codeproject article.
MFC CAsyncSocket is a thin wrapper on top on winsocks.
And I swallow a small raisin.
|
|
|
|
|
I can't use article u suggested because it requires MFC
|
|
|
|
|
Yes, and what's the problem ? Just remove the MFC stuff.
And if you don't take this code and remove MFC, this article simply teaches you how to send an email without using Mapi32.dll (which is what you end up with otherwise). If you don't like it, well ok, even though you'll hardly find anything better.
And I swallow a small raisin.
|
|
|
|
|
Hello,
I would like to know the best way to upgrade/uninstall a shell extension. Simply unregistering is not enough as Explorer keeps the file locked for a certain amount of time. I also saw one piece of code that restarts the Shell but this is not very elegant because all the Startup Items are relaunched and this causes a mess not counting the disappearing and reappearing of the task bar...
The method I have been using for the last year or so works but I would like to have something more simple. For instance an upgrade is done like this: my installer copies the .dll to a .tmp file then unregisters the .dll and tries to delete the .dll file. It the deletion is successful then the .tmp is renamed to .dll and is registered: everything is fine. If the deletion fails then my installer creates a .bat file that deletes the .dll, renames the .tmp, registers the dll and deletes itself (this is why it is a .bat file: a .bat can delete itself while running, a .exe can't). Then this .bat file is registered in the RunOnce section to be executed at the next reboot. Uninstallation follows the same kind of process.
As you see this is kind of complex... I have been looking on the web for other way to do this but did not find any info. So anyone has something on this topic??
|
|
|
|
|
Hi,
I have done some work related to read and write CD Sectors by using ASPI
SCSI Command in the framework of VC++ 6.0 and windows 2000.
Now my question is:
What are the differences for reading and writting sectors for DVD by using
same method (Aspi scsi command)? Did you have any experiences and Any ideas?
Thanks in advance!
chen
|
|
|
|
|
chen wrote:
Did you have any experiences and Any ideas?
<theory>
The DVD media should be of no or little consequence with its layering and density as compared to CD as long as you have the hardware, as its methods are independent.
</theory>
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Hi,
Now I want to select a MFC extension library for my MFC application. Which is the best? BCGSoft's BCGControlBar or CodeJock's Xtreme Toolkit? It seems BCGControlBar has a good Skin Manager which most appeals me. And Xtreme Toolkit seems lack of this flexibility.
Which provides more control? Which impact the legacy MFC code minimumly? Which is the most easy stuff to programming with it?
There are some free/Open Source MFC GUI extensions, such as Prof-UI, especially GuiToolkit, but all of them seem inadequate for professional development
Please give your advice.
Best Regards,
fhchina
|
|
|
|
|
We use the xtreem toolkit here for some of our new stuff. It was pretty simple to add into the project(s) and update it. The only problem I have seen with this library is that between the most recent update/releases (as its still under development at CJ) is that they change some of the control parameters ranges that the library depends upon and don't tell you. This means that when you upgrade all your floating windows/toolbars stop working and you have to go into your code and renumber all the resource ID's into the correct range.
Its a bit of a pain, but other than that, I have not had any real problems with the library.
Its also cheap, with no royalties.
Roger Allen
Sonork 100.10016
I think I need a new quote, I am on the prowl, so look out for a soft cute furry looking animal, which is really a Hippo in disguise. Its probably me.
|
|
|
|
|
Hi,
Thank you for your reply. I found it difficult to get an answer for such kind question. I hear another one think BCGControlBar is better. But the most feature I want not only for Visual Studio/Outlook/Office 2000/XP style, I also want to give `texture' for my application and make it look and feel outstanding!
I have downloaded evaluation version of two toolkits. It seems Xtreme Toolkit has more samples but lack of documentation, while BCGControlBar is just opposite.
About the price, of course Xtreme Toolkit is cheaper. Maybe because it lacks of Skin Manager .
Rest Regards,
fhchina
|
|
|
|
|
I would advice you to use BCGControlBar. It is very easy to integrate it in the Visual C++ environment and porting application can be done without (many) headaches. About pricing, you get discounts for shareware and freeware applications.
Best regards,
Alexandru Savescu
|
|
|
|
|
Does anyone know of some good code for saving the contents of a View to an image format,
BMP or JPEG would be perfect.
I could do it all manually but I have a feeling something like this has already been tackled before.
cheers
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
Hello Asim
I am in search for similar library. If you had found for your project then can you please send me the suggestion,code idea , library for saving the content on the view to JPEG.
Thanking You.
Leave your mark wherever you go
|
|
|
|
|
Hello everyone !!!
Where can i find nice examples and tutorials about using Office Automation like Excel and Word ???
Regards,
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
Well, there's at least one sample which comes with Visual C++ - look for COMEXCEL.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Hi,
I have written a file packer for a game engine. The packer uses Zip compression (based on the zlib library), and so any packed files can easily be opened with WinZip, EnZip etc. However, I would like to give them better protection. Currently they can be password protected (and the password is encrypted), so people can open the zip file but not extract any of the contents. However, I was wondering if there was any way to make the Zip file unreadable to WinZip etc and only readable to my program.
Any suggestions would be much appreciated.
Many thanks,
KB
|
|
|
|
|
Create an unprotected .zip with dummy name containing all files and zip it again with a password. Users will be able to see one filename in protected .zip.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
or, mangle the data as you write it to the file.
very simple way would be to pick a random DWORD, and xor every 4 bytes with it. This should screw the thing up enough that winzip won't make head or tail of it.
Then, as you read it, xor again with the same number to get back to where you started.
STL is a religeon. Enquiries to Reverend Christian Graus
|
|
|
|
|
Thanks both for your replies - I think I may well try to change the way it writes, as Jon Hulatt suggests. This will obviously mean writing my own packer utility too (I was using WinZip to pack and then my own program only needed to unpack), but that shouldn't be too bad.
Thanks again,
KB
|
|
|
|
|
no need. pack with winzip, just write a quick program that opens your zip file and writes a new mangled one.
STL is a religeon. Enquiries to Reverend Christian Graus
|
|
|
|
|
I added exactly this capability to zziplib some time ago.
|
|
|
|
|
|
EnumFontFamiliesEx gives you NEWTEXTMETRIC for each font. NEWTEXTMETRIC::ntmFlags has flags which may help you determine if font is OpenType or not.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
i am actually a C# programmer, i need to find out the type, but i dont really want to cann enumfontfamiliesex as there is a .net collection to get the fonts, but if i cant get the font type, then i suppose ill have to use this instead to enumerate fonts.
Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk "All programmers are playwrights and all computers are lousy actors."
|
|
|
|