Steve McCormick's Q&A profile
Visual Studio How to hide a SubReport programmatically?
Hello, We have 4 subreports on one rdlc file. The user can select any number of reports to display. How can we hide or display the selected subreports Since we have all 4 subreports in one rdlc file, the un-selected subreports display "Error: Subreport could not be shown" Please help. Thanks. You may want to read the documentation about using expressions: http://msdn2.microsoft.com/en-us/library/ms2 ...Show All
Visual Studio 2008 (Pre-release) Using svcutil /dconly on 3rd party schema
I am trying to create a data contract based on a 3rd party schema and am having no luck. Here is what I tried and the results that ensued. %program_dir%\svcutil.exe /dconly /l:cs /d:%output_dir% /o:%outputname% %files% ------------------- Original schema ------------------- Error: Type 'AbstractLocation' in namespace cannot be imported. Abstract on type is not supported. Either fix the schema to conform to DataContract type rules ...Show All
Windows Forms Tab Key 2.0?
Ok you could get away with doing this in 1.1 but now in 2.0 its a no go Any help would be great Thanks Joe 'Size Group 5 Leave with Tab Click *** Private Sub cboBU_SizeGroup5_Leave( ByVal sender As Object , ByVal e As System.EventArgs) Handles cboBU_SizeGroup5.Leave Dim k As Keys If k.Tab Then If cboBU_SizeGroup5.SelectedValue > 0 Then cboBU_SizeGroup5.SelectedValue = cboBU_SizeGroup4.SelectedValue End If ...Show All
Visual Studio Express Editions Cannot Access Free Registration Materials via Thank-You Emails
Hi everyone. I'm trying to access the free downloads that come with registration, but I only see the Web Developer downloads listed. I don't see the icons, components, or book that come with C#. I assume they would all be listed on one page, but they aren't there. How can I find them Thanks, John Salerno P.S. I don't understand how to download what *is* there either. The link to the Web Developer book says it's a pdf, but when you download it ...Show All
Software Development for Windows Vista Using root activity parameters
I've created a workflow from using a root activity class that derives from SequentialWorkflowActivity and adds some additional properties. These appear fine in the designer properties grid but I'm unable to find them in the browser when I want to associate them to properties against other Activities. I'm using Beta 2.2 version. Any help would be appreciated. Tim, Can you post the code snippet of your p ...Show All
.NET Development Deleting Files Using oledbcommand
I have currently worked out how to add and edit records with vb.net frontend and access back end. im having some problems with working out how to delete things however. Can anyone explain how this can be done When i go to nthe qery builder to try and delete, i select delete from the SQL list however i am then unable to specify that i want the system to wait for the record i tgive it before it deletes. assignment due tuesday. please help!! ...Show All
SQL Server Internal error: file 'dmattributeset.cpp', line 2004
I created a Neural Network model with AMO in C#. It seems that everything (including pre-processing) goes well until the final stage of processing (i.e. model training after retrieving all the data), then I consistently get the following error: Internal error: An unexpected error occurred (file 'dmattributeset.cpp', line 2004, function 'DMCubeAttributeSet::GetAttributeGroup') Could anyone offer any clue about this error I created an alm ...Show All
Windows Forms Ordering Items in a Property Grid
This is really pathetic. I have tried a ton of stuff to try to order property grid items in VB.NET but it seems there is no way. I have heard that it is a VB.Net langauge bug, but very low priority on Microsoft's list... Well, its something everyone with a propertygrid wants, so can't Microsoft just add an Attribute for "Order" pizzayoyo wrote: Ok, i found how to do it in VB, by converting a C# fil ...Show All
Visual Studio getting a pop-up menu to appear for a custom node in the Team Explorer tree
Hi, I have added a custom node to the Team Explorer view in VSTS. I am curious as to how to have a pop-up menu come up when I right click on one of my custom nodes under my custom root node. Any help is appreciated. Nick You should have a class that derives from Microsoft.TeamFoundation.Common.RootNode. In this class you need to override the ContextMenu property and do som ...Show All
Windows Forms Drawing outside of your Form
Anyone know how I can draw something outside of my Form Anywhere on the screen for example, say I want to take a screen shot of only a single area of my screen, so I select that area, then take the screen shot, how would I ...Show All
Visual C++ Exception when allocating an unmanaged object in a managed method
Hi all, I have 2 classes written in C++, one managed and one is unmanaged . class Umanaged { int m_count; public: Umanaged () { m_count = 0; } .... } public ref class Managed { Unmanaged * m_unmangedObj; public: ...Show All
Smart Device Development Building a cab which should install an app and install it to run at startup...
I noticed that you can build a cab/cabs within VS 2003. Is there a way to create a shortcut within this cab that starts your app when the device starts I'd like to do this so it would build the correct cab, perhaps by script, every time I run BUILD CAB. Anyone got any ideas, or am I nuts Thanks! That is possible. You would have to edit CAB's INF file manually and build CAB by starting batch file VS creates for you. If you build CA ...Show All
Visual Studio Team System OperationsShouldNotOverflow and Select Case
I am getting this message: "Correct the potential overflow in the operation 'errorNumber--1' in 'DataLib.EmprixErrorToText(Int32)" It appears to have issues with the case statement. ************* Public Function EmprixErrorToText(ByVal errorNumber As Integer) As String Select Case errorNumber Case -1 Return "Unkown" Case 0 Return "Fine"   ...Show All
Visual Basic Concentation
Hey Guys and Gals, Is there any way to deconcentate a numeric variable and a string literal. This is what I'm Trying to do: I'm taking the value of a textbox, turning it into a numeric variable and then displaying it in a label and concentating a string literal via code yearsOldInteger = Integer .Parse(yearsOldTextBox.Text) yearsOldLabel.Text = yearsOldInteger & " Years Old " Now this works fine but ...Show All
Software Development for Windows Vista Tracking workflows dynamically loaded from xoml files
Is it possible to track a workflow which is dynamically loaded from an xoml file I tried to use the sample "Workflow Monitor" from SDK to track such a workflow, but it always gave me an error: " Object reference not set to an instance of an object. " Here are my workflow files: <WFHelloWorld.xoml.cs> public partial class WFHelloWorld : SequenceActivity { &nbs ...Show All
