Paul Marangoni's Q&A profile
Visual C++ I get a warning WINVER not defined. Why?
Hi, I always get this warning when I compile projects in VS 2005. When I define this then it says macro redefinition. Then I tried #undef then defining but still the same result. Then I tried #ifdef but then also the same result. Can somebody tell why this is happening. Thanks Nibu thomas. here is the kb article. http://support.microsoft.com/default.aspx/kb/320479 ...Show All
SQL Server Reusing a Chached Lookup component
Is it possible to reuse a Lookup component which is configured with Full chaching My requirement is as follows.... A input file have 2 columns called CurrentLocation and PreviousLocation. In the dataflow, values of these two columns needs to be replaced with values from a look up table called "Location". In my package i have added two LookUp components which replaces values of CurrentLocation and PreviousLocation with the val ...Show All
Windows Forms Databind short date to masked text box
I'm having a hard time binding a DateTime column of a typed dataset to a masked textbox. I have a masked textbox with the mask of 00/00/0000. The binding works, sort of, but if the date is something like: 02/14/2005 then the textbox drops the leading zero giving me 21/42/005, which is obviously not what I want. I opened a bug on this (FDBK29210) and was told the problem wasn't with the textbox, but rather with the databinding. A comment on the ...Show All
Visual C++ Console Applications only work on computer with the IDE
I'm using a text book to learn C++ and am writing my first programs. They compile fine and work the way I want them to, from Visual Studio or Windows Explorer. However, if I move them to another computer (with a disk), they don't work. Something about the configuration of the application. I've tried CLR console apps and Win 32 console apps (with header). I move the entire project, not just the .exe I would really ...Show All
Software Development for Windows Vista Inspecting a State Machine Workflow
Hi there!. I'm developing a State Machine Workflow. First, please let me put you in context: It’s like a form approval, but the form in cuestion has states (ie: Pending, OnCourse, Rejected, WaitingApproval, Approved) and if the form is Reject, the next State it’s OnCourse again doing a new iteration. I'm using Lab04 as example and I've definied the workflow until this point without problems, but now, when I'm going to code the "test h ...Show All
Smart Device Development CF2.0 Throws exception in Marshal.PtrToStruture method
I created new project in VS2005 and copied my existing code for PPC 2003 devices. The same code runs perfect in VS2003 for the same PPC2003 device. Now when I run the same applicaiton in PPC2005, it throws 'Argument Exception' in Marshal.PtrToStructure method call. I use InteropServices adn this P/Invoke method call in my code to find the permenant storage card name in the device. I have copied the code that is involved in the error here. It i ...Show All
Software Development for Windows Vista How to go 'backwards' in a sequential workflow?
Hello I am planning on using a sequential workflow to drive a wizard-style form interface with [next] and [previous] buttons. Most (all ) examples of sequential workflows I've seen show the flow proceeding from the start to the finish. My requirements are that the user is able to click the [previous] button at any time and be moved to the previous activity in his/her workflow. E.g. Say I have a flow like this: A / \ B ...Show All
SQL Server Trouble importing csv with flat file source
Hi, I am having trouble importing a CSV file with double quote as a text delimiter. The problem arises because one of the text fields has double quotes embedded in it. This file loads perfectly in SQL 2000 DTS, but SQL 2005 SSIS will fail on the flat file source. I would appreciate any input on this. Thank you, Nick Russo According to the documentation, the flat file source cannot parse an esca ...Show All
.NET Development Can I build a 64-Bit application with VS2003?
Hi, Can I build a 64-bit application with VS2003 Thanks! Yang If your question is "Can I build true 64 bit .NET Applications with VS 2003" I believe the answer is no. I believe .NET 2.0 is the first .NET Framework optimized for the 64-bit platform. I have not used a pure 64-bit version of Windows so I do not know what versions of the framework are supported by it but to the best of my knowledge 2.0 is the first fram ...Show All
.NET Development System.Reflection (Reading Assemblies)
Anybody knows about System.Reflection I'm reading an Assembly and I'm taking the types(classes) and their fields(attributes). But there is a problem, because I'm doing that well but when I take a type that inherits from a class, I mean, i get a class that inherits from another, when i do the getFields(), it doesn't bring me his father's fields. The question is: There are some way to get the fields from a father of a class How ca ...Show All
Visual Studio Express Editions problem with EXpired Visual Studio
Two days ago My Visual Studio Express Editions has expired. I am having problem to reinstall it agian. I Uninstall all the component of C# and SQL. I tryed to install Visual Studio EXpress but I am having this Erorr: Software\classes\.wsd\openwithList\vcsExpress.exe Please anybody can help with this problem Thank you very much. I really can not see that error in you message...l but on a side no ...Show All
Visual Studio Team System Unable to add existing team project
We have created and are working on a project in VS2005 TS. An additional developer is to join the project as a contributor. After installing VS on his machine, he was able to open it and connect to the TFS server. However, he also works on another project in VS 2003 using Crystal Reports and had to uninstall the new Crystal Reports that came with 2005 due to a conflict. After that, every time he tries to connect he gets t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Starting Game Development
I Have a Very Very Deadly Game StoryLine But i am extremely new to the programming. I have no idea about programming . I will be very gratefull if any body tell me how to begin, which language to learn and everything else. I have a great imagination and story writing power and my very sure my game will rock the world if could turn my imagination into a game. (moved to 101 forum) See http://for ...Show All
Visual Studio Team System Microsoft Partner Program License Benefits FAQ
The Partner team has provided me with the following FAQ, which I'd like to share with all of you in the hopes that it answers many of your questions. Thanks, Ajay 12/8/05 - I've updated the FAQ with a new version that I received from the partner team. This information will be making its way to the partner Web site as well. Eligible partners are scheduled to have access to Team Edition for Software Developers on 12/16. In the meantime, the Tea ...Show All
Visual Studio "sgen.exe" exited with code 1
I am trying to build a project in VS 2005 but I am getting the error: Error 67 "sgen.exe" exited with code 1. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets 1892 9 TAI.Util This project had been building just fine earlier today. The only thing that happened between is I refreshed the web references in this project. As a test I added the same web references to a new project and i ...Show All
