Jayyde's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. can't build space wars; attempt causes VS 2005 to hang
I have Visual C# 2005 Express and Game Studio Express. I've been working with random projects in 2005 Express and they compile and run fine. I was able to build and run the "Your First Game" tutorial without any problems. I created a new SpaceWarWin project; this seemed to go fine. But when I start to build it (F5, F6, ctrl+F5, right-click+build), the status output (lower left) says "Build Started...", but no build appears to actually start, and my entire machine slows to a crawl. No freeze/hang, mind you, just everything very, very slow. Task Manager shows 2005 Express as "Not Responding", and my CPU jumps to ~50% and just stays pegged there, though there's no disk activity and nothing apparently happening ...Show All
SQL Server efficient queries with variable #'s of parameters
I want to create a web page where a user can select from 1-100 fields to include in output, and then query a table to only return the fields the user has selected. I do not want to construct a dynamic SQL SELECT statement. I would rather use a stored procedure, but am not certain how to only return the fields that the user selected. If you want to DYNAMICALLY create the resultset on the fly, there is no way around DYNAMIC SQL. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Cannot acces source control after upgrading to RC
The upgrade process from TFSB3R to RC worked fine. After reinstalling the Team Explorer, I can't acces the source control from the Team Explorer Window. The message is : Either source control has not been configured for this team project or you do not have permission to access it. Would you like to create the source control folder, $/Proj1 And if I choose Yes, the message is : Error. The Item $/Proj1 already exists So, the solution works well with the source control but I can't acces the source control management window. What is happening (I'm a Team Foundation Server Administrator) Thank you Emil, Please take this offline with me. Send me a note at jeff.lucovsky(remove-this)@microsoft.c ...Show All
Visual Studio 2008 (Pre-release) RTC application in C#
Hello friends, Right now I am building an application which is based on RTC (Real-Time Communications) technology. P roblem I am facing is to use RTC events in C#. I have developed RTC application in VB and it works fine but when I run the code in C# (after successful conversion from VB to C#) the events are not occurring which occur normally in VB application. For example when any incoming call comes an event should occur which occur normally in vb ap ...Show All
Visual Basic Return Data from a SQL Stored Procedure
My company has a SQL Database. I have created several stored procedures. I have been able to return data to Access and Excel with no problem but it is not working in Visual Studio with V.B. I followed the procedure in " How to: Execute a Stored Procedure that Returns Rows " I dragged a table dapter into the Data Designer (.xsd) screen and it opened the wizard where I could select a stored procedure. It allowed me to create a FillBy method to return the data. It also created the name under the dataset in the Data source window. Now, I can right click and choose preview data. The window opens, allows me to enter for any parameters (@StartDate, etc) and produces the data just fine. But I cannot get it to show up in a da ...Show All
SQL Server Install and Uninstall problem
I am having very simular problems with installation and uninstallation as Laydee is having. There had never been another instance of any type installed on my local computer, I installed SQLExpress because we want to begin migrating to something for the future, and after reviewing all the other options out there decided SQL Server 2005 would be the most efficient use of time and resources. The initial installation was successful, and we were doing well, writing the new GUI in VB6, then decided we would try VB 2005 in order to take advantage of the .NET framework, stored queries, etc. the first time we accessed the database (Thank God it wasn't the production database) it corrupted something, somewhere and we never could get anything t ...Show All
Visual Studio Tools for Office Error when opening VSTO sample project
I just installed Visual Studio Team Edition for Software Developers (with VSTO) and I'm trying to open a sample project I downloaded from Microsoft. When I open the .sln I get this error: Microsoft Office Outlook 2003 SP1 or newer is not installed on this computer. You must install a version of Microsoft Office Outlook 2003 that supports Microsoft Visual Studio 2005 Tools for the Microsoft Office System projects. The problem is that I do have Microsoft Office Outlook 2003 installed. It's SP2, which is what is recommended. It's configured and open. How can I convince VSTO that I really do have Outlook 2003 SP2 installed Thanks! -Jeremy I just realized why you asked that. Our client ...Show All
Visual Basic Enumerated String Constants for a Method?
In the class library I'm creating I have a method that I want to be able to accept two strings. The first string is just a plain old string. The second string should only accept "Information", "Warning", "Error", and "Critical" values. I want it so that if anyone else uses my method they will see auto-complete values for the second string parameter (i.e. "Information", "Warning", etc..) just like you would see in other method calls. How do you do this This may be what you want - you can use overloading (i.e. methods with same name, different parameters) to allow the acceptance of a string (no auto-complete) or the enumeration itself Module ...Show All
SQL Server BACKUP CERTIFICATE alters ACLs on created file
NOONE ASKED FOR THIS!!! why the heck is BACKUP CERTIFICATE altering the file's ACLs - it's just a PUBLIC CERT I'm exporting!! in additions MS doesn't seem able to add the ability to re-inherit file-rights from parent objects via the command-shell. I export the public-key for a reason! I want to import it on another machine (automatically) to establish a trust. But this freaking "feature" is costing me HOURS of research on how to get rid of these ACLs on a public certificate!!! argh!!! sorry, I really had to get this out! why not at least give us a switch we can set in BACKUP CERTIFICATE command to stop this from happening is there a work-around now I need to activate EXEC sp_configure 'show advanced options' ...Show All
Software Development for Windows Vista Using HandleExternalEventActivity to communicate from state machine workflow to asp.net host doesn't appear to work reliably
Dear all, I have a state machine workflow hosted under asp.net 2.0, using SimpleReadWriteActivities and LocalServiceContract from the HelpDeskSupport sample app. This uses static lists to keep track of data pipes, but has no mechanism for cleaning these up. I have added this capability, in order to get consistent behaviour after a re-start of the host web site. Everything works fine unless I return to a state which has already been executed once, and execute it again. The state concerned has an EventDrivenActivity which contains a ReceiveDataFromHost activity, derived from HandleExternalEventActivity. When the ReceiveDataFromHost activity gets called the second time, I get an exception with message: Correlation value on declara ...Show All
Windows Forms DataGridView.Columns[].SortMode problem
In a DataGridView I want to have the columns sorted. They are sorted as a matter of fact by default. My first column is of System.Strings data type, all others are System.Double variables. I've also discovered a pleasant surprise that when I click on any of the columns the whole DataView is immediately rearranged in such a way that this column gets sorted. Here is the problem. I want all columns except the first one to be sorted DESC . The first column is sorted ASC by default and it is great, however in all other columns the lowest numbers which are mostly zeroes in my case give me little joy. I want the highest absolute values (all of my float values are positive) to be on the top , not bottom. I want to find out if it can be se ...Show All
Visual Studio Team System Supporting Both SQL2005 and SQL2000
It is a requirement that we support our product running on both SQL Server 2000 and SQL Server 2005. Our main development database is SQL Server 2005. When it comes time to ship an upgrade of our product, we'd like to ship an optimized script that updates the existing database to the new version's changes in schema, and this script needs to run on either SQL2000 and SQL2005. The "intuitive" (to me) way was to just create a SQL Server 2000 project, but when I pointed it at a 2005 DB, it balked and errored out. So I deleted that and created a 2005 project, but it's generating 2005-specific scripts. Am I missing a setting somewhere Or is this sort of use not supported Another way is cr ...Show All
Smart Device Development Is there anyway to include wave/out deviceclass in WM 5.0 ppc phone addition
Hi all, I am trying to play audio down the phone line in WM 5.0 pocket pc. I am using Tapi and using Alex wrapper for C#. I am using this code to get linedevice id to be used in waveout function: lineGetID(line.hLine, 0, IntPtr.Zero, LINECALLSELECT.LINE, DeviceID.Data, "wave/out"); it returns error no : 2147483720 As discussed already on this forum number of times that playing audio down the phone line is not possible since tapi doesn't support wave/out deviceclass in WM platform. But is it possible to include wave/out deviceclass in WM 5.0 do i need to do programming in cellular TSP or Radio Interface Layer (RIL) thanks a ton!!!!! If you indeed went through this link then you know it's not possible ...Show All
Visual Studio Tools for Office Determining the unique nature of an Email message
Prepare yourself, this series of questions is bound to go pretty deep. I am creating an application which munches many terabytes of data continuosly, while munching this data my application must determine if it has already munched this data before and prevent duplicates from inundating its repository. If it encounters a duplicate it simply records the fact that it found a duplicate, and where it found it, then moves on without copying the duplicate. Now to the hard part, emails. When my application finds an email message it needs to be able to determine if an email is unique or not. Is there a field that determines the unique nature of an email message Scenario: Now consider this, if I send an email (emai ...Show All
Visual Studio Problem with IVsHierarchy.SetProperty(), please help.
Hi All, I am writing a VSPackage for providing source control operations on Solution and Projects in Visual Studio 2005. I did implement the interface IVsSccManager2 and the function GetSccGlyph() appears to work fine for files. I really want the function GetSccGlyph() to work for folders (directories) as well. I could not figure that out, so I decided to use the function IVsHierarchy.SetProperty(). Here is an example of how I am calling it - hierarchy.SetProperty(itemId, ( int ) __VSHPROPID .VSHPROPID_StateIconIndex, VsStateIcon .STATEICON_CHECKEDOUT ); itemId is the Item Id of folder. This function does not seem to do anything. I also followed the SetProperty() call by IVsSccProject2. SccGlyphChanged () . Same result. ...Show All
