Merge two PNGs to ImageSource

I've been scratching my head with this issue, and I hope someone here can help.

I have two icons: image1(32x32) and image2(16x16) that I want to merge in memory and add as the ImageSource of a Microsoft.Windows.Controls.Ribbon.RibbonButton.

Now, normally, I would just add the string path to image1 to the LargeImageSource property on the button, but how do I create the overlay? I can't use a template that creates a canvas as they Ribbon element won't collapse correctly unless it is a RibbonButton.

Hi friends, I have separated Red, Green and Blue color from a bitmap image and stored it in grayscale (obviously). Now I want to know how can I merge it so that I can get the exact previous colour, when I am merging them by reading its color values but it is giving me grayscale image :( . Please help me out with some working sample code. Thanking in anticipation.

I recently created a team site on the SharePoint for projects management and our team will use the word document for inserting the information about the project that they work on
it,

My case is:

for each project have multiple documents and i created a user control by VS.2005, this user control contain a drop down list contain all projects and merge button, when the user
choose any project and click merge i will use the Work dll to merge all document that related to the project and export to the user.

Howdy,
This seems a simple question but I can't find a clear answer anywhere...
I have an SSIS package that processes flat data files, one-by-one, in a loop, until there are no more files.
Before proceeding, I have to make sure the specified file exists. So I create a Script Task that checks for the file. File Exists = Task "Success" else Task "Fail".
I then branch from that task to either proceed with the Data Flow task, OR else to log a failure message.
IN EITHER CASE, I need to eventually return to the same cleanup Task in order to prepare for the next file.
However, if the failure pathway flows into the Cleanup task, then the Success pathway always terminates just before, and does not execute the Cleanup Task.
How can I ensure that two mutually exclusive pathways can return to the same Task?
Thanks much!

Hello,
I am trying to combine several source tables with Merge Join. For the Moment I have three source tables all already sorted in the source query and the is sorted property with the correct keys set. (its an aggregate query with group by and sort by the
key columns)
Then I do a merge join between two of the tables - with a full outer join.
Then I just want to do another merge join with the output of the next result. but as the merge join do not combine the key columns into one column I need to add a derived column which substitute null values on the left side of the join with values from the
right side of the join.
The second merge then says only the left columns of the first merge join is sorted, but not the comined columns. If i Replace with a derived column the left side primary key columsn with the combinded key columns the next merge join says the input is not
sorrted?
But the output must be sorted.
So how do I get the next merge join working without the ssis sort transformation? the data is sorted, but the component does not recognize the sorted data?
I do not want to use (can use) the sort because there are flowing >= 500 Mio. records through the pipeline.
Any help appreciated.
Hanneshttp://www.hmayer.net/

I have Merge replication going on in my environment. The problem is that system tables like MSmerge_content, MS merge
_tombstone and MSmerge_genhistory are getting fragmented. We are rebuilding indexes time to time daily. But we want some good fix. Just send some good idea guys?

We did the following:
We setup a database with all of standard tables, views, etc.
We then put in place merge replication for a few of the tables within this database, including a tables called "Areas".
We can execute SQL statements to insert rows into this table fine.
We then applied an update script for this database to change a few tables by adding fields and changing indexes, etc. We didn't change the "Areas" table though.
After the update to the database structure, we get an error when trying to insert into this "Areas" table.
The error message was the following:
The insert failed. It conflicted with an identity range check constraint in database 'AETest', replicated table 'dbo.Areas', column 'AREPrimaryId'. If the identity
column is automatically managed by replication, update the range as follows: for the Publisher, execute sp_adjustpublisheridentityrange; for the Subscriber, run the Distribution Agent or the Merge Agent. The statement has been terminated.
What would cause such a problem and how do we resolve it? The structure of the "Areas" table before and after the update is the following:
USE
[AETest]
GO
/****** Object: Table [dbo].[Areas] Script Date: 08/24/2010 17:42:36 ******/
SET
ANSI_NULLS
ON
GO
SET
QUOTED_IDENTIFIER
ON
GO
SET
ANSI_PADDING
ON

I have Merge replication going on in my environment. The problem is that system tables like MSmerge_content, MS merge _tombstone and MSmerge_genhistory are getting fragmented. We are rebuilding indexes time to time daily. But we want some good fix. Just
send some good idea guys?

I'm trying to use SQL Server/Compact Framework 3 Merge Replication functionality and am running into a problem when calling Replication.SaveProperties (using c#). I was hoping to get some clarification on whether its my interpretation on how things should
work vs a coding problem.
Basically, the Merge Replication seems to work as I can sync information between my handheld and server databases. However, I've created a form on my handheld so that the user can change some synchronication settings (e.g. Publication or Publisher
Name) and then save it.
What I've noticed is :
1) You can NOT call Replication.SaveProperties until after a synchronization is performed (otherwise you get an error message). Assuming this is so that it can create the "__sysMergeSubscriptions" table. Does this sound right?
2) If I then try to change the saved Subscriber information via another call to Replication.SaveProperties (e.g. change the Publication info), I then get an error message that says:
The subscription was not found. Publisher, PublisherDatabase, or Publication could be incorrect.
Is this normal behavior? Does this mean that you can you NOT change subscriber information; only add or drop it?
Thanks,
Ed

I'm a bit new to the whole asp.net thing so this is probably a silly question, but here it goes:
I have created a WCF Data service based based on a ADO.net Entity--it's very basic:
namespace raid{ public class allPeopleDataService : DataService< raid.raidEntities > { public static void InitializeService(DataServiceConfiguration config) { config.SetEntitySetAccessRule("*", EntitySetRights.All); config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2; } }}
I've been successfully retrieving data using jquery's '$.getJSON' and inserting data using a modified $.ajax:
$.ajax({url: "/allPeopleDataService.svc/lists",dataType: 'json',contentType: 'application/json',data: $jsonObj,processData: false,type: 'POST'});
I was reading the post at http://msdn.microsoft.com/en-us/library/cc668771.aspx and trying to use the MERGE method to update parts of the data with the following jquery
jsont = { "__metadata": { "uri": "/allPeopleDataService.svc/lists(1)", "type":"raidModel.list" }, "list_name": "list blah blah" }; $.ajax({ url: "/allPeopleDataService.svc/lists(1)", dataType: 'json',

Hi ALL,
I am configuring merge replication... For example
Publisher A sql server 2008 ( databse adventureworks)
subscriber B sql server 2000 ( database adventureworks)
I already have database created at subscriber....both databases at publisher and subscriber are identical in structure but changes in data( at subscriber there some inserts and updates)
now before i create new snapshot and applied to subscriber i want to upload changes which are at subscriber... how can i apply changes to publisher database before i run merge agent...
TIA

The Form has repeating grid. I publish the form as an administrator approved form and the columns of the repeating grid with the 'merge' function.Yet the columns are promoted as single line of text insead of mulitple lines of text in the sharepoint form library.How to solve this ?

Hi All,
Using Merge Replication over the web (https). Server is running SQL Server 2008, client using SQL Server Express 2008.
I am getting these error messages while trying to synchronize, and it won't let me sync:
{call sp_MSensure_single_instance (N'{459D0BBA-53EC-4F65-AF52-E7DA478841DA}', 4)}
Another merge agent for the subscription or subscriptions is running, or the server is working on a previous request by the same agent.
Can you please advice what can be done to fix. Do I need to kill a process in SQL Server?