Answer Questions
BlueAce "Error creating window handle" upon Opening Window with another Window Maximized
I am having a problem with my MDI application. I noticed that if I have one of my windows Maximized inside the MDI Parent and I load another form, the program will crash with the error: An unhandled exception of type 'System.OutOfMemoryException' occurred in system.windows.forms.dll Additional information: Error creating window handle. The big problem is, this only occurs in about half of my forms. I can replicate this error consis ...Show All
PieInSky Connecting problem
Hi. I am having problems with the TCPClient Class in .NET (1.1) If i connect to the server app from either mobile device or the Windows Client application, it of course connects successfully assuming the server is up and running. However, if i quit/stop the service of the server app and try to connect from the client application - you would expect for it not to work. However, it does! It seems to connect but the problem starts when you se ...Show All
Gordon Watts how can i diplay labels vertically
can any body tell me if lilke to display labels in upward direction(bottom to top) instead of left to right.letter by letter in upword direction that is 90 degree You men letter by letter or just write it regullary ,and then rotate the whole label You will need to manually create your own control to do this, see the following post for some help: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=11 ...Show All
p.partovi Data changes not being saved to the .mdf file
I am working in Visual C# Express Edition, and I am using the Update() method of a TableAdapter. I am using the following C# code to update the database: try { this .Validate(); this.statsDataSetBindingSource.EndEdit(); this .runsTableAdapter.Update( this .statsDataSet.Runs); MessageBox .Show( "Update successful" ); ...Show All
BraBo ASP.NET PDF Document Library Online
Hello. I need to develop a library of PDF files, organized into several projects and, in some cases, sub-projects. The specification is that ASP.NET will be used to develop this web application and that it will be accessible in both Internet Explorer and Firefox. I have never used ASP.NET before, so I need any help, hints, or references that you can give. I am especially confused by how to link the database into the ASP page. Thank you ...Show All
JP123 Cannot convert type 'System.Type' to 'System.Data.SqlDbType'
I encounter error, " Cannot convert type 'System.Type' to 'System.Data.SqlDbType' " when attempting the following code: // Create a secondary DataSet in order to research the unknown data types of the destination table columns. SqlDataAdapter sqlResearchAdapter = new SqlDataAdapter(); SqlCommand sqlResearchCommand = sqlSelectCommand.Clone(); DataTable sqlResearchTable; DataSet sqlResearchSet; sqlResearchAdapter.TableMappings ...Show All
pablog Making Changes to a Web Service
Using vs05, I have created a web service in iis. It runs fine. However, when i open it in vs05, make changes to my web methods, resave/build, create a new wsdl file for my client application, none of the changes are there. None of my updates to the web site appear when I look at the methods in my client application. What am I missing Thanks, Fred Herring I did remove the old reference and replaced ...Show All
RogerVillela DataChanged
Is there some simple way to know when the user has changed data I'm useing bound controls and would like to activate some sort of Save button that flags the user they need to save their data back to the database. The form has many data databinding and tableadapters. IE master->detail->detal->detail (ya 4 sub levels of detail shown) I can easily make a single save button to save date all the way down the tree bu ...Show All
Hillgogoangel Dificult situation
Hi, I have a difficult situation, and I can’t solve it, using VB only 2 weeks now: I have: - one Visual Basic form - a SQL database in which I store the customer’s input: o name o address o order numbe ...Show All
gorbett Dump a file to Text Column..
We have a process, which dumps text files to a Text Column of SQL Server Table for Archiving purpose. This was written in Visual Basic. Now, we need to re-write this in Visual Studio 2005 using C#. How can we accomplish this task using ADO.NET Thanks for the ideas. Baskar Just use the System.Data.SqlDbType.Text type when adding parameters to stored procedure calls when passing the strings in. ...Show All
bjohnso2 XmlSerialization and CA1819 Warning
When serializing a class like this using XmlSerialization public Person { [XmlArrayAttribute("addresses"), XmlArrayItem(ElementName = "address", Type = typeof(Address))] public Address[] Addresses; // property get/set not present simply to shorten code example; } How do you avoid the Code Analysis warning CA1819: Microsoft.Performance: Change Person.Addresses[] to return a collection or make it a ...Show All
Wolfgang Zerzawy There is already an open DataReader associated with this Command which must be closed first.
I have a rather large ASP-NET-2.0 project that I've been developing for some time. I'm using System.Data.Common classes for all of my data access, and SQL-2005 as my provider. Up to and including Beta-2, everything was working just fine and dandy. Then, with the release of RC1, I suddenly started to get the following error:: There is already an open DataReader associated with this Command which must be closed first. This totally threw me, b ...Show All
Austin Ehlers Excel from a web page
Dim xlSheet As New Excel.Application If xlSheet IsNot Nothing Then With xlSheet .Workbooks.Open( "W:\CustEnquiry\UploadedQuotes\" & VendorQuotes.SelectedRow.Cells(3).Text, False , False ) .Visible = True End With Else Label5.Text = "nope" End If This code works on a local Machine but when it is run off my real Web app Excell never displays. What am I miss ...Show All
BryJ Static Interfaces
What about allowing static interfaces Regards Hi Diego, what would you use them for I use interfaces when I want to abstract communication of callers and callees. So they can have their implementation details burried in their concrete classes but a caller can treat a range of callees the same based on the exposed interface. I would not know how to use a static interface where all functions would be static and would have no "connecti ...Show All
ezduzzit host ,shim ,mscoree....???
I want to understand how clr is working.I am reading whatever i find nowadays.I have some questions: 1-)There is a word "host" in articles What does this word indicate What must i understand Is it my managed application codes Or part of my managed application code which executes within clr 2-)Also there is one word i don't understan is "shim".Does shim mean mscoree.dll 3-)mscoree.dll ,mscorsvc.dll, mscorwks.dll. Are these dlls include mange ...Show All
