VS2008 takes long time on our Windows 8 x64 bit machine
Hi,I have VS2008 on a Windows 8 64 bit machine. The project(Windows 32) was upgraded from framework 1.1 to framework 3.5. But the project runs very slow, compared to that VS2008 project running on a...
View ArticleAny source/example/tutorial for edit directly the griddataview blind with...
Hi, i'm currently started to learn c# which i wanted to create a interface with girddataview that can directly edit and export to excel file. Is there any example/tutorial i can do as reference ? your...
View ArticleStream Writer not populating
I am running this code, but when I hit the foreach loop it never writes any data just closes the connection and moves on...What do I need to alter?'SqlCommand cmd = new SqlCommand(QS, con); con.Open();...
View ArticleCrystalReportsException was Unhandled
When I want to open a crystal report it shows an error:"CrstalReportException was Unhandled""Load report failed"Previously it was working.My code is: private void New_Stock_Load(object sender,...
View Articlepossible to allow user to resize ListView?
I'm working on Visual C# (VS 2010). I have a form with a listview with several columns and a multitude of controls that allow the user to finely tune what is displayed in the listview, from the max...
View ArticleProblem with Mailbox
Hi, Exchange server is working fine in the server. with these codes MailMessage message = new MailMessage(); message.From = new MailAddress("Administrator@my-friend.co");...
View Articleupload/delete/save a xml file using c#
I have several xml files and i need to delete the duplicate data from files but need to know how to load a file at runtime and delete the data then save the file using 3 buttons and richtextbox in...
View ArticleUnderstanding IDisposable
A while back we were having issues with memory leakage. So, we went through our system and implemented IDisposable on pretty much all of our controls. Basically, we just created a Dispose method for...
View ArticleReading output from already running .exe
Short and simpleBasic outline of what I'm doing:actionscript --> c# (hey execute c++ and send me the info it gives to you) c# ---> c++ (hey wake up! run your code with a set of parameters and...
View ArticleSuppress exception
Hi I would like to know, how could I suppress exception from higher level? For exampletry { try { Throw new MyException(); } catch() { } } catch(MyException ex) { // I DO NOT ONE THIS TO BE DETECTED....
View ArticleHow do I use a dictionary?
So I have these options for the user:"Warrior""Bowman""Mage"If I use a switch case it would be like this:switch (comboBox1.SelectedItem().ToString()) { case "Warrior": multiplier = 1.5; mastery = 20;...
View ArticleShowing/Hiding/Closing the Winform hosted inside a WPF WindowsFormHost?
So I've inherited an application that had ~10 winforms that control program flow. That program now must reside "within" a WPF application using the WindowsFormHost control. I've got it displaying and...
View ArticleUIAutomation and TextControl - how to check checkbox(?)
Hi,I can observe a strange behavior of TextControl(?) Let's see on the picture:This is my control, and Inspect info for the check box (not theDisable text!) is: How found:Mouse move...
View ArticleMVC config to accept Encryption certificate from ADFS
I need your help on how to configure the MVC application so it can accept the encrypted SAML token return by ADFS. As background, I use ADFS as an identity provider in MVC web app and it works well...
View Articlegetting SQLite App working when compiled on a 64 bit pc to run on a 32 bit pc
I have a small app running on my Win7 64 bit pc. Works great. Unfortunately, I cannot get the application to run on my Win XP, 32 bit laptop. It starts ok, but when I try an access the data, it...
View Articlec# MSTSCLib set LoadbalanceInfo issue..
Hi all..Probem to use the C#, to create a Terminal Service hs occered me.1 byte is plus arbitrarily at the end when converting to Unicode byte if the length of the Loadbalance is odd.Because they...
View ArticleCan I Set Expiry Date for Email using C#?
Hi Experts,I am sending an email to user. I want to make that mail auto delete from user account after three days. Is it possible to set expiry date for sending mail. Please suggest with your...
View ArticleSend an Email with expiration date?
hi,I want to set expirary date for an email using c# ,how can I achieve that if some one worked on that please let me knowThanks and regardsmurali
View ArticleSend input and receive output from running process
Hi, I'm new to the forums so I'll just ask my question:Is it possible to send input and receive output from running process?I use this to start a process...(and it works)Can I do something similar with...
View Article