Kevin Shan's Q&A profile
Visual Basic VB.NET :IMPORTANT QUESTION!!! please answer if you know
I finish a project in vb.net, and i compiled it (in Release option). Now, it has 5 MB (aproximate) from my HDD(with the dll,exe etc.). When i execute, it takes ~34-38 MB from RAM (is huge, i think). Whay try to make a simply windows application project in vb.net with a blank form and compiled him->run and look or RAM ocupated...is mutch i think You may have clients running win98. I think it's important to remember that technology has moved on. I don't hold Microsoft responsible for moving ahead and leaving technology behinf that's almost ten years old. ...Show All
Visual Studio Team System Work Item Virus Protection
I am working on a web site that will insert new work items in TFS and allow the user to upload attachments to that work items. My question is, How does MS recommend security for the uploaded work item. Will TFS try to execute that attachment in any way or just store it. How would I deal with virus protection in this senario Thanks for your help, Nate TFS just stores attachments as a binary data. But there is no "Save As" button in TFS UI, but just Open. Opening workitem will call Windows Shell to open attachment URL (not a share path, but http-url). Usually it will open the link in IE, ...Show All
SQL Server Problems with Lookup task and dates
I’m trying to make a Lookup transformation with a relation on two string columns and a between dates condition set by parameter: select * from (select * from [dbo].[RgnErhverv_Ansvar]) as refTable where [refTable].[Opretdato] = and between StartDate and EndDate where the second parameter is my Date column (FakturaDato_konv) . My problem is that I keep getting the error: "Error 1 Validation error. Data Flow Task: Lookup [16505]: input column "FakturaDato_konv" (17826) has a datatype which cannot be joined on" The StartDate and EndDate is datetime data type and have tried all of the DATE data types for the "Fa ...Show All
Visual C++ Importing and exporting functions from DLLs in VC++6.0
How I can import any function from any DLL file(in VC++ 6.0). Please HELP ME!!!!!! Hi! You can't import/export C++ classes from DLL, but you can import/export C styled functions (like most of Win32 API). You need to read about P/Invoke (Platform Invoke) in MSDN and use DllImportAttribute class. ...Show All
Visual Studio Team System Test Lists from RC1 do not work in the release version of VSTT
Using the RC1 build of VS Team Suite, I create a test list (in the Test Manager) and drop all of my unit tests into it. After saving the file, I load the solution in the release build of VS Test Edition (on a VirtualPC image.) When I look at the Test Manager, I see two copies of every test. One set is associated with my test list, but the tests can't be found (they aren't associated with any test project.) The other set is visible, is not associated with the test list, and lists the correct test project they are located in. Looking at the .vsmdi in notepad, I see that the "missing" tests have different GUID's for the ...Show All
SQL Server Push Merge snapshot fails with Data is Null message.
Hi, I'm converting a replication script from SQL 2000 to SQL 2005. I am getting an error with push merge with no way to figure out what is wrong. I've configured replication on a single XP server in SQL 2005 RTM version. I have a push merge set up between A and B and between B and C. All 3 databases are 9.0 compatibility. The snapshot and merge jobs for the A to B run fine with no errors, and merge replicates ok. The snapshot for B to C fails with this message: Message 2006-03-09 17:30:35.94 --------------------------------------------- 2006-03-09 17:30:35.94 -BcpBatchSize 100000 2006-03-09 17:30:35.94 -HistoryVerboseLevel ...Show All
Visual Studio Express Editions Thanks! I am clear now!
Please bare with me if my question is redundant. I am asking it because there are so many different and confusing posts in this forum, I could'nt decide on what the actual answer is! From the posts in this forum, I understand that Express Editions are free only till November 2006. Is that so Does that mean the usage or the download I got the Express Editions for free from a Microsoft Subsidiary in my country for qualifying in a competition sponsered by Microsoft. Will I able to use it for free only till November 2006 Should I be paying after that Is this free till November 2006 stuff applicable only for downloads or in my ...Show All
Visual Studio Team System Changes B2 to B3 for process xml
Hi, I am looking at the xml for the process definition and there seem to be a few changes from Beta 2 to Beta 3. One example is "MetaData.xml" and "MethodologyTemplate.xml" seems to be replaced by "ProcessTemplate.xml". Are these changes documented somewhere I really need that information... Also - can someone explain the number 1 in the "Guidelines for updating the form section" which is described in the Task work item definition file (both for Agile and CMMI). And I am not really sure either what the section " The following mnemonics are common to MSF Agile work items " actually means. <!-- Guidelines for u ...Show All
Visual Studio Team System Check In Policy to ensure that code builds
Is there a way to configure TFS to require that changes being checked in must produce a succesful build You do have to enable code analysis in those projects as well. Otherwise the policy will fail even if your build is correct. You can find the code analysis option in the project options window. Or you can let all the projects conform to the policy by right clicking on the solution and choosing: "Migrate Code Analysis Policy Settings to Solution". Hope this helps. ...Show All
SQL Server SELECT in a table takes FOREVER
SQL Server 2000, QA Database: A table called Telephone_Directory with just 4.000 records. SELECT * FROM Telephone_Directory is taking forever. If I stop the select after 1 second I see 162 rows. If I stop the select after 1 minute I see again 162 rows. Why this could be happening The same querie on Production Database is taking 6 seconds to retrieve the 4.000 records. That's a bit odd. First thing I might try is reindexing the table... perhaps there's an error of some sort in the index structures. Since it's a very small table, reindexing should be very quick. The ...Show All
Visual Studio Team System Visio 7.1 for EA and VS2005
Background: My system has the following software, installed in this order: 1) Windows XP Pro SP1 2) MS Office 2000 Pro 3) Visual Studio .NET 2003 Enterprise Developer 4) MS Project Standard 2002 5) WinXP SP2 update 6) All .NET framework 1.1 updates to that point (current on box is 1.1.4322) 7) MS Office Professional 2003 (upgrade from 2000 Pro) 8) Visio Professional 2003 9) .NET Framework 2.0 Beta (2.0.40607) 10) .NET Framework 2.0 Beta (2.0.50215) 11) Visual Studio 2005 (beta 2.050215-4400) Now here is the problem; I now need specifically to use the Enterprise Architect Edition of Visio for some UML modeling and integration with VS2003 ...Show All
Visual Basic Customize Print Dialog Box (VB.NET)
I want to add a control to Print Dialog Box to let user select part of the image in a pictureBox to print. Is it possible to do that in VB.NET Thanks. No, you can't. At least not without re-writing the dialog box from scratch. The Print Dialog is a standard dialog from the Common Controls that ship with Windows. ...Show All
Visual Studio Team System extracting HTTP Links
here is some source from a page on my site... </div><a id="18690_68" title="Customer Packages" class="header none" onclick="toggleMenuHeaderLinkClass(this);" href="/asp/package_generation/delivered_packages_customer.aspx FileID=1611241&TransId=1078022&ClientNo=&DivisionNo=&ClientPartyId=&ClientID=&PO_ID=240183" target="main">Customer Packages</a> I want to get the link out of that. Until now I have just been using the extract text and I didn't understand the other extraction rules. Someone care to help me out ~Todd ...Show All
Visual Studio Report formatting locale problem - currency only displays US$ : VS Team Suite RTM
Hi, Using: VS Team Suite RTM I find that the localisation isn't working. I installed VS Team Suite with English - United States selected in regional options in control panel. I changed this to South African. I rebooted the pc. Tried to run a report with currency formatting and it stillr eturns US$. To reproduce, try creating a report (server report project) and set the format property on a table cell to C. If u have South African english, changed AFTER install, you will see us$. Perhaps you can assist us with this problem Thanks Jean-Pierre Hello I have similar problem. No matter how I ...Show All
.NET Development Generic Design-Time Environment Features
Hi all, I am developing a suite of .NET non-visual components with design-time capabilities. They will be used mainly in Visual Studio 2005, but I would like them to work in any IDE supporting .NET Framework 2.0 development. So I would like to understand what is the behavior of a "generic" design-time environment, which can be expected by a Component and its Designer, Type Converter and so on. It seems obvious that it must provide the IDesignerHost interface, and can provide many other Services. But it is not clear which Services are mandatory, recommended or optional. I see that Visual Studio implements all Design-Time Servic ...Show All
