kuponutcom's Q&A profile
Windows Forms BindingSource - Detail view - Is Current record dirty? - I'm with you!
In a Windows Form, I have a set of detail controls bound to a table in a dataset through a BindingSource. I cannot figure out how to tell if the user has edited any data in the controls that needs to be saved to the database. The EndEdit method will force any changes to update back to the dataset, but how can you tell if any changes were made. Where is the IsDirty property In a DataGridView, there is a IsCurrentRowDirty flag that can be c ...Show All
Visual Basic converting datetimepicker value
i had a datetimepicker named dtpBirthDate, and want to use this as a meduim for obtaining birthdate of a user, what i want to happen exactly is upon choosing the date, three(3) textboxes namely, tboxYears, tboxMonths,tboxDays would be fill up by the number of years,months,and days the user was. here's the code: Private Sub dtpBirthDate_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dtpBirthDate.Va ...Show All
Game Technologies: DirectX, XNA, XACT, etc. InvalidCallException from Microsoft.DirectX.Direct3D.Device.Clear
I ran into a puzzling bug and wanted to see if anyone else has run into a similar problem. I'm using the October SDK. On most machines, the exception never gets thrown. On a few select machines however, I will get an unhandled exception of type "Microsoft.DirectX.Direct3D.InvalidCallException". Looking this up in the docs, it mentions that if the ZBuffer or stencil buffer flags are passed in and the zbuffer or ste ...Show All
Visual Studio Team System CA1053 resolution question
I have a VB class that has no constructor and all Shared methods. CA1053 says that this is a bad thing. If I add an empty Public New() method, the message is still generated on the next analyze pass. If I change New() to be Protected or Private, I get items in the task list for each place where I create an instance of the class ( Private Sub New()' is not accessible in this context because it is 'Private' ). What can I do to make CA1053 ...Show All
Windows Forms Whenever I try to introduce an animal i get a stack overflow in terrarium.exe
Does anyone know what might be the issue with this THanks, Paul Tyng Well try to create some good bug then ..... :) like one we have got Terr(o)rium :) lolz..... I was so enthu about this stuff when I first read about it  ...Show All
Windows Forms Status bar statusStrip bug ?
Hi, I have a form (VS2005 BETA) to which I have added as statusStrip. I then added the 5 controls to the statusStrip, in the following order: - toolStripStatusLabel1 toolStripStatusLabel2 toolStripProgressBar1 toolStripStatusLabel3 toolStripStatusLabel4 At this point, everything is OK until I try to hide the progress bar by setting toolStripProgressBar1.Visible property to false. Once I do this, everything to the right of the progress bar, i.e. ...Show All
SQL Server Do not export navigations
Hi, Is there a way NOT to export the navigation within reports I often use navigation to other reports, but when I export those reports to excel, the links are still there and are more a pain in the *ss then helping me managing the data... any ideas thx, Frank M. Where is the hyperlink action you are trying to access The one I am looking at is under the textbox properties, advanced, navigation. ...Show All
Visual Studio Team System Errors re-installing beta 3 refresh
We installed Beta 3 refresh a few weeks ago, and all was working fine. However, we experienced some corruption outside of Team Foundation Server that caused us to have to reinstall Beta 3 Refresh - the reasons behind the need to reinstall are a bit shady at the moment - sorry! During the reinstall procedure, we keep receiving the following error: Error 32000: The CommandLine "F:\<path name>\createds.exe" /setup /install &qu ...Show All
Windows Forms Datagridview and search
I got a search on my datagridview and I need to be able to pull the record up in the screen so that the user can see it. An example could be looking from an order number 30033 which is off the screen it finds it but you have to scroll down to it. I want the program to find it then go down to the record that is in the datagridview. If the DataGridView is databound then you can use the Find method on the BindingSource. If the grid isn't data ...Show All
Visual Studio how to set up and deploy VSPackages
Hi, I want to know how to setup and deploy a VSPackage. if you have any help please provide. Thanks in advance. Regards Kajal The Visual Studio SDK includes several topics that might help. "Installing VSPackages" collects several of these topics in one location. To find the topic, type VSPackages,installing in the Index. Jo. Molnar Visual Studio User Education ...Show All
SQL Server Oracle Lite 10g supports .Net Stored Procedures
Hello Team.. No I am not posting in the wrong forum, I meant to check if the MS pros have read/heard of anything about Oracle Lite 10R2 and its support for .Net Stored Procedure.. Oracle et al docs show that it only support java stored proc (on Windows 32 not CE), but do not show if it does not support .NET stored proc. the docs show that Lite 10g R2 does NOT support PL/SQL stored procs.... C ...Show All
Windows Forms Error in insert to table
I have the following code: Private Sub btnvoegby_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnvoegby.Click Dim dateStr As String = lstMonth.SelectedValue & "/" & lstDay.SelectedValue & "/" & lstYear ...Show All
Windows Forms Binding CompboBox after form has loaded
I have a situation whereby my form loads and populates comboBox1 which works fine. However, when the user selects a value from comboBox1 I want to populate comboBox2 with values based on the selection but can't seem to get it to work: Here is&n ...Show All
.NET Development can a service abort shutdown?
Hi, Is there a way in which a windows service can abort a system shutdown In a desktop application, I can handle the SessionEnding event and abort a shutdown. Can a windows service do the same I can register for and handle the shutdown event, but if the service is doing something critical and should not be shutdown, how does it prevent the/abort the system shutdown Any pointers would be very helpful. Thanks, Roshan Hello ...Show All
Smart Device Development ERROR AFTER CONVERTING TO VS 2005
[code] Module [Global] Friend arrForms As New ArrayList Friend Function CreateForm(ByVal typeForm As Type) As Form Dim frmWork As Form Dim boolExists As Boolean = False ' Check to see if a form of the ' requested type already exists. &n ...Show All
