I recently developed an application and it successfully ran in my computer where I developed. But when I tried to run in my client's system, it returns: An unhandled microsoft .net framework exception occurred in Members Manager.exe [2916] The number in the square braces appears randomly. I can't figure out what is the cause for this problem. I created the application in .NET framework 4.0 and I installed the same in client system. My other application of same framework work perfectly except this one. But this application runs perfectly in my system. I tried installing Visual Studio in client machine …

Member Avatar
Member Avatar
+0 forum 1

Hi, When debugging the page i am getting error("argumentexception was unhandled by user code"). Can any one help me on this. in .aspx page: <asp:DropDownList ID="ddlCategoryID" runat="server" CssClass="input"> </asp:DropDownList> in .aspx.cs page: pageload : Bindmasterdata(); ---- DataTable dt = new DataTable(); using (OracleConnection Con = new OracleConnection("SConnectionString")) { Con.Open(); OracleCommand cmd = new OracleCommand("Select * from nts_advertisements", Con); OracleDataAdapter da = new OracleDataAdapter(cmd); da.Fill(dt); } ddlCategoryID.DataSource = dt; ddlCategoryID.DataTextField = "Category"; ddlCategoryID.DataValueField = "Category"; ddlCategoryID.DataBind(); Thanks in advance. Regards, Kavitha Kesav

Member Avatar
Member Avatar
+0 forum 4

Hi everyone i'm using vb 2008 for this project and i'm still not so familiar with it so please help me... I'm trying to display image from MS Access database to another form picturebox but its not working. this is the error i always encounter -> (System.ArgumentException was unhandled Message: Parameter is not valid.) Dim cn As New OleDb.OleDbConnection cn.ConnectionString = "" cn.Open() Dim arrImage() As Byte Dim myMS As New IO.MemoryStream Dim da As New OleDb.OleDbDataAdapter("SELECT * FROM tblRecords " & _ " WHERE ID=" & Me.txtID.Text, cn) Dim dt As New DataTable da.Fill(dt) If dt.Rows.Count > 0 Then …

Member Avatar
Member Avatar
+0 forum 3

Hi there, I'm fairly new to this C++ thing so I hope you can help. I'm writing a program that prints out the coordinates of atoms in a simulation box (30x30x30). I have a fair few header and .cpp files so I'll only paste the bits that are faulty. I basically set up a subroutine to print out the coordinates of the atoms, and then use a loop and a random number generator to "insert" particles into that box. Here's the code: // Subroutine to print a PDB of the coordinates void print_pdb(double **coords, const int simbox_TotalNparticles, const int move) …

Member Avatar
Member Avatar
+0 forum 1

Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick frmDisplayLockerInfo.Show() frmDisplayLockerInfo.TextBox2.ReadOnly = False frmDisplayLockerInfo.TextBox3.ReadOnly = False frmDisplayLockerInfo.TextBox4.ReadOnly = False frmDisplayLockerInfo.TextBox5.ReadOnly = False frmDisplayLockerInfo.TextBox6.ReadOnly = False frmDisplayLockerInfo.TextBox7.ReadOnly = False frmDisplayLockerInfo.TextBox8.ReadOnly = False frmDisplayLockerInfo.TextBox9.ReadOnly = False frmDisplayLockerInfo.TextBox10.ReadOnly = False frmDisplayLockerInfo.TextBox11.ReadOnly = False frmDisplayLockerInfo.TextBox12.ReadOnly = False frmDisplayLockerInfo.TextBox13.ReadOnly = False frmDisplayLockerInfo.TextBox15.ReadOnly = False frmDisplayLockerInfo.TextBox14.ReadOnly = False Dim i As Integer Dim ds As New DataSet i = DataGridView1.CurrentRow.Index Label1.Text = i frmDisplayLockerInfo.TextBox1.Text = DataGridView1.Item(0, i).Value frmDisplayLockerInfo.TextBox13.Text = DataGridView1.Item(1, i).Value frmDisplayLockerInfo.TextBox15.Text = DataGridView1.Item(2, i).Value frmDisplayLockerInfo.TextBox12.Text = DataGridView1.Item(3, i).Value frmDisplayLockerInfo.TextBox2.Text = DataGridView1.Item(4, i).Value frmDisplayLockerInfo.TextBox3.Text = DataGridView1.Item(5, i).Value 'Dim DS As New DataSet 'If …

Member Avatar
Member Avatar
+0 forum 5

