Robert M's Q&A profile
.NET Development Problem with BackgroundWorker
OK, Here's my scenario: I have an application that includes a Search form for various items. I have implemented a search algorithm that takes advantage of the BackgroundWorker class to do the search asynchronously on the search form. My application allows the user to open multiple search forms and search on different criteria. The search form and backgroundworker class work beautifully when only one search form is open. If the ...Show All
Visual Studio Tools for Office Visio and ActionsPane
Hello, I've got a little question because after 2 days or research I only found example about ActionsPane on MSWord or MSExcel. So is it possible to create ActionsPane on Visio ...Show All
Software Development for Windows Vista Workflow.ComponentModel.Activity / Workflow.Activities.SequenceActivity
Hello I'm writing a custom activity and I wonder what's the basic difference between a Workflow.ComponentModel.Activity-derived activity and a Workflow.Activities.SequenceActivity-derived one. Thanks very much. Juergen, All activities derive from Activity. The implementation makes no assumptions about the behaviour/design. A sequence activity executes a set of sub-activities. If you derive ...Show All
Windows Forms Type.GetType and Colors
I have a code editor where I use reflection to lookup types descriptions. If I have code like this: Type type = Type.GetType("System.Drawing.Color, System.Drawing"); the variable "type" is null. Does anyone know how to use the Type.GetType function to get the Color's type I cannot simply use Color.GetType() because this is for a generic code editor that does not already have the type definition for all classes in all loaded assemb ...Show All
Game Technologies: DirectX, XNA, XACT, etc. OpenGL Rendering Context + DisplayDevice (not window) Device Context?
Is it possible to use a Device Context for a Display Adapter (not a particular window's DC) with OpenGL The primary reason I am trying to do this is that I want to render OpenGL on multiple monitors, but the monitors are not necessarily members of the Windows desktop monitor group (and thus cannot have windows on them). Here's some of my test code. Everything seems to work until I call wglMakeCurrent(). dc = CreateDC( _T(" ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectPlay Voice Error
I have a problem with DirectPlay Voice. I can use microphone I have windows xp home + sp2. In windows xp pro i havenn't this problem. I have a messege from windows "Error instalation program DirecPlay Voice. Code Error 0x80004005." I do not be able to talk with may mycrophone. Plaese, send me a solution. ...Show All
.NET Development Altering the routing table
Does anyone know how to add/delete routes by using SetIpForwardEntry, CreateIpForwardEntry etc. provided by the ip helper api. What are you having trouble with Could you make your question a bit more specific What have you tried and how is it failing For good information on how to P/Invoke to call native APIs see pinvoke.net ...Show All
Visual Studio Team System Unable to view work item attachments
I have a few team members (including myself) that currently can't view any work item attachments. (That we could view earlier today or at an earlier time). If I click on a work item attachment right now it opens up Internet Explorer and just sits there... it never does anything... just hangs there for awhile. Anything I can check anything I can do , etc... Thanks, ~slee Same here. Some of the team me ...Show All
Visual C++ a compiler bug
Hi, just found a bug in vc 2003 c++ (and c ) compiler. The problem happens when i use shorts to iterate over a vector and when speed optimization is turned on. The problem is that full 4-byte register is used for indexing the vector and the upper part of the register can contain garbage. The code works well in debug mode, the poblem arises only when I turn on speed optimization. Let me know if this is an unknown dug - I'll provide details. BR V ...Show All
Software Development for Windows Vista Attribute 'Class' not found error when debugging on Beta 1.2
Hello, I am getting the error "Attribute 'Class' not found on the Root Activity" when trying to run a workflow in debug mode using VS2005 RTM, WF Beta 1.2. It happens on all workflows I have tried including the SimpleSequentialWorkflow. Also, after getting the above error, the workflow will no longer successfully complete but instead gets a Workflow not found exception. Finally, I am finding a ton of temp files being orphaned in the Temp directo ...Show All
Windows Forms Concurrency error
I'm fairly new to .Net and am busy updating a complicated DB that had Access as the front end. Progress with .Net is slow! I have a main table with a number of 1 to many relationships. I have arranged Datasets for my form through the IDE. On my main form I have two fields from the main table (the primary key and a name) and a number of other fields from the related tables. Everything works fine if I change anything from the related tables. Ho ...Show All
Visual Studio Team System Release publishing
Hi, Is any body know some component for SharePoint which allows to publish in a customer friendly view project releases and release notes based on scenario list and builds I think it is good to have some web site inside TFS SharePoint where you can publish release notes based on iteration and scenarios. Like: Release 1.0 1. Feature list 2. 3. Release 1.1 1. Feature list 2. And also ...Show All
Smart Device Development Web service issue over GPRS
Hi, I'm developing my first Pocket PC application in C# in VS 2003. It's a cut down version of a desktop application I've been developing in VB6 for a few years now. It makes a call to a web service which is out on the internet. It's all gone really well until now. I'm running/testing the application on a HP IPAQ hx2400. If I access the internet over broadband via my office wireless network the application works ...Show All
Windows Forms HTML viewing controls in Winforms
Does anyone come across a winform control that allows HTML rendering Thanks, Serge. <a href="http://www.windowsforms.com/default.aspx tabindex=6&tabid=47&ItemID=10&mid=142">Like this </> ...Show All
.NET Development Binary Serialization and byte value of 255
I have a problem while trying to remote some classes in that after I serialize the outstream (using the standard binary formatter) sometimes it places binary values of 255 in the header which the crypto engine strips out (on a decrypt function). Is there any way to either make sure the binary formatter doesn't serialize 255's in the stream or to make the crypto engine leave them in there on decrypt Thanks!! ...Show All
