MrTufty's Q&A profile
Software Development for Windows Vista More simplistic conditions and branches
IfElse is fine, but we would like a very simple YesNo container that branches based on a property value of the preceding activity. Any suggestions on how this might be implemented Is it possible to determine the task immediately before your task What steps are required to present a drop-down list of the available boolean properties on the preceding task We could use reflection and build our own custom UITypeEditor, but I know the EventSink does ...Show All
.NET Development Adding Reference to ObjectSpaces.dll
Just started trying the Visual Studio Beta 2. Trying to use the new ObjectSpaces functionality. Tried to add a reference to System.Data.ObjectSpaces.dll - don't see an available reference - any ideas Thanks. ...Show All
Visual C# How to change the color of the app's title bar?
Hello, How do I change the color of the app's title bar (where you have the Close, Minimize and Maximize buttons) in C# Mateusz I personally wouldn't create a user control for the borders. The non-client area is built for these situations. The correct way to do this is to create a form with your own borders. How to do so is described here . P.s: Try to post windows forms specific questions he ...Show All
Visual Studio How Can I Get the total of (TImeSpan) type column in Crystal report ??
Hi I have column in Crystal report with (TImeSpan) type , and I want to get the total of that column !!! How Can I Get the total of (TImeSpan) type column in Crystal report And thanks with my best regarding Fraas right click on your (timespan) field in the details section, then in the menu goto insert then to Summary from there follow the directions Carl ...Show All
.NET Development MSXML 6
Is there a merge module available yet for the new MSXML 6 If not, why Thanks If they haven't yet, it is probably not going to be done. I install MSXML6 using my bootstrap program (using the .msi) rather than through the merge module. ...Show All
Visual C# How in the world?
I have a text file that I am reading that looks like this: "2002", "1", "500", "2003", "1", "501", "2001", "1", "500", "2000", "1", "503", "2001", "2", "500", "2000", "2", "540", "2003", "2", "550", "2002", "2", "523", The first column is 'year', the second is 'internal/external (1 means internal, 2 means external)', and the third is 'amount'. I want to use these numbers to make a report that looks like the following: Year: &nbs ...Show All
Windows Forms Insufficient Privileges during My applications Install
Hi is this the right place for VS Setup project type questions In VS 2005 I have created a setup project. I set the InstallAllUsers to False because I want non admin people to be able to install my app. However, when a non admin user runs the msi it goes through the UI sequence ok, i.e. doesn't allow them to install for 'All Users', but when it starts copying files it fails with 'Insufficient Privillages' type of error. I thought that when the ...Show All
Visual Studio Express Editions password format
I have installed the VWD on Windows 2003 server and gone through the configuration several times. At this point the applications which I have developed which worked fine on my Windows xp are not up and running because of some sort of difficulty with the password format. When using the ASP.NET Webstie Admin Tool isn't able to recognize the password format. Can someone help me figure out how to configure this. I tried adding the ...Show All
Visual C# Transfer the value of a text box from one form to another.
I want to be able to have the value of the text box in one form populate a text box in a second form when it opens. Can anyone help me with this. This is a solution but I'll encourage you to provide a property and return the string of the text instead making the control a public field. The reason for this is improving the encapsulation of your code. Good luck, ...Show All
Visual Basic Performance Counters XP and Windows 2K
I wrote a program that tracks Paging File Usage. It works great on the PC i developed it on (XP). But when I try to run it (.exe) on a windows 2000 computer, I get JIT error. In either case, the program is monitoring the PF on a third computer in the house. Any ideas Thanks. Hi, Can you post the details of your error It might be a lot easier to figure out if we had the actual arror message :) --Geoff ...Show All
Visual C# Windows program startup
Just want to know how can my application can start before anything is displayed i.e taskbar .........i want my application to run first before any service or another program runs........i know we can place program in start up folder (this is not solution for my problem).......just want to take control over windows by my application .......thax Hi! Why do you need such system-controlling application Hope you not going to try to write some ...Show All
Visual Studio 2008 (Pre-release) Allow OR Mapping to be defined in a config file instead of attributes
Classes generated by SQL Metal have attributes placed on them that define their mapping to the underlying database. Every time a changes occur in the mapping (e.g. A column name or size changes), the attributes on the class must be updated and thus must be recompiled. This prevents using those classes as DTO (Data Transfer Object) in an nTier app ;where the assembly containing those classes would be shared between the client and the server; as i ...Show All
.NET Development Connect to Oracle Database programmatically using .NET 2.0
I am a little confused about this. I have worked with SQL Server databases extensively and can make a connection as simple as below: .NET 1.1 SqlConnection cn = new SqlConnection(); cn = new SqlConnection("server=localhost;database=test;uid=xxxx;password=xxxxx;"); cn.Open(); Now, that I am trying to work with Oracle databases, I run into problems. I read in .NET 2.0 that the same SqlConnection class can be used to co ...Show All
Visual Studio Tools for Office VSTO and C# Automation Dll
I make use of IsWeekDay function in an C# excel automation/add-in dll (Like the example in Visual Studio Tools for Office - Carter and Lippert) in my VSTO project. For some reason when i open the VSTO document all the calls to my automation dll show up as #NAME in the cells. Looking in process explorer my automation dll is not even loaded into memory. Now if any other non VSTO workbooks are opened that makes use of the auto ...Show All
SQL Server Help with multiple IIFs, or need suggestion of better solution.
I am trying to check multiple fields from a db to see if they have either a 1 or 0 value, and if there is a 1, then write a value into a text box. I need to check multiple fields, and if all of them are checked then I have to insert the value for each into the text box. If it was just checking one condition it woudl be easy, because I could just nest IIF's until it was true. So I can't do because once the truth clause is satisfied it will exit ...Show All
