nzmike's Q&A profile
Windows Forms Updating Data Bindings
Quote: Data Layer Component As you become more familiar with the client application, you may notice a few minor, negative UI side effects resulting from our data architecture. The Windows Forms controls support the idea of data binding, which provides a way for a control to automatically populate (and maintain) itself with values from a data source. Because we are&nb ...Show All
Microsoft ISV Community Center Forums Edit Data in Access
Hi, I currently have a MS Access 2002 database, and it has a table with the fields "Part", "Quantity", "Date", and "Comments". Thie "Part", "Quantity" and "Date" data are extracted on a weekly basis from another MRP database. However, I have to manually copy the "Comments" data over because it is not part of the MRP database. I wrote some simple queries to see the change in Quantity over time for each different Part(i.e. check quantities each week, and calculate a delta). Now, the issue I have is that I would like to automatically copy the "Comments ...Show All
Visual Studio Express Editions Using C in Visual C++ Express
Forgive me if this question has already been asked, as you can imagine its quite difficult to search for threads on "C" because all of the search returns are "C++". Can you compile and execute ANSI C in VS C++ Express Ive been able to execute C statements in express, but the file extensions are still .cpp. Is express actually compiling C or has Visual C++ been extended to include common C statements in VC++ If you can run VC++ Express using only C, is there some setting that you need to adjust to allow this This would help alot. TX You can just name the file as a .C or you can use the compiler option /TC. More de ...Show All
Visual C++ Error initializing button with attached image
I posted this earlier, but it seems to have disappeared When I set the image field of a button on my form, I get the following error when my form is initializing. A first chance exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Form1.resources" was correctly embedded or linked into assembly "test2". baseName: Form1 locationInfo: test2.Form1 resource file name: Form1.resources assembly: test2, Version=1.0.2162.17278, C ...Show All
.NET Development OLE Db vs. ODBC
I'm writing a component for an application to import data into a SQL Server 2005 database from existing legacy databases. These are FoxPro .dbf databases, Excel spreadsheets, and Access .mdb databases. What unable to find which one is the appropriate/preferred access method - using OLE Db or ODBC. Thanks! EDIT: I should have mentioned that the date structures from the legacy databases and SQL Server database aren't identical - the data will get loaded into an in-memory source DataSets (with the same structures as the legacy databases) , go through some transformations and put into destination DataSets with the SQL Server datastructure ...Show All
Visual Basic Getting application settings in control libraries and other separately compiled stuff
I will admit that i'm not really on top of the class structure yet:-( That said I guess that I understand that in a control library My.Settings refers to any settings that are established for the library. (Not sure how I'd use that:-) So the question is how do I see the settings associated with the main running application in a control library What I want to do is have the controls initialize themselves and save themselves into the application's user settings. (I know, I should bind control properties to the application settings but whenever I try to do this Beta 2 exits - no error just shuts down gracefull!) Regards, Al ...Show All
Windows Forms Problem with value DataGridViewComboBoxCell
In VB 2005 Express I have a problem, which completely do not understand. I use a DataGridViewComboBox in a DataGridView. When I change data and save it, I have no problem. But when I close the form I a repeting error, being: System.ArgumentException: DataGridViewComboBoxCell value is not valid. Can anybody help Thanks in advance, Simon Does the data you saved exist in the DataGridViewComboBoxCell's items list For instance, if your DataGridViewComboBoxCell::Items collection is {"one", "two", "three" } and the value you saved is "four" then you will get this error. Another situation is if your DataGridVie ...Show All
Visual C# XmlDocument.load Security issue
I have been working this problem for over 2 weeks and have reached the end of my rope. I have written a web app (in VS2003 hosted on Windows 2003 server) that has an embedded object in one of the HTML pages. This object contains a method that calls the xmldocument.load method with a path that is on a mapped drive on the server. When this call is made I get the following error: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. I have done some research and have found several suggestions on how to fix the ...Show All
Visual Basic The return of "procedure view" in .net 2005 ?
I was using procedure view in VB6. I am currently using the "better" way but I really miss the good old way (procedure view) . How can have it back in .NET 2005 Thank, George Hmmm. Looks like it didn't make VS 2008 either. Consider this my vote for this as a top 5 enhancement for the next version..... Break, Edit, and continue out ranked this but not much else will for me. Brian ...Show All
Visual Basic How to write a sub for several checkboxes at once
Hello, I am brand new to visual basic, so please excuse me if this is an easy question. I have a form with several checkboxes. I want to make it so that if any checkbox is checked, its label goes from gray to black. I have figured out how to do it for one checkbox, but I can't figure out how to handle many at the same time. Here is what I have so far: Private Sub sidingStyle1Include_cb_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sidingStyle1Include_cb.CheckedChanged If (Style1Include_cb.Checked = True ) Then Style1Include_cb.ForeColor = Color.Black ' If CheckBox is u ...Show All
Windows Forms How to view/edit a PDF file inside a .NET application
Hi Is there any tips or ideas how to view a PDF file from inside a .NET application. What is the best/cheapest solution //lasse Hi. Mayby I'm missing something here............... There is alot of PDF controls, but they are print and create controls. No viewers..... I'm I missunderstanding something. //regards //lasse ...Show All
Visual C++ Side by side problem
I recently upgraded from B1 to B2, and my console projects that link against msvcp80d.dll and msvcr80d.dll won't run. On the cmdline, I get: "The system cannot execute the specified program." In the IDE I get a dialog saying: "Unable to start program foo.exe. The application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log." (This by the way is a wordy dialog that isn't really informative.) I get three SideBySide events in the event viewer (Syst ...Show All
Visual Studio Team System Error while installing Team Foundation server
Hi All, I got the following error while insatlling Team Foundation Server --------------------------- Microsoft Visual Studio 2005 Team Foundation Server Setup --------------------------- Error 28940.TFServerStatusValidator: Calling the Team Foundation Server ServerStatus Web service failed with 503 HTTP ServiceUnavailable status. Verify that Internet Information Services, Windows SharePoint Services, and ASP.NET are configured correctly and that ASP. NET v2.0 Web Service Extensions are allowed . For more information on troubleshooting this error, see the Microsoft Help and Support Center. --------------------------- Retry Cancel -- ...Show All
Software Development for Windows Vista Windows Vista icons. ?
Any details about Windows(R) Vista(TM) icons Colors used in Vista icons Sizes supported in Vista icons any other details Colors and sizes are the same as in Windows XP: Up to 32ARGB and up to 256x256. Some form of bitmap compression is likely to be supported as well, though the details are not yet nailed down. ...Show All
Visual Studio Express Editions Rich Text Formatting Help
How do I create rich text formating buttons like centering text and making it bold/italic/underlined, also changing the font, font size and font colour Please help. Yes, I had forgotten about the errors. But, all in all, it is a pretty nice extended control. Glad I could help. james aka:Trucker ...Show All
