Diego Gonzalez's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. "Direct3D.OutOfVideoMemoryException" : managed directX + c#
Hi, Working on a basic 3D engine I actually have a problem using my application with some graphic cards. The engine is very basic : Using a Form to select a "game", I create a new Control, then I use it creating my D3Ddevice. I load mesh and textures from .X files. When the "game" end, I dispose all even the Control and then back to the game selection Form. On my computer it's working well, but on my "test computer" I got a " Direct3D.OutOfVideoMemoryException " after creating/disposing 5 or 6 "games" but only with specific graphic cards . I tried to look at the " Device.AvailableTextureMemory " : after each game the value is decreasing an ...Show All
Visual Studio Express Editions People trying to install my program get an xml file
Hi I'm building some basic programs at the moment and some people want to install it but they can't because they just get an xml in there browser. Anyone know what is causing the problem *XML code generated on the browser* < xml version="1.0" encoding="utf-8" > <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v ...Show All
Visual Studio VS inproc compiler, MSBUILD and the obj subdir
I've been toying with the new VS and MSBUILD for the last few days and I stumbled on a bit of a problem. I've been trying to move the bin and obj subdirs out of my c# sourcetree with mixed results. the bin subdir was easy, that can be set in the project settings. the obj subdir is slightly more problematic. I've added these changes to the start of a test csproj file < PropertyGroup > < BaseIntermediateOutputPath > ..\..\obj\ </ BaseIntermediateOutputPath > < UseHostCompilerIfAvailable > false </ UseHostCompilerIfAvailable > </ PropertyGroup > now for the questions: 1) Is there a better way ...Show All
Visual Studio It is possible to write my own source control plugin?
I am just wondering if it is possible to write my own source control plugin for VS. For example, It would be very nice if we have a source control plugin that bridges VS and the popular CVS or Subversion. Are the source control plugin interfaces open to developers Be sure to let us all know when you're done - we'd love to try it out. There are already a few available, by the way, but (with the exception of the commercial version, which I haven't tried), all of them are pretty poor. Have a look at http://subversion.tigris.org/links.htm for details... ...Show All
Visual Studio Team System Add arbitrary files and folders to source control?
Hi, I am having a heck of a time trying to figure out how to add arbitrary folders and files to the TFS Source Control. I have no problem in adding a new solution but if I want to just add a folder and files in that folder (say pictures) there doesn't seem to be any obvious way to do it Anyone have any suggestions Cheers, Clint Please see: http://msdn2.microsoft.com/en-us/library/ms181392(VS.80).aspx ...Show All
Windows Forms button in datagrid
hi. does someone know how to add a button col in datagrid i want every record to have a botton that will open a screen. thank's http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwinforms/html/datagridcolumnstyle2.asp ...Show All
.NET Development oracle database into excel format
Hi, Im trying to build an application where the user would log-in first to check if it's a valid one, then he will choose a table from the database. after choosing what table it is, the application will display the records and columns in excel format. From excel, he can edit or update the data from the database. I don't want to use a browser, this will be a standalone application or a thick client. Is there a excel plugin (free and open source) that I could use thanks hi, Thanks for the reply but it would be more helpful to a newbie like me if you can tell or point out which topic is it among the ...Show All
Visual Basic Visual Studio 2005 - VB Compiler crashing
Visual Studio 2005 - VB Compiler crashing: Operating system: Windows Server 2003 SP 1 msvb7.dll version: 8.0.50727.73 Event Type: Error Event Source: Microsoft (R) Visual Basic Compiler Event Category: None Event ID: 1000 Date: 5/18/2006 Time: 10:05:16 PM User: N/A Computer: *** Description: Faulting application devenv.exe, version 8.0.50727.42, stamp 4333e699, faulting module ntdll.dll, version 5.2.3790.1830, stamp 424377d2, debug 0, fault address 0x000396d0. For more information, see Help and Support Center at http://go.microsoft.com/fwlink ...Show All
Visual C# Working with Certificate Revocation List
I need to load CRL file (or Byte array) and retrieve the Serial numbers in. I notice that System.Security.Cryptography.X509Certificates namespace is for certificates (and I'll use it) but what namespace can I use in order to retrieve the CRL What I would do is create a managed wrapper for CAPICOM. CAPICOM is an unmanged library that has extensive utilities for working with certificates. Perhaps that can help. You can download CAPICOM and it's documentation here: http://www.microsoft.com/downloads/details.aspx FamilyID=860ee43a-a843-462f-abb5-ff88ea5896f6&DisplayLang=en ...Show All
Visual Studio Team System TF42046: The build service used in the build process is not reachable - stack trace.
Hi all, Am using the beta 3. I have been struggling with this issue for the past 24 hours. From what I read there can be multiple reasons for this error message. I have experimented and verified the settings mentioned in this link: http://geekswithblogs.net/mskoolaid/archive/2005/12/15/63276.aspx suggestions on resolving or debugging further can help. A couple of other things I am noting: 1. As I see from task manager, the TFSBuildService.exe starts to run, that at least rules out problems with port configuration error. 2. I have enabled tracing in TFSBuildService.exe.config. But I don't see the buildmachine.log getting cre ...Show All
Windows Forms Executing an external file from C#
Hello everyone again! Thanks for the help on the last problem I was running into! This time around, I am trying to execute a file from my code based on its filetype. What I have done is: 1) Given a path, I have loaded the information into a byte array 2) Saved a referrence to the file into a database Now, given the referrence, I need to 1) e ...Show All
SQL Server Login failed
I have VS2005 Beta 2 I created a very simple Web Site that has a Login page and a Default Page I installed MSDE so that I can use a SQL 2000 database I ran C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\aspnet_regsql.exe to create a database in the MSSQLSERVER for user info. My Web.config file looks like: < xml version = " 1.0 " > < configuration xmlns = " http://schemas.microsoft.com/.NetConfiguration/v2.0 " > < appSettings /> < connectionStrings > < remove name = " LocalSqlServer " /> < add name = " LocalSqlServer " connectionString = " Data Source=localho ...Show All
SQL Server Snapshot replication - Primary key not transferred
Hi There After using snapshot replication from Server 1 to Server 2 i found that the primary key contraint was not transferred to server 2. I used the option to truncate tables for snapshot. The indexes are there as nonclustered unique but the primary key constraint for the tables no longer exists at the subscribers. I ahve done this on 2 other servers and the primary key constraints were not lost on the subscribers. I am very confused, please help Hi Mahesh I definately did not drop the PK's. But you are right i had alot of issues with this publication it constantly failed. The 2 otehr questions you are helping me with are all relat ...Show All
SQL Server can sql server allow to read record ramdomly?
anyone have the solution or work around my system need to select x% ramdom record from a batch of data from sql server for validation. is this posible any sql statement allow to select the record ramdomly let say total record is around 1000, example record that i need to select is:- record no 5,48,49,50,147,148,256,257,258,411,412,413,414,415,..... so and so can i use cursor to move around the record to read it if we view on performance of the system. how can i make this at max speed is that clone this table into local access database will make this more faster regards terence chua How do you intend to use this dat ...Show All
.NET Development asp.net configuratoin
Can some 1 help me.... I get the following error when I connect with the asp.net configuration tool to a sql server 2000. Im using windows authentication. What should the userName and password in the web.config file be when using windows authentication Unable to connect to SQL Server database probably you don't have access/read permissions to the ASPNET_USR in the database. You can add it using the Enterprise Manager -> Selecting the database and then Users If this doesn't work please provide us more information about the error to help you. ...Show All
