|
Can anyone tell me if it's possible to link a file to a email via a hyperlink control?
I'm writing a utility for some of our customers and would like to include a link for them to click on that sends an email with a data file back to us.
I'm basically looking for the syntax to use if it exists. For example, there is also a link for feature requests, and the syntax I'm using for that is:
mailto:PaulBelikian@SomeCompay.com?subject=feature Request
is there another keyword I can use to attach a file to the email also? something like:
mailto:PaulBelikian@SomeCompay.com?subject=Data file upload?Attachment=C:\CustomerFile.XML
Any help would be appreciated.
|
|
|
|
|
I haven't seen anything in the mailto syntax that supports that - Attachments are usually MIME encoded at part of the body and not the header. RFC-2368[^] does describe a "body" section, but it is plain-text, follows the keyword and most non alpha numeric characters must be encoded (i.e. space is represented by %20)
Steve
|
|
|
|
|
A MFC library
A vc Appwizard
I use this wizard to create a project,It say can't find "ID_VIEW_APPLOOK_2000"
I have installed the BCGControlBarProEvaluation.exe
Anyone has encounter the like me?
How to resolve this problem?
Thanks
|
|
|
|
|
Well I've not used the pro version, only standard which is fine. I'd try posting on BCGSofts support forum[^] and see if you can get help there
John Hudson
Megan Forbes on Life's little accidents: Never, under any circumstances, take a sleeping pill and a laxative on the same night
http://www.rainbow-innov.co.uk[^]
|
|
|
|
|
Thank you very much
|
|
|
|
|
I have always used Win32.hlp in my work, but with the emergence of WinXP I think I am missing a lot of the system functionality. Where can I get (for free, of course) the latest version of Win32.hlp that covers XP?
SMD
|
|
|
|
|
Anonymous wrote:
I have always used Win32.hlp in my work, but with the emergence of WinXP I think I am missing a lot of the system functionality. Where can I get (for free, of course) the latest version of Win32.hlp that covers XP?
If you want to use the newer XP API's, then you are probably best off downloading the latest platform sdk. Download here[^]
This will give you the latest documentation and the libraries and headers needed for the compiler.
Michael
CP Blog [^]
|
|
|
|
|
What is operator new and new operator in C++?How are they different?How are they implemented in C++?
|
|
|
|
|
sscottage wrote:
What is operator new and new operator in C++?How are they different?How are they implemented in c++
hello buddy,
i think there is no diffrence they oare same thing.
and about use,they are used for dynamically memory providing.
for eg look here
char *ch;
now if you want to allocate memory to it
use ch=new char[100];
and for freeing memory
delete []ch;
if you really want more message me bye and take care
-----------------------------
"I Think It will Work"
Formerly Known As "Alok The Programmer" at CP
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
"new operator" is used when refering to allocating new object.
i.e. char *bob = new bob [20];
"operator new" is part of the syntax used to specialize the "new operator".
They are both talking about the same thing for the most part.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
LIBCD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
Debug/sim.exe : fatal error LNK1120: 1 unresolved externals
Can someone tell me what this linking error could mean? I have no clue what it means so any help would be appreciated. Thanks in advance.
|
|
|
|
|
|
Hi friends,
I have a question about the custom controls in design mode.
I using VC 6 and when I create a custom control in a dialog, this appears with 0x50010000 default style. How I can know about each style that number represents?
Also for this number 0x50810000.
Thanks in advance!
Ivan Cachicatari
www.latindevelopers.com
|
|
|
|
|
in winuser.h we can find info about it:
/*
* Window Styles
*/
#define WS_OVERLAPPED 0x00000000L
#define WS_POPUP 0x80000000L
#define WS_CHILD 0x40000000L
#define WS_MINIMIZE 0x20000000L
#define WS_VISIBLE 0x10000000L
#define WS_DISABLED 0x08000000L
#define WS_CLIPSIBLINGS 0x04000000L
#define WS_CLIPCHILDREN 0x02000000L
#define WS_MAXIMIZE 0x01000000L
#define WS_CAPTION 0x00C00000L /* WS_BORDER | WS_DLGFRAME */
#define WS_BORDER 0x00800000L
#define WS_DLGFRAME 0x00400000L
#define WS_VSCROLL 0x00200000L
#define WS_HSCROLL 0x00100000L
#define WS_SYSMENU 0x00080000L
#define WS_THICKFRAME 0x00040000L
#define WS_GROUP 0x00020000L
#define WS_TABSTOP 0x00010000L
#define WS_MINIMIZEBOX 0x00020000L
#define WS_MAXIMIZEBOX 0x00010000L
#define WS_TILED WS_OVERLAPPED
#define WS_ICONIC WS_MINIMIZE
#define WS_SIZEBOX WS_THICKFRAME
#define WS_TILEDWINDOW WS_OVERLAPPEDWINDOW
and 0x50010000 mean the bitmask that represent current style set:
for example:
0x50010000
0101 0000 0000 0001 0...
0100 0000 0000 0000 0... = 0x40000000L //WS_CHILD
0001 0000 0000 0000 0... = 0x10000000L //WS_VISIBLE
0000 0000 0000 0001 0... = 0x00010000L //0x00010000L
if u want u can create an parse function to enumarate styles from a bitmask...
i think from now u can read those style values by yourself.
|
|
|
|
|
|
I want to ask you here how can I get the windows DDK to write windows drivers or if there is someone here who can help me with this. I'd rather not go to microsoft and get it becasue I do not have the time I want it very fast.
I need the libs and .h files so I can write drivers.
can someone help me with these please and can you also tell me please where can I find a tutorial in writting a simple driver because I am a beginner.
Please help me fast.
Thanks in advance.
gabby
|
|
|
|
|
You really should get it from Microsoft; it includes a lot of sample drivers and help files. It sounds like you're new at device drivers, get ready for a steep learning curve!
|
|
|
|
|
In addition to ordering the DDK CD, I also recommend buying a good book. I myself would advise for "Programming the Windows Driver Model, second edition", ISBN 0-7356-1803-8.
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
|
i have two edit control: A (IDC_A) and B (IDC_B). If I chance A, B has to be automatically updated. How? Using OnChange()? Please send me a some example codes.
|
|
|
|
|
Hi,
To do that, add OnChange function to edit A:
void CYourDialog::OnChangeIDC_A()
{
UpdateData();
m_sB = m_sA;
UpdateData(FALSE);
}
void CYourDialog::OnChangeIDC_A()
{
CString str;
CWnd *pCtrl = GetDlgItem(IDC_A);
if(pCtrl)
{
pCtrl->GetWindowText(str);
GetDlgItem(IDC_B)->SetWindowText(str);
}
}
Ivan Cachicatari
www.latindevelopers.com
|
|
|
|
|
The program compiles, links and runs fine; no problem.
In editing the source, there is a particular function when I go to the Wizard Bar and click on the function name, I get a message stating, "Cannot find the definition for this function. ClassView cannot find function definitions until they are saved at least once."
Not only has the file been saved, and saved over and over again, but if the function was absented, the program wouldn't compile, link, (etc).
In effort to try and solve the situation, I've deleted BOTH the ".ncb" and ".plg" files, recompiled the program and got a clean compile and link, but still the Wizard Bar is saying it cannot find the function.
Does anyone know of a solution to this kind of behavior by the Wizard Bar?
Thanks for any insight.
William
Fortes in fide et opere!
|
|
|
|
|
Hi,
I had a similar problem. I've deleted the .ncb, .opt and .plg files. And if it is necessary the .clw file (class wizard database), to restore reconstruct this later with Ctrl+W command.
If the problem persist with the Class Wizard, sometimes it does not recognize the functions that they contains parameters by default, for example:
void MyFunction(LPCTSTR param1 = NULL, CString param2 = _T("default value"), etc etc)
Ivan Cachicatari
www.latindevelopers.com
|
|
|
|
|
I've gotten some code from MSDN on getting file names from dropped file(s). I've turned off the 'm_pMainWnd->DragAcceptFiles();' in my app's initinstance because I don't want the whole app to accept files, just a listbox. I've derived my own listbox class to handle the drop message, but I still have the same 'No-drop' symbol for a cursor when I drag a file over the listbox. I set 'Accept files' to true for the listbox's properties, but that doesn't work either. Can it be that hard to get the filename from a dropped file? I've also looked at some examples here on CP, but none of those seem to help either
[insert witty comment here]
bdiamond
|
|
|
|
|
Here is something that is going to kill me
I already inserted the columns (I can see them on the GUI).
I verified I get valid string in the "date" variable, but still :
The first column is filled with the name The second columns is EMPTY , why ?????????????????
<br />
m_ctl_files_list.InsertItem (i,name,2);
m_ctl_files_list.SetItemText (i,1,date);
<br />
|
|
|
|