IAmBrady's Q&A profile
Architecture Exceptions in layered application
Hi I am farily new to developing front-end applications and I had a few questions with the first major app development effort that I am working on currently. So, kindly pardon me f any of my questions look silly. I have created DAL, BLL, custom business entities/collections in my application (all of them reside on the same machine where the UI will reside). I have used the Enterprise Library Data Access Application Block extensively. I am planning to use the Exception Handling block to handle exceptions and log the same in a database. I read many aritcles regarding this and I am yet to get a clear picture of managing exceptions in each ...Show All
Software Development for Windows Vista Trouble with WebService and Persistence
Hello all, I'm newer to the workflow world and I have a few questions : First, a little background: I've currently got a very simple sequential workflow wraped in WebServiceInput and WebServiceOutput and all interfaces and everything are setup correctly. I use the publish as web service option and all is well. I then try to execute the web service using the "Invoke" button that is on the default web service form: I then get this error: System.InvalidOperationException: The workflow hosting environment does not have a persistence service a ...Show All
Software Development for Windows Vista Cant uninstall WinFX - help
I had the following installed previously on my computer: .NET Framework 2.0 beta 2 (50215 build) Visual C# Express 2005 beta 2 WinFX runtime components beta 1 WinFX SDK beta 1 MSH Now, after Nov 7, I wanted to install VC# Express 2005 (RTM), so I downloaded and ran the auto uninstall utility. It removed the following components from my system: .NET Framework 2.0 beta 2 (50215 build) Visual C# Express 2005 beta 2 After that, I installed the following: .NET Framework 2.0 (RTM - 50727 build) Visual C# Express 2005 (RTM) Now, I want to remove / reinstall MSH and WinFX but the uninstaller is exiting with the message that "a m ...Show All
Windows Forms !!!URGENT!!! Accessing the Application Manifest and Deployment Manifest at runtime
Basically, I want to be able to load both at the startup of my ClickOnce app to 1. Get the Publisher and Product info from the Deployment manifest 2. Iterate through the Application manifest for optional download groups to provide a background process to pre-fetch these groups. I've scoured the API trying to find out how to get access to the current manifest in a programmatic way.... Thanks, Jim Hi James, I don't suppose you ever got any response to this Were you able to find a workaround I'd like to be able to list the optional updates and give the use ...Show All
Windows Forms Custom Toolstrip Collection Items options are not save.
Hello, A small descritpion about my problem. I created a usercontrol that inherits from a toolstrip (lets say myStripBar) and add one button with modifier property set to public. When I drag and drop myStripBar into a windows form everything is ok until i try to change the button properties (for example enable to false) by going to the properties of myStripBar>Collection. I change the property in design time but when I compile the project the property goes back to the original value. thanks in advance No It's not a bug!!! If you added button in code of your toolstrip class - then there is ...Show All
Visual Studio Team System B3 Refresh: Project Alert Email doesn't contain old value
Using Beta 3 refresh of VSTF. Created CMMI team project. Setup Project Alerts to email me when "my work items are changed by others". Had another developer modify the description field of the existing work item "Create Vision Statement". (Just added the string "TEST" to the end of the field.) Everything works properly except that the "old value" is not placed in the email. Is this by design for the detail field When the other developer change the "assigned to" field to my account, I see the old and new values in the project alert email that is generated. Yes, I believe that's by design for that field, due to the lengthy content expected ...Show All
Smart Device Development Visual Studio 2005 Pocket PC application with emulator on Virtual PC
Has anybody done this on the release version of VS 2005 I am having difficulty trying to make my emulator communicate with my host PC, which happens to be a Virtual PC with the release version. In Beta 2, I only have to install the DMA Transport Update for this thing to work. Now I even installed the Virtual Machine Network Driver and ActiveSync 4.0 but still no luck. Any insights Are you running emulator from within Visual Studio If yes, then go to Tools--Device Emulator Manager. It will list all the emulator images that you have installed. Right click on the emulator of your choice and select Cradle. ...Show All
Visual C# optgroup
Hello C# gurus! Does anyone know of how to build a dropdownlist with 'optgroup' tags using C# Many thanks ice Hello again, It turns out that google is my friend after all and so are some French dudes too. Here's the code in case anyone searches here for the same thing... function suppression_optgroup(id_du_optgroup) { var ie = false ; /*@cc_on ie = true; @*/ var q= document . getElementById (id_du_optgroup); if (q) { if ( ie ) { q.outerHTML= null ; } else { q.innerHTML= null ; q.label= null ; } } } function ajo ...Show All
SQL Server Loading a column by name (via Variable, etc.)
This is kind of a tricky behavior, but in my current SSIS package I have a situation I am unsure of how to fix. I have a column joined in my set of working rows that has a value which is the name of another column. For example, if I have the Columns ID, Name, City, State, and CopyFrom, the CopyFrom column will be any one of the values "Name", "City" or "State." What I want is to create a new Derived Column (call it in this case CopiedValue) that equals the value of the Column for that row as specified by CopyFrom. I can't for the life of me figure out a way to build an expression which uses a column value or a variable value to dereferen ...Show All
.NET Development Finding the display name of assemblies
Now that LoadWithPartialName is obsolete in 2.0, what's an easy way to find the display name (with version, culture, etc.) of a .NET assembly corresponding to the version of the .NET framework an application is running on e.g., A user is running our app on some version of the framework (could be 1.1, could be 2.0, etc.). If I need to load the assembly System.Data corresponding to the version that is being used for the current app. Obviously I don't know the full display name of System.Data in this case - it could be one of many. The assembly is question is not referenced by our app - we need to load it to query some .NET type informati ...Show All
Visual C++ arrow key held down
when i press and arrow key and then let go an event occurs (OnKeyUp) and my listbox moves up or down one. is there an event so that when i hold the arrow key down it scrolls fast through my listbox how would that be done maybe a timer to see how long i held the key down so instead of the OnKeyUp it should be OnKeyDown i am not sure how to capture how long i have held the key down and have it scroll while the key is pressed Just set a flag when the keydown message arrives. Also set the current time (GetTickCount) into a field. Clear the flag when you get the keyup event ...Show All
Software Development for Windows Vista LineHeight equivalent in InkAnalysis API?
Traditionally, when using InkDivider, you could specify the height of the lines of handwriting you expect in your app. Is there equivalent functionality for InkAnalyzer Currently it's classifying lines of text as a paragraph when clearly they're a few lines from each other (meaning they should be separate paragraphs). I'm hoping I can remedy this by enforcing a line height property (which I know with high accuracy). I can't specify rows for the user to write on using a RecognizerGuide, because the writing surface expects freeform text. Can I cajole RecognizerGuide somehow into providing a line height hint to the Ink Analyzer ...Show All
SQL Server cube design issue
Hi. I have two modules that have several dimensions in common but at the same time each has its own dimensions. is it best to design 2 cubes or one combining both thanks in advance Christina It really depends ;) In many cases one will find useful to create a single cube with 2 measure groups. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Unmanaged directX and .net windows form
I have written (with a pointer from you lot here - thanks) a visualisation program in unmanaged C++ DirectX. Everything works fine, however I need to be able to change and edit parameters of the model with the usual text input boxes and track bar, as well as haveing a menu with different options. I have written a little windows form program that does this but wihout the directx stuff. I would like to add my DirectX work into a window in the form but I have no idea about devices and that side of things (I just used the tutorials to set that end of things up). Any help would be greatly appreciated, thanks. ...Show All
.NET Development Date format in XML
How Can I get this format "2005-11-22T17:37:09.49+03:00" in XML file as an element If you use System.Xml.XmlWriter you can call: XmlWriter w = new XmlTextWriter(Console.Out); w.WriteStartElement("SAMPLEDATE"); w.WriteValue( DateTime .Now); w.WriteEndElement(); Under the covers the XmlWriter is using the XmlConvert helper class, so if you just want the string value, you can use the following: DateTime dt = ... // whatever XmlConvert .ToString( dt ); ...Show All
