Darren5559's Q&A profile
Windows Forms Combobox problem
I have two comboboxes on a data entry form and my problem is when the form is first loaded (with data) they default to the first item in their underlying tables instead of the actual item for that record. If i update some part of the record and save the changes back to the database, then the combobox refreshes and displays the correct item. Any ideas to what is causing this I'm not sure what the problem was, bu ...Show All
Windows Forms Need help/suggestions reading Adobe XMP image metadata
Hi all, I would like to get some ideas about the best/easiest way to read in the following Adobe XMP data... obviosuly it's fairly similiar to XML but I can't see the built in .Net XML classes being able to handle it (not that I've tr ...Show All
Smart Device Development PPC device problem w/ VS2005 application
hello all, i have a program that i upgraded from eVC to VS2005 using the eVC++ upgrade wizard add on. i was able to successfully upgrade the application (or at least i think i did), and it compiled correctly in VS2005. when i transferred the app over to the PPC device (running PPC magneto) and tried to run it, i get the following error message: "The file 'app name' cannot be opened. either it is not signed with a trusted certificate, ...Show All
Visual Studio Select report elements
Hi All, I"m researching on providing a reporting solution using Reporting Services local mode. I have a req to select a particular report element (eg : row of data) after the report is rendered. I've done a fair bit of research to find nothing. Isn't it possible to author select/right click events for the report controller Is there any extension points allowing me to work on the report view controller. Thank u very mu ...Show All
SQL Server Don't email report if no results from query
With an automated report (scheduling setup in report manager) is there a way to prevent the sending of an email if the report query has no results FYI--This still e-mails a blank report if there are no records in the query, so I don't know what I'm missing. Brian J. Matuschak v-brmatu@microsoft.com ...Show All
Visual Studio Tools for Office commandbarbutton click event doesn't fire on client machine
hey, basically i've designed a vsto toolbar add-in for outlook (duh...) that does some funky stuff when you click on the buttons. on the dev machine everything works fine. however on the client machine the click event doesn't seem to fire. the add-in is installed okay because the bar is created and you can see it. these are the things i've checked already: vsto runtime is installed outlook 2003 pia is installed .net 2.0 is installed the ap ...Show All
SQL Server New Guy Question 2: SQL on-the-fly at package runtime?
Here I go again...thanks for your patience... I'm trying to create a single, all-purpose SSIS package that would move data from a source database table to a matching target database table. The requirement is to create the package such that the SQL statement used by SSIS could be supplied at runtime. This would allow a single package to be used for different SQL statements, representing different tables, rows and columns, etc. as needed. The data ...Show All
Windows Forms Winforms serializaiton!
Hi! Winforms serialization has changed from VS2003 to VS2005. Specifically, if a public child object was marked with serialize attribute, it was still invisible to the Winform designer, if it was derived from MarshalByRef object type. The object became visible to the designer only if it was marked with: [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] In VS2005, the object states are stored always. ...Show All
SQL Server Different sums from table
Could someone explain to me, how I can get sum from row which I have values in 2 colums and I want the realtime sum to third column. Fourth colum is for item. Also can someone tell me how to sum these third colums where the item is same so I have real time values for the item sum. Thanks! AD Hi, regardless that this makes no sense at all, this could be an example (as far as I understood your problem): Select OrderId , Sum ...Show All
.NET Development SerialPort - How much time between Close and Open?
In the Microsoft .NET documentation for SerialPort.Close, the following cryptic statement is found. "The best practice for any application is to wait for some amount of time after calling the Close method before attempting to call the Open method, as the port may not be closed instantly." How many milliseconds in a "some amount of time" unit Our company has a library of Common Service classes that are used by a num ...Show All
Smart Device Development ProgressBar in CF 2.0
Hi there, can anybody tell me what I have to do, to display a "Progress" in a ProgressBar-Control in CF 2.0 In CF 2.0 roughly 80 % of the well known Properties and Methods in the "big" framework are not supported! There is no Step-Property, no Style-Property, no PerformStep()-Method and so on! I have set the 3 (three) available properties Minimum, Maximum and Value and called the Refresh()-Method. All I can see on the scre ...Show All
Visual Studio Express Editions VC++ Need explanation of message please.
Can someone explain what the message " Either VCProject or VCCodeModel is not ready yet. Please close designer and try again." means please. I keep getting it in the form designer and cannot see how to fix the problem. Were you attempting to open a project from a prior version or creating a new one - April Reagan, VC++ Program Management Hello - Please check your installation and verify that you have upgra ...Show All
Windows Forms Creating an Editable Label
Need to write a custom control to allow in-place editing, similar to that in a word processor, but user could edit ONLY those underlined (or similar specially marked) words in sentences -- not to allow editing the whole sentence or page. Appearance should look like a hyperlinked label, but not to function as a hyperlink. As the user enters longer text than the original, all the text on the right side of it should shift acc ...Show All
Windows Forms Form close button
Anyone could help me how to disable the modeless and model form close button and disable the moving of the form. It would much more appreciate if anybody share your programming experience in .NET 1.1. Disabling the moving of the form will take some additional effort. The dirty approach is to trap the left mouse button clicks on the form. Like this: protected override void WndProc( ref Message m) { &nb ...Show All
Visual Studio Team System Unit Test Throws Exception
I'm attempting to learn how to use unit tests. However I have never experienced this type of error before and what it means. "Not Runnable GetNameTest TestProject1 Error while setting custom property UrlToTestAttribute: The type initializer for 'Microsoft.VisualStudio.TestTools.TestCaseManagement.UnitTestUpdates' threw an exception." The test method is as follows: /// <summary> /// A test for GetName () ///</summar ...Show All
