Neorga's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Struggling with 3D sound - Anyone got this working?
I'm getting IndexOutOfRange exception on the " engine.Calculate3DAudio(listener, emitter)" line below. Anyone managed to do anything like this I want my sound to come from a particular point. I understand with my code below that as theplayer moves, the listener isn't updating position (so sounds already started will be wrong), but I need to get the sound playing first! public class Sound { private static AudioEngine engine; private static WaveBank wavebank; private static SoundBank soundbank; private static Audio3DEmitter emitter; private static Audio3DListener listener; public static Cue Play( string name, Vector3 playerLocation, Vector3 soundLocation) ...Show All
.NET Development Two dimension array into one dimension array
I have two dimension array object [,] twoDimArr = new object[3,2]; Later in the code I would like to get only the first column (or row ) of it meaning twoDimArr[1] . How do I do that without running on all the twoDimArr Array attwoDimArr[1,i] and allocating new array for that . Thanks Shauli no good , becasue i get the two dim array from the code - object [,] twoDimArray= (( object [,]) range[1, 9].Value2); where range is Microsoft.Office.Interop.Excel. Range ; ...Show All
Windows Live Developer Forums Using Msoft Access data arrays in VE
I am doing a proof of concept using VE to show staff and equipment locations from an internal webpage. I want to be able to call data from the resource database into VE to map these entries. Is there a solid array functionality that I can tap for this -Patrick PS: Brand new to forums and a (now) rusty coder so please be kind regarding my deficiencies! *grin* John- You and I need to coordinate our postings...we keep crossing eachother! At least we tend to have semi-consistent answers. ...Show All
Visual C# Go to class member quickly using keyboard only
I'm migrating to VS 2005 (C#). Up to now I've been using VS 2003 with Resharper. I see VS 2005 now implements many of ReSharper "goodies" (refactor, rename, add 'using' etc). However I still can't go to a class member quickly using keyboard only. E.g. in ReSharper (VS 2003) I'd press a shortcut which would display "file structure", then a member would get selected as I type letters it starts with, hit enter and I'm in the member. Long time ago (VS 97/VC++ 5.5 I think), "Class Members" combo box (VC++ editor) were "trackable" (i.e. selection would position on the member starting with the letters type) and one could assign shortcut to expand/focus on members combo box. It's long not the case a ...Show All
Community Chat Xaml??
When is "Orcas" suppose to be coming out, and also where is the forumn for Xaml questions I haven't heard any planned release dates for orcas... http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx Forum for XAML http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=1183&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Game Studio Express compatible with Visual Studio Professional
Can't wait to get home and download XNA GSE but I'm concerned; will I be able to use it on a machine where I already have an installed copy of VS Professional I have another machine that I can use that doesn't have any developement tools on it but that would be inconvenient. I checked the FAQ and didn't see anything one way or another. Thanks in advance. Can't really see the point of getting people to install Express, I would be more inclined to think that it's a ploy to get Professional users to pay for the bigger XNA package. Of course, that's just my opinion, I could be wrong. ...Show All
Visual Studio Team System How to make Team Build Server output xml documentation files
Hello, I am using TFS Build to automate the build process of my projects. The problem is that I cannot make it output the associated xml documentation files (/doc option for the csc compiler). On my dev machine I have specified a xml documentation output for every project. But inside the drop location the xml files are never generated (I get .dll and .pdb only). What should I do to enable them in my build process Regards, Darin. ...Show All
SQL Server alter databse TestDB set TRUSTWORTHY on fails
Hi all, When I try to execute the following command: alter databse TestDB set TRUSTWORTHY on I get this error: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 'databse'. Msg 195, Level 15, State 5, Line 1 'TRUSTWORTHY' is not a recognized SET option. Can someone tell me why Thanks in advance. Hi Madhu, Thanks for the quick response, but there is no SQLServer 2000 on my PC or my laptop. My laptop has Win XP and SQL Server 2005, and my PC has Vista Ultimate, with SQL Server 2005. The command was executed in Management Studio, which SQL Server 2000 does no have. Thanks. ...Show All
Smart Device Development how to detect the available network connection in pocketpc
is there any sample code to detect whether wifi or gprs connection is existing in pocketpc or not help me thanks I have the same problem ...tried your solutions but I am connected through a dial-up connection using a mobile phone via bluetooth. When connection is lost or closed on the phone the IP from the ISP remains in my application and it is therefor unable to detect the disconnection that way . More ideas... Badly needed... ...Show All
Visual Studio Team System Off Topic- Forum Function ?
Is it just me or when replying or creating a post at the bottom when the checkbox is checked for Alert Me does it not actually turn on the subscription. I have to hit the alert me button after I post. Is it just me PS - gripes about bugfix rates aside, you can get pretty good response to these questions in the "Site Feedback" forums at the top of the list. ...Show All
Visual Studio Tools for Office Save MailItem as MSG file
Hi, How can I save the an Outlook.MailItem as .MSG file on Hard Disk Andy Ho Thanks for the reply. I unregistered the redemption dll and re-installed the same. Still I'm getting the same result. Also I got an error like : "Could not retrieve IMessage : ..." when I tried to show the auto-generated content from my application to Outlook Inspector Window. From there, user can send or save the msg as draft as he likes. This is my idea. This option also working fine in other machines. Whether Outlook installation is wrong I'm planning to re-install the Outlook. Any other suggestions before that Waiting for your valuable feedback. ...Show All
Visual Studio Duplicate items are not supported by the "Resources" parameter
Another thread about this issue...I have read all possible replies to this question and still I am looking for an answer that will work for me..... I am running VB Studio ver 8 and VB Net ver 2 and XP Professional ver 5 sp 2. I have a project with many forms. I made the mistake of adding a Data Source then deleteing it. Big Mistake. (didn't have a recent backup either) Found myself editing a .designer.vb file to fix a ton of errors. Got that done. No more errors. Then tried to 'build'. Received: 'Unable to copy file 'obj\debug\WindowsApplication1.Demographic.resources' to 'obj\release\WindowsApplications1.WindowsApplications1.Demographic.resources'. Could not find file 'obj\release\WindowsApplications1.Demographic.resources' . Deleted a ...Show All
Visual Studio MSBuild behavior differences between 2 build machines
I've installed VS 2005 on two build machines (both are Win2003, one is a virtual server) using the same installation. On machine A, the MSBuild is working fine; on machine B, the first VCBuild in the build XML fails because it can't find include files even though the files are in the correct include folder. (We set the INCLUDE environment variable.) I've tried passing the /useenv switch as posted on MSDN but that doesn't help. The cl.exe files are the same. In the help-about for VS 2005 I see that machine A has this version of C#, C++, etc.: 77626-009-0000007-41360 and machine B has: 77626-009-0000007-41198, although I have no idea why they're different. Any suggestions of what to check We're trying ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sprite animation
Let me start off by saying that I ALREADY KNOW how to animate sprites. I think the way I've been doing my animation, though, isn't really recommended as it can cause hiccups. Here's what I've been doing: I've got a sprite class. This class has a DateTime member called startTime. It also has a TimeSpan member called timePassed. In my constructor I have the following bit of code at the very end: public Sprite() { ... DateTime startTime = DateTime.Now; } which sets the initial point of reference for the sprite. I've also got an UpdateFrame function that basically checks the current time, sees if enough milliseconds have passed, and either exits or changes the frame of the sprite: //this will check to see if it's time to change the animati ...Show All
Architecture Somebody knows some site that evaluates tools ORM?
I want to buy a tool for my DAL, but there are many in the market. Can recommend me some in special or indicating some Web site to me that evaluates these tools It is good idea to use these tools I am worried about the speed of answer. Thans a lot JL http://www.howtoselectguides.com/dotnet/ormapping/ ...Show All
