poo's Q&A profile
Visual Studio Express Editions TableAdapter.Update does not save data
How can I save data entered in a dataset via the UI I tried the code suggested in the "VB Guided Tour", Private Sub Form1_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Me .AddressesBindingSource.EndEdit() Me .AddressesTableAdapter.Update( Me .SQLdbDataSet.Addresses) End Sub but all changes are lost when I restart the application. Thanks. ...Show All
SQL Server Cannot Open User Default Database (error 4064)
Hi, SQL Server 2005 installed on my computer. i was trying to make a login page with VS.2005 pro. But i got some errors on Website Administration Tool. Whatsoever, i registered a database (aspnetdb) . Then, i think i made my default database to aspnetdb. Something went wrong and i decided to delete aspnetdb and start whole procces from the begining and i did it. AAANDD WHOOOLA. I got this error: Cannot Open User Default Database, Login Failed M ...Show All
Visual Studio Express Editions Problems with the ASP.NET configuration tool web site
Hi, I am following a tutorial about "Integrate Sql Server 2005 Express Edition with Visual Web Developer Express Edition" and in the tutorial, there are some options in the ASP.NET configuration tool web site that I don't have in my version of Visual Web Developer 2005. For example, I can't add providers and I don`t have the option "Profile" in my ASP.NET configuration tool web site. Somebody knows, what happened with my vers ...Show All
Windows Forms XP Style Controls
Can you suggest any XP Style windows controls in .net. Thanks in advance Prashanthan K sure, I'd suggest the RadioButton, it's delicious with guacomole, and it microwaves itself! just kidding. what the heck do you mean --------- Windows Forms Controls adopt&nb ...Show All
Visual Studio Fails to display Image button, button inactive and Image reports= red cross
Hi, I got Three problems : CR11/W2KS 1- In the .net viewer , the button picture (export, print etc..) are a red backslash 2 - Those button are not responding (no export, no print..) 3- pictures on reports are small red cross Some idea Thank You Lucien Sounds like a permissions issue. could be one of two things, insufficient permissions to the C:\Program Files\Common Files\Business Objects\3.0\crystalreportviewers11 d ...Show All
Windows Forms Printed Output Doesn't Match PrintPreview Using PrintDocument
For some reason, the printed output on paper doesn't match what's shown in the PrintPreview dialog. In the preview, everything looks correct, but when printed the output is shifted down and to the right by about 1/2". Also, the last line or&nbs ...Show All
.NET Development Automatically detect a CD and read CD contents
Hello all, I am trying to make a module which will do two jobs: 1. Automatically runs when a CD is inserted into the cd rom drive. 2.copies the contents on CD to any location on hard disk. I am usng C#.net 2003. Anyone please help me! Thanks http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_intro.asp http://msdn ...Show All
SQL Server No access from Application to SQL Server 2000
I have installed the SQL Server 2000 and its up running. I can connect to the database direct as administrator, but my test application(asp.net 2.0) returns an exception. SqlConnection sqlConn = new SqlConnection( " data source=10.61.90.24;initial catalog=testdb;persist security info=False;user id=sa;pwd=data;Type System Version=SQL Server 2000;" ); sqlConn.Open(); I receive this exception: An error has occurr ...Show All
Windows Forms MSB3110
Hi, I am using mage.exe to deploy a simple clickonce application but I keep on getting the warning MSB3110 after mage -New application ........... I have read this MSBuild Error MSB3110 MSB3110: Assembly '<assembly>' has mismatched identity '<AssemblyIdentity>', expected filename: '<file>'. This error is generated when the assembly file name obtained from the assembly identity does not ma ...Show All
.NET Development Dynamically changine the SOAPAction
I need to dynamically change my SOAPAction at run time to support calling a webservice method that is implmented in both .NET webservices as well as a SOAP::Lite webservice. I'm doing this with .NET 1.1 and Visual Studio 2003. So far I haven't figured out a good way of doing this. I've found a function: 'SoapServices.RegisterSoapActionForMethodBase' which seems that it should do what I want but it doesn't seem to affect the operation (probably I ...Show All
Windows Forms Pass value from a WinForm to other WinForm
Hi All, I have a problem how to pass value from one WinForm to other WinForm. I have two WinForms, one WinForm is full of text box and one buttom, once user pass buttom, it will prompt an second WinForm which has a datagrid, user&nbs ...Show All
Visual Studio Team System Using Microsoft Project with TFS Work Items
Has anyone managed to make this work form them in a useful way I have always used Microsoft Project Pro to manage the versions and iterations in out projects. We manage this in an agile way using methodologies very similar to MSF. One thing we have to do is define versions and iterations within each version. Obviously, TFS allows us to define iterations, which is great. However, we need to be able to quickly and easily move work items b ...Show All
.NET Development Sudden DB connection failures & session expiry problems - How to find the cause
I've been tearing my hair out over this one and I can't seem to find a solution :( Here is the error message in question: ExecuteScalar requires an open and available Connection. The connection's current state is closed. at System.Data.OleDb.OleDbConnection.CheckS tateOpen(S tring method) at System.Data.OleDb.OleDbCommand.ValidateC onnection( String method) at System.Data.OleDb.OleDbCommand.ValidateC onnectionA ndTransact ion(String method) at ...Show All
.NET Development 64 bit compilation starts always with /D "Win32"
This might be a VS general issue but I decided to post it here: I am porting a project to AMD64 bit. After solving some poting issues I am facing the following problem: The compiler is started with /D "Win32" , although in the project configuration WIN64 is defined. I tried - to rebuild... no effect - to reload solution ... no effect In the vcproj file the defines are correct. I could upload a screeenshot if possible. ...Show All
Windows Forms New record in datagrid
I've a datagrid where I show some brief data & form with textboxes & comboboxes to show detailed ones. I've a proper databinding on textboxes & comboboxes cause during navigation on datagrid proper data are displayed on form. I've a method fo ...Show All
