ledwinka's Q&A profile
Software Development for Windows Vista DX9 and audio problems
i am a gamer and decided to try and test vista towards some games i should have know it wasnt ready for that lol seems it doesnt support dx9 fully cause having graphics issues when running games such as cod2 that didnt have on xp i am running a nvidia geforce 6200 agp 256mb also no microphone boost in sound panel im running a sound blaster live! 24bit pci sound card and cant get enough output volume on the microphone for ppl to hear me sounds real faint like on xp it had a 20db boost will there be such feature for vista or is there already and ive overlooked it and what can i do about the dx9 problem seems like vista is locked on dx10 which my gfx card doesnt support and im getting glitches on paint and some programs on the deskto ...Show All
Visual Studio Sandcastle Help File Builder
I've created an NDoc-like GUI front-end plus a command-line builder tool for automating help file builds with Sandcastle. It's available at: http://www.codeproject.com/useritems/SandcastleBuilder.asp Using the help file builder provides the following advantages: The GUI interface is almost identical to the NDoc interface so anyone familiar with NDoc should be quite comfortable using it. You can import several settings from an existing NDoc project to start a new Sandcastle Help File Builder project. The builder will automatically locate both Sandcastle and the HTML help compiler by looking in the system path and in the Program Files special folder on all fixed hard drives. Properties are also supplied for you to specify the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. my space war not working
hi i just downloaded XNA today and tried to run my space war example but i get an error saying: 'The method call is invalid' it is highlighting the code: public static void Init(Game game) { if (game != null) { IGraphicsDeviceService graphicsService = (IGraphicsDeviceService)game.Services.GetService(typeof(IGraphicsDeviceService)); if (batch == null) batch = new SpriteBatch(graphicsService.GraphicsDevice); } } this code is in Font.cs what does this mean and how can i fix it ps i am new to C# Two choices - nVidia or ATI. The specific choice depends on how much you have to spend. Just make sure whatever you get supports shader 2.0. ...Show All
Windows Forms FolderBrowserDialog slow to open
Hi, I am using the FolderBrowserDialog in a little app I have written. I notice that when I try to open it via DialogResult result = folderBrowserDialog.ShowDialog(this); ts loads extremely slowly the first time. I did a little investigation and here is the pattern I see: When I set root folder = " Desktop " it loads very slowly (seconds) When I set root folder = " My Computer " it loads instantaneously My guess is that, with the Desktop as the root the control is searching network folders or some other resources that are slow in responding. I am running .NET 2.0. Any thoughts Run "net use" at the command line to display any networ ...Show All
Visual C# Late binding in C# - How to pass an object and yet use hardcoded properties?
Hi, I will use an example to describe my problem: I have two objects - Say Student and Teacher. The two objects share some properties - Say Name and Birthdate I have one method that lists person name and birthdate. I need to pass an object and yet use the properties - Something like this: private void ListPersonInfo(object person) { Console.WriteLine(person.Name, person.BirthDate) } The above does not compile since at compile time the Name and BirthDate are properties of their respecitve objects and are not properties of the Object class. I don't want to use two methods one for teachers and one for students. I also know that it is not a good OO practice to pass plain objects like this and I don't want to us ...Show All
Windows Forms Display one form from another? (wks when debuggin but not when deployed)
Hello, I'm using C# to develop an outlook add-in with VSTO on Windows Server 2003. I have a FormA that is displayed as modal using ShowDialog() when user clicks a command button. FormA has on it ButtonZ which loads FormB also modally using ShowDialog(). When I debug the add-in in VSTO FormB shows up and I can interact with it. However, when I deploy the add-in to an XP workstation FormB doesn't display at all. In fact I added some code to the ButtonZ on_click event to display a message box before loading FormB and even that is not loading. Somehow it seems that just by including code to instantiate and show FormB I am mucking up the on_click event. Any ideas why this is happening Tx, Tad I ha ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Proprietary FBX format
Good day! According to an Autodesk engineer I communicated with today, "The ascii version of the FBX file format isn't publicly documented and subject to change." I think that begs the following question: why would we want to use a format that isn't open-spec, subject to change, and proprietary to a single company (Autodesk) What attraction does FBX have given its highly proprietary format To preempt a conversation about the merits of the build content pipeline, I might add that there are some companies that have no intention of using the content pipeline to avoid the embrace, extend, destroy philosophy which manifests as vendor lock-in. So to return to the prior question-- what is the sell for FBX if it is proprietary, cl ...Show All
Visual Studio Team System Work item description formatting
Is it possible to have work item descriptions formatted with fonts and colors Hey there, The Long Text datatype was a pre-release datatype that is no longer present. The RTM version (and probably even Beta3) supports only PlainText and HTML. The System.Description field is the one that is mapped to the 'Description' text box in the Agile work item types. The data type is 'PlainText' out of the box. Since it is a core field, it cannot be changed to HTML, unfortunately. Your option here is to create a new field of type HTML and use the same (or another) text box to modify its value. This is a viable option if you have just begun to use this project and don't already have a bunch of work items which ha ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Passing multiple streams to effects
Hey all, REALLY sorry if this supposed to be obvious, but i was wondering if any one had any sample code where they are drawing something using an effect that used multiple vertex streams, my shader code is correct, but i just don't know how to pass the two streams to the shaders, i set the two vertex buffers from the two meshes: graphics.GraphicsDevice.Vertices[0].SetSource(mesh1.VertexBuffer, meshPart1.BaseVertex, meshPart1.VertexStride); graphics.GraphicsDevice.Vertices[1].SetSource(mesh2.VertexBuffer, meshPart2.BaseVertex, meshPart2.VertexStride); and in each pass of the effect i run: graphics.GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, meshPart1.BaseVertex, 0, meshPart1.NumVertices, meshPart1.StartIndex, m ...Show All
SQL Server find the greater element in list
I have a table with 2 field Id and amount. I want to select the maximum amount for all the Ids. e.g. Id Amount 1 23 1 47 2 23 2 50 3 7 The result set should be 1 47 2 50 3 7 Can any one give any sql query to fetch the appropriate result select ID , max (Amount ) from your table Group by id ...Show All
.NET Development Database Shema Deployement
Hi, Sorry for my last post in french. I'm in charge to manage de deplyement of an application developped in .NET 2005 based on SQL 2000 database. How can I manage the shema modification of the database ( Like new fields, length change of a text field, addition of a constraint ) Thank's You can do this via a custom upgrade script (probably best written in TSQL). I believe Enterprise Manager has features to assist scripting database schema, but I'm not sure if it handles generating update scripts. This question is probably better asked in one of the Sql Server forums on this site. ...Show All
SQL Server Suppressing links when exporting
Is there a quick way to suppress links when exporting a report. My links are generally expressions i.e. IIF(x>0,navigate to a url, '') where the new url may or may not be a new report. Thanks Umer There is no way to tweak the Report for different export formats. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Error updating DataSource in RS2005
Hi, When I try to alter (apply, move, delete or whatever) an existing DataSource I get the an errorpage with the following message Object reference not set to an instance of an object . The log says the following about this: aspnet_wp!ui!5!7/28/2006-17:18:43:: e ERROR: Object reference not set to an instance of an object. aspnet_wp!ui!5!7/28/2006-17:18:43:: e ERROR: HTTP status code --> 500 -------Details-------- System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.ReportingServices.UI.DataSourceProperties.LoadSharedDataSourceFromViewState() at Microsoft.ReportingServices.UI.DataSourceProperties.Control_Load(Object sender, EventArgs args) at System.EventHandler.Invoke(Object ...Show All
Visual Studio Team System Specify ConfigurationToBuild for individual SolutionToBuilds
Hi, I've got lots of old solutions that have several configurations for each project. In my team build project file, I need to specify different configurations for different solutions. Does anyone know how to do this I've tried putting conditions in the SolutionToBuilds and the parent ItemGroup, but they never actually compile (I guess because the condition is always false - how would I test this ) For my conditions, I've tried conditioning with %(ConfigurationToBuild.FlavorToBuild) and also $(ConfigurationToBuild) in various tags (SolutionToBuild, the parent ItemGroup, a Choose tag) Anyway, here's a sample of what I'm trying to do: <ItemGroup> <ConfigurationToBuild Include="Release|Win32"> <FlavorTo ...Show All
Visual Studio Is Intellisense autocompletion active?
Hello, I'd like to bring this issue again. I received a valid answer for VS2005, but I haven't been able to find a way to do it for VS.NET 2003 (and possibly 2002). The question is: how can I determine whether the Intellisense autocompletion drop-down is on display Some users of my product would like it to behave differently depending on the circumstance, and I'd like to provide the functionality. Indirect methods would also be useful: QueryStatus on a certain command returning a different value, etc... Thanks a lot in advance, J ------------------------------------------------- ViEmu - vi/vim emulation for Visual Studio http://www.ngedit.com/viemu.html Thanks, Phil. If it becomes really ...Show All
