ShadowRayz's Q&A profile
.NET Development dotnet 2.0 on windows server 2003 enterprise sp1
Hi all, i am unable to install dotnet 2.0 on server 2003 sp1, it says u need windows installer 3.0 and when i try to install windows 3.0 it says the current version of windows is already updated. can anyone help me how to setup windows server 2003 sp1 for hosting asp.net 2.0 websites Windows Server 2003 SP1 ships with Windows Installer 3.1 which meets the prerequisites. See http://blogs.msdn.com/heaths/archive/2005/11/15/493033.aspx . Is the .NET Framework 2.0 installaton giving you an error, or are you trying to install Winodws Installer 3.0 because it was mentioned in the requirements ...Show All
Visual Studio Team System Manual Tests and Team Foundation Server
We have a tester who will be writing a series of manual tests for our application. We want to associate them with tasks that we store in Team Foundation Server such that it is easy to identify which task needs attention upon failure. Is there an easy way to do this Does anyone have any resources on how this is accomplished Everyone in my office is brand new to this Team System stuff. Hi, Currently we don't have out of the box support for linking your manual tests and tasks together - this is a feature that we will look into for future versions. However, it sounds like you are trying to link test failures with work items. For that, you could simply run the test, and in the result window, right cl ...Show All
Windows Forms Coloring TabControl.
As far as I can see TabControl object has no properties of either Back or ForeColor. Is it possible to assign these properties to this object Another question: TabPage object does have both properties but when you assign a color to it it does not cover the whole TabPage: the tab itself remains gray. Is it possible to give it colors Many thanks. AlexBB wrote: Mick, thank you again. I want to add one more challenge for you. This is the problem I've encountered and haven't been able to solve so far cleanly. It works only partially for me, although I haven't given it a lot of attention yet. I generate TabPages at runtime and frequently have to reduce their number. I want to completely destroy the object, ...Show All
Community Chat IE Addon - Send selected text as email to anyone in Internet Explorer
We have come up with an addon for Internet Explorer. This add-on adds context sensitive menu when the user right clicks on selected text in Internet Explorer. The selected text can then be send as email using one of the email clients set up at the time of installation. Also at the time of installation user gets full control of what email clients to install and what not to. The following email clients are supported: Hotmail Outlook Yahoo Gmail Default Mailto client installed with Internet Explorer. The addon core functionality has been developed using JScript. Right now Yahoo Mail Beta is not supported. Using this addon user can send any text snippet from a site as an e ...Show All
Visual Studio Tools for Office Auto-reply including original message
My CFO is getting email from a VP that complains that the CFO doesn't ever respond in a timely manner. What I would like to do is have an auto-reply sent to the VP every time he sends an email to the CFO, but the auto-reply doesn't contain the original message. It's only believable if it contains the original message too. Is this possible "there are seldom technological solutions to behavioral problems," I know exactly what you mean. It's not the CFO being lazy though, it's just the VP being incredibly annoying. The CFO really can't see any importance in the VP's email, so he just shelves it until he feels like some brain damage. We thought it would be nice to see how long it takes the V ...Show All
Visual Studio 2008 (Pre-release) Inherited Dependency Properties and AddOwner
I have a dependency property MinDate defined on a Panel. I am using the Panel in the ControlTemplate of a Custom Control. I have used the AddOwner method to register the same MinDate Property on my Custom Control. In both the original definition of MinDate, and also in the AddOwner call I have specifired FrameworkPropertyMetadata.Inherits as one of the options. Now when I set the value of MinDate on the Custom Control, but do not set the value on the Panel I am expecting to see the Panel inherit the value of MinDate, yet it is not doing so - the value on MinDate on the Panel is just the default. Could I be doing something wrong, or is this scenario not supported. Thanks, Sam Thanks, I th ...Show All
Windows Forms Adding help to an application
I have used HelpStudio lite to generate help content but I can't figure out how to add it to my application. The help keeps talking about adding / registering it to Visual Studio, but I just want it to be relevent to the application I am developing. How do I display the help window How do I get the help content being displayed to be the help content I produced Thanks, John you could, although again not recommended as it could change, have a webbrowser control in your application. now, you would navigate the webbrowser to the help path. Example: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/CPref17/html/O_T_System_Windows_Forms_WebBrowser_Navigate.htm if you copy and paste t ...Show All
Software Development for Windows Vista Designer Rehosting - State machine workflow
Hi, I am hosting designer in my applicaiton, but when it loads state machine workflow, it re-arranges all states on its own. It looks ugly as some time it shows last state first and first state somewhere in middle. Its hard to find flow. I want to keep the state diagram displayed as is when it was designed in design mode. Any idea what should i do to keep the state shapes at its original location instead of re-arranging on new place Thanks, Hiten public void PerformFlush() { IDesignerHost host = ( IDesignerHost )GetService( typeof ( IDesignerHost )); if (host != null && host.RootComponent != null ) { Activity service = host.RootComponent as Activity ...Show All
Visual C++ Use C# class in C++ application
Hello, I have a few classes written in C # that needs to be called with in a C++ Application. I also have a C# application that needs to generate event that would be handled by C++ application. How could I accomplish this I am using VS.NET 2005 and all my code is managed code, but I am not sure whether the C++ application is managed code as well. I am not too much familier with COM, interop, and DLL concepts that I think would solve my problems. Can someone point me in direction of where and what I should look for Also some examples of how to make Dlls and um make COM or interop component Thanks Sameep Sameep: I have posted to the following... How to import C# library to VC++ 6.0 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. BMP To X-File
Hi I am very new in managed DirectX. I want to create a 2D-Surface with using a X-File. For example a Rectangle with a hole (circle). What Should I do Should I define all of the triangles or is there a way to convert a BMP to an X File Thanks... MAT You would need to convert your bitmap to a vector shape http://en.wikipedia.org/wiki/List_of_raster_to_vector_conversion_software and then apply a triangulation method http://en.wikipedia.org/wiki/Polygon_triangulation Probably easier to load the image up into a 3d editor and trace a mesh over the top of it. (I know you can do this in Maya but not sure about others). ...Show All
Visual C++ detecting ctrl+s
Am doing windows sdk programming. am creating a notepad. Which msg(WM_KEYDOWN or WM_CHAR) is generated when i press (ctrl+s) and how do i detect it First, this is not a C++ question. You might get even better results posting in a group that is for SDK questions. Second, the answer is: Both! Both WM_KEYDOWN and WM_CHAR messages are generated for Ctrl-S. You might not know it, but there is good documentation about the keyboard and messages and such in the SDK documentation. If you don't mind using MFC, you can write a basic notepad type application in about an hour. ...Show All
Smart Device Development Email Contactlist
Hello, I m newbie i want to fetch all the contactlist from my device through my program i have imate sp5m and i am using C++ for development purpose please send me code sample or API ASAP. thanks in advance Regards Salman check this code i finally got it cc.bstrPropertyValueSelected it contain the email address of the recipent now i want filter in that code i want those recipent who has email addresses how i manage the filter HRESULT ContactChooserExample() { HRESULT hr = E_FAIL; const CEPROPID c_propidAllEmail = PIMPR_ALL_EMAIL; CHOOSECONTACT cc = {0}; // Setup the CHOOSECONTACT structure. cc.cbSize = sizeof (cc); cc.dwFlags ...Show All
Visual C++ GPS & OpenGL compass project
Hi Folks, I am writing a little program to display a graphical compass using opengl. The source data about headings etc comes from a library I am using which allows you to connect to a GPS. I have two problems tho: 1. The GPS I have can update the heading 5 times per second, yet the openGL can update at about 60 times a second. Whats a good way to avoid calling the GPS routine unnessecarily 2. In theory, the GPS could give a heading of say 050, then the next reading might be 065. To simulate a real world compass, and to look good, opengl wants to rotate smootly (albiet very fast) so I guess I need a if loop with roatate1 being the start value until hit reaches rotate2 and then rotate1 needs to take on the next compass reading a ...Show All
Visual Studio Express Editions Painting into an image box
Hi I know you can draw lines and things into a picture box with picturebox.CreateGraphics.DrawLine(Pens.Green, 5, 5, 6, 6) etc But why will it not work with variables in place of the 5, 5, 6, 6 Is there a way of painting a custom colour instead of a pen colour Is there a better thing to use that allows me to just change pixel coordinate colours as it is easier to imagine and write code for, this is confusing to me. Ah yes! That works! But... it only paints into roughly half the picture box... And it has slightly different shades of blue and green - how can this be I only chose blue and green! The drawing disappears if I switch to a diff ...Show All
Visual C# typeof permissions
hello, I've been getting an error in my code, that I think occurs when I try to get the typeof my created object: System.Resources.ResourceManager resources = new System.Resources.ResourceManager( typeof (Control_object)); Are there security permissions needed for this to work properly, without getting a security error Thanks for any help. No there are no security rights needed to get the type of an object however if Control_Object is an instance of a type you should call Control_Object.GetType(). typeof only works with types. If you use GetType then you'll need to ensure that the variable isn't null first. What error are you getting Michael Taylor - 7/12/06 ...Show All
