eldiener's Q&A profile
Windows Forms Detect .NET Framework
Is their an application, not written in .NET that i can use to write a system to check for the correct version of the .NET Framework, and if its not installed start the .NET Framework installer, then once thats done or it it already exists run my installer which i have written in .NET to install my .NET application. not sure. you can however kickstart the .NET Framework process, thats not a problem with the redistributional package, just run its process. I don't think there is a ready made program out there that you can run and checks if .NET Framework is installed. of course if you are creating your own .NET app and you wish for it to detect if .NET Framework is installed, it wont work anyway as you know, ...Show All
Visual Studio Team System TFS, Project Server integration...
Hello, We are starting off a new project and I was wondering if there is a way to integrate TFS and Project Server. ok so heres my wish list: 1. I have a MPP plan, which has a detailed WBS. I need to track actual and estimated effort. 2. A simple way to do this is to upload the same in Project Server and then log hours against it. 3. However, we are using TFS Work Items for all the other stuff. Is there a way to load TFS with my MPP so that the WBS get loaded as Tasks in TFS and then use these tasks from TFS in Project Server to track actuals In case I have not confused you, can we have a marriage of the 3 products Thanks, Satya Hello Satyajit, While there isn't an out-of-the-box Proj ...Show All
Visual Studio Sandcastle BuildAssembler - Please enable xsl scripts...
Hi Team, I have a customised version of main_sandcastle.xsl in which I have implemented a couple of scripts which I need to perform some tricky stuff. I get the following error from BuildAssembler when the scripts are required: Error: TransformComponent: A error ocurred while executing the transform '', on line 0, at position 0. The error message was: Execution of scripts was prohibited. Use the XsltSettings.EnableScript property to enable it. An error occurred at C:\Program Files\Sandcastle\Presentation\vs2005\Transforms\main_sandcastle.xsl(288,27). I assume that within the BuildAssembler somewhere you are using the Load method of the XslCompiledTransform class. By default this disables scripts. Scripts can be enabled by passing ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to set fps value in animation ?
I want to make a smooth scroll so i want to limit it's fps , but i don't know how to (Am i on the wrong way in the name of smooth scrolling ) If you want to limit FPS you can measure time between frames and then wait for amount of time equal to the actual frame time subtracted from the desired frame time. The desired frame time in seconds is equal to the reciprocal of the FPS (frames per second), so if you're desired FPS is 50 then the desired frame time is 1/50 or 0.02 seconds. The problem with doing it this way is that a user's computer may not be able to achieve the desired frame rate. Also, all your animations need to be designed to use this frame rate. You can only speed or slow down animations by ...Show All
Game Technologies: DirectX, XNA, XACT, etc. build problems (in fact, cant build at all)
Hello, i need your help badly... Started to have some interests in mechcommander2 source codes about 5 days ago. Downloaded and installed all files necessary ;Mechcommander 2 shared source code, Xna, Framework, etc... Then i try to build the code...How do i do i searched and finally found something:in visual express, there is a dos command...doesnt work. But, acessed with the shortcut in the start menu, it can be opened. Doing what is told in the webcasts, i type '' C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe C:\MechCommander2 Source\BuildProj\mechcommander2.proj It doesnt work. Why Cause (i think) DOS takes C:\Mechcommander as a command Then, i rename the folder, deleting the space between m ...Show All
Windows Live Developer Forums how to handle error message on geocode?
i am using the map.FindLocation argument to geocode a bunch of addresses. from time to time, i get an error message that goes like: "the closest match for '***address you entered***' is '***VE's assumed correct address***' If the closest match is incorrect, enter the complete address and try again." i would want to catch this error, and add it as metadeta to the record in the database, so that i know which addresses matched with error. would anybody know how to "catch" the error message sorry if this has been answered before, but i could not find it anywhere. thanks hi derek, thanks very much for your response. i do understand that the results are being parsed by the onFound ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Processing Keyframe Animation Data
Hey all, I'm trying to write a Processor to extract the relevant keyframe animation data from the NodeContent data imported from the .x files, and am having trouble figuring out exactly what data i am given. Since i iterate through all the meshes to draw the model i was looking to store the keyframes as the corresponding Absolute transformations for each mesh, hence when animating i can just pick the appropriate keyframe transformation and set that as the World transformation matrix for the effect. Each NodeContent object has a dictionary of AnimationContents which in turn have a dictionary of AnimationChannels which in turn contain a list of KeyFrames, each containing the time index for the frame and a matrix transformation. Can anyone ex ...Show All
Windows Forms Flicker Cursor with DoubleBufffered
Hi! I'm painting with Graphics object to form. Everything I'm painting in Form_Paint method. To reduce flicker of painted picture I'm using DoubleBuffer. Now painted picture is not flickering. However mouse cursor starts to flicker. I want to repaint form every e.g. 500ms, so I tried call form.Refresh(), form.Invalidate(), I tried to invalidate even only some parts of form, but cursor is still flickering. Today I tried to use not regular mouse cursor (default arrow) but Cross or IBeam cursor (which consists only from "lines" and not consists from some "area") and these cursors aren't flickering. Can somebody advise me how to use DoubleBuffer with no frickering default cursor Thanks a lot... Mike. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Graph shader?
I am trying to draw the FPS in a graph. For that I want to pass the shader effect a 1D texture, but it isnt very simple. I understand I need to use a sampler Does the steps of passing and using a 1D texture (or sampler) similar to those of passing and using a 2D texture Or do I need to do it differently For a 2D texture I have the SetTexture method for an effect, but I dont have the equivalent for a sampler or some sort of a 1D Texture which I dont know about. How do I achieve this Thank you. Well, there is a possiblity of non power2 textures, but I think the way they are implemented is that they allocated a power2 texture that is bigger then the required texture. And not all the grap ...Show All
SQL Server Error from sys.dm_db_index_physical_stats "No exceptions should be raised by this code"
I'm setting up a routine to do some reindexing. To get the info I need I'm trying to use the new function. The DB I think is causing the problem does pass DBCC CHECKDB. I'm not sure why I'm getting this but can not find anyone else that is getting this same error. When I run this.... SELECT * FROM sys.dm_db_index_physical_stats (NULL, NULL, NULL, NULL, 'detailed' ) I get this.... Location: qxcntxt.cpp:954 Expression: !"No exceptions should be raised by this code" SPID: 236 Process ID: 1060 Msg 0, Level 11, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded. Msg 0, Level 20, State 0, Line 0 A severe error occurred on the current ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!
Now go register!! Actual contest details to come the week of Feb 5th Plese, Someone at Microsoft.... the drembuildplay site, even though the competition should be global, does not allow non-US people to register. I don't live in the U.S., so I can't choose any state, the zipcodes in my country are 6 digits long, and the telephone numbers are not in the US format. Edit: didn't see errolian's post before i posted this. P.S. did I mention I passed from neutral state, to exalted state and then down to low-morale state in about 2 minutes .... does this make me emotionally unstable ...Show All
SQL Server Very High CPU during Full Text population
I am building my first catalog on my 2005 server. It currently has been running for almost 3 hours now when in 2000 it took a little more than an hour. It seems the bottle neck is my sqlserver. I know that there are 2 other services associated with populating the catalogs but they don't seem to be doing much but the sqlserver.exe is sitting at 98% cpu or more. This obviously is not good. I tried searching for solutions and found nothing that helps. I increases the available memory to the server to 2gb from 1gb but the server is only using 40mb anyways so that did nothing. I am not sure what to do next... The table that is full text has 3 varchar(max) columns plus 10 other varchar fields but I wouldn't think that has anything to do with ...Show All
Architecture Runing web apps with Windows NT Load Balancing Service
I was assigned to solve problem with our IIS web server cluster. The problem is when we need to boot one of our servers, the sessions connected to server are lost. Which means that the client needs to login. Is there a way to do this without losing the logins Hi, Yes there is a way, You could get a Load Balancer that will automatically pass the session on to the next server securely, without them having to sign in again. There are loads of expensive options out there, but they are way out of most smaller organisations budget, If this is still of interest to you I have something that would be perfect in this scenario Reply to me at abrgrg@gmail.com Hope to hear from you soon Greg ...Show All
Visual Studio Express Editions How to format textbox
Hi guys, Greetings! Would it be possible to format the textbox in such a way user can only enter numeric data including one period Just like in Visual FoxPro Where the textbox can be pre-formatted during design time such that when user types in, numerals and period are the only valid character that user can only enter. Is this possible If yes on any how, please help. Thanks, you could also use the keypress events of a textbox and check to see if its numeric, if not, handle it. Example: //implement the keypress event of the textbox - click textbox, go to its properties in designer view, click on event (the lightning symbol) and double click keypress to create the event Then th ...Show All
Visual C++ Experts please - Function problem
Is there a function/header for executing a line of code from a string You might ask what this is for, it is for a dll wrapper. So i need to execute custom code which changes at runtime. Any ideas Thanks for any help provided. Regards, I'm not exactly familiar with Python and LUA what exactly are they I use dev c++ compiler and it has included some headers (files) that are named for both languages above. So, do you think that executing this type of code is possible using those languages BTW: If i use something like "code(arg0,arg1)" where code is a string LPSTR it doesn't execute what is in the string right ...Show All
