Mathematix's Q&A profile
Visual Studio Team System Dispose and exceptions
Hi, another question regarding the disposal of locals. The following code shows 3 simple blocks. The first two behave as expected (block 1 is clean, block 2 gets flagged by FxCop), but block 3 is problematic. Although I do not dispose the allocated object, FxCop does not complain. This seems somehow related to the surrounding try catch clause. // Clean code. { IAfwObject myobject = new AfwObject_PPA(Id, null); myobject.Equals(this); myob ...Show All
.NET Development Installing .. advpack.dll
Not sure if this is where to put this question but I can't find anything else on these forums (shrug ). I'm trying to install the 2.0 redistribution package and get an error with c:\windows\system32\advpack.dll when trying to install. Any suggestions The reason I'm looking to install it is because I have an application that requires it. Maybe I actually need something different Ugh. lol Has anyone ...Show All
.NET Development Error: Unable to open shim database
I get this kind of events logged in the eventlog: Source: .Net Runtime Type: Error Unable to open shim database version registry key - v2.0.50727.00000. Is this 'normal' behaviour or is there a misconfiguration. I have this messages on Windows 2003 Server, on SqlServer2005 boxes as well on TFS app tier and Terminal Server running VS2005. Strange thing is: everythings seems to work OK... Rene I have this error ...Show All
SQL Server export to excel: i get blank with the report name?
when i do export to pdf works fine but when i do export to excel then i dont get any data in the excel sheet... i get blank with the report name any idea thanks ...Show All
Visual Studio Team System How to replace Unit Test Template code
I have created a new MyUnitTest.cs file that want Visual Studio to insert when I run the Create Unit Test (or Add New Test -> Unit Test) Wizard. In other words, I want to replace the code which is automatically inserted by the Unit Test Wizard. Since I do not want to create a whole new test type or need to impliment the IWizard interface, I thought I would be dealing with just a file-replacement exersize. Based on reading a few articles i ...Show All
Visual Studio Team System Other platforms for project management
I am wondering if anyone of you knows other then TFS, such complex, platform for project management I am writing a masters thesis about TFS and I would like to compare TFS to other platforms. The problem is that I don’t know other so complex platforms. Maybe there isn’t anyone PS. I hope that this forum isn’t bad place to ask such questions J Dominik There's quite a few out there including: Borland Sta ...Show All
SQL Server Is this a bug??
i use AMO to connect MSAS2005. Seems everything is fine except i do like this: I try to restart the Analysis Service, and then connect to the server. This will cause windows prompt msmdsrv.exe error or debug info sometimes. This comes with the Connect() methed, but the codes will continue running - that means the code doesn't throw exceptions and executed as usual. I tried to sleep the thread for a while(Like in code make 10 seconds sleeping) ...Show All
Visual Studio Team System Problem with Tests after renaming project
Hi, We ended up having to rename both the project under test as well as the associated unit test project. The unit test project used to create a binary called TestContext_UT.DLL. It now creates a binary called UnitTestTest.dll. When you attempt to run a unit test, however, the test continues to look for TestContext_UT.DLL as the storage for the test. Where to you change that information One more question, why can't I delete a test from the tes ...Show All
Visual Basic Please wait message while generating word document
Hi, good morning from Spain. Sorry if my english is not very good. I'm working with VB2005 and i'm using the Word Automation to generate a word document. wordApp.Documents.Add(wordPlantilla, newTemplate, docType, isVisible) wordApp.Visible = True wordApp.Activate() But... i need to show a message "Please wait..." until the process is complete. ...Show All
Visual Studio Express Editions For Each replacment
Here's a simple question: OK, I'm relatively new to Visual Basic, and don't have much experience. So don't make fun of me for my stupid question, but here it is: I've got the regex statement, and at the end it says "For Each m In re.Matches(t)"... display a messagebox Now, all i want to do is display a messagebox ONCE with the FIRST instance of the match that it finds. However, when i try to get rid of the full For Each statement, all ...Show All
Visual Studio Displaying Images in the Reports
I have students information saved in my database. I designed approprirate report format and inserted the databse fields as per required also. But my complication arose when I tried to display the images or photos of the students. The task I want to do is print the certificate of the student with their printed photo in it. Help me please. ...Show All
SQL Server using distinct on one column only
I have a table that contains 5 or 6 columns. (plantid, commonName, scientificName, planttype, etc) what I am wanting to do is create a table of all the plants with distinct scientificNames. but I am wanting to display the commonName, scientificName, and planttype. I figured using the distinct operator would work, but is seems as if it looks at the combination of all 3 rows instead of being distinct on only one row. Basically I am wanting to b ...Show All
Visual Basic Change VB form Colors
Hi all, I would like to change the color of a form in VB 6.0. Is there any WIN32 API function or any other Visual Basic function which gets the form handle and changes the color of the form. Just setting form.backcolor does not help as they do not change the color of other controls and menus. I would like change the default color of the whole form. Pls reply asap. Thanks, Sugan as far as i know, this forum is for .net only. ...Show All
Visual Basic Object invoked has disconnected from its clients ERROR
Hi everyone.. Im working on a VB6 migration to .Net and Im getting a very strange error. Heres part of the code im executing and where the error is thrown.. I got a form where a message is shown in screen for the user to track what operations the main applications is running.. the routine is in my VB99_loadingScreen. VB99_LoadingScreen.DefInstance.Message("Reading Tag Configuration for Smart Devices") My form has the next rout ...Show All
SQL Server still cannot run my job
this is the scenario. first i created a dts in my computer(local administrator account) this dts writes in an xls file in a local path for instance c:\tests... this dts uses a vb script to run this task, then.. i save it local and run it from my bids and finishes ok, after that i change the protection level to server storage and copy it to my target server.. in this server i log on with an administrator local account using windows authenticat ...Show All
