small_mountain_0705's Q&A profile
Visual Studio Visual Studio 2005 No Web Templates and cannot uninstall
I installed VS 2005 and everything was good until I updated my OS (windows xp pro sp2). When I go to create a new website I have no web templates. I googled the problem and tried reinstalling VS.net - no good. ran devenv /InstallVSTemplates - no good ran devenv /Setup - no good So I bit the bullet and tried to uninstall vs.net. NO GOOD!!! I get the error: Setup Is Unable to Determine a Valid Ordering for the Installation I tried to uninstall via the CD... no good! same error: Setup Is Unable to Determine a Valid Ordering for the Installation. I'm totally frustrated with this app. Someone please help me out h ...Show All
Software Development for Windows Vista Problems with state persistence and timer services
Hi, I've experimented with adding the SQL state, timer and tracking services to the Lab1 sample step 4 (the expense report approval workflow). The tracking service works fine, but it seems that the state and timer services get the engine stuck on the ListenForManagerApproval activity. If I disable the state and timer services the workflow unfolds as expected. I use the (really cool) Workflow Monitor sample to view the results, and the progress is evident every time: With the state and/or timer service enabled, the flow gets stuck on ListenForManagerApproval and then after a while the workflow gets the status "aborted". Any ideas why ...Show All
Visual Studio Express Editions MSDN Express Library Download
Is it possible to manually download the MSDN Express Library so as to burn it onto a cd like the other Express software Thank you. Oh. I just reread the sentence on the manual install page and it says "comes with all optional components," so I assume it does. ...Show All
Visual C# Variable doesn't increment
Hi, I'm creating a Tetris game in which I have an 'x' and a 'y' variable. At first they are set to 0. I use a timer to change the 'y' value to move the figure down. Here's the code: private void timer1_Tick( object sender, EventArgs e) { y++; Graphics grfx = this .CreateGraphics(); PaintEventArgs f = new PaintEventArgs (grfx, this .ClientRectangle); DrawFigure dr = new DrawFigure (f, x, y); grfx.Dispose(); if (y > 569) timer1.Stop(); } Yet, after each event, 'y' goes back down to 0, instead of incrementing. Why is this happening No, I put the volatil ...Show All
Visual C# C#/ASP.NET 2.0 Temp files...
So I have been porting a prject from vs.net to vs 2005 all day, getting through all the bugs ( Why incorrect html syntax = compiler bug is beyond me... but my hatred for web nazi compliancy is for another day ) I am at the point where I can now test and update the HTML aspects of my project, but while testing and updating, more times than not I recieve this compiler bug: Error 1 The type 'postlist' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\xthreads\4a56add2\6c8c5057\App_Web_tzcja5qr.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\xthreads\4a56add2 ...Show All
SQL Server Problem recreating database
Had a crash and am trying to recreate my database. I have large files (200mb each)created using sql 7, a mdf and ldf file. When restoring on sql 2000 I get an internal consistency error trying to attach the mdf and ldf files. It fails half way through. I desparetly need this database restored and would appreicate any help Hi, you could try to use the sp_attach_single_file_db and hope that this will be successfull. Seems that your database is inconsistent, do you have a valid backup That would be the best solution. Otherwise I hope for you that only attaching the MDF file with the above command works for you. HTH, Jens Su ...Show All
Software Development for Windows Vista JRTPLIB in DirectShow filter
Hello Fellow Developers, I have a simple query Trying to send data over the network using jRtplib in the directshow filter. Sender side: Source>>rtp source filter>>>null renderer rtp source filter is a transform filter, in the transform function i send the packet and all the network connectivity is done in the constructor. reciver side: rtp Client filter>>video renderer rtp client filter is a source filter, in the fill buffer i am trying to recv the packet as follows: RTPPacket *pack; if (rtpSession.GotoFirstSourceWithData()) { pack = rtpSession.GetNextPacket(); if (pack) { ...Show All
.NET Development How to share an object between an aspx thread and a web service thread?
I have a Web Service project "WS" that has in it: MyWebService - derived from System.Web.Services.WebService MyClass - base class. I have an ASP .NET project "Test" that has a Test.aspx that creates an instance of WS.MyClass and calls a method on it. In this method I create a System.Threading. ManualResetEvent object. The same Test project also has a reference to MyWebService so it can call that too. I run the Test project and call the MyClass method that creates the ManualResetEvent object. I then run another instance of Test and call a method on the MyWebService; from here I want to be able to access the ManualResetEvent object cre ...Show All
Windows Forms How to setup ArrayList properties
When I set up the property of a user component, I use -> public ArrayList Source { get {return rsource;} set {rsource = value;} } But the source has two properties - Name and ID. How can I set this up such that the Source property Object Collection Editor conatins the Name and ID Properties in the right pane when I add a new source. Than ...Show All
Windows Forms How to update a partial table in to the databse from a dataset
I have a table with 6 columns. The first four columns forms the primarykey for the table. From the application, I am supplying three paramaters to the DataAdapter's SELECT command. I am retrieving the records that has values specified by these three paramaters for the first three columns of the table respectively. So my DataTable in the DataSet contains only&nbs ...Show All
Visual Studio Team System Static analysis question
I want to help a coworker in tracking down a spurious crash by using the Statically Analyze commmand in Visual Studio 2005, but I decided to give it a test drive first. On this test, I expected it to report a use of an uninitialized variable. Is this correct expectation of the /analyze switch I'm using VS 2005 B2. void foo( int & x ) { printf( "%d" , x ); } int main() { int uninitialized; foo( uninitialized ); return 0; } I seen your question on the other forum; a bit repeating here: code analysis is done per function. In case ...Show All
Visual Studio 2008 (Pre-release) CombinedEntropy? The issuer must provide a computed key in key entropy mode
The issuer must provide a computed key in key entropy mode 'CombinedEntropy'. Annother exception that I'm not sure how to resolve. In the clientCredentials of my client application, I have defaultKeyEntropyMode ="ServerEntropy" but I get this error about CombinedEntropy. I assume the "issuer" is my STS, but I don't know how to configure it to match the client app setting or if the client app setting should be changed. The ex gets thrown in the generated proxy : @ return base.InnerProxy.MyOperation1(myValue1); Perhaps your STS requires CombinedEntropy but your client is assu ...Show All
SQL Server Storing values from an array to a SQL database
Im not sure if this is the correct forum to ask this question for suggestions, but im gonna go ahead and ask anyways. I have an array that has the x, and y co-ordinates of a graphic that was moved around by the user on the screen. Each user will create a name for the different motion, say Motion1..2...3..etc. (so each motion is considered a different set of x and y co-ords). Im trying to figure out the best way to save this data. i thought of saving the data into either 1 table for each user or 1 database for each user with multiple tables for each motion. so the tables are going to store the x, y co-ord and any other relevant data. ...Show All
Visual Studio SourceSafe Setup problem
Hello all, I have tested VS 2005 b1 for a while now and started testing the VSS a few days ago. I'm having a problem setting it up right. Here is my teams setup. 2 developers: A, B Developer has opened an existing website (on a remote server) and added it to the SourceSafe database which is placed on the same remote server (accessed by file share). Developer B now opens the website from SourceSafe and a local copy is generated on developer B's computer. But when developer B add's new files or changes some of the existing files, the website is not updated. The only thing updated is the SourceSafe database. I ...Show All
Visual Studio 2008 (Pre-release) FatalExecution error when applying Setter to Window
Still trying to set a property based on the state of another property. Here's the entire XAML file. < Window x:Class = " WPF_Spectral_Device.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " WPF_Spectral_Device " Loaded = " OnLoaded " Height = " 298 " Width = " 696 " WindowStyle = " SingleBorderWindow " > < Window.Triggers > < Trigger Property = " buttonClose.IsMouseOver " Value = " true " > < Setter Property = " TitleProperty " Value = " New Title ...Show All
