i am using visual studio 2013. when i am try to select combobox values i am this error (Accessviolationexception was unhandled:
(Attempted to read or write protected memory. This is often an indication that other memory is corrupt.)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Data.SqlServerCe;
using System.Threading;
namespace Rpos
{
static class Program
{
///
/// The main entry point for the application.
///
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new LoginPage()); // i am getting exception in this place (AccessViolationException was unhandled )
}
}
}
pls help me anyone as soon as possible..........thanks in advance

Abhay ShankerRank #375 · 6.7K reputationPosted Dec 20, 2014, 4:15 AM EST
http://stackoverflow.com/questions/12509252/unhandled-exception-system-accessviolationexception-attempted-to-read-or-write
Vinodh NarayananRank #175 · 13.8K reputationPosted Dec 20, 2014, 6:59 AM EST
http://bytes.com/topic/c-sharp/answers/947976-i-get-system-accessviolationexception-unhandled
hope it will works.... buddy
Sat65 reputationPosted Dec 21, 2014, 6:19 PM EST
as soon as possible.....
Sat65 reputationPosted Dec 21, 2014, 6:51 PM EST
Sat65 reputationPosted Dec 21, 2014, 7:09 PM EST
Ashraf Ansari85 reputationPosted Dec 21, 2014, 9:01 PM EST
Please increase the virtual memory for VS studio and close some unwanted applications.
Joginder BangerRank #360 · 7K reputationPosted Dec 21, 2014, 9:25 PM EST
The project bus built on 32 bit operating system and i was trying to run on 64 bit operating system.
Goto configuration manager platform select the appropriate platform.
or try this link
http://bytes.com/topic/c-sharp/answers/947976-i-get-system-accessviolationexception-unhandled
Sat65 reputationPosted Dec 21, 2014, 9:26 PM EST