I'm fairly new to visual basic. I was trying to make a program that generates code for you, based on whatever the user inputs. But whenever I click generate, I get this error "Invalid CastException was unhandled. Conversion from string "//Generated using MAYAN. Minecr" to type 'Double' is not valid." It says it is affected by the line: " Code_Viewer.TextCodeViewer.Text = "//Generated using MAYAN. MinecraftMayan.tk" + vbNewLine Here is my source code.. Thanks to anybody who helps! :) http://pastebin.com/wHBbqK5K I decided to post it on pastebin, it's easier to read.

Member Avatar
Member Avatar
+0 forum 2

[B]On visual studio 10:[/B] I've tryed out some code and everything was fine, but when I use this line: [CODE]sf::RenderWindow App( sf::VideoMode ( 800, 600, 32 ), "Hexagon Puzzle Thing" );[/CODE] Or anything with RenderWindow I get an: Unhandled exception at 0x76adfeb8 in SFML + Box2D Project.exe: 0xC0000005: Access violation reading location 0xcccccccc. Code I'm using: [CODE]#include <SFML/Graphics.hpp> int main() { sf::RenderWindow App( sf::VideoMode ( 800, 600, 32 ), "Hexagon Puzzle Thing" ); while( App.IsOpened() ) { sf::Event Event; while( App.GetEvent( Event )) { if( Event.Type == sf::Event::Closed ) App.Close(); } App.Draw( sf::Shape::Rectangle( 350, 200, 600, 350, sf::Color::Green )); App.Display(); …

Member Avatar
+0 forum 0

I am learning directx from [URL="http://www.directxtutorial.com"]directxtutorial.com[/URL] and when I have compiled one of the samples and run it then close it I get an error message saying "Unhandled exception at 0x010a1883 in test.exe: 0xC0000005: Access violation reading location 0x00000000.". What does this mean? I have checked that I have typed out all the code correctly and that it's exactly the same as on the tutorial. Here it is: [CODE]#include <windows.h> #include <windowsx.h> #include <d3d11.h> #include <d3dx11.h> #include <d3dx10.h> #pragma comment (lib, "d3d11.lib") #pragma comment (lib, "d3dx11.lib") #pragma comment (lib, "d3dx10.lib") IDXGISwapChain *swapchain; ID3D11Device *dev; ID3D11DeviceContext *devcon; void InitD3D(HWND hWnd); void …

Member Avatar
+0 forum 0

I'm trying to store a data from the checkbox. when i checked on NSO Birth Certificate it has to be stored into my mssql server. here is my code If nso.Checked = True Then strsql = "insert into student info(Requirements) values ('" & nso.Checked & "')" Dim sqlcmd As New SqlClient.SqlCommand 'opens the db sqlcmd.CommandText = strsql sqlcmd.Connection = sqlconn sqlcmd.ExecuteNonQuery() End If But when i check on the NSO Birth Certificate the error says [B]SqlException was unhandled. Incorrect syntax near 'info'.[/B]

Member Avatar
Member Avatar
+0 forum 1

Hello, I'm a newbie working with vbnet but i'm trying to create a project were I enter a name in a textbox and save it to a access database. I'm trying to create the OledbConnection but i'm getting this error: "oleDbException was unhandled" this is the code i'm using: [CODE]Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load con = New OleDbConnection("provider=microsoft.jet.oledb.4.0; data source= pract.mbd") da = New OleDbDataAdapter("select*from emp", con) cb = New OleDbCommandBuilder(da) ds = New DataSet da.Fill(ds, "emp") End Sub[/CODE] Thanks!!!!!

Member Avatar
Member Avatar
+0 forum 4

I'm running a structural analysis program in VS2010 which iterates through a loop up to 4000 times. The program keeps breaking on me around the 960th loop and gives the following error Unhandled exception at 0x0040cd1d in Structural Analysis Program.exe: 0xC000005: Access violation writing location 0x00000000. The error seems to come back to the following function each time [CODE] Matrix2D getTranspose(Matrix2D a) { Matrix2D transpose = Matrix2D(a.getNumColumns(), a.getNumRows()); for(int i=1; i<=a.getNumRows(); i++) { for(int j=1; j<=a.getNumColumns(); j++) { transpose.setElement(j, i, a.getElement(i, j)); } } return transpose; } [/CODE] This is defined as a function in Matrix2D.cpp which also contains the …

Member Avatar
Member Avatar
+0 forum 19

The End.