K Webber's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. My First XNA Game (not complete yet)
Hi! I hope it's ok to post this here :) In order to get acquainted with the XNA Framework, I've been working on a small game that showcases several things I wanted to try out. It's a computerized version of an old dexterity game where you have to navigate a ball through a maze with traps by tilting the maze itself. Today I released sources of the project so far: Project Balance - Day 11 May it'll help beginners see how a moderately sized XNA game project can be organized. The sources are very well commented and I took care to apply established design practices where possible. Things you can find in the project: using a scene graph to manage the visual scene usage of the GameComponent/GameServices architecture stencil shadow volumes with ...Show All
Visual Studio 2008 (Pre-release) WPF Memory Usage
Just wondering.... Is a compiled MSbuild WPF app supposed to be 20mb resident. - I find this tobe ridiculously huge considering all I have on the screen is a window and a button - without any styling. I understand that my exe is only 50Kb -probably cause it's only a script. I mean I added a couple of extra controls and something with a Tab interface with two pages loaded rises upto 50Mb resident. If I could pose to any-one that could inform me of a way of removing the clutter - could I perhaps limit the necessary object instanced to save on runtime memory. ,eg. use onover images as butons instead of the SVG buttons. -I understand that this is not what WPF is supposed to be all about, but If I am to make an app that runs on existing hardwar ...Show All
Visual Basic Run-time error '53' : File not found
Hello. I don't know if this is the right place to post this error but I really need help. When I run some games programmed with Visual Basic, I get the following error: Run-time error '53': File not found I am running Windows ME (I wonder if that can help). If anyone could help me, I would be really grateful. Thanks. Regards, PedroMCN If your not coding then this definately is not the place for you - these forums are for VB.NET development and not support of applications written in VB - I'd contact the original vendor to obtain support from them or see if they have a web site with support information. ...Show All
Smart Device Development Changing the Locale programmatically on Pocket PC
How do you change the Locale programmatically on a Pocket PC. I want to change the OS language, equivalent to changing it in the Control Panel, from C++. I am not an expert here, but looks like you cant change the OS locale on Pocket PC Check this link http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=933152&SiteID=1 Thanks Srikanth Bogadapati ...Show All
Windows Forms Component not shown in design mode
I have developed a new component derived from TextBox which searches for a term specified by TextBox.Text in the database and lists a result set inside a listbox. The problem is while I can drag-drop it from the toolbox and it works fine in runtime, it suddenly hides from the design view once I build the application. Any idea I have just found more about the problem. I hope this may help someone to offer a solution. The problem occures when the component (which is derived from TextBox) tries to add it's internally defined listbox to it's parent's "Controls" collection. This removes the TextBox itself from the collection once the project is built. I'm still waiti ...Show All
.NET Development XML Parser failure
Hi Anybody know about this problem PC running window xp home edition Application written in Visual Basic 6.0/Framework 1.1. WSDLReader: Loading of the WSDL file failed HRESULT=0x80070057 - WSDLReader: XML Parser failed at linenumber 0, lineposition 0, reason is: The system cannot locate the resource specified. HRESULT=0x1. Thank you in advance, Steve. steve@posnet.us Steve, Did you get any information on this We are having the same problem with only one of our machines here. Thanks, Kathy ...Show All
Visual Basic Webbrowser - Webbrowser1_DocumentCompleated
Hi! From the event "Webbrowser1_DocumentCompleated", i try to call a function called "lookup_all_htmlTables". This is not working, anyone know why The line lookup_all_htmlTables() is not executed. ! I have this code in the Webbrowser1_DocumentCompleated --cut-- Dim htmDoc As HtmlDocument = WebBrowser1.Document AddHandler htmDoc.Click, New HtmlElementEventHandler( AddressOf Document_MouseClick) lookup_all_htmlTables(webbrowser1.document) --cut-- --cut-- Sub lookup_all_htmlTables(tmpHtml as HtmlDocument) Dim objects, tblCount Dim tblName As String Dim tmpHtml As mshtml.HTMLDocument tmpHtml = WebBrowser1.Document tblName = "" tblCount = 0 For objects = 1 To tmpHtml.all.length - 1 tblCount = tblCou ...Show All
Windows Forms Host Controls in Windows Forms DataGridView Cells
Hi all, I'm trying to create a new cell within the new DataGridView (.NET 2 Beta). For example, I'm trying to create a cell which contain a RichTextBox, I succeed with the appearance of the rich text box controll but there is a lot of irregular behavior. Does someone did it already(not particular with RichTextBox) and can send an example. Unfortunately Microsoft example in the link below doesn't accessible. http://whidbey.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxmclictl/html/e79a9d4e-64ec-41f5-93ec-f5492633cbb2.asp 10X in advance, Nir Oren I have successfully created a Calendar Control (after fixing Microsofts example). Here's the code. It should be saved to a file and then added to your project.& ...Show All
Visual Studio Tools for Office Exception with EXCEL 2007 API
Hi, I've written an office interface with VS2003. This interface works fine with all office version except office 2007. It throws folllowing the expection at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Microsoft.Office.Interop.Excel.Shape.get_Hyperlink() at Call to delete function throws this exception. (Following is the code) Excel.Shape newShp = xlSheet.Shapes.Item(xlSheet.Shapes.Count); address = address.Replace(cb.objectId,propBean.objectId); newShp.Hyperlink.Delete(); this hyperlink property has value as "<error: an exeception of type: {System.Runtime.Intropservices.COMException} occured& ...Show All
SQL Server Extra column in matrix
Hello, I'm trying to make a report with the following layout: Car Sales 2004 2005 Var % Total 10 20 50% Green 7 14 50% Red 3 6 50% I'm using a matrix and the data is coming from a cube. One dimension called 'Years' is used to fill the matrix columns and the data corresponding to the car sales is filled by a measure called 'Sales'. I've built part of the example but I can't add the final column ( the VAR% column). If I try to add a static column in the end it apears only one year. The behavior that I would like to have is simillar to the situation when we add the Subtotal column. Although, instead the sum() made by subtotal I would like to ...Show All
SQL Server Memory Allocation Failure When Deploying AS2005 Project
Hi, I have an AS2005 project that I am trying to deploy. It contains one fact table with approx 20 million rows. I have never had any problems deploying the project unitl recently. What is happening is when between 3 - 5 million of the rows have been read it will fall over, giving the following error message: "Memory error: Allocation failure : Not enough storage is available to process this command. . Errors in the OLAP storage engine:" I have read about this occurring during the processing of a data mining model, and a hotfix exists to solve this. However, my project contains no data mining at all. Can anyone shed any light on this Dave Hard drive failure Hard drive full/not eno ...Show All
SQL Server The product level is insufficient for component
hi, I am very new to SSIS. I have created a small application in which the data flow task contains OLEDB source, derived column and datareaderdest.When i run dtexecui.exe and execute the package i am getting these errors The product level is insufficient for component "Derived Column" The product level is insufficient for component "DataReaderDest" But i am not geeting any warning or error when i debug the solution. Please help me on this. Thanks in advance You need to install SSIS (separate checkbox during installation). You've probably only installed Tools which allow designing and debugging packages, but for standalone execution you need full SSIS instal ...Show All
Visual C++ Writing a Text of a Textbox with [ ofstream ]
Hello, i want to write a text of a textbox into a textfile. But everytime i get an error while compiling. private: System::Void Senden_Click(System::Object^ sender, System::EventArgs^ e) { ofstream outfile; outfile.open("Protokoll.txt", ofstream::out); outfile << textBox1->Text->g();//<< " " << textBox2->Text->ToString() << " " << textBox3->Text->ToString(); outfile.close(); } Errorcode: [dir]namensliste\Form1.h(173) : error C2064: Ausdruck ergibt keine Funktion, die 0 Argumente ubernimmt -> Expression got no Function, with 0 Arguments (or something) Christopher P. wrote: outfile << textBox1-&g ...Show All
Audio and Video Development ACA Explorer
Hello, Don't know if anyone has created one yet but I figured I'll share this small tool i made with everyone. AcaExplorer allows you to view the content of unencrypted Advanced Content Archives and extract files. Usage: Run acaexplorer.exe > Click on [Open Archive] > Select an *.aca file and click [Open] > Select one or more files from the listbox > Click on extract and choose the destination > Click [Choose] and voila! Tip: use [CTRL] to select multiple files The tool is free and can be downloaded from: http://www.levelx.eu Notes: The program doesn't warn if there is already a file with the same name in the destination map and overwrites. Currently there is a max 16MB limit. ...Show All
Visual Studio HELP - Mapping Form Data to Crystal Report
C# - Windows Applications (VS 2005) - OLEDB ---------------- Hi, I have a form details from a database. After I key in the fields and update the database, I want to print the same details using crystal report. Is there a way I can mapped the fields into crystal report without creating a new crystal report and do the printing Anyone can advise I don't understand your problem completely. 1. Are you have already open report for current data, and after you change the data you want just to refresh data in CR. This is possible. Just execute the loading method for CR in CR viewer and will load new data. 2. You don't have a CR but you don't want to create a report at all and you want to cre ...Show All
