DragonC#'s Q&A profile
Commerce Server Catelog metadata, inventory metadata, property metadata
Who can tell me what "metadata" is and tell me something about Catalog metadata,Inventory metadata,Inventory SKU metadata,Property metadata. I can't understand use of them. Hi Trang, Check out the documentation for an explanation of the terminology used in the Commerce Server product. The definitions you are looking for are addressed in the Catalog and Inventory Schema Manager introduction . Cheers, Colin ...Show All
Visual C# Passing two paramaters
I have an app that I am trying to build using the BackgroundWorker Component, and I am having a little bit of trouble figuring out how to pass multiple paramaters back with ReportProgress. Below you can see the two small code snippets. Any help would be greatly appreciated. Thanks, Russ ////////////////////////////////////////////////////////////////////////////////////////////////////// (sender as BackgroundWorker ).ReportProgress(currentCount, totalCount); ////////////////////////////////////////////////////////////////////////////////////////////////////// void backgroundWorker_ProgressChanged( object sender, ProgressChangedEventArgs e) { progressBar1.Value = (e.ProgressPercentage); progressBar1.Maximum = ...Show All
Software Development for Windows Vista Editable Composites?
Hiya I want to create a custom activity that replaces the parallel branch activity for my non-developer users. This activity inherits from SequenceActivity and contains a code activity, a parallel branch and a further code activity. The problem I have is that the children of my custom activity are read only so users (and I) can't drag activities onto the child parallel branches. How do I get around this I have done some further testing and it is just composite activities that are the problem. If I create a new custom activity that inherits from SequenceActivity and write no code, when i drag it onto the workflow it is editable. As soon as I put anything into the new custom activity it's locked. Anyone got any thoughts on whe ...Show All
Visual C# Dataset generator error
HI, Using the Dataset generator via XSD I get a wrong method signature generated when I use the following SQL as select: <code> SELECT Addresse.AddressID, Address.Street, Address.Zip, Address.City, Country.CountryName, Addresse.CountryID FROM Address INNER JOIN Country ON Address.CountryID= Country .ID WHERE (@City IS NULL OR Address.CityLIKE @City) AND (@Zip IS NULL OR Address.Zip LIKE @Zip) AND (@Street IS NULL OR Address.StreetLIKE @Street) AND (@CountryID IS NULL OR Address.Country LIKE @Country) Address.Street, Address.Zip, Address.City : nvarchar Addresse.CountryID : uniqueidentifier </code> The expected interface shoud be: fill( string city, string zip, string street, Guid coun ...Show All
Windows Forms SelectedIndexChanged - possible bug
i have a Combobox control set with the DropDownStyle as 'DropDownList'. the SelectedIndexChanged event is firing even if I reselect the same item from the dropdownlist. surely this is not right as the index here has not changed so am i forced to remember the previous selection in order to do a comparison every time or am i missing something good point about the event name. it's also reproducible with SelectionChangeCommitted event of combobox. i think it has something to do with the way combobox handles its selection. i believe it reverts back to index 0 to the current selection on every selection internally. ...Show All
.NET Development .NET 2.0 Redistributable?
hi, i wasn't sure in which forum ask this question, so excuse me for put it in here, it's something very simple :)... if i want to run the application i built with .NET 2.0 in another computer, that computer needs the .NET Framework Version 2.0 Redistributable Package (x86) because i built my app with 2.0 , or could it also run with the 1.1 Runtime installed Thank you very much, and forgive my newbie-question jeje :P you could install the redistributable prior to the application or have the bootstrapper with your installer, you'll need this . ...Show All
Windows Live Developer Forums Custom Navigation
I love this stuff.. I'm using: <a href='javascript:map.ZoomIn();'>Zoom In</a> | <a href='javascript:map.ZoomOut();'>Zoom Out</a><br /> <INPUT id="pan" type="button" value="UP LEFT" name="pan" onclick="map.Pan(-900,-600);"> <INPUT id="pan" type="button" value="UP" name="pan" onclick="move();"> <INPUT id="pan" type="button" value="UP RIGHT" name="pan" onclick="map.Pan(900,-600);"><br /> <INPUT id="pan" type="button" value="LEFT" name="pan" onclick="map.Pan(-900,0);"> < ...Show All
Visual Basic detect if the file exists
OK, hi. what i'm trying to do is ultimately detect wheather a word doc exists. I don't want to open it. What it's going to do is detect if the file exists. If it does, move on If it doesn't ,copy it. i'm stick on the part where u detect if the file is there. Can any1 help me plz!!! If File . Exists ( "PathToFIle" ) Then File . Copy ( "PathToFIle" , "DestinationPath" ) Else MessageBox . Show ( "FIle Does not exist" ) End If ...Show All
SQL Server SSRS 2005 and XML Document as Data Source
I'm new to SSRS 2005, and having a very hard time getting something I thought would be trivial to work. It would appear that if you want to report from XML data, there are a variety of ways to do so. I would just like to use a simple document that was created by serializing to disk. I don't even have a fancy query. Can someone help me with an start-to-end from which I can build upon and add complexity Thanks. C:\XmlData\Customers.xml contains a single Customers table; 3 Customer rows with an ID , FirstName , LastName . (I'll try pasting it as a follow-up). My DataSource type is 'XML' and the ConnectionString is the simplest of URLs "C:\XmlData\Customers.xml". Credentials are set to 'none' . My suspision is that I am not ...Show All
SQL Server SQL Server Agent Properties - History
When you select 'Automatically remove agent history' with the parameters 2 months, it actually removed all but 2 DAYS ! This ruined 3 of my production server job histories. It also does not retain the parameter settings on this History page, not that i want to use this screen anymore until this parameter item is fixed. Unfortunetely i do not have a Itanium64 server to test SP1, my I64's are production only. I chose not to put SP1 on because of the problems that SP1 has disabling SSIS which i have running. I realize that there is now a work-around to fix SSIS after the SP1, but there was nothing in SP1 that i don't have a work-around for. Can you please research SP1 (and SP2) to see if it specifical ...Show All
Visual Studio 2008 (Pre-release) Drag and Drop with Multiple Selection ListViews
Hello, I'm trying to build a WPF application which contains a ListView that allows multiple selections and allows the user to drag and drop selected items into another listview. I've been able to get drag and drop to work fine, but I'm having some trouble working with the behaviour of ListViews when dragging the mouse on them. I've experienced the following problems when I've been working with ListViews and supporting drag and drop on them: If the user clicks on an item and holds down the mouse button and then begins to drag, the ListView will change the selection as the user drags over other items. I don't want it to do this- when the user clicks an item and holds the button down, I want the item that they clicked on to always be selecte ...Show All
Windows Forms WMP control in MDI child
Any idea why an AxWindowsMediaPlayer control that has been assigned a URL (Given a file to display) Crashes when I try to re-size the MDI form it is in First time poster, be gentle... <EDIT> VB.net 2.0 Even Stranger, If I put a button on the Child form (The one with the MediaPlayer control) that re-sizes the form. It looks like it is resizing, but the drawing area does not change and the media player control does not change (even though it is docked and anchored) ...Show All
Visual Studio C# app having trouble setting parameters in rpts with subreports
I'm working with Visual Studio 2005 and CRXI Release 2. I am creating an application, using C#, which will run the .rpt files that we use in our company application. My application accepts a path and file name for the .rpt file which is being called. Other arguments include the logon information. Lastly, we pass the parameters that the .rpt takes. Here is the command line for the OC2.rpt: "Preview Report[C:\\EMS_DEV\\reports\\CR XI converted reports\OC2.rpt] Server[blah] DB[blah] User[blah] Parm1[3191636]" My problem is in setting the .rpt parameters. In this example, the .rpt includes 4 subreports. The main report and all the subreports use stored procedures as their datasources. Each stored procedure takes the same parame ...Show All
SQL Server How do I turn it off?
Ever since installing SQL Server 2005 Express Edition the XP Task Manager shows “sqlservr.exe” running normally, as a “NETWORK SERVICE” consuming 26MB of memory. This is true even after a cold reboot. I’d like to turn SQL off since I am not currently planning on using it. I tried detaching a couple of projects I had started, as part of tutorials, but that did not make a difference. So how do I turn SQL Server 2005 Express Edition off without removing it from the system, which I do not want to do Thanks. Thomas Navigate to the services in the control panel and and stop the SQL Server(SQLEXPRESS) service and deactivate it until you need it. HTH, Jens K. Suessmeyer, --- ht ...Show All
SQL Server connection strings
This is probably a very basic question and I apologise for asking. Can an app developed with VWD using SQLexpress be used with server2000 if so how do I modify the connection string. Also have a look at the driver, if you install the application on a non SQL System, the SNAC will probably not exist. YOu will either have to ship it within your application, or use a MADC driver which is installed on the most systems. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
