dvh's Q&A profile
Visual Studio Team System TFS Warehouse, NullReferenceException in ProcessOlapNoTransaction
Hi, I have many of the same event log entry on my TFS server, occuring hourly, that don't match any of the other problem/solution combos I've seen online for the same error code. Can someone please have a look and help me to resolve this problem. Let me know if I should post more information. Thank you, - Jason Here is the error: Event Type: Error Event Source: TFS Warehouse Event Category: None Event ID: 3000 Date: 20/12/2006 Time: 9:14:53 AM User: N/A Computer: BENJI Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC ...Show All
Windows Forms Installer package
Hi, I am looking for a good and free installer package. A programm like Instal Shield or somthing simmlar like that. I have found Inno Setup to be the best, and easiest to use. You should get ISTool aswell, which is an IDE for Inno Setup Scripts. Would like to hear anyone elses ideas for deployment though. ...Show All
Visual C++ cli; a namespace with this name does not exist
In an attempt to get a pin_ptr working, I added the "using namespace cli" to my namespaces, but the compiler returns the error "error C2871: 'cli' : a namespace with this name does not exist" I did several searches on MSDN and only found one possible problem; that my compile command did not have /clr in it. I looked in the property pages of my program, and saw that Use Managed Extensions was set to Yes, so I thought that covered it. I don't see how it would help to show my code, as the compiler doesn't even get past the namespaces. However, I can give other information if necessary. (bear with me, I'm a very novice programmer thus far) " computer probably made it available to the ...Show All
Visual C++ Error in VC# to VC++
Hi all, I am new in VC++. Net. i am facing problem to convert the VC# code to VC++ .Net. No sure is Setup Api problem or convertion problem, any one can help looking on it. Thanks -------------------------------------------------------------------------- here is VC# code (Working) -------------------------------------------------------------------------- class Class1 { [DllImport("setupapi.dll")]// public static extern Boolean SetupDiClassGuidsFromNameA(string ClassN, ref Guid guids, UInt32 ClassNameSize, ref UInt32 ReqSize); [STAThread] static void Main(string[] args) { UInt32 RequiredSize = 0; Guid[] guids=new Guid[1]; bool res=SetupDiClassGuidsFromNameA("DiskDrive",ref guids[0],Required ...Show All
Visual C# how to discover Bugs that consume resources?
hi, this is the second time i encounter this type of bugs, when i run my program after a while i find it consumes all the power or my processor, i'm dying for three days now trying to discover this bug with no success, is there anyway to help in dicovering such a thing 2 months ago i encounter something like this, but it was consuming the rams, i found this one after hard times i need a simple thing for beginners, or advice how to discover those bugs thx in advance You can use dotTrace Profiler to discover cpu consumption and many other things. Here is a link: http://www.jetbrains.com/profiler/ ...Show All
Windows Forms Use the KILL command to delete a file or set of files in a folder.
Hi, Is there a way to delete files from the target machine during the installation, when using a setup project The files to be deleted are created during my product first run, and I want it to start clean when re-installed. Thanks. OK, I finally managed to solve it. I expected the setup project to have an easier way to delete files on the target machine, but since there isn't I found a way to do it myself. I am using a VBScript custom action, that will delete a file that is given to it as a parameter. The problem was accessing this parameter, since the MSI installer doesn't run the regular script host, and it doesn't support all the functions that a regular host would support. Intead ...Show All
Visual C++ Help rookie programmer please...
Hi, i'm new at C++ and VC++ , and i don't know same basics. I have a homework that i can not deal by myself. So i'll be too happy if you help me. My problem is that; in my homework i'll make a simple chat programme using Windows forms. But i don't know using classes in the forms. For example, where to define the managed classes such as Socket. Then, i can't also call this class. Error occurs when i try to call such as MyWork::Form2::MyFunction() ... Do you also suggest a good tutorial about these subjects. There are some codes in MSDN but i couldn't run them... Hi, Please take a look at this: http://ebooks.tipsclub.com/index.php act=category&id=10 Best Regards. ...Show All
Software Development for Windows Vista Windows CardSpace only supports secure MetadataExchange and does only allow mex over https
I realised (correct me if I'm wrong) that since June/July, CTP Windows CardSpace only supports secure MetadataExchange and does only allow mex over https. Here is the error I get from the event logger when I try to connect to an STS over http from a RP web site (i.e <param name="issuerPolicy" value=" http://localhost/sts/mex "> ) There was a failure making a WS-Trust exchange with an external application. Windows CardSpace only supports secure MetadataExchange and does not allow mex over non https address. A non https address was found during metadata resolution. My first question is why Why is it mandatory to have https and not http The policy should be available to anyone without a secure channel Wha ...Show All
Windows Forms DataGridView AutoFilter whitepaper and sample
Are you spoiled by the AutoFilter feature in Excel Do you want the same functionality in the DataGridView control Then my new whitepaper and sample are for you. See: http://msdn.microsoft.com/netframework/windowsforms/default.aspx pull=/library/en-us/dnwinforms/html/DtGrdVwAF.asp The DataGridViewAutoFilter library provides a custom DataGridViewColumnHeaderCell with a drop-down filter list that displays each unique value in a column, and updates the filter of the bound data source when a value is selected from the list. A custom DataGridViewColumn is also provided to make using the AutoFilter header cell easier, particularly in the Windows Forms Designer. Customizing DataGridView column header cells is not as easy as customizi ...Show All
Windows Forms Does a Java BorderLayout-like thing exist in C++?
Hi! I have to design a form for an application, which components are only a label and a panel. Now I need that the label is located at the top of the window and the panel at the center. Moreover: 1) I want that there are not any "blank spaces" between the window border and the label and panel borders 2) the panel sizes are given run-time, and the other components sizes are modified consequently to fulfill the previous constraints. In Java, all this could be done with the BorderLayout command (eg: contentPane.add(panel, BorderLayout.CENTER); contentPane.add(label, BorderLayout.NORTH); ) . (I tried to use the "Dock" command, but id doesn't satisfy me because in this way I cannot modifying the size of the ...Show All
Visual Studio Friendly advice required (Vista, VS 05, ASP .Net)
Hello all Im currently the only developer for the company im with and now have a huge responsibilty. I have knowledge with VB .Net but have recentlyl tried to self train myself with ASP .Net 2.0 to carry out this role too. Recently we have been approved for WIndows Vista Ultimate edition 64bit now what i need to know is: 1. Will my VS .net 2005 Pro 32bit install on this Vista 64 bit machine 2. I noticed a lot of noise about Blinq, Orcas, WPF etc etc am i wasting my time in reading and learnng ASP .Net 2.0 or is this more advanced stuff and me and i should continue learning ASP .Net 2.0 and eventually orcas WPF will fall in place 3. Im trying tounderstand creating skins in more advance although i get the idea is anyone aware of ...Show All
SQL Server SQLEVN70.RLL
I KEEP GETTING AN ERROR WHEN I BOOT MY LAPTOP. IT READS, "YOUR SERVER INSTALLATION IS EITHER CORRUPT OR HAS BEEN TAMPERED WITH. (COULD NOT OPEN SQLEVN70.RLL. PLEASE UNINSTALL THEN RE-RUN SETUP TO CORRECT THIS PROBLEM). CAN ANYBODY HELP ME WITH THIS I've heard a few different solutions to this including uninstalling/reinstalling any SQL components you have on the box (if you are still using them) and changing the SQL Agent service to not start automatically. Give those a shot and see if they work for you. Thanks, Samuel Lester (MSFT) ...Show All
SQL Server could not deploy the cube
hi hannes, i tried the option you had told me now i am getting that i dont have permission to create a object in the server i.e, the client on which i am wroking has no permission and i dont know how to give it... could you help me with this lalitha See my reply in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=676039&SiteID=1 Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Studio 2008 (Pre-release) Possible BlockCollection bug - Need clarification
Not sure if this was by design or a bug. When taking blocks from the BlockCollection of a RichTextControl and adding to a FlowDocumentViewer, the source collection will suddenly wipe clean once you have added the first block of the source collection to the destination collection. ie Place a RichTextEdit and a FlowDocumentPageViewer onto a form. Enter text into the RichTextEdit making sure more than one block is entered. and have the following code execute from a button click ect FlowDocument destinationContent =(FlowDocument)flowDocumentPageViewer1.Document; FlowDocument sourceContent = (FlowDocument)richTextBox1.Document; Block currentBlock = sourceContent.Blocks.FirstBlock; for (Int32 blockIndex = 1; blockIndex < sourceContent.Blocks. ...Show All
Visual Studio Express Editions Counting pixels in a region
Yet another question.... I have a region that's made up of several shapes; some connected, some not. Is there an easy way to determine how many pixels that region is occupying I was hoping I'd find a solution in one of its methods but that doesn't seem to be the case. All of the shape information is stored in the region, you'd think it would be easy to count all the pixels in a given region. I will need to count/recount the number of pixels often so I'm hoping there is an easy/non-expensive (CPU/time wise) method for this. Because the region will contain non-connected shapes, and because the region is a solid color, would it be best to convert it to a 1-byte bitmap, then count that way Looking for any advice ...Show All
