|
Does this have anything to do with C#?
|
|
|
|
|
if mails comes through c# code? then?
|
|
|
|
|
Then show the code that is not working and explain why. All you have given us is a vague description of something not happening.
|
|
|
|
|
As Richard has stated this isn't a C# problem, but a Outlook problem. It all changed when they dropped internet explorer from rendering the HTML emails and swapped it to word.
I would have a read of this SO Question[^], the first answer shows you in code how to achieve it.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
I like the feature of email clients *not* to automatically load content from the web. Normally the email client offers the possibility to load the external content on request - and I hardly ever do so. Why should I want to load tracking images in my email, or even worse: malware images which make use of vulnerabilities in graphics libraries?
|
|
|
|
|
hi,
how to read the actual content available in .SPL file which was generated by printer driver during the printing of any file using any open source dll in C#.net?
could you please provide me any suggestions to implement the above task?
thank you.
|
|
|
|
|
What does SPL mean in this context?
Samsung Printer Language?
|
|
|
|
|
windows spool file format, which was generated by printer driver at the time printing any file
|
|
|
|
|
The first thing you need to research is the format of the SPL files, or find a library that will decode it for you.
|
|
|
|
|
Well, to 'read' the file you could use some available viewer for SPL files: [^].
But, if you want to 'parse' the format yourself in code, use this reference as a starting point for the file format: [^].
I think parsing it yourself would be a huge task, because: you may have to deal with either EMF-SPL and Raw-SPL, and with Raw-SPL (from the link above):
In the case of RAW data, the content of the file is exactly the same as the data send to the printer ... So this data could be PCL, PostScript, ESC-P, CaPSL, Prescribe or similar.
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|
|
|
Hi,
I am trying to open a file from a network path like this:
file_path = registry_key.GetValue("Path").ToString();
string file_name = file_path + "H" + date.ToString("yyyy-MM-dd") + ".TXT";
but nothing is happening and no error. It works fine when I use a local PC path like C:\TEMP
How can I solve this please?
Technology News @ www.JassimRahma.com
|
|
|
|
|
Jassim Rahma wrote: How can I solve this please? First, by extending your code sample...
What value file_path has? How do you try to open the file?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Jassim Rahma wrote: How can I solve this please? Probably by fixing your code. But since you did not show the code that is failing, or the actual path that you are trying to open, it is difficult to suggest anything.
|
|
|
|
|
Do some reading around the the Path [^]class and understand what a UNC path is and why you use it.
Remember everyone on the network may not map their drives identically.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Yes!
Probably something to do with backslashes. Path is the way to go when building up, err, paths...
Regards,
Rob Philpott.
|
|
|
|
|
What value does file_path contain? Does it use a UNC path?
You need to determine what value file_path contains and then see if you can open the same path in Windows Explorer. If this works fine then check if the file exists. You should check for its existence in your code.
If (File.Exists(file_name)
{
}
|
|
|
|
|
someone to help me out in using Math to solve part of quadratic formulat which goes thus: √b^2 - 4*a*c using Math class. tnx t
|
|
|
|
|
Where are you stuck? Math.Sqrt(...) ?
|
|
|
|
|
Perhaps they did not mean class as in C# class but class as in they want you to come to class to help them?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
Hello,
I have a .NET 4.0 app with MS SQL Compact 3.5 Database.
And I have a password dialog.
There are 3 questions:
- How do I protect the DB with password? (existing DB)
- How do I remove the password from DB? (with keeping data)
- How do I check if the DB is protected with password? (for displaying password dialog)
Not always the user of the app wants to password protect the DB, and I don't want to display the dialog if DB isn't protected...
Thank you for the answers,
VitekST
|
|
|
|
|
|
Dear Experts,
I have a problem during change image for child level in each node, I have assigned an image to treeview, and I have assigned other image to selected Node, I need to assign an image for the some childs in each node.
For example:
Root
|_Node1
|_Child1 (Need to assign image)
|_Child2 (Need to assign image)
|_Child3 (Need to assign image)
I have populate the treeview from Database recursively.
Thanks,
Ahmad
|
|
|
|
|
Is it the case that you don't know what nodes are in the TreeView until it is populated ... so you have to navigate the populated TreeView and assign images to nodes based on their depth (TreeNode.Level) ?
Your question implies something about selecting nodes, but I am not clear what that is.
If you can be more specific, I think I have some code that will be helpful (I've spent years working with the TreeView).
In any case, I am pretty sure you will need to use an ImageList to hold all possible images for the nodes: do you have that already implemented ?
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|