Robin Moss's Q&A profile
SQL Server How to get the Task name inside your custom task
I have a custom task, and during the Execute method I'd like to get hold of the task's name. It appears that this is held on the TaskHost, but I cannot see how to obtain that from within the task itself. Anyone got any ideas Thanks Darren Kirk really You go out to the variables collection to get your own name Could you explain the reasoning Allan ...Show All
Visual Basic Which Control did I RightClick on?
hi all... Is it possible to find out which control a user rightclicked on and show the name of the control in a messagebox For example I have three buttons on a form and a contextmenu that is used in common with all the buttons. When a user rightclicks on a button the context menu is shown. Kind of like the "Whats This" menu in MS Apps. So instead of writing a rightclick event for all of the controls on the form, I thought that i ...Show All
SQL Server using WriteNotifyEventHandler with tracefiles
I've a fined tuned trace running that outputs the result to a tracefile. Currently I'm using the TraceTable class to read back the trace, which works fine. However I'm trying to use the WriteNotify event to react when this file changes, but it never appears to fire. I'm using the beta2 of SQL 2005, does this work in it Would anyone having a working example if it does Thanks, Cathal Thank you Maciek, I was (stup ...Show All
Visual Studio Team System How to link a document to a work item?
I wanna to link a documento to a work item when I set my default work items. Is there any way to do this I would like to do something like this: when an user open a work item, a documento (of word, excel,etc) opens to, in that way I could link my template documents to my tasks work items. It's amost that. I want to put my document on the file attachements of the work item. I can do that when I create a new team project and add a documento i ...Show All
Windows Forms How Can I print multicolor Text of Rich Text Box
Dear All, I am developing a Report having same facility as in MSWord. So i need to print text in multicolors. Please tell me the solution if anyone knows. ...Show All
Visual Studio Express Editions Problems with Downloading Registration Benefits
There have been several reports of problems with accessing and downloading registration benefits. We have investigated the issue and have news to report. This sticky thread will be updated with additional information as it becomes available over the next few days. Background In order to negotiate deals with partners and authors to provide the highest value benefits, we must must be able to guarantee a secure download center that li ...Show All
Windows Forms Help: Prevent TabControl Delay Initialization
Hello, I've noticed that the tab control will not call the Load event on child controls unless the actual tab that they are contained in is selected. Then the child usercontrol's load is fired. I found I could force a tab to call the load ...Show All
Visual Basic Drag & Drop Object When Form is Larger Than The Monitor Display
I am using VB2005 Express to write a simple TimeLine program for my history students. They select an image from the right and drag it to appropriate picture box next to a vertical timeline on the left and then drop it. The program notes if the image has been dropped in proper area. It all works GREAT as long as the form is not larger than the display. I have a form with AutoScroll set to True. My form is approx the length of 3 screens. When t ...Show All
Visual Basic Crystal Reports Paper Source
I need to specify which paper tray will be used for a report but I keep hitting dead ends. I started out using code like this: ReportDocument.PrintOptions.PaperSource = CrystalDecisions.[Shared].PaperSource.Lower I tryed every option in the enumeration and it always pulled from the upper tray. I searched the web and found a number of people said "PaperSource" doesn't work, use "CustomPaperSource" instead. I tried it, bu ...Show All
SQL Server HTTP status 400: Bad Request
I just installed sql server 2005 on a windows 2003 server. I chose the option to install but do not configure. After restarting, I used the Reporting SErvices Configuration Manager and it all looks ok. When I browse to //localhost/reports I get a rs page with the message of: The request failed with HTTP status 400: Bad Request. One slightly unusual thing is SQL Server 2005 was installed as a named instance ("( ...Show All
Visual Studio Express Editions CD Label Design?
Would it be possible for Microsoft to provide the CD label designs for the Express CD ISOs. I've downloaded and burnt the ISOs, but the discs look very plain and are not very "eye-catching" when trying to find! Would Microsoft be able to provide a label design for all of the Express CDs Thank you Bruce. These type of questions and suggestions should be logged in the product feedback system . Doin ...Show All
Software Development for Windows Vista Workflow hangs after CallExternalMethod on second instance
Using WF Beta 2: I created a state machine workflow with several CallExternalMethod in its event handlers. When I start an instance and step through the states all works fine and the workflow completes. When I create a second instance of the workflow, it hangs on the first CallExternalMethod it encounters. When I do some loggin I see that it does not enter the code of the MethodInvoking method.It does enter this code in the first instance, no ...Show All
Visual C++ Running a program?
I have built a program on calculating the area of a rectangle as the user inputs the length and width. It works fine, however, my question is. If I want to send it to someone, what files from the whole folder do I need to send (.zip ). Also, how will they be able to run it, without a compiler. I can easily run it from: C:\Documents and Settings\Peter\My Documents\Visual Studio 2005\Projects\optut\debug however, as I've seen other progra ...Show All
.NET Development System.DateTime.Now accuracy in .Net 2.0
I would if any improvement have been made in term of accuracy for the System.DateTime.Now property With .Net 1.1, this timer did have a very low accuracy, about 10~20ms, that is two orders of magnitude worse than the accuracy that you get with the mono implementation. Does someone know if this issue have been resolved with .Net 2.0 Thanks in advance, Joannes Joannes, thanks for the query. We will investigate ...Show All
SQL Server Using a Case to decide on the join statement?
I'm trying to join a table and based on the value of a given column I would join using the column in question, however if the column is NULL then I want to make the join without the column in the join. so I think I want to do something like this: Case E . a when NULL then LEFT JOIN EPD ON EPD . b = D . b AND EPD . SD = ( SELECT MAX ( E1 . SD ) FROM E1 WHERE E1 .b = EPD .b AND E1 .a = EPD .a AND ...Show All
