vb6 uhhh
Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za
Just a thought, suspected you already had. Could it be the format of the mail message? I know there are problems with extended charater sets when the email client only displays plain text.
Bob Ashfield Consultants Ltd
In the .IDL (or ODL file) change the declaration so it looks something like this:
HRESULT Command([out, retval] BSTR *pOut);
Now the function should look like this:
STDMETHODIMP CMyClass::Command(BSTR *pOut)
{
if ( pOut == NULL )
{
return E_POINTER;
}
*pOut = SysAllocString(L"Your string here!");
return S_OK;
}
If you're not familiar with BSTRs you should read up on them. Steve
the problem here that you cannot set all data to the clipboard. the clipboard cannot handle all types of data. it can only handle data in the formats given in the enum DataFormats. example: string str = (String)iData.GetData(DataFormats.Text);