tcarff's Q&A profile
Software Development for Windows Vista Designer unable to load .xolm files
Hi, I am trying to add a Sequential Workflow with definition expressed as Xaml and user code in a separate code file but due to some unobvious reasons it is not showing up in the designer,Can anybody help please The problem has solved mystically :) The single change I have done is installing Ajax dlls which have no relation to WWF Anyways , thanks to everybody who answered this thread ...Show All
Visual Studio VS.Net 2005 does not create the .vb class for Crystal Report
In Visual Studio 2005 , when I try to add a new Crystal Report file to my project, VS does not generate the .vb file , so I cannot instantiate a report object from the class. We are 2 in the same situation, and we tried to uninstall / reinstall VS.Net 2005 but that didn't helped. I tried the same thing in VS.Net 2003 and it's working... In VS 2005 this is expected behavior for web applications. The whole reason for vb files to be created was so that it would be compiled into the application, but this only worked for windows applications. Instead you need to use a ReportDocument object. Import CrystalDecisions.CrystalReports.Engine Dim myReport As new ReportDocument() myReport.Load(Server.MapPath(" ...Show All
Windows Forms opening a form
hi there, I would like to open a dialog menu/new form Within my main form by clicking a button. For example if I want to send a message I click a "send message" button and then a dialog box/form appears with a text box with "send" button where I can add text and click a the "send" button to send the message. I am not sure whether to create a totally new form Or inherited form Or user control I am using Visual Studio 2005 programming in C#. Also I wish to hold down the touch pad pen on the screen to enable a menu where I can select certain options, what menu is this known as and how can I program this Does Visual Studio have this menu in its Toolbox Help Thanks. Kin You want to create ...Show All
Visual Basic I can't check for updates for VB 2005
Hello I know that we can check for updates for VB 2005 via Windows Update. But when I check for updates via Windows Updates, it doesn't display VB 2005 updates; it just displays Windows Updates. What's problem Thanks ahmedilyas wrote: because there are no updates :-) SP1 was released a little while ago for VS2005.... http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx I've installed SP1. Are there no updates except SP1 ...Show All
Windows Forms How to make a licience expire?
Hi, I have developed a software but I need help on how to issue licences that expire after a given period of time. What is the best way to licence out a software and make it expire and unusable after an year Thank you I have tested some shareware applications and some of them even if I change the date on my computer it has no effect of the software. It expires as it says it will. How are they doing this How do I keep track of the date regardless of teh user maybe changing the date in windows ...Show All
Visual Studio Is there a Multivalue property for (Select All)
The article "Using Parameters in Expressions" in SQL Server 2005 Books Online ( http://msdn2.microsoft.com/en-us/library/aa337293.aspx ) discusses various properties of Multivalue Parameters, for instance: =Parameters!<MultivalueParameterName>.IsMultiValue What I don't see is a property that exposes the True/False value of the (Select All) option. Obviously, the reportViewer is aware of this value, but it does not appear exposed in the API. We are very interested in evaluating if the user has selected the (Select All) option. MSFT...Might this be one of the features in the SP1 update, but not yet documented in Books online Thanks - Mike Hi Robert, I think you have misun ...Show All
Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast. I tried this solution, but made no difference for me. Typing is still dreadfully slow for larg ...Show All
SQL Server Testing data validation against business rules
Any forum, link on doing this thx, Kat Check out this link: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=725&SiteID=1 Buck Woody http://www.buckwoody.com ...Show All
Visual C# Another word about Enumerations
Hello All. I wonder if I could get you folks to check my thinking on this, because I'm wondering if there isn't some aspect of enums that I'm overlooking. Now, as I understand it, an enum consists of an ordered set of named integer constants with the ability to reference the name of the constant as a string. So, the salient points are these: named: good for code readability constant: good for switch statements integer: good for control statements and indices; bad for type consistency string: good for basic output; n/a for localized output Okay, the app I'm designing has several collections and matrices representing various states and lookups, so I really need named integers for indexing in order to keep the cod ...Show All
.NET Development Newby of Newby questions
As a seasoned programmer, I am used to writing extensive code to accomplish the unordinary. Of course I would write COM objects, and my own function libraries to approach OOP. Now it's time to move from VB6 to VB.NET, with it's promise of less code and less time. As you might expect however, .NET takes much more time, due to the hundreds of classes in the Framework that I am as yet unfamiliar with. As with any language, once you get through the familiarization zone, you're good. .NET is clearly going to take more time than usual, and I'm optimistic about the outcome. There are many things that just don't make sense to me yet. For example, today I wanted to use HttpUtility. I only know that because someone herein sugg ...Show All
.NET Development CLR and MyBase.Dispose() in WinForms
I'm curious on how the CLR determine which flag to send as argument to VS2005Designer-generated MyBase.Dispose()-function if I close an application by calling <appl>.Exit only. Clearly it is boolean True (dispose both managed and unmanaged memory). The thing is that when I use <appl>.Exit, i.e call MyBase.Dispose(True) indirectly the application takes very long time to close down. If I, on the other hand, call MyBase.Dispose(False) explicitly the application close down immediatly. Is there anywhere I can tune CLR as regards these flags Dispose(True) is the normal call from your own code, Dispose(False) is reserved for the finalizer. The former takes care of a lot of cleanup; obviousl ...Show All
Windows Forms Sort Icons in ListView Control Header
Hi, How can I add sort icons (symbols like up arrow and down arrow) in a ListView Control's header If you look at the ColumnHeader class, you'll see that it has ImageIndex, ImageKey, and ImageList properties. So create an ImageList with the two icons, connect it to the column headers ImageList property, and set the ImageIndex/ImageKey property, and away you go. Only problem is that the image is to the LEFT of the text, not the right. If it HAS to be to the right, I have sometimes just used small V ("v") and Caret ("^") after the header text. ...Show All
Visual Studio 2008 (Pre-release) RowDefinition.Height=Auto => ActualHeight = ?
Is there any chance to find out the real height of a row having its height set to "*" Thanks. you can bind the to value to something like this <DoubleAnimation ... To= {Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}, Path=RowDefinitions[2].ActualHeight } /> ...Show All
SQL Server Connection Manager Keeps External Metadata information
We have a Main package and which is calling 2 more other packages. The first package contains a connection and we are using a Dataflow task. The data flow task has OleDB Data source which is taking getting columns using a Stored Procedure. And the output we need to write in a Flat File. The second Package also contains the same(The same Tasks, Database and Stored Procedure Calling) The difference is in the stored procedure Parameters. Based on the different parameters Stored procedures returns the different Columns and Rows output. When we are trying to Get the second package output in OleDb Data source it shows all the columns which is the output of the First Package because it stores External Meta Data. So My understanding is the Connect ...Show All
SQL Server Question about SQL statement
Hi guys, Greetings! Please help me to obtain this result using SQL statement. I have three tables Product productID,classID,description,price,sellingUnit,purchaseUnit e.g. data -> 1, 1, "1x1", 1000, 1, 2 Class classID,className e.g. data -> 1, "ANGLE BAR" Unit unitID, unitName e.g data -> 1, "PCS" 2, "PC" Here's how I want to have my result: productID className productDescription price sellingUnit purchaseUnit 1 ANGLE BAR 1x1 1000 PCS PC As you can observe, instead of presenting 1 and 2 for sellingUnit and purchaseUnit respectively, I want to have it point to its corresponding unitName. Thanks ...Show All
