cnceric's Q&A profile
Software Development for Windows Vista hi
Hi all, Several samples show how to exchange data between host and workflow: define an interface with DataExhangeService attribute on it, implement the service and add the service to the workflowruntime (of configure in web.config). In my state machine I would like to be able to read and write a dataobject in every state. The object I would like to be able to read and write is passed at startup of the workflow instance as a parameter. Do I have to add eventdriven activities to every state to: A) listen to a 'WriteDataToWorkflow'-event to update the dataobject contained by the workflow B) listen to a 'ReadDataFromWorkflow'-even ...Show All
.NET Development XML deserialization problems with invalid hex characters
Hello, In the document at [1], I am experiencing the problem described under the heading "Deserializing Invalid XML". I am receiving XML documents that contain escaped characters that are technically invalid in the XML spec. I am using WSE 2.0 Service Pack 3, so I have no control over deserialization myself (or at least not without writing a input filter of some kind). I do have control over which strings are serialized (I also write the client). Does anyone know of a solution to this problem Thanks. Mark, Thanks for your answer. Number 1 would indeed be the solution to go with. However, it's *my* WSE 2.0 cl ...Show All
Windows Forms How to prevent an enabled Button from making clicked movement
Hi, I have a Usercontrol on which buttons and other controls can be spawned, kind of like a forms designer. Now, I want to be able to drag such controls around to alter their position on the Usercontrol. I tried this by adding the three mouse handlers (up,down,move) to each newly created control, respectively pointing to three functions in my Usercontrol w ...Show All
SQL Server Rounding number with ending equals 5
Hi, How do I round when number is ending with 5 for example: When the number next to number 5 is an even number 24.5 = 24.0 round down 0.245 = .24 round down 1265 = 1260 round down when the number next to number 5 is an odd number 23.5 = 24.0 round up 0.235 = .24 round up 1755 = 1760 round up Thanks in advance! You can use the round function. It takes 2 Parameters.. YOur Number and which digit to round. (2nd Parameter can be negative) [edit: Oops didnt read whole question... Give me a sec] [edit 2] ...Show All
.NET Development Custom Configuration Settings - version upgrade
I just wrote my own custom configuration section that takes advantage of saving its values to isolated storage to save off user settings. As I understand it these values get saved into a version specific folder and I am now concerned with the fact that when I upgrade the version of my application the user settings are going to get lost. I see that there is an upgrade method off of the LocalFileSettingsProvider but I don't know how to get to that from my custom configuration section. How would I go about upgrading the configuration settings when the version of my app changes Thanks Kevin PS. i have read the FAQ at http://blogs.msd ...Show All
Visual C# Are there any Word-like font list boxes? | Fonts
Are there any Word-like font list boxes Is there any other way to select the font without going into the Font Dialog Mateusz I guess the selected index of your combobox is "-1", nothing selected. ...Show All
SQL Server Creating a Data-Flow Component
I try to create a new Data-Flow Component. In Books-Online I found this link: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.de/dtsref9/html/9d96bcf5-eba8-44bd-b113-ed51ad0d0521.htm and the following pages. But I have not realized, how I have to create the new Data-Flow Component. What I to do for my first "Hello World"-Component Since you will be using the same series of steps to deploy and test your own data flow components, best to resign oneself! Note that Visual Studio 2005 supports post-build event scripts that you can use to copy your updated assembly to the PipelineComponents folder, r ...Show All
Windows Forms How print all record/selected record in data grid?
How print all record/selected record in data grid pls provide any codes how to use this class.. im new here.. tnx so much ...Show All
Visual Studio 2008 (Pre-release) binding combobox selectedindex/item in a listbox itemtemplate
I am having an issue with comboboxes contained in a listbox (using the itemtemplate). I want to be able to change the value of a property on the selected item, by choosing it from a combobox containing a collection of the properties type. Is this possible Currently I've tried binding the combobox itemsource to an objectdatasource, which works fine (apart from the fact that when I change the selecteditem, it changes in EVERY listbox item), and binding the combobox.selecteditem to the corresponding property on the listbox datasource. But this doesn't work. I hope that makes sense. Simon < DataTemplate x:Key = " ...Show All
Microsoft ISV Community Center Forums Dump data into 2 databases automatically
Is there a way to dump data into 2 databases automatically So when I enter in data through an MS Access Form, it loads the data into a Table in that database, and then also loads the data into another Table in another database (or Excel file) Essentially, single entry to dual tables. Thanks, Mark Hi Mark, There a couple of ways you can do this. The simplist would be to create a linked table in the database with the form. You can link to tables in other Access databases or even to Excel spreadsheets. In the 'Save' button on the form you'd call two INSERT or UPDATE sql statements, one for each ta ...Show All
SQL Server Hide matrix rows?
Hi, can somebody help me figuring out if the following is possible I have a matrix creating weeks out on "x-axis" and projects at "y-axis". For each project have i specified three rows, sum(Fields!hours.Value), sum(Fields!used.Value) and a total saying (sum)Fields!used.Value - sum(Fields!hours.Value). 12 13 14 15 16 A 3 4 5 3 4 2 4 &nbs ...Show All
Visual Basic Problems with EXE's and stuff
Ok, simple problem but I'm just too stupid to get my head round this, I have created a project and created a manual updater for it so I can just create components and have them download as necessary, a live updater if you like: The problem is that all is good until you download a .exe from the server, it then will open a quick dos cmd window, kinda not what I expected, I was hoping to just replace the existing file and restart the program. Have I done something wrong or am I just missing something right under my nose. Kind regards, A confused and tired Rob. I would put the update in a zip file. When ...Show All
SQL Server Will ROW_NUMBER ( ) keep the provided order of records if the OVER clause orders on the same value?
In the code example below, I am trying to store the user-provided sort order for a set of record ID's passed to me by the application. Since I am Ordering by the ResultSetID, which is always 42 in this example, is it guarenteed that the passed in order of ListingID's will be maintained by the ROW_NUMBER() function --Code Starts Here Declare @ResultSetID int , @ListingIDsXml XML Set @ResultSetID = 42 Set @ListingIDsXml = '<ArrayOfInt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <int>452384805</int> <int>452384705</int> <i ...Show All
Smart Device Development VS2005 always deploys framework files
I am developing an application for SmartPhone 2003 using VS2005. When deploying the application VS always copies the standard framework files (System.dll, etc) to the target application directory even though these are already in the GAC. The app runs fine on the GAC files if the files in the app directory are deleted. Any way to stop this download (to save time and space on the target machine, especially if multiple apps are under test) What do You hit build or deploy because if you hit deploy it should only copy the program files and send them to your mobile device but if you hit build it will s ...Show All
Windows Forms ClickOnce deploy for Windows Me
Hi all, I've developed an application that I've published on my website. So far all users have been able to install it. One of my users however is still running WinMe..... (I know, I know) and he's having problems installing the application. He did manage to get framework 2.0 installed, but when clicking "install" on the web page, it doesn't launch. He says there is also a "launch" button (which I don't see anywhere), which prompts him to download the myapp.application file, which he can't execute... This is the error: PLATFORM VERSION INFO Windows : 4.90.73010104.0 (Win32Windows) Common Language Runtime : ...Show All
