|
Is it possible to embed an image to a HTML-formatted e-mail? I don’t want to create a link (with <img src=”http://...”> ).
I’m creating a newsletter mail application.
_____________________________
...and justice for all
|
|
|
|
|
You can embed it, but it won't be viewable in that format ( and it will be bigger ). You can attach it, but it won't be visible unless a mail program chooses to show it, and you sure won't get to say where the image is visible.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
I have a hardware connected to the usb which communicates by sending the data.When i will start the application and hardware as a fresh it will work fine.But when i will stop my hardware and run it again it will throw me a exception handle stating that the Access denied for COM1: as you dont have proper rights to the resource.But when i remove the USB plug and re connects my application to the hardware it will start working.
Do anyone know how to reset or re intiallize or reconnect the usb to hardware programitically...?
|
|
|
|
|
How about closing it ?
SerialPort serialPort = new SerialPort(...);
serialPort.Open();
...
...
...
serialPort.Close(); // <- close the connection
serialPort.Dispose(); // <- dispose resources in serialPort, use it if you close your application
|
|
|
|
|
I tried all the stuff u mentioned, but it didnt work.I need to unplug and plug again to make it work.So i am looking is there any way to unplug problematically.
|
|
|
|
|
Probably you are using a thread, and the thread is still active ?
You must end the thread.
What happened if you close your application and start it again ?
|
|
|
|
|
No I am not using any thread.Even i close and run the applicatio i face the same problem.As i mentioned i need to remove and place the cable again to re communicate the data.
|
|
|
|
|
That means, there are something wrong with your USB-COM adapter.
Try to install the newest driver. Probably it's a bug in driver.
|
|
|
|
|
I have updated with the latest drivers and still i face the same issue.
Unfortunately it is not working with any other hardware also.
|
|
|
|
|
Check your system, probably there are some process that watch your COM Port.
If you say "Unfortunately it is not working with any other hardware also",
that means something wrong in your system. That's not .NET problem.
|
|
|
|
|
I have a window application. When I turn off the computer while this app is running I get some error window with caption:
.Net-BroadcastEventWindow.2.0.0. end the program tries to close the app. after awhile I get a message that the app is not responding and the computer does not turn off automaticly but just when I close this message.
What does it mean? and How can I solve this?
Thanks.
|
|
|
|
|
|
Why don't you just capture WM_QUERYENDSESSION and respond to it.
Life is a stage and we are all actors!
|
|
|
|
|
i m new to work with crystal reports i write a query in sqlcommand which is an option in addcommand DATA BASE EXPERT. i have two parameter Date and Date2 i want the ouput between these parameter but it show errors when i finished it. "failed to open a rowset"plz chk and reply
SELECT Sum(b.TotalSale*b.Price) AS total, a.Category , a.[Transaction]
FROM TransactionType AS a INNER JOIN CouponTransaction AS b ON a.TransactionTypeID = b.TransactionTypeID
where b.TransactionDate BETWEEN ({?DATE}) AND ({?DATE2})
GROUP BY a.Category,a.[Transaction];
|
|
|
|
|
How is this a C# question ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
sorry i can't find a forum for crystal reports so i send my query in this forum plz help
|
|
|
|
|
I'd guess the SQL or database forums are appropriate, you posted SQL.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi,
I am currently using mailto link in the email to send a mail..This link does compose mail action..I need to place a link performing emails reply action..I should be able to set subject and toaddress as in mailto tag..
|
|
|
|
|
You can set To Address , Subject And Message Body like this
mailto:abc@xyz.com?subject=mailsubject&body=message to be set.
|
|
|
|
|
Hi,
Thank you for the reply..This mailto tag opens a new mail..I need to have the tag in an email..If I click the link ,I want the contents of that mail to be placed in new mail..similar to normal email reply action..
If I use mailto, how will I get the contents of that mail and place that in new one....
|
|
|
|
|
You want for the email you send to have a link to send back a new email ? The answer is the same, it just won't work unless the mail program is showing HTML.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
If you are sending the mail having reply link then you know the content of the mail so you can use that one.
|
|
|
|
|
My C# maded COM:
[Guid("47C976E0-C208-4740-AC42-41212D3C34F0"),
InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface MyCom_Events
{
void OK();
}
[Guid("368C19C3-A726-49b5-A2D8-482680ADDA1D")]
public interface IMyCom
{
int Add(int a, int b);
void OnOK();
}
[Guid("498627AF-BCD0-4a1f-95E4-739953847B60"),
ClassInterface(ClassInterfaceType.None),
ProgId("Test.MyCom"),
ComSourceInterfaces(typeof(MyCom_Events))]
public class MyCom : IMyCom
{
#region IMyCom Members
public int Add(int a, int b)
{
return a + b;
}
public void OnOK()
{
if (OK != null)
OK();
}
public delegate void OKHander();
public event OKHander OK;
#endregion
}
How to use it in VC after "import" method?
CoInitialize(NULL);
cscomtest::IMyComPtr pIMyCom(__uuidof(cscomtest::MyCom));
cout<<"out:"<<pIMyCom->Add(1,2)<<endl;
pIMyCom->OnOK();
CoUninitialize();
I am novice, thanks a lot.
http://blog.csdn.net/begtostudy
MSN/email:begtostudy@gmail.com
|
|
|
|
|
Hi
I want to create project windown app send msg using M-BOX gateway in C#. Can you help me? plz
Thank's
|
|
|
|