mruniqueid's Q&A profile
Architecture Is there any UI framework for vc6.0 or vc2005 which I can download freely ?By this way ,it will save my time to build UI .
Is there any UI framework for vc6.0 or vc2005 which I can download freely By this way ,it will save my time to build UI . i also heard some good UI library which can build VC UI very fast. Can you recommend that website for me I appreciate your help. The Windows Template Library has a lot of fans. It was originally a Microsoft project, built as an extension to ATL. They didn't want to support it and turned it into an Open Source project. I'm not sure if it is going to save you any time, the learning curve is pretty steep. ...Show All
Architecture difficulty in understanding visitor pattern
Hi All, I have confusion on why is Visitor pattern is needed.One of the famous website provides the following code to explain the use of visitor pattern,but it is nto understood by me. Can somebody please explin in simple terms what is visitor pattern and in what case it is implemented. package Transactions ; public class Transaction { public abstract void accept( TransactionVisitor v); } interface TransactionVisitor { public void visit( DepositTransaction dt); public void visit( WithdrawlTransaction wt); } class DepositTransaction extends Transaction { public void accept( TransactionVisitor v) {v.visit( this );} } class WithdrawlTransaction extends Transaction { public void acce ...Show All
Visual Studio Team System Ordered Test Results to HTML
I remember earlier there was a discussion on the trx2html program which generates html reports from trx files. It only works on unit tests, and I did make some tweaks for web tests. Unfortunately I have no clue how to make it work for the results of an ordered test. Can anybody here help me I don't know what formatting is required in the xsl file... Thank you ever so much. -matt Hello, We don't support any tools that change test results files into html. Of course all the information is in the results file, so you could write a tool to create your html, but it won't be easy because the xml files are complex. For next version of our product, we have worked on making this xml much easier to und ...Show All
Visual Studio Team System Displaying Code coverage results with automated MSBuild
My assemblies.testrunconfig file includes code coverage setup. When I run my build direclty from VS, the code coverage results are displayed correctly. I am running an automated build and I run into couple of issues: a) The test results file does not contain the code coverage when I open the corresponding trx file on the buildserver b) The test results folder cannot be published on the drop location. I checked my security on both servers and I have full control. Anything I am missing Here is the excerpt from the build log: Target CoreTest: Creating directory "C:\Build Output\Alpha Releases\ConnectTest\BuildType\..\Sources\..\TestResults". __________________________________________________ Project "C:\Build Output\Al ...Show All
Visual Studio Windows SDK July CTP breaks documentation - again
Windows SDK July CTP has once again borked my documentation. This time neither my MSDN Library nor my Visual Studio Combined Help documentation works. My MSDN Library link generates the following error message: --------------------------- Microsoft Document Explorer --------------------------- Microsoft Document Explorer cannot be shown because the specified help collection 'ms- help://MS.MSDNQTR.v80.en ' is invalid. --------------------------- OK --------------------------- My Visual Studio 2005 Combined Help loads but has completely lost all the help collections from MSDN, Windows SDK, .NET, and SQL Server. The only things left are minor third-party tools help. Repairing Document Explorer get's me a little further. My SQL Server 2005 d ...Show All
.NET Development Optimizing array use
Currently: User data is being pulled from a database. The returned recordset is looped through and saved into a variant array (using classic asp here) . For every user, there is a ReDim Preserve (5, NumUsers) call. As the data is being put into the array, there is some business logic being applied that SQL is not suitable for. The array is then sorted based on values generated by the business logic and displayed in a web page. The problem: Although inefficient, this has worked quickly (under 3 seconds for a page load) in the past because Customers have had very few users each. We are now getting a customer with a very large user base and even a fraction of their users will be enough to slow a page load down to a minute or two. As ...Show All
Visual Studio Express Editions Capturing form dimensions
Hi all, One of the things I'm trying to do with my current project is to preserve the most recent dimensions (x, y, w, h) of all the forms upon user exit. And then, when the user runs the program again, the settings are restored. Currently, I'm using the StreamWriter to send the form dimensions to a text file. This seems to work fine for my "main" window ("Me." below), but for some reason my other form ("OutputConsole") only holds the orginial values for the form when it was instanced. In other words, the values don't seem to be changing when I resize and reposition the window. What ends up happening is, the main form settings are captured, but the "OutputConsole" is only capturing the initial ...Show All
Visual Basic How to hide a folder or File
I want to hide a file or folder in windows so that it can't even seen by command line or explorer. I am not talking about hiding a file or folder by simply changing the attribute in properties window. I want to hide in such a way so that no one can access my folder without the use of software. can anybody give me any idea how can i do this thanks as far as the file is concerned you can use the io.encrypt method and set the file attribute to hidden...this will hide it from prying eyes and if it is found only the encrypting account can decrypt it... Public Shared Sub Encrypt (ByVal path As String ) Member of: System . IO . File Summary: Encrypts a fi ...Show All
SQL Server need help from MSFT guys
Hi, I am creating a pie chart report from a cube . This report may contain unknown number of segments. Here is the thing; if more than 1 data slice is generated with a value less than 5% of the total, then a segment labelled 'other' will be generated, and data from all slices with value < 5% will be added to this 'Other' segment. Is it possible to implement this functionality in the report layout level with out writing a complex MDX query If this is not possible, can you give me a sample MDX query which implements similar issue(i.e. 'Other-ing' rule.) For your information, this feature can be easily implemented using a third pary software such as 'Dundas chart for Reporting Service'. However, my client don't want to buy this ...Show All
SQL Server How to create vertical text?
Hi, Does anyone know how to format a text in a textbox or a table cell to show vertically Or, rotating a textbox with 90 degree angle Thanks. ...Show All
Smart Device Development Debugging without ActiveSync -unable to get Visual Studio 2005 to cooperate
Hi All, I need to connect a new device to my computer, and I cannot use activeSync to debug it because it has no usb or com outlets. I manged to connect it by LAN and pinged it successfully. So i wanted to use my lan connection and work by it on the device. The device cpu is "Alchemy au1550" I followed the instructons from this forum : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=447917&SiteID=1 and noticed that conmanclient2.exe that i used from the mipsii folder exited immediately, the one from the mipsii_fp folder got stuck at the command prompt. I assume that neither is compatible with my cpu. does anyone know where I can get a compatible version Thanks, Yariv Kimchi ...Show All
Visual Studio Express Editions Ugh....Driving Me nuts....
I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All
Visual Studio Express Editions Complete Newbie Questions
Hey Everyone, Ok, firstly let me apologise for my complete newbie questions as this is day 1: of me trying to learn visual C#. So if I post some pretty silly questions now and then you will no why :) Ok, i've read some books on C# and i'm starting to read code and just looking at the basics etc. The one thing I am seemingly having a little trouble with is the Object Orientated side of things. I havent programmed for MANY MANY years and last time it was int he days of GWBasic and quickbasic lol. So it's taking me a bit to get my head around the more event driven side of things. Ultimately I am having a little trouble with the actualy graphical side of things with linking forms and setting visual C# up etc. So first quickie question ...Show All
Visual Studio Express Editions Alternative to Timers
Yeah, are there some other things I can use that replaces timers Like a loop or something Sj was right, there is a thread brewing here. I think some historic context is needed. I came from mainframe environment with sophisticated timers and asynchronous operation. You used to see code like this in DOS applications which was not a multitasking operating system and it didn't have good asynch or timer support. It had problems. Looping for a delay was fine when all there were were 8086s. That all ran at the same speed. But going to 286s broke these loops because suddenly there were two modes. Regular mode and turbo modes which meant two different processor speeds and the loops didn't have the same delays. Mult ...Show All
SQL Server how to limit number of rows showing each page?
Hi All, i couldn't find how to set up the number of rows displaying on each page i wanna each page display 20 rows. Thanks Nick There's no explicit way of doing it, but it can be achieved by placing your table inside a list control then add a grouping with the folowing expression: = Ceiling(RowNumber(Nothing)/20) Make sure you check the page break at end option. ...Show All
