boris_skarbo's Q&A profile
Visual Studio Team System DoNotInitializeUnnecessarily
Name: Do not initialize unnecessarily Level: Warning Certainty: 90 File: Performance Rules Category: Microsoft.Performance Check Id: CA1805 Additional Information: Do not make initializations that have already been done by the runtime. This rule asks that I comment out the line: private System.ComponentModel.IContainer components = null; In global.asax.cs for a web application. Doing this produces a compiler error, '(Namespace).Global' doe ...Show All
Windows Forms how can i restrict domain administrators to not monitor or use my system in a domain
hi, how can i restrict domain administrators to not monitor or use my system in a domain Raheel I think you are in the wrong forum, this is a forum for .net databinding Remco ...Show All
.NET Development Accessing an Excel 5.0 file
So, my current task is to read all the values out of an Excel 5.0 file. I can't depend on Excel being installed on the production machine where the software will run, so I can't use the Microsoft.Office Interop stuff. However, I have found that I can establish both an ODBC connection and an OleDb connection to the file. All well and good so far. Two questions: 1. Which is better to use, ODBC or OleDb 2. The data in one column of my file ...Show All
Visual Studio 2008 (Pre-release) Accessing Service From SharePoint
I am trying to access a WCF service from SharePoint (a doc library event to be specific). I tried putting the bindings and client config into the web.config, but I keep getting this exception: System.InvalidOperationException: Could not find default endpoint element that references contract IMyService in the ServiceModel client configuration section. The proxy and config settings work fine from a standalone app. SharePoint is configured wi ...Show All
Visual Basic MSFlexgrid query
Hi, I was recently tasked with inserting a column in an existing MSFlexGrid that I inherited. I have accomplished all side issues except successfully updating the query for the data. The backend is MS SQL Server2000 I continually get an Error 3061 when I add the field to the query. It is a large grid and I am trying to insert the fild before the Planned_Ship_Date Column. Here ...Show All
SQL Server where can I download SQL 2005 Beta 9.00.0852
Hi, I need SQL server 2005 Beta version 9.00.0852. Please can any one let me know that where I can download that. Complete version . I have a hard time to find Thanks in advance Why on earth would you want Beta 2 RC1 of SQL Server 2005 I can practically guarantee you that you are going to have such a difficult time finding it that it probably aren’t worth your time to try. Not only is it quite out dated, it is unlikely that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strange Problem In Resizing Managed Direct3D Window
Hello, I had a strange problem, I had created a Windows Forms project in Visual Studio 2005. I render to this window using Managed Direct3D. I typically used 3 managed vertex buffers for rendering. When I try to resize the rendering window, The resizing operation was too fast and catching up my mouse pointer inspite of it's speed, This is good. But this happens only in Debug or in Release mode while Visual Studio is open!!. If I closed the ...Show All
Software Development for Windows Vista Shell_NotifyIcon
I was able to add Icon to the sytem tray. But if the i am running with administrator permissions or privileges i am not getting mouse click events (I'm assuming you're referring to notification icons and not the taskbar buttons.) Could you post some code I am seeing no problems with notification icons receiving mouse notifications. Remember that if you register as a V4 notification icon, the notificatio ...Show All
Visual Studio Express Editions Are many MSDN Help links broken/invalid? or is it me?
Just as I am honing in on the solution to a VB 2005 Express problem which has brick-walled me for days, I find in over 50% of cases that the final link to what I am searching for presents an "Information not found" page. This is soooo frustrating. The latest occurrence is that all of the links in the following do just this: How to: Manage Local Data Files in Your Project See Also Tasks How to: Connect to Data in a SQL Server Ex ...Show All
Windows Forms (TreeView Control) TreeNode / ContextMenu
I have a treeview control, with several treenodes in it. To each treenode I have attached a contextmenu. Sofar it works fine: when I click the treenode with the right mouse button, I get the context menu and I can fire off the corresponding menuitem events. The question is, how-to properly figure out (within the menuitem event), which treenode was selected, so I can do the selected work on the treenode. It's not the "treeview1.SelectedNode" ...Show All
.NET Development HTTP 404. The resource you are looking for (or one or its dependencies) could have been removed, had its name ...
When I’m trying to run Web Service *.asmx, right click view in browser, I’m getting the following error: “HTTP 404. The resource you are looking for (or one or its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.” At the first time I ru ...Show All
Visual C++ LNK2028 from VS 7.1 to VS 8.0
I have a very simple dll with one class CShutdown. Its a .net class that wraps unmanaged code to shutdown restart a pc ext. It worked and compiled just fine within VS 7.1 but produces linking errors when compiling under VS 8.0. I know it has to be a setting problem, but I can't seem to find it. One of the functions is ExitWindowsEX which requires user32.lib and user32.dll. user32.lib is included by default and I'm stumped. I'm still a student so ...Show All
Visual Studio Team System Error messages from data driven unit tests - where are they?
I'm working through the testing walkthrough at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/VSTSSysDesigner.asp . For the data driven test, when the test fails, I'm not seeing any error messages - just a global indication that the test failed. Double-clicking on the failed test in the test results window shows a grid with a line for each row of the data table, including a pass/failed indicator - but no ...Show All
Visual Basic Calculation in Visual Basic 2005 express
I need help please on this question and i could not understand where to begin.The question say, Input Calculate Circumfrunce Area of Circle. Value and surface area sphere. : Pi i = e Pi i square =theda 4/3 Pi i cube = V 4Pi i square = SA please, some give at least some sort of direction i'm just a starter in Visual basic. thanks guys. It seems to me that you don't need to do any integra ...Show All
Visual C# width % and px
I have my datagrid (ewb app) with 1 column not visible, then a column, then other columns of width=10px,10px,20px,20px. Datagrid is in <div style="OVERFLOW-Y: auto; WIDTH: 100%; HEIGHT: 100%;"> which is in a table... I want size 2nd column to fill remaining part. How Thx Your table need to have a width of 100%, the rest will follow. <table width="100%" border="1"> <tr> <td width=" ...Show All
