etcheverrjc's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Vista install problems
XNA won't install on Vista RC 1 5736. I'll try on a daily build tomorrow in the office. Are you going to support Vista in December SiW wrote: Anyway, installing the VC# SP1 beta does indeed allow me to install GSE beta 2, so I'm satisfied. For now ;) It's _possible_ to install XNA GSE 2 on Vista. Some people, like yourself, have been successful. Personally, I've found that running the installer with elevated (Administrator) permissions will yield a successful install most of the time. Your mileage may vary. The key point here it: It's an _unsupported_ configuration (and it's likely it will be unsupported at the 1.0 release timeframe as well ). The blocking problem isn't with the XNA produc ...Show All
Smart Device Development How to Load a GIF File into a Bitmap Object?
Hi all, i have a GIF file that is created from a Bitmap object outside CF using: Bitmap bitmap = new Bitmap(640, 480); bitmap.Save("temp.gif", ImageFormat.Gif); If i copy this temp.gif to the emulator and try to load it using: Bitmap bitmap = new Bitmap("temp.gif"); i get an ArgumentException. However, if i save it as a BMP, i.e.: Bitmap bitmap = new Bitmap(640, 480); bitmap.Save("temp.bmp", ImageFormat.Bmp); and load it: Bitmap bitmap = new Bitmap("temp.bmp"); it loads ok. Is it possible to load a GIF in CF If so, how TIA and Regards, Edwin It is possible to load GIF if your device includes appropriate GIF decoder. It appears your device does no ...Show All
Gadgets Gadget post info to new web form
I've created a gadget which is a simple HTML form with 2 text boxes and a button. When you click the button it should open a new IE window and send the information to the target URL as a post. The problem is when installed as a sidebar, although the IE window is opening with the correct page, the information in the 2 textboxes does not seem to be transferred. I have tested the simple HTML form by opening it in IE and all functionlity works fine, but not when I install it as a sidebar. Is there something obvious that I am missing Any help would be appreciated. Thank you Hi Bruce, First off, I really appreciate you responding to my message. Thank you for the help. I'm not sure if I understan ...Show All
SQL Server Database in SUSPECT??
One of my databases went into suspect And the server logs had an error message 'LogWriter: Operating system error 112(There is not enough space on the disk.) encountered.' I checked out to find that the Drive had no space left. Now what all things are to be done to make the database up again Will there be any loss to data Guide me with the steps Thanks in advance Jacx Hi Jacx, Do you have another driver for move your database Another option change your database recovery model to simple: ALTER DATABASE MyDB SET RECOVERY SIMPLE Open Query Analyzer and run: Checkpoint After: BACKUP LOG MyDB WITH TRUNCATE_ONLY After run: DBCC SHRINKFILE('LogFile', n) Any question subscribe m ...Show All
Visual Studio 2008 (Pre-release) How to generate XSD from custom XAML serialization
This is not really a WPF question but since XAML has been associated to WPF, I'll ask it here. If there is a more appropriate forum, please let me know. I am using the new XAML serialization that is really wonderful. So I wrote few classes (organized in an object model tree) in an assembly and I persist them in XAML. One of the namespaces inside the serialization is the clr-namespace that fully describes the metadata. So I was wondering why XSD.EXE doesn't use those information to create a full-featured schema . I think that the information inside clr-namespace should be more than sufficient to create a very precise XSD schema file. Any chance to see such utility in the RTM TIA, Raffaele Let me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Model class vb woes
Is there anyway to specify creation parameters for vertex buffers that are created by ContentManager.Load<Model>, i.e.: I want to be able to read back from those buffers. I suspect (from 20 mins of googling and reading bits and bobs) that there is not. Just wanted to double check. If not, does anyone know if there is a good reason why not Cheers, and thanks, Ste Currently, the default Model class always uses readonly vertex and index buffers. The only way around that is to make your own model type, or store the vertex data somewhere else rather than trying to read it back from the D3D buffers. ...Show All
Visual C++ LNK2020 when importing a mixed-code static library
Hello. I have a rather strange problem with VC2005 Express : Project A : I do a static library that contains both managed and unmanaged code. I have 4 100%-unmanaged .cpp files and 3 mixed-code (A.cpp, R1 and R2.cpp, the last two containing definition of two managed classes members). I link with the /clr option, no problem. Project B : Windows Forms App. I import my A.lib and corresponding header files. I get LNK2020 errors (unresolved tokens) on managed classes members in R1 and R2. Compiled with /clr also. => Why these errors It works fine if I move the content of R1 and R2 in A.cpp in project A (!!), but I need not to for other projects. Moireover, I would like to understand . Thanks in advance. And sorry for English mistakes. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. By the numbers - why so big?
My content, using JPG's, is roughly 14.4 MB. However, the XNB version is roughly 515 MB. About 38 times bigger than the original. Is this normal What steps do I need to take to reduce the size of this I'm just begining with my development but if I can't augment this behavior of the Framework I'll have to serverly strip down my game. Maybe, I'll have to replace Content<T> altogether ( ) My guess is that your JPGs are converted to a non-compressed format and that's just how big it is. JPG is a lossy compression format. They don't necessarily store pixels in a bit-array format (like BMP, TIFF, etc..). This allows JPG to save considerable amounts of memory. Textures on the other hand need to be accessed in a bit-a ...Show All
.NET Development XSLT sort problem
I have an XML file containing TV listings that I am trying to process with XSLT to produce a customized report of my favorite programs. The XML is much more sophisticated than the textbook examples and the examples I've found on the web. It contains a default namespace and is structured like a relational database. I am having trouble sorting the listings by their air date. To get the air date I must first follow the xtvd/program/program path to get the id attribute, then match that value to the program attribute in the xtvd/schedules/schedule path to get the air date. (There may be more than one air date for a single program.) The sort I coded sorts the air dates just fine for the same program that airs on more than one date, but w ...Show All
SQL Server SQL Service Broker vs MSMQ
I'm in the process of doing the initial research for the architecture of a large scale, transactional messages routing platform. My initial design called for a series of MSMQ queues and Windows Services, written in C#, to process the messages in these queues. There will be incoming and outgoing queues, queues to store unroutable messages, etc. My application will be routing many hundreds of thousands (and eventually millions) of messages per day. These message are very small (< 200 bytes each) and must be routed very quickly. (<1 second processing overhead per message for high priority messages.) Using the term "routing" may be a bit misleading. The messages arrive via TCP socket connections. I will just need to take in a ...Show All
Visual Basic Using Colormap values in an array to pass to SetRemapTable
I'm having difficulty doing it. When I declare an array as new object and load it up with ColorMap.NewColor and ColorMap.OldColor, I get a runtime error which is essentially a type mismatch error. When I attempt to declare an array as new ColorMap, I'm told you can't declare an array as new. Can someone tell me what I need to do Or, if I'm on the wrong track for my purpose, which is simply to swap one color for another in a bitmap, perhaps someone could tell me how to do it. I'm using Visual Basic Express. Thanks. It's not fast but it works: Dim bmp As Bitmap = CType(Bitmap.FromFile("c:\temp\test.bmp"), Bitmap) For x As Integer = 0 To bmp.Width - 1 For y As Integer = 0 To bmp.He ...Show All
Windows Forms IDE will not obey they settings for form height and width
All-- Please help. The VS.NET 2003 IDE will not obey they settings for form height and width. Here is the scenario. I decide that I want my forms to have (Size=800,600) all the time, disallowing resizing. I have myBaseForm from which myChildForm1 inherits and myChildForm2 inherits. For all forms, I set (MaximumSize=800,600) and (MinimumSize=800,600) and (Size=800,600) and (Locked=True) and (FormBorderStyle=FixedSingle). I do >Window, >Close All Documents. I do >Build, >Rebuild Solution. I open myBaseForm and notice that (Size=800,620). OK, I think to myself, the IDE must have some rule applied and needs some kind of specific proportionality or ratio or granularity when setting Size. Fine, I wi ...Show All
Visual Studio Team System Unit Tests Timing Out
I am writing Unit Tests for an ASP.net web site. I have created a table in a seperate database on my PC for Data IN, and I configured the web site (the web site is actually compiled and run on the fly from source by VS) to use a copy of its database also on my PC. Whenever I run tests with a few hundred rows of data I get time outs which in the details say they are waiting for a connection from the pool. So I went into advanced properties and set the Max to 5x the number of rows in my source table with a minimum set 1.3x the number of rows in source. So I am pretty sure its not actually the number of connections. What else should I be checking for Am I forgetting about a setting somewhere This seems like one of the more simple use cases an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will the MethodInfo class in System.Reflection be available on Xbox 360?
I know portions of System.Reflection will not be available on the XBox 360 version of the .NET Compact Framework. I'm wondering if the MethodInfo class will, It would be nice to be able to call C# methods by name and I can't think of any security reason why this would be a problem. ...Show All
Audio and Video Development how to play samples in iHDSim
mY pc has 512MB RAM, DISPLAY ADAPTER(intel(R)82845G/GL/GE/PE/GV Graphics controller). Do i need to install any other SW/HW to play samples in iHDSim. ...Show All
