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.
We are trying to create an EntityDataModel project for Postgresql Database. When trying to make a connection to the Postgresql Database via ADO.NET EntityData Model New Connection button, the Data Source does not list Postgresql Data Source. Request you to please guide us as to how to go ahead so that we can have an entity Data Model for Postgresql Database.
That's just a link to the email confirmation page.
That isn't code...did you mean to post something totally different, or do you need to explain your problem as well as post a link? Because at the moment, this is not understandable in any way as a question we can answer.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
While running R.Net code in Visual Studio I am facing issues in closing instance of REngine object. Although I am using engine.dispose() method after calling R script through command line, but while rerunning the code instance is still running and throwing error. Any help suggested?
Guys don't be too hard with him. you have 2 ways to do it:
1. with special equipment like Intel real sense or Microsoft Kinect v2. The real sense comes with tons of .net samples and fully integrated to Unity. You can find Mirosoft Kinect V2 samples in the unity market but its only fully integrated with the Unity pro version. you can still use the free but its not that comfortable...
2. Just use a third party library like OpenCV (but there are others…) http://docs.opencv.org/modules/contrib/doc/facerec/facerec_tutorial.html
I want to send mail asynchronously using .net libraries. I am using SendMailAsych() it is working fine for webForm application but same code is not working for console application. Below is code which i am using in my project. Please can you tell me where i am doing mistake. SendMail is funtion which I am using to send mail.
public async Task SendMail(string subject, string body, Listattachments)
for (int i = 0; i < attachments.Count; i++)
public Task SendMailFinally()
return Task.Run(() =>
catch (Exception ex)
Yeah i am not waiting for it where i am calling SendMail.
Well that's the problem - the console application is exiting before the SmtpClient has had a chance to send the message.
Task sendEmailTask = smtpmail.SendMail(subject, body, list);
// Wait for the message to be sent:
catch (Exception ex)
Your SendMailFinally method is also dodgy - you're spinning up a new Task to call a method which spins up a new Task to do its work, and you're not awaiting the result of the SendMailAsync method. Change it to:
An issue occur while performing multiFile selection in framework 3.5. I am using 'jquery.MultiFile.js' and 'jquery-1.8.2.js' scripts to achieve it. My attachment control is inside a update panel within Tab control. Everything is fine but when i am use async or full post back then file uploader control can not read script and can not select multiple files. My Code part is as follows :
Why is it that Metro style apps do not include "Imports System.Data.SqlClient"?
I found this out about a year ago and I have not asked why Visual Studios for metro apps does not allow for SqlClient. I feel that by doing this Microsoft is pushing away developers from using MSSQL Server. So you have options of using SQL Lite, Azure Web Services, WCF and there might be other ways to get data. However that takes away from precious time us developers have to make apps.
Also are there any work arounds for using MSSQL Server and using Imports System.Data.sqlClient?
Open the references tab, and look for .NET for Windows Store apps. You will see that System.Data namespace (or System.Data.SqlClient namespace) is not available for use in Windows Store applications. Because, all of them require a separate framework, .NET framework and thus kills the purpose of Windows Runtime to be used.
Here are a few threads that might help you in understanding the feedback for such actions. Programmers are raising their voices for getting System.Data namespace in Metro style apps.