Olivier Conq's Q&A profile
Visual Studio Reference Task success value
With the ContinueOnError attribute, it is possible to let a build continue, even if a Task's Execute method fails (returns false). Is there any way to reference that result, so that other Tasks can act accordingly (via a Condition or otherwise) For example: <Target Name="DoStuff"> <MightFailTask ContinueOnError="true" /> <DependentTask Condition="'$(MSBuildLastTaskResult)' == 'true'" /> <DoRegar ...Show All
Software Development for Windows Vista Added activities from the DesignerActions and refreshing the designer rendering
I've created a custom designer to which I add a new DesignerAction "Insert Required Activities". I've handled the event OnExecuteDesignerAction and in there I add activities to the Activity I'm designing but I can't get them to showup in the designer unless I save and close the workflow then reopen it. I must be missing some method call or event... I'm just doing this: baseActivity.Activities.Add(new InputData()); baseActivity.Activit ...Show All
Visual Basic System.IO locking my files preventing another Sub to run properly
Once I get to this point and call this function below, I get a lock error on the incoming .mnt and .naf files that it tries to move. here's my entire code: http://www.webfound.net/allcode.txt Here's the Error System Error Information: The process cannot access the file because it is being used by another process.Place: 6 System.IO.IOException: The process cannot access the file because it is being used by another process. at System.IO.__ ...Show All
SQL Server The AcquireConnection method call failed with error code 0xC0202009.
I have a SQL Server Agent job with a step to execute an SSIS package. The package has as one of it's connection managers the Connection Manager For Excel Files. When I run the job it fails every time. I have implemented logging and in the OnError event it states "The AcquireConnection method call to the connection manager "LOBMappingExcel" failed with error code 0xC0202009". Note that if I execute this package via dtexec ...Show All
Visual Studio Team System Beta 3 Refresh to RC -- reports don't work
Hello, We performed the Beta 3 Refresh to RC upgrade yesterday. I followed the upgrade word doc religiously and it went fairly smoothly. Everything appears to fine post-upgrade with the exception of Reports . All reports load, but return errors when run. Here's an example from the Work Items by Owner report: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'dsStateParam'. (rsErrorExecutin ...Show All
Visual C# How do I delete multiple files (Code Request)?
Hi! How do I delete multiple files in C# I would like the specific code. Thanks! Matt Hi: public static void DeleteFiles() { FileInfo[] files = (new DirectoryInfo("C:\\Test")).GetFiles(); for(int index = 0; index < files.Length; index++) files[index].Delete(); } bye. ...Show All
.NET Development Best database choice?
I am wondering what the consensus is on choosing a database solution for a windows forms application when developing for the following criteria: 1. For applications that need to be deployed with their database on target computers (nothing complicated like oracle or ms SQL). 2. small amounts of data...( say...less than 500 mb of data [basically only need to persist small amounts of data between application executions ]) What kinds of ...Show All
.NET Development "The server has rejected the client credentials" always occurs
Hi! I'm not sure if this is a bug in .NET v2, so I'm posting here first just in case it's me I create a TcpClientChannel with the secure property set to true. In my code, I set the properties of the channel to be the user's user name, password and domain. If the user types all of the info (user name, password, domain) correctly the first time (after the app has started), all is well and there are no errors. However, if the user makes a mistake ...Show All
Microsoft ISV Community Center Forums vba5.0 doesn't work on dual core computer with Windows2003 system
We have tested at Dell dual core computer(PRECISION 670 and OPTIPLEX 620). If we uses Windows XP, it works well. But it doesn't work at Windows2003, even can't work when disable one CPU and disable Hyper-threading. The VBA initialization succeed, but the application crashs at call CallMacro function. I don't know what's the matter with it. Update to VBA6.X seems not easy and also not sure if it can work. Hi, ...Show All
Visual Studio Am I in the right place for support for Crystal and VS2005?
Not many answers on this forum, but lots of questions. Am I in the wrong place for support answers from the MS VS05 team on Crystal I'm getting the feeling MS doesn't want to support it because they have their own Reporting Services, and Business Objects doesn't to support it because they'd rather sell you a boxed version. Carl Hello Carl, Business Objects offers support for this products, details on this can be ...Show All
Smart Device Development Bound emulator like Palm ?
I was wondering if I could create a bound emulator like I can with the Palm emulator so I can send it out with our salesmen and trainers. It is really great when you run the app on the emulator on the big screen with the projector, it helps us sell our handheld companion products and more handhelds in general. Thanks You can install a standalone DeviceEmulator from http://msdn.microsoft.com/mobility/w ...Show All
Visual Studio Tools for Office Problem with TaskPane initialization - possible race condition?
Hello I am currently developing an InfoPath form which uses a custom task pane. There is a good deal of interaction between the form code and the task pane's JS code. The form code is mostly implemented as an external library downloaded from a web server and instantited via Activator.CreateInstanceFrom() in the OnLoad event. The HTML body element's onload event on the other hand is used to inform the library that the task pane's intialization ha ...Show All
.NET Development Problem in Automatic Deserialization of Low typeFilterLevel
Hi All I’m developing client/server windows application, using server activated remoting in v1.1. All of my assemblies are signed with a strong name. In one DLL I’m having a class (say X) which is marked with [Serializable], coz this is passed as parameter from client to server. When I run the application and a method in server by passing an ...Show All
Visual Studio 2008 (Pre-release) Orcas release time...
Looks like it's currently slated for 2007, based on the products listed here: http://blogs.msdn.com/dcoe/archive/2005/11/11/491888.aspx ...Show All
Visual C++ How to convert string to byte array?
How can I convert any string (containing not only numbers) to array of bytes in VS2005 (for storing in Registry as binary) If you mean any string, that it may conatin also binary (i.e. 0x00 bytes) than base64 would be a gould emthode to code the binary byte sequence into a string. Look at http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclib/html/vclrfbase64encode.asp But note the RegSetValu ...Show All
