Ariane Jansen's Q&A profile
Software Development for Windows Vista ManualWorkflowSchedulerService and Web Service
When I call a web service from a workflow, scheduled using the ManualWorkflowSchedulerService, it appears to go idle and does not wait for the response. Will this behaviour be addressed by the new UseActiveTimers option or is there another solution Mark Philip Just to give a bit more detail to my issue: I have built a state machine workflow which implements an ASP.NET page wizard. Between some of the p ...Show All
Visual Basic Validating within a User Class
I need to populate a container with an indeterminate number of label/textbox pairs for input. Since it is indeterminate at design time, I thought I'd create a user class with both a label and at text box in a pair so I could create them at run time and populate the labels appropriately from a data file. I need to validate each text box for numeric value. Then, I need to use that value to build up a subtotal on the form...sort of like this: ...Show All
Windows Forms How do you tell if an mdi child is open
How can you tell what mdi child windows are loaded Thanks of the help Ken. I am a newbie myself and I was wondering how to achieve this for a little while now. ...Show All
Visual C++ How to add existing source controlled file to VC++ 2005 project
Hi, I currently experience problems when trying to add files that already are under source control (IBM Rational Clearcase) to a VS2005 project. VS seems to recognize what I am trying to do, checks out the project file and warns that the file I am trying to add is already under source control. But after confirming this .... nothing happens. There are 2 workarounds: 1) Edit project file in notepad .... not really an option 2) Remove the file ...Show All
Visual Studio 2008 (Pre-release) Factoring Interfaces
I am embarking on my first WCF based service. This service will be evolved from an existing .asmx based set of web services that expose over 200 webmethods. My question is, what is the best way to (re)factor the .asmx interfaces in WCF I was considering a single IMyInterface containing the 200+ methods, and then perhaps partial classes for the implementation to maintain some modularity. Is this a bad idea Are there any best practices for factori ...Show All
Smart Device Development CF 2.0 on Win CE 4.20
When I try to deploy a visual studio 2005 application on my Win CE device I receive this error message: "The file \Windows\NETCFv2.wm.ARMV4I.cab" is not a valid Windows CE Setup file." on the display device then the deploy process fails. How can I update the CF on my mobile device System: Win CE .NET 4.20 Processor: Inell PXA255 Thank you .NET Compact Fram ...Show All
SQL Server Generating SQL scripts in VS2005
Hi, I'm using Beta 2 and I've noticed a difference in behavior between VS2005 and VS2003 when generating SQL scripts from database objects in Server Explorer. In VS2003, scripting a table results in separate files (TAB, KEY etc) for the table, indexes and so on. With VS2005 I just get one file. Is it possible to switch the behavior back to generating mutiple files If not, why was the behavior changed Many thanks in advance! ...Show All
Visual Studio Team System Do not declare explicit static constructors (in C++)
I'm trying to fix all the FXCop errors for a managed C++ assembly and I seem to be stuck with the "Do not declare explicit static constructors" error. If I don't declare and explicit static constructor, I get the following error IN ADDITION to the one above: "Static constructors are private". The given resolution for that error is "Declare an explicit static constructor for 'classname'. These two errors seem to contradict one another. Where ...Show All
Visual Studio typedef struct being misinterpreted by debugger in locals window
I am having an issue with the debugger misinterpreting the data elements inside my structs from one local file to another. Here is an example of what I mean: In this program there are 3 files: ( C_test.cpp, file_A.cpp, file_B.cpp ) C_test.cpp: #include "stdafx.h" void file_a(); void file_b(); int _tmain( int argc, _TCHAR* argv[]) { file_a(); ...Show All
Visual Studio 2008 (Pre-release) WCF Errors on client: System.ServiceModel.CommunicationException
I am getting these errors pretty frequently on some test users desktops, but never on my own. Does anyone know where I should start looking to debug Thanks, Christian S ee the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ServiceModel.CommunicationException: An error occurred while transmitting da ...Show All
Windows Forms System.Windows.Forms.AxHost.InvalidActiveXStateException was unhandled
I'm getting a AxHost.InvalidActiveXStateException can someone look at this code and see whats up... public partial class Form1 : Form { private object obj = null ; private AxSHDocVw. AxWebBrowser AxWebBrowser2; public Form1() { InitializeComponent(); } private void linkLabel1_LinkClicked( object sender, LinkLabelLinkClickedEventArgs e) { AxWebBrowser2.Navigate( "http://www.newegg ...Show All
Visual C++ What control can I use to let specify directory path???
Hi, I am now writing MFC program in VS .Net 2003. I like to have include a control by that user can specify any folder(directory) where a collection of their files are stored. Any idea what control will work for me Thanks, vcboy It should look something like this: int CALLBACK BrowseCallbackProc(HWND hWnd, UINT uMsg, LPARAM lParam, LPARAM pData ) { LPCTSTR ...Show All
Visual Studio 2008 (Pre-release) ScrollViewer Problem
Hi. I have a sample code as follow: private void WindowLoaded(Object sender, RoutedEventArgs e) { Canvas frameTop = new Canvas(); Canvas frameRight = new Canvas(); Canvas frameLeft = new Canvas(); DockPanel dockPanel = new DockPanel(); frameTop.VerticalAlignment = VerticalAlignment.Top; frameTop.HorizontalAlignment = HorizontalAlignment.Left; frameRight.VerticalAlignment = Vertical ...Show All
Visual Studio Express Editions Visual Web Developer Beta 2 Debugging
When I try to debug a web app in VWD Beta 2 the browser opens and I get a dialog box asking for a username and password...what should I enter here As I don't have a login system as part of my app I'm assuming its window authentication i.e the username and password I login to windows with here at home But this fails...and I get a nice " HTTP Error 403 - Forbidden" message. This might be due to firefox being set as my default brows ...Show All
Visual C# Basic IO stuff
Hi I have a small pointless program to write nothing fancy and most of it is done. The part where I am stuck is that the program write out to the console the results of a hand from a card game, the result are displayed on the console (this works) but I also need to write the results to an external text file. I am able to all ready write strings to the file but Console.WriteLine(); is not a string. Someone please ...Show All
