SamV's Q&A profile
Windows Forms Control buttons
In the form I had set the following properties as minimise = true maximise = true locked = False Still these three small buttons does not appear on the upper right hand side of the form ...Show All
SQL Server STATISTICS IO: Scan Count vs Logical reads
Hello I'm doing som performance research, I have a index with following priority: ClientId, Active, ProductId. Active is a bit field telling whether the Product is active or not, it can be inactive products than active, but always at least one active product. When I'm executing SELECT * FROM [table] WHERE ClientId = [id] AND ProductId IN ( 1 , 2 , 3 , 5 , 7 , 9 , 20 ) I'm getting following result: Scan count 1, logical re ...Show All
SQL Server Row and Cell Security
I am trying to implement row-security in SQL 2005 but i make a query to make a view CREATE VIEW vwVisibleLabels AS SELECT ID, Label.ToString() FROM tblUniqueLabel WITH (NOLOCK) WHERE ID IN --Classification (SELECT ID FROM tblUniqueLabelMarking WITH (NOLOCK) WHERE CategoryID = 1 AND IS_MEMBER(MarkingRoleName) = 1) AND --Compartments 1 = ALL(SELECT&nb ...Show All
Windows Forms Need TaskVision Source file
Does anybody know where I could download the taskvision source code, since there are removed from windowsforms.net and microsoft. Or if anybody could email them to me at matprot@hotmail.com Thanks Just thinking out loud .. the scripts for the da ...Show All
Visual Studio Express Editions downloading a new page
I'm writing a basic demonstrator that takes a Windows forms application and converts it to a web solution using the Visual Web developer. I've treated each form as a new aspx page and I want to simply download to the user browser a new page in response to a button click. I've searched the help files but I can't find the command syntak. It must be simple because the menu and tree command coupled with a site map does, but they don't quite fit the ...Show All
Visual Studio 2008 (Pre-release) NavigationService is null when returning from a PageFunction
I don't really understand how NavigationService is supposed to be used. Right now i'm using it to navigate between pages and that seemed to be working until I tried to use a PageFunction object. Now I navigate to the page function and it returns correctly, only when I return the page I return to seems to have lost its NavigationService. It's NavigationService is null. Why did this happen How can I navigate Heres my code: private void ...Show All
SQL Server Error: Subreport could not be shown
I am a new one in using ReportViewer in VS 2005. I try to use Main and Sub report to show data from my dataset. It doesn't matter if I use main report only, but the problem is when I use subreport intergrated with the main report. When I run it in browser, it shows: Error: Subreport could not be shown The main report is ok.Is there any solution to the problem Thank for your help!!!! Hello ...Show All
Smart Device Development Trace/Debug output
I want to get trace/debug output from an app I'm debugging in the output window in VS2003. I'm assuming this is possible as it looks like the framework is there. Can anyone tell me how to do this, and confirm that it's possible Thanks. ...and these: http://www.danielmoth.com/Blog/2004/11/debugwriteline.html Cheers Daniel ...Show All
Software Development for Windows Vista General Questions
Hi there, I got some simple questions about the WPF and .NET. Currently I am starting to develop a gui application and intend to use C#/Visual Studio/.NET 2.0. WPF seems really interesting to me, so I consider using it as well. 1) A non-Vista question: Can I compile a .NET application as Win32 so the user does not has to install the .NET Framework Can you give me a hint how to do this 2) Can I compile an application with WPF ...Show All
Visual Studio Team System Adding users/ groups with "/" char in the caption of the name
Hi, I am running Team foundation RTM. When I try to add windows domain users to one of the security groups I get the error: "Team Foundation Server could not resolve the user 'XXXXX/XXXX'. The user or group might be a member of a different domain , or the server might not have access to that domain. Verify the domain membership of the server and any domain trusts". I noticed it only happens with users ot group wh ...Show All
Windows Forms Find Values in a DataTable
I am trying to create a log-on form for my application. I have two textboxes, one for UserID (txtUserID) and Password (txtPassword). I need the application to search through rows in a datatable and find the txtUserID.text and txtPassword.text values in the same row. If the application cannot find the values in the same row, then it should not continue to the next form. If anyone could help me, that would b ...Show All
SQL Server Modify SSIS package saved on server
I have saved an SSIS pacakage on my sql server. I am able to see and run the package through Integrations services. My question is, is there a way to edit the package through Management studio Thanks Jim sorry, no. Currently you cannot load a package from Mgt studio for editing. From Mgt studio you can see whats running, whats stored, and can execute a package but not edit. ...Show All
Visual Studio Express Editions Sample "Web Browser" application crashes
I am new to C# and I thought walkingthrough the "Web Browser" windows application, listed here,( http://msdn2.microsoft.com/en-US/library/360kwx3z.aspx ) would be a good start. I have tried following the directions at least 4 times and the application crashes as soon as I try to have it navigate to a new web site URL. I get the following error: "Invalid URI: The format of the URI could not be determined." on the following line of code ...Show All
Visual C# GetModuleHandle(null) equivalent in C#
Currently I'm using DLLImport for the method: GetModuleHandle( null ) I would prefer moving away from it. Does .NET have an equivalent There's a method: RuntimeTypeHandle.GetModuleHandle () but that's not it, or is it What do you then do with the handle you obtain .NET doesn't have a direct equivalent but there may be other ways to accomplish the end result. ...Show All
Visual Studio 2008 (Pre-release) WCF vs WSE 3.0
I enjoyed reading Aaron Skonnard article, especially the part where he answers the question: What features does WCF provide for developers that ASMX 2.0 and WSE 3.0 don't But... I didn't understand - Since WSE 3.0 runs on .NET 2.0, in what scenario (if any) should one use WSE 3.0 over WCF Is there any feature inside WSE 3.0 that is not inside WCF (emphasize on security) Thanks. I think you should look at it from the WS ...Show All
