gjhdigital's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. the view matrix
should i treat the view matrix as any other matrix say i want the viewer to take a tour along my scene. Can I transform the view matrix as i would in the world matrix are there any "special" methods for it e.g. device.Transform.view.lookAt(somePoint) If you repeatedly apply transformations to the view matrix (or any matrix for that matter) you will end up introducing error that can grow to the point where it causes problems. The easiest thing is to just recreate the View matrix whenever you want to move it. You can use Matrix.LookAtLH or something similar. ...Show All
Visual C# reading/editing html file
Hello, I am trying to read in an html file, and replace a custom tag with a string that will be generated from the application. I am guessing the way to do this has changed with .NET 2.0, as the books I have refer to FileInfo objects that are not being accepted by Visual C# Express. I would appreciate it if somebody could provide me with some sample code, or point me to some references on the web. Thank you Jon, Thank you for your reply. Everything works great. Thank you very much for your help, and for explaning "why" I should be doing it as you stated. It helped to make sense of everything. Thanks, Adam ...Show All
SQL Server RS 2005: Excessively Long String error when printing
I have a VB.NET 2003 WinForms application that contains a browser control to render reports within. I have a SQL Server 2005 Reporting Services instance - and through the RS site, the reports come up great, and print just fine. However, when pulling in the reports through the WinForms application, when trying to print - I receive an error. A message box pops up that says "An error occured trying to get the current window." The next message is: Line: 26; Char:4; Error: Marshaler restriction: Excessively long string. Code: 0; URL: http://svr-sqlreport1/ReportServer$QA/Reserved.ReportViewerWebControl.axd ...Show All
SQL Server Lookup Transformation with parameter
Has anyone else noticed this I want to be able to use a paremter in my reference table of my Lookup Transformation. I couldn't find any way for the dialog to accept SQL with a parameter so I checked on MSDN How to: Implement a Lookup Using the Lookup Transformation and sure enough in the article is says to click on the Parameter button. I don't have a Parameters button on this dialog. Error Is this possible 6. In the Lookup Transformation Editor , on the Reference Table tab, select a connection manager in the Connection manager list, and then do one of the following: Click Use a table or a view , and then s ...Show All
Windows Forms CellStyle Not Working
I made a custom column and cell that calculates a value based on 2 other cells in the same row. I want to apply a currency style to the cells but it doesnt seem to work. I used the code from the Calender example Here is the code: And Thanks Public Class SumColumn : Inherits DataGridViewColumn Public Sub New() MyBase.New(New SumCell()) End Sub Public Overrides Property CellTemplate() As DataGridViewCell Get Return MyBase.CellTemplate & ...Show All
Visual Basic Relase the Fix for Visual Basic Compiler Error &H8013141e&
Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e& this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 .. JSB PS: this error pisses me of, i need to restart VS.IDE every 5 minutes. i think this is too bad for a recent relesase product ( its full of Bugs ). I am having the same problem. Happens in both Visua ...Show All
Smart Device Development enlarged design time images
I am making a smart device in VS 2005 that is using images. In design time my images are enlarged and do not fit into the panels I assign for them. However, running the application make the images into normal size and everythings looks fine. Is there a way of making the images not to be enlarged in design time I am using bitmaps as images. Are you reading the images from an Imagelist into the Panel Can you share the few lines of code you might be using for this Thanks Amit ...Show All
SQL Server Unhandled Exception in Management Studio
At work we run a large SQL Server 2000 database that is usually administered using Enterprise Manager. I recently started playing around with SQL Server 2005 Management Studio and have been encountering an interesting problem. Whenever I browse tables/views in the Summary window, and then select a table/view (by hitting enter or double clicking) Management Studio encounteres an unhandled exception (below). Oddly, this behaviour only occurs when the Summary window is in "Details" view. When in "List" view it works without any problems. Also, I don't encounter this behaviour with all the tables/views - Management Studio can access some without ...Show All
Windows Forms Host Designer
I'm following the article http://www.divil.co.uk/net/articles/designers/hosting.asp Ok well it's a pretty simple question. lets say I have a control with a Child_Form property ok, how to I select another form if only one is loaded in the host at a time. I figured out how to load another form but it shows up on it's own and I have to set the showintaskbar& ...Show All
SQL Server Calling Visual Foxpro 7 COM
Dear Experts, We are creating instances of COM Objects written in Visual FoxPro 7 in our SQL Server 2005 stored procedures. The problem is that VFP Automation Manager which shows number of connections to number of objects is showing 3 connections to 3 objects(instead 1 to 1). We are releasing the object in SQL Server 2005 using the sp_OADestroy @Object but the Automation Manager leaves 1 connection to 1 object. The Automation manager connection doesn't release all the connections. What effects is this having to our SQL Server 2005 installation and how can we avoid it We noticed that when we stop the SQL Service, connections t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture flickers when Rendering on primitives
I'm currently writing an dx-mesh-editor to create my own meshes, I use Visual Basic 6 with DX8.1 even if it's a little older and I have DX9.0c installed too. All fine so far. I'm using the D3DVERTEX-Type - drawn directly into world space (X,Y,Z) , also Normals and Textur-coordinates(tU+tV). My Cursor is a simple XMesh with some material but no Texture. So I have to call device.setTexture 0, Nothing before I render the cursor, which is the last Object in my scene. when I apply a texture to any of the primitives which are rendered first in the scene the texture applied on the primitives flicke ...Show All
Visual C# system.io.filenotfoundexception problem
I made something with DX9c, and on all pcs that are not this one this error shows up ( app name is BoE.exe and v is 0.1.1000.10000) EventType : clr20r3 P1 : boe.exe P2 : 0.1.1000.10000 P3 : 42c12222 P4 : boe P5 : 0.1.1000.10000 P6 : 42c12222 P7 : 1a P8 : 5 P9 : system.io.filenotfoundexception Kaetemi - Try posting this in one of the DirectX newsgroups. Here is a link for the Directx Support and Community: http://msdn.microsoft.com/directx/directxcommunity/default.aspx Thanks! Karen ...Show All
Windows Forms StartupPath vs ExecutablePath
Is there any diferences between StartupPath and ExecutablePath properties of System.Windows.Forms.Application class according to v1.0 docs it seems there isn't... so why both exist thanks and grettings from Peru, Rolando ...Show All
Visual Studio 2008 (Pre-release) Rendering XPS document other than using DocumentViewer Control ?
Now, i came to the problem of how to open XPS file with out using DocumentViewerControl, but draw the document in my way, and handle more events. Is it possible if yes , how can i made it. Thanks. You can use the DocumentPageView Control (in the System.Windows.Controls.Primitives namespace) to display a single page of a document that implements the IDocumentPaginatorSource interface (in the System.Windows.Documents namespace). Additionally, you can make of use APIs on the DocumentPaginator object exposed by IDocumentPaginator to receive pagination events and ask for page content sy ...Show All
Visual Basic taskbar group icon
Really didn't know which forum to post this in... but... I'm using Visual Studio .Net 2003 and the app is in VB.NET. I have Icons for each form, but when XP groups them the group Icon is that 'plain-jane' one. Is there a way (if so where) to specify the group icon Windows XP will use Thanks for any help! You should probably change your Project's icon. Right click your project in the solution explorer and hit properties, and on the Application tab you see a dropdown list with "Icon:" above it. That should get you on your way :) EDIT: Oh. I forgot you were using VS2003 not VS2005. I don't kno ...Show All
