theonlyway's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Designing C# & XNA games
Hi I'm currently learning C# from a couple of books with the sole aim of being able to use XNA. I have just a couple of questions: At the moment I focusing on console (DOS like),OOPs, and so on. With XNA, is there any point in learning Windows Forms programming Also, I found that understanding & following game code is one thing but being able to design a game (or any program) is another thing entirely. It's hard to code without some higher level plan or visual aid. Are there any techniques or affordable software available that game designers use in the design process. I've heard of things which might be applicable, such as :- Psuedocode, UML process diagrams, he ...Show All
Visual Studio Team System Customized Fields on WorkItemChangeEvent
I'm using the WorkItemChangeEvent to get the changes when changing System.State. In eventXml are changes of the ChangedFields and the values of the CoreFields (even if the are not changed). Is it also possible to get Customized Fields in the eventXml, even when the Customized Fields are not changed If you change the workitemtype definition to make the customized field changes and back, they won't show up in alert because they happen before it gets saved. Even if you get it to work by using some client addins that does save like you say, it will add unnecessary revisions and deployment problems and using webservice approach may be much easier. ...Show All
SQL Server Cant see my DB (MSDE)
Hi! I dont know if this is the right forum to ask about MSDE.well nwy, im new in using msql and I just want to ask why does my database cant be viewed using my VB express edition. I have a database created using MSDE and I can see this using my window explorer. I tried to open the database using the Data Connection Tool of VB express edition but when I go to the directory where the database is I cant see it even I select all files.. Anyone know why thanks! i think u got it wrong... while connecting to Microsoft SQL , you need to connect to server first and then database. You need to give the connection string or OLEDB provider etc. If i am not wrong what u r doing is you are directly connecting to M ...Show All
Audio and Video Development Low latency performance for Digital Audio Workstations
I'm not sure if this is completely on topic but this is the best place i have found to express my views so far. I do a lot of audio recording, mixing and processing using Steinberg's Cubase SX 3. I also do a lot of midi sequencing work in the program. I am always on the search for more performance because i am always running out of CPU power and this is especially true for low latency real time sequencing. What i want to know is what approach Vista will have with the digital audio industry does it aim to make improvements to the way audio and midi is processed or how it is supported in digital audio workstations Windows xp has been a good base for DAWs but in my mind it has had some shortcoming as well. Midi timing can be notc ...Show All
SharePoint Products and Technologies IE Crashes on view of Office document on SPS2003
We've been running Sharepoint 2003 for a while and are beginning our migration from Office 2003 to Office 2007. We're consistently seeing IE crashes when attempting to open a document directly from a SharePoint document store. (Browse to the document list, click on a document and "kaBoom!" IE crashes with a kernel32.dll fault) I've seen this problem with the following configurations: Vista Business (RTM), IE7, Office 2007 WinXP, IE7, Office 2007 WinXP, IE6, Office2007 There's a similar thread on the Vista forum where one suggestion was to "remove Project 2003" (which only exists on one of the three above data points). Is anyone else running SPS2003 and Office 2007 Successfully Thanks in advance f ...Show All
Windows Live Developer Forums Route line not displayed in IE
Hi all, Has anyone experienced a route highlight line not being displayed on a map under IE, although all the route points are correctly displayed Works fine in FF (which is annoying!!!) Thanks, Gerry Well at least I'm not the only person experiencing this! Just as a little test I drew a polyline on the map using the sample from the SDK and nothing appeared UNTIL I removed the SetMapView instruction and then it displayed correctly. Weird!!! ...Show All
Visual C# Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first
I try to bitwise operation (red line) But got error Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first What wrong am I Thank ------------------------------------------------------------------------------------------------------------- public bool checksum( byte [] raw) { long chksum = 0; int count = raw.Length - 4; long ecx = -1; //avoids ecs beeing == chksum if an error occured in the try int i = 0; try { for (i = 0; i < count; i += 4) { ecx = raw & 0xff; ecx |= raw[i + 1] << 8 & 0xff00; ecx |= raw[i + 2] << 0x10 & 0xff0000; ecx |= raw[i + 3] << 0x18 & 0xff000000; ...Show All
SQL Server Reporting Services procees Analysis Services cube with 100% CPU for too long time
Hi all, I use SQL Server 2005 Developer Edition version 9.00.2153 on Windows XP SP2. I build two cubes, process them and browse throw "Browse" tab in Analysis Services - time for loading was 5-10 seconds. When I build Reporting Services project with same cubes as data sources (on same computer), CPU was increased to 100% for more than 30 minutes (process msmdsrv.exe) ... and I interpurt it. Transfer project to Windows 2003 SP1, but same result. Do you have any idea what happens and how can I fix it Best regards, Siol En OK, what happens. I decreased attributes number (join some of them and my cubes become a little bit ugly), processing (for OLAP) a little bit increased (from 5-10 to 8-1 ...Show All
Visual Studio Express Editions Case Select & message
OK you wizzers, I have created a simple Case Select and passed my choice from a ComboBox List to a variable I do not get the message I have created from that choice thus: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim team As String Dim Message As String Dim Arsenal As String team = ComboBox1.Text Select Case team Case Arsenal Message = "Gunners" Case Chelsea Message = "Chelski" Case Liverpool Message = "Reds" Case United Message = "Red Devils" Case Else Message = "No Hopers!" End Select ...Show All
SQL Server SQL Agent Errors-- subsystem could not be loaded
When I start up SQLAgent Service I get the errors below in the log. Could not find stored procedure 'msdb.dbo.xp_sqlagent_notify'. [SQLSTATE 42000] (DisableAgentXPs) and then a string of Subsystem 'x' could not be loaded (reason: 126). Can't find anything useful on the web... I know there was a problem loading subsystems in the CTP - thought that was fixed.... (i'm on SP1). 12/23/2006 04:05:37,,Information,[129] SQLSERVERAGENT starting under Windows NT service control 12/23/2006 04:05:37,,Error,[364] The Messenger service has not been started - NetSend notifications will not be sent 12/23/2006 04:05:37,,Error,[125] Subsystem 'ANALYSISCOMMAND' could not be loaded (reason: 126) 12/23/2006 04:05:37,,Error,[125] Subsystem 'ANALYSISQUERY' co ...Show All
Visual Studio 2008 (Pre-release) Disable repaint
How can I disable (pause) repaint The case is that I sometimes need to pause repaint while updating a lot of stuff. In some case the screen blanks witch is not very nice. My problem seems to come with June CTP. Best regards, Thomas Andersen ...Show All
Visual C++ /clr Error
// compile with: /clr #ifdef _MANAGED public ref class A { public: static void foobar(); // error C3280 }; #endif I compile the above in Visual Studio C++ 2005 with /clr and get error C3280. The documentation says if the /clr switch is set, it should compile as managed. error C3280: 'OSAPI::Net::Event::foobar' : a member-function of a managed type cannot be compiled as an unmanaged function So, why is a declaration in a compile unit that is built using managed code see this as compiling an unmanaged function Also, when the documentation says function, does the definition of function include method declarations I would say term "function" includes "member method declarations". ...Show All
.NET Development How do you trigger another program or software from an existing C# program?
Hi, i'm very new to C# programming and i was hoping if someone could help me with this problem. I need to trigger a program/software from my existing C# program using a button but i don't really have an idea of how to go out abt doing this. I think that i'll have to look through the directory of the software in order to trigger it from my program. I hope i'm making sense here. Would really appreciate it if someone could provide some feedback. vannielou wrote: Hey guys, thanks alot! i'll try it out and see if it works. So sorry i have another silly qn to ask. I'm really new to this so plz forgive me! What do i put in the brackets Is it the directory/path of application i want to trigger Yes Com ...Show All
SQL Server Login failed connecting to new principal after failover
Hello, I have setup database mirroring on two Windows 2003 R2 x64 servers using SQL Server 2005 SP1 Developer Edition. Our application is connecting to SQL Server using a SQL Server login. The application is using ADO and SQL Native Client to connect to the server. After a failover, our app attempts to reconnect to the database. The reconnect fails with the error: Cannot open database "db1" requested by the login. The login failed. The login is not associated with a user in the new principal database. I run sp_change_users_login to reconnect the user and login. sp_change_users_login says that it fixed 1 orphaned user. Our app then reconnects successfully. I have tried several failovers, and each time I see the same b ...Show All
SQL Server VS2005 Designer runs report once, on subsequent run, VS hangs
VS2005 Designer runs report once, on subsequent run, VS hangs. Is there a way (other than shutting down VS) to reset database connections I'd like to rule out the connection as the source of my problems. You can access the database server the queries are running against and kill the processes from there. This is not guaranteed to Visual Studio back to life though. I've lost quite a few hours of development effort through VS locking up. One tip save often and definately before going to the preview. When accessing the preview tab, Visual Studio runs the report and caches the data on the file system in a file called <report_name>.rdl.data in the same location as the RDL file. There could be some file locking issues your encoun ...Show All
