|
hosamaly wrote: my CER code
Huh? Do you mean CLR? You could always take a look at FxCop, though it is more for checking coding standards.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
|
No, I mean CER: Constrained Execution Region.
Thanks for your reply anyway.
My LinkedIn Profile
|
|
|
|
|
Thanks for the clarity. Not very familiar with CER. Good luck to you
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
|
Unfortunately, there isn't. Sorry.
|
|
|
|
|
So sad
Thanks anyway
I would be grateful if you could link me to a checklist of some sort...
Thanks again
My LinkedIn Profile
|
|
|
|
|
I have one small quesion on how to use accelated key on a button:
I have one 'OK' button in a Dialog, I want to press the 'return' key to replace the function of clickint OK button,how to do?
thanks
|
|
|
|
|
In winforms, set it as the accept button.
It's a property on the form called "AcceptButton", just change it to the button you want to be the default accept button.
Simon
|
|
|
|
|
In addition to what Simon said, have a look at setting the DialogResult property for your buttons so you can get a result when the dialog returns.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Hi Guys,
I am doing an application that deals with zip and unzip and am using j# libraries vjslib.dll which work really great on my machine but when deployed on server I get the message vsjlib can not be fouund. Is there any service pack or link that I can download the whole vjslib.dll along with its dependencies?
Please help!
|
|
|
|
|
The J# runtime library is not included in the default .NET framework. That is a separate download that needs to be installed. I would suggest converting the app to C# or VB as J# is also a discontinued language and the runtime will not be updated to accomodate the .NET 3.0 or above.
Link: http://www.microsoft.com/downloads/details.aspx?FamilyID=f72c74b3-ed0e-4af8-ae63-2f0e42501be1&DisplayLang=en[^]
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
Kinda useless reply.... He was specifically looking for the zip functionality which is not present in either C# or VB.NET.
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
exactly. My application is c# but am using that library for zip features so my question is where can I download that particular package that contains only that library and its dependencies?
|
|
|
|
|
|
thank a lot. I will let u know if that fixes the issue.
|
|
|
|
|
I am using c# but since it doesn't support the zip I use that library. it is not on the server so please tell me what to do if u know it.
|
|
|
|
|
|
Your link for the image is broken.
Your generics got swallowed too.
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
Genius![^]
Write your codes into Java and post them in Java forum! Oh, don't forget C++, there are experts that can help you. Maybe some XAML and it becomes a WPF question?!!
Life is 5: 3 me, 1 you.
|
|
|
|
|
don't get it... is against the rules?
some people don´t use both languages u know...
|
|
|
|
|
Rules? No idea but read Simon Stevens's post, he explained well. Here[^]
Life is 5: 3 me, 1 you.
|
|
|
|
|
The problem
Using itextSharp to convert an html file to pdf and emailing it, I am unable to successfully parse an html file on the web server backend even when doing "absolute" or "relative" image referencing itextSharp fails and says "unable to find file c:\my_image.jpg" this is crazy didn’t specify c:\my_image.jpg as a path !!!
The madness of all this is it works well on my local file system, when the html file is located on asp.net using an IIS webserver i get the above described error.
Here is my code.
<html xmlns="http://www.w3.org/1999/xhtml"><br />
<head><br />
<title></title><br />
</head><br />
<body><br />
<table width="100%" border="0" cellpadding="1" cellspacing="5" style="font-size:10pt font-family:Arial, Tahoma"><br />
<tr><br />
<td colspan="2" align="right"><br />
<img src="logo.gif" /><br />
</td><br />
</tr><br />
</table><br />
</body><br />
</html><br />
<br />
<br />
asp.net code behind <br />
<br />
private void SendEmail(string attachmentName, string pdfDocumentHtml, <br />
string mailSubject, string mailBody, MailAddress fromEmailAddress, <br />
List<mailaddress> toMailAddressCollection)<br />
{<br />
Document doc = null;<br />
XmlTextReader reader = null;<br />
MemoryStream ms = null;<br />
MemoryStream msPdf = null;<br />
MemoryStream msHtml = null;<br />
try<br />
{<br />
<br />
doc = new Document(PageSize.A4, 10, 10, 10, 10);<br />
<br />
msPdf = new MemoryStream();<br />
PdfWriter.GetInstance(doc, msPdf); <br />
msHtml = new MemoryStream(new ASCIIEncoding().GetBytes(pdfDocumentHtml)); <br />
<br />
reader = new XmlTextReader(msHtml);<br />
reader.WhitespaceHandling = WhitespaceHandling.None;<br />
HtmlParser.Parse(doc, reader);<br />
ms = new MemoryStream(msPdf.ToArray());<br />
<br />
<br />
var attachment = new Attachment(ms, new ContentType("application/pdf"));<br />
attachment.Name = attachmentName;<br />
attachment.NameEncoding = Encoding.UTF8;<br />
MailMessage email = new MailMessage();<br />
email.From = fromEmailAddress;<br />
<br />
foreach (MailAddress address in toMailAddressCollection)<br />
{<br />
email.To.Add(address);<br />
}<br />
<br />
email.Attachments.Add(attachment); <br />
email.Subject = mailSubject;<br />
email.Body = mailBody;<br />
email.IsBodyHtml = true;<br />
SmtpClient client = new SmtpClient();<br />
client.Send(email);<br />
}<br />
finally<br />
{<br />
<br />
if (reader != null)<br />
reader.Close();<br />
if (ms != null)<br />
ms.Close();<br />
if (msPdf != null)<br />
msPdf.Close();<br />
if (msHtml != null)<br />
msHtml.Close();<br />
}<br />
}<br />
</mailaddress>
Thanks in advance
Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.
|
|
|
|
|
Anyone??
Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.
|
|
|
|
|
What does it code do? Can give me an example
String str;
str.TrimEnd(new char[0])
Thanks.
|
|
|
|