Anony22222's Q&A profile
Visual Studio Team System Team Build Failure (test execution) with IBM.Data.DB2
I am in the process of testing the Team Build feature of Team Foundation Server w/Visual Studio 2005 and am continuing to run into an error that cannot be replicated when running a build/test manually (on either the server or any client). The error I get when executing the MSBuild process is: One of the background threads threw exception: System.TypeInitializationException: The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'db2app.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) warning : at IBM.Data.DB2.v.nmpTraceOn() warning : ...Show All
Smart Device Development Register a dll on windows ce
I use a com dll with my project on windows ce but I must register it.I try to do this with adding cab project to my project and I add the dll to the cab for registration but it didn't work it can not register it. And I didn't find the regsrvce.exe file on my system to register the dll. Is there any way to register the dll on windows ce. Hi - There are 3 general approaches to registering dlls on CE: 1 - Use regsvrce.exe - but you'd have to pull that tool from an Embedded C++ installation - that's the only place it ships. 2 - Use a cab file (you need to place a CESelfRegister line in the in ...Show All
Visual C++ Releasing System-Allocated Memory
In the statements char * str = "abc"; str = "xyz"; is malloc or one of its relatives used for the memory allocation I assume that there is no memory leak when these statements are executed. Does the system use free(...) before reallocating the memory If one needs to release the allocated memory some time before the execution of the second statement, can one use free((char *) (str-1)); Thanks. Thanks, Jonathan. Calling free in these circumstances does not seem to cause a crash or raise an exception, but I am using MS VC++ Version 6. Perhaps later versions of C++ are le ...Show All
Visual C# How i can Embed swf file in the form..?
Hello,all.. How i can embed a swf file..in a form.. which object can i use ..(i am using C# 2.0..not C# 1.1..).. Did any one try..that..please help..i have a column in database called fld_Data..which is of type of image..datatype..it contains all data....(images(jpg,gif,) and swf )..the question..i know how to show the images on PictureBox. Control..but the question how i can show swf flash file..in that control..or another controls.. best regards. Bassam Basamad Bassam Basamad, thanks for the fast reply again! Normally a user doesn't search files in the temp directory and when a file is hidden a user won't see it i ...Show All
Visual Studio Tools for Office Assembly could not be found or loaded using the 2.0 Framework
Hello, I have created a Excel application using VSTO on my computer and am using the Framework 1.1. The link between te Assembly and the Excel document work fine on my computer even though the assembly is located on a share folder. Locally everything work fine. But when am trying to deploy it to some other computer specially those using the Framework 2.0 i have an error when openning the Excel file telling me that the Assembly could not be found or loaded at path \<serverName>\<folderName>\ The _AssemblyLocation0 variable is set to \\<serverName>\<folderName> in the Excel file. Does anybody have any idea of what's goi ...Show All
.NET Development Problems GDI DrawString, FillPolygon
Hi! I want to draw a Map for a Webgame (C#, VWD 2005 EE). I draw Lands, units... But unfortunatly the borders of the String are not "clearly", good, drawn, as you can see at the link of the german csharp forum. There is a picture where you can see what I mean. http://www.mycsharp.de/wbb2/thread.php threadid=13557 [ ^ ] So I create the Graphics Device. G_WorldMap = new Bitmap(3500, 2000, PixelFormat.Format32bppArgb); Graphics newBmpGraphics = Graphics.FromImage(G_WorldMap); So I draw the strings // Draw Names and IPC foreach (Land land in G_Game.Lands.LandsAL) { Font font = new Font("Comic Sans MS", 10); SizeF stringSize = newB ...Show All
Visual C# Adding Reference to older Word Object Library
To allow users to access different version of Word in c#, you can either use late binding, which is very hard to implement in c#, or make use of the earliest Word Object Library, ie. OLB 9.0 for Word 2000. The following article seem to imply that if you have a later version of Word, eg. Word XP, you can remove the reference and use browse to look for the older OLB, eg. MSWORD9.OLB: http://support.microsoft.com/kb/244167/ I've tried it but when I check the properties of the reference in c#Beta2, it shows up as Object Libary 11.0 which is the version for Word XP. The MSWORD9.OLB was copied from my previous ver ...Show All
.NET Development Enterprise Services performance problem
Hi I have a three tier application, developed with .Net 2.0 beta 2. Business facade layer: web services; Business logic layer: COM+ (Enterprise Services); Data access layer: ADO 2.0, SQL Server 2005, no dynamic queries; Database: stored procedures; The performance should be acceptable for 30 concurrent users. But it is not. The memory used by IIS is about 200 Mb (quite acceptable). After 20-30 min of stress the application fails with this message: 'New request is not allowed to start because it should come with valid transaction descriptor' I'm pretty s ...Show All
Visual Studio Team System Collect methods
Hi, Is this possible to collect information about all method's in all assemblise in BeforeAnalysis method before Check methods will be called. Thank you. Currently, you can use RuleUtilities.AnalysisAssemblies to get access to the full analysis target set. This is an area that's likely to change in the future, however. We're currently looking at a fairly radical change to analysis that will permit us to discard assemblies during analysis, rather than holding on to the complete program set. This means that any rules that acquire state during BeforeAnalysis could cause performance to significantly deteriorate. ...Show All
Visual Studio Team System VSS and TFS coexisting
Hi, I've just installed the Team Foundatin Server Provider, and now TFS is visible from .NET 2003... but I can't connect to my VSS anymore... has this popped up before K With MSSCCI you can only have one provider set for your machine. Therefore, when you install the TFS MSSCCI provider it becomes that one provider. You can switch back via a registry key. See my blog for more details: http://blogs.msdn.com/edhintz/archive/2006/04/10/572826.aspx Ed ...Show All
Visual J# error
I am new at J#... I always get this error when I debbug programs.... C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Vjc.exe /warn:4 /define:DEBUG;TRACE /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug+ /debug:full /optimize- /out:obj\x86\Debug\WindowsApplication1.exe /resource:obj\x86\Debug\WindowsApplication1.Form1.resources /target:winexe /win32icon:App.ico Fo ...Show All
SQL Server Scheduling a legacy DTS package
I have a legacy DTS package on my test SQL Server 2005 in the Management\Legacy\Data Transformation Services\ folder. I can run the package, but how can I schedule it this doesn't appear to be an option anymore like it was in 2000. Thanks Use the command-line option in SQL Agent and use DTSRun. [I am assuming at this point that DTSRun is still distributed. Apologies if not] -Jamie ...Show All
Visual Basic Type conversion errors.
Hiya, I made a program in Visual studio 2005. Compiles and works OK at home. At work, i have JUST VB 2005 Express Beta 2 installed. The code itself ported OK, no errors. However, during runtime, i get a type conversion error. It's not that i'm converting anything though either. I can't convert string to single. For example... Dim sngSingle as Single sngSingle = "0.5" ' Doesn't work sngSingle = cSng("0.5") Doesn't work. sngSingle = CType("0.5",Single) Doesn't work. sngSingle = Single.Parse("0.5") Doesn't work. Even if i make a new project, and try to do any of the above conversions (Which should work), i get a type con ...Show All
Smart Device Development STL in vs2005 beta2 for smartphone problems - help !!!
Hi, I have an existing project coded with beta1 for gui/cf bits and a number of Dlls for low level network coding with evc. I'm trying to produce a combined project for both the managed and non manged code using beta2. The problem I have is that any inclusion of STL type usage (standard <list> <queue> etc) seems to cause link errors of error LNK2001: unresolved external symbol "public: virtual __cdecl std::exception::~exception(void)" But the same code was fine under evc, so it must be some project settings somewhere right I have generated projects without using any migration tools (i.e new project....) I'm a bit stuffed as be ...Show All
Visual Studio Express Editions XML Documentation
I have just finished a project in beta 2005 of VS. I have generated the XML Documentation file, which is obviously not very readable. I have tried using NDoc to compile it, but this does not cope well with generics or inface .NET v2.x. Are there any programs that will compile this into a nice format Cheers, Chris I heard very useful information that Microsoft will provide alternative solution. Please look at following URL for more information: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=2d65db5c-7bf5-43f3-8496-083aa966c411 ...Show All
