Pete_M's Q&A profile
Software Development for Windows Vista WS-Addressing and Workflows
Hello, I'm testing a few workflow engines and one of the requirements is support for WS-Addressing. (The workflows call Web Services running on Java applications servers.) I've read that Windows Workflow Foundation does support WS-Addressing but I haven't been able to find any examples or tutorials for it. Could anyone tell me if Windows Workflow Foundation supports WS-Addressing and if there is a good example or tutorial for it I'm trying to find a solution and to write an activity for it myself so I can add it to a workflow but I don't know where to look to tell the Web Service what it's new EndpointAddress will be. I've also read about Windows Communication Foundation and WS-Addressing but I'm not sure if I need WCF. ...Show All
Visual C++ Unexpected operator function call.
I have a class with overloaded operators. The most basic example I can create is as follows. //class.h class testclass { private: char cbuf[50]; public: testclass(){cbuf[0] = '\0';} testclass(char* pchar); testclass operator+(testclass& nclass); testclass operator+(char* pchar); testclass& operator=(testclass& nclass); testclass& operator=(char* pchar); operator char*(); }; //class.cpp #include <string.h> #include "class.h" testclass::testclass(char* pchar) { strcpy(cbuf, pchar); } testclass& testclass::operator=(testclass& nclass) { strcpy(cbuf, nclass.cbuf); return *this; } testclass& testclass::operator =(char *pchar) { strcpy(cbuf, pchar); return *this; } testclass tes ...Show All
.NET Development ftp client
In windows , can't we directly access the remote files in the server to the client.Is there any permissions required. ...Show All
Visual C# My enumerator is not returning the count??
Hi, I have created a class using the KeyedCollection: public class RobotPartKeyedCollection<T> : System.Collections.ObjectModel.KeyedCollection<string, T>, System.Collections.Generic.IEnumerable<T> where T : RobotPart { private RobotPart partToSearch; internal RobotPartKeyedCollection() : base(null, 0) { } public RobotPartKeyedCollection(RobotPart robotPartToSearch) : base(null, 0) { partToSearch = robotPartToSearch; } protected override string GetKeyForItem(T item) { return item.Name; } internal void ChangeKey(T item, string newKey) { base.ChangeItemKey(item, newKey); } public new T this[string name] { get { ...Show All
Software Development for Windows Vista Tracking Query returns null
I have update the Workflow Foundation from the Beta 2.2 to the RC1. In the RC1 there is no "SharedConnectionWorkflowService" anymore. It is called "SharedConnectionWorkflowCommitBatchService" now. So I changed that. Since that I get an error in following code statements: SqlTrackingQuery sqlTrackingQuery = new SqlTrackingQuery (ConnectionStringWorkflowService); SqlTrackingWorkflowInstance sqlTrackingInstance; sqlTrackingQuery.TryGetWorkflow(e.WorkflowInstance.InstanceId, out sqlTrackingInstance); The method "TryGetWorkflow" doesnt populate the SqlTrackingInstance. It is being null. Before changing the Shared Connection Service it worked. Any suggestions, where the problem may be Thanks ...Show All
Windows Forms Boundfields in GridView are empty during RowUpdating, except read-only field, why?
I am binding several boundfields to GridView at run time, one of them is readonly field. I set AutoGenerateColumn to false, AutoGenerateEditButton to true. foreach ( DataColumn dataColumn in (( DataTable )Session[ "dataTable" ]).Columns) { BoundField boundField = new BoundField (); boundField.DataField = dataColumn.ToString(); boundField.HeaderText = dataColumn.ToString(); if (boundField.DataField == "ID" ){boundField.ReadOnly = true ; } GridView1.Columns.Add(boundField);} GridView1.DataBind(); During RowEditing, I can see all cell values (GridView1.Rows[e.RowIndex].Cells[columnIndex+1 ].Text), but during RowUpdating, I can only see value for the readonly field (If I set all columns ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tiling a texture?
Hey, I have a 3d terrain system. The terrain is built using a heightmap image. Then I have a large texture that I paste over the top, this covers the complete terrain. I'd like to be able to dispose of the one large terrain texture image and use tiling and different layers for different tiles. (Texture splattering, I think this is called). However, for now I'll be happy with just tiling my grass texture over the top of my terrain instead of it automatically scaling. Can anyone point me in the right direction to repeat and tile my texture rather than stretch to fit Thanks Ah, ok, thats very strange its as if your AddressU and AddressV states are set to Clamp, but I can clearly see you have ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XBox 360: Detect widescreen vs 4:3?
Right now it looks like our games pretty much dictate their size and whether they're windows or full-screen. But, obviously, once we get to the 360 the choice of windows vs full-screen will be gone. And I get the impression that if we code for 720p that the 360 will automatically downscale if needed. But I still don't know how we're going to detect whether the output is headed for widescreen or 4:3. If we make the choice to program for widescreen only will the 360 letterbox for us, or will it just get squished or truncated Matt Stum wrote: While it might downscale to 480 or upscale to 1080, I don't think it'll do any auto magic to translate aspect ratio. What It's simple math. If I have an ...Show All
Software Development for Windows Vista looking for web editor for business processes for WWF
Currently you can visually model workflows by using Visual Studio or by implementing graphic editor to WinForms apps. Does anyone know about Microsoft's plans on web editor Hi, I started to know about WF when I saw your application at http://www.masteringbiztalk.com/atlasworkflowdesigner I have exactly similar requirement. I have to build the workflow at run-time using ASP.NET (It is going to be a web app). My objective is that I need to have similar UI. 1) My activities are based on previous activities.....I mean activity B cannot be added unless activity A is added. 2) I need to have an execute button which will do some processing based on the workflow generated using drag an ...Show All
.NET Development Accented Characters
Hi, I have a question for accented characters. For example, when I am doing regular expression match, how can I match "A" against all accented characters "AAAAaaaaaaa" I have tried all possible options in RegexOption enum, but nothing works so far. I know in SQL Server full-text search you can setup accent insensitive, so I guess I can do the same thing .NET. Could someone please tell me how. Thanks, Ning Hello Ning, unfortunately, there is no support for canonical equivalence in .NET (yet). You can find more information here: http://www.regular-expressions.info/unicode.html But maybe this helps: using System; using System.Text.RegularExpressions; ...Show All
Visual Studio Tools for Office Outlook: Design Form and button event handlers
Hi! Sorry if this is not at the right place, but here it goes: I need to fix a Designed Form in Outlook 2003. A contact form is done with a previous version of Outlook, and the custom buttons are not working anymore. When I select Tools|Forms|Design This Form... , and Form|View Code... , I can see the event handlers for the buttons on the form, but nothing is runned after i click the buttons that should fire the events. Where are the event handlers hooked to the buttons I cant find any event handler associations anywhere. I have no former experience about Outlook 2003 designed forms, if someone know how I make buttons with custom events, I would appreciate all help! Thanks, Antti This is definitely not t ...Show All
SQL Server Parameter Values Going Crazy :(
Hi all, I am having a serious problem developing my reports within VS2005. For no reason, on one of my report it seems the parameters have got a life of there own. There is a collection of 4 parameters whose values change randomly (internal, hidden, multivalue). Regardless of what I set them to, once I click save some change, when I alter 1 parameter, the values of one of the other parameters change while the settings for the parameter I changed to not apply. What is going on here, I have been developing reports without issue however this is becoming a major concern. Please help! Kind regards Taz Hello Taz, I have the same problem now. Have you found a solution for you ...Show All
Visual C# Getting Image Source URL
Hey everybody, I'm trying to drag-and-drop an image from a web page to my application. What I wanna do is to get the image source url.. When I drag an image to my app. I got the image itself or the target link (if the image is a link HREF).. How can I get the source url of the image.. For example, in the upper-left side of this forums there is a "msdnR" image.. When I drag and drop it to my app, I got as a result the image itself and the target of the image ( http://msdn.microsoft.com ).. What I want from my app to do, is to give me the location of the image itself, in this example, I wanna get http://forums.microsoft.com/library/toolbar/3.0/images/banners/msdn_masthead_ltr.gif as a result.. Can you help me ...Show All
SQL Server Most time consuming SQL Queries
What are the types of queries that are most time consuming...which may easily lead to expired time out etc...thanks Regards Alu Thats a whole different world. If you want the quick win for the MDX side you can compare that with the aggregation on the OLTP side which is not pre-aggregated and therefore has to be done at runtime. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Tools for Office Microsoft Office Projects Not Viewable
Hi all I want to create project using C# that targets MS office Word. To accomplish this i have installed VSTO 2005 in my system. My system configuration is Windows XP SP 2 MS Office 2003 Professional SP 2 VS 2005 .Net Framework 2.0 I have also installed PIA redistributable package and office runtime. But the problem is that Microsoft Office 2005 Projects Folder aren't viewable in Project Types. I also tried VSTO 2005 client troubleshooter and the analysis report shows no warnings except that DisableDocumentAssemblies Policy Status Disabled and Office Application Configuration Files No configuration files were found Please give some response as soon as possi ...Show All
