For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
and, though the user receives his email, when I test my SMTP locally, the plain background image (600px x 600px) does not appear. In Visual Studio (2013), I don't get any errors. The image, emailBG.jpg, is in my Images folder in Solution Explorer, and the code I am using to send plain and HTML emails, and for the background image, is as follows:
Dim PlainMessage As AlternateView = AlternateView.CreateAlternateViewFromString("Hello. To reset your password....Nothing, "text/plain")
Dim mimeType As ContentType = New ContentType("text/html")
Dim HtmlMessage As AlternateView = AlternateView.CreateAlternateViewFromString("<pstyle......Nothing,"text/html")DimLogoAsNewLinkedResource(Server.MapPath("~/Images/emailBG.jpg"),"image/jpeg")'embeddedimageLogo.ContentId= "emailBG"myMessage.AlternateViews.Add(PlainMessage)myMessage.AlternateViews.Add(HtmlMessage)</<prelang="HTML">
Looks like the HTML version of your message has been truncated, so we can't see what styles you've applied.
And remember, if you're setting a background image for a <p> tag, it will be cropped to the site of that paragraph of text. You probably want to specify the <body> tag, and put the background image there:
Dim HtmlMessage As AlternateView = AlternateView.CreateAlternateViewFromString("<body style=""background:url('cid:emailBG') no-repeat;"">...</body>", Nothing, "text/html")
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Hi,I want to use Skype for develop virtual classroom i.e. Online classroom In The Asp.net web application project with C#.So that when the time comes classes start Skype for all student in this class. I will be grateful to you if you provide any solution.
I have developed audio recording facility to my website.. But it is giving wav formatted base64string.. Can we convert wav to mp3 format or if possible can we reduce base64String size? Because internet explorer is supporting only mp3 files to play.. Is there any way to solve my issue?
Any suggestion will be useful for me.. Thanks in advance..
Thanks for your valuable reply and solution link.. I will go through on it once..
Is there any way to reduce size of the base64String..I am uploading mp3 file as base64String..It is taking too much time to upload.. I would be very grateful for any feedback you could might be able to give me.
I saw your code regarding "A New Task Scheduler Class Library for .NET" My question is, I want to create task on XP and later, Server 2000 and later with BootTrigger,LogonTrigger,DailyTrigger,TimeTrigger triggers. I am not able to create it on windows 10 using above code. Will you please suggest me required dll or required changes?
i searched google a lot still got no good explanation with example. mostly all write up is saying put is idempotent and post is not but i need a sample code which discuss or show idempotency of put method. so my request anyone can explain the put idempotency with example code or redirect me to right article link which discuss the same with example code. thanks
I want to redirect to Home.aspx page but I am getting this error message:"System.Web.HttpException: Response is not available in this context" in the line of Response.Redirect("Home.aspx"); Any idea on solving this?
So based on the name, that method is being called when data has been received from a serial port on the server - potentially some time after the page has finished executing and returned the response to the user.
The user is not still connected to the page, and there is no "response" to alter.
I'm building a web application which involves using Google Translation.
The goal is to have the user enter the text into a text-box on my form, and then my code should take that string and enter it into Google Translate and retrieve translation. Any ideas how I can do that? Google Translator doesn't affect URL in any way when a query is entered or when a result is returned. It's completely in-page and URL independent, so I can't do anything there.