Dave Waterworth's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Private Network Functionality with XNA
Hey guys, Does anyone know if there will be any networking API included with future released of XNA Im not looking for developing for Live! but for a custom client/server structure. Any insight would greatly be appreciated. ...Show All
Audio and Video Development DXVA convertion
Hi, I have a mpeg2 video stream (m2v file extension) and I want to convert it into DXVA standard format in order to feed the IDCT and MCP block. I am totally new to DXVA. - Where can I get access to DXVA by just download DirectX SDK edition - Moreover, I wonder how to do the conversion from a bit stream to DXVA standard format, can anyone help me Thanks, Brian Here is what one of our DXVA experts had to say about this: The best way to start writing a DXVA2 decoder is to study the DXVA1 decoder documentation first. The data written to the DXVA compressed buffers is identical between DXVA1 and DXVA2. The DXVA1 documentation can be found here http://msdn.microsoft.com/library/default.asp url=/l ...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 C# Save an image wit GDI+
Hi.. After I draw some objects with GDI+, I want to resize my scene and save this as a bitmapimage. The quality of the image becomes worse after the resizing and saving. What should I do Thanks.. Try this code: Bitmap bitmap = new Bitmap(50, 50, PixelFormat.Format32bppPArgb); using (Graphics g = Graphics.FromImage(bitmap)) { // Note this: it controls the interpolation algorithm used to scale the image g.InterpolationMode = InterpolationMode.HighQualityBicubic; Rectangle dst = new Rectangle(0, 0, bitmap.Width, bitmap.Height); Rectangle src = new Rectangle(0, 0, memoryBitmap.Width, memoryBitmap.Height); g.DrawImage(memoryBitmap, dst, src, GraphicsUnit.Pixel); } ...Show All
SQL Server rsLogonFailed and that's it for TFS reports!
On our newly installed Team Foundation Server I cannot see reports. All I get is this error that the logon failed (when selecting e.g. "All Work Items" from Team Explorer og navigating directly to the report in a browser on the TFS server) Logon failed. (rsLogonFailed) Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E) Now, I have googled and searched, but have been unable to resolve this issue. I have added my TFS reporting account to all sorts of groups and granted all sorts of rights (log on locally etc.) I have worked the various options of the http://localhost/Reports/Pages/DataSource.aspx ItemPath=%2fTfsReportDS tool (and TfsOlapReportDS) to no avail. For both data sources it is se ...Show All
Smart Device Development RFID with Keyboardwedge
Hi, I have a Ipaq with rfid reader. When I am in notepad/word i can press a hardwarebutton and the id of the rfid tag will be entered by the keyboardwedge. So I thought oke lets do that in a c#program :) It works when i have a textbox with focus. My problem is that i dont have a textbox on the form and i dont want to put one because an user isnt allowed to see the id. I used the keypreview = true and a key_down event. When I scan the event is triggered but only once and i get a keycode=none . Does anybody know how to solve this or any other easy way to create an 'automatic' keyboardwedge Grtz Annihil8 Hi, I've tried that but the HW button of the device is not a standard button. It is a tri ...Show All
Visual Studio Express Editions Nasty error, need help.
------ Build started: Project: OpenGL Test, Configuration: Debug Win32 ------ Linking... OpenGL.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function _WinMain@16 C:\Documents and Settings\Deru\Mina dokument\Visual Studio 2005\Projects\OpenGL Test\Debug\OpenGL Test.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at "file://c:\Documents and Settings\Deru\Mina dokument\Visual Studio 2005\Projects\OpenGL Test\OpenGL Test\Debug\BuildLog.htm" OpenGL Test - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== And the problem is, I copied this from an tutorial so i'm kinda sure it's supposed to work. I've followed the install ins ...Show All
SQL Server How to reset Reporting Manager security to default state?
Hi, I have some problem with my report manager. Even I login as administrator, which is the content manager, I still can't access to the security setting. I can't even see all my report projects, not even the "Properties". All I see is "Home". I guess this is because before this happen, I add administrator as a "browser" only(and many more other users as browser...), but the "Builtin/Administrators" remain as content manager. So, I wonder is there a way to reset everything so I can back to the track Thanks in advance. ...Show All
Visual Basic Wizard Generated code and regions
Hello folks, I know this is answered somewhere here. Just can't find it so I'm sorry for asking this simplistic question. When working with wizard generated code where does one specify the #region that the code should be entered into. I'm finding it most annoying that the generated code is always ending up in my main class view window and cluttering it up. Thanks for any ideas folks... Is this a project that you created via the wizard in VS2005, manually in VS2005, or was it an upgraded project For Vs2005 projects, the designer code should be hidden inside the formx.designer.vb file (you need to show all files for it to show up). If you don't have the file, or if you changed the loc ...Show All
Visual Studio Team System bissubscribing events
1. on tfs server i have run: bissubscribe /eventType BuildCompletionEvent /address a@b /server tfs /filter "TeamProject='project'" /deliveryType EmailPlaintext 2. on VS2005 i run the build 3. the email notification received this is ok but if: 1. bissubscribe /eventType WorkItemChangedEvent /address a@b /server tfs /filter "TeamProject='project'" /deliveryType EmailPlaintext 2. on vs2005 add a new bug/task or change it 3. no email any suggestions So take a look to the table where subscriptions are stored in the TfsIntegration database on server, maybe it is not recording properly the subscriptions, and also check about casing of the event name as it is case sensitive ...Show All
SQL Server Mirroring between Standard and Enterprise editions...
Hi All, We are going to use database mirroring and database snapshots for reporting. The principal server runs SQL Server 2005 Standard Edition and mirror (reporting) runs SQL Server 2005 Enterprise Edition (64-bit). I failed to setup database mirroring trough GUI using SQL Server Management Studio and got this error: This mirroring configuration is not supported. Because the principal server instance, <server_name>, is Standard Edition, the mirror server instance must also be Standard Edition. But when I use T-SQL commands I was able to setup database mirroring and it works OK so far. SQL BOL says that one of requirements for database mirroring is to use the same SQL Server editions but I am wondering if it wor ...Show All
Smart Device Development Incomplete VS2005? (missing emulator and sql mobile)
I recently installed Visual Studio 2005 on both my desktop and laptop and have had issues with accessing various capabilities in the mobile device development side. The most obvious of which is that the device emulator appears to be missing from my installation. The deviceemulator.exe could not be found in the program files. All the emulator images appeared in the debug drop-down, but I was only able to get the emulator working when I installed the stand alone version and accessed it separately from Visual Studio 2005. In addition, I do not have a device emulator manager option in the tools menu. In addition to my problems with the device emulator I also had to download and install the .N ...Show All
SQL Server Use Variable as Table Name
I am trying to write a stored procedure that accepts a table name as an argument and then displays all of the columns of the table. My code does not work and I don't know why any ideas set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo] . [selectTable] @tableName varchar ( 50 ) AS select * from @tableName ; I get this error: Msg 1087, Level 15, State 2, Procedure selectTable, Line 5 Must declare the table variable "@tableName". Please help. ...you're trying to add int to varchar which won't work. try changing from: set @sql = 'select * from ' + @tableName + ' where ID = ' + @ID + ' ' ; To: ...Show All
Windows Forms Best Practices for detecting new versions / ClickOnce
Dear Sirs: The architecture of our app is : BR/UI layer deployed using ClickOnce to WinForm clients ( a la R. Lhotka CSLA framework) DC layer providing DTOs (Data Transfer Objects) to BR - communicating using WebServices (WS) hosted in IIS. DB layer communicating using SQL with DC. Using this scenario, a new version means: (sometimes) changes to DB schema new ClickOnce deployment of BR/UI Layer. replacement of ASMXs / dlls at DC Layer Web Services Server. Accordingly, it is important that the BR Layer deployment be done ASAP to the win clients after updating WS Server. Currently we check for updates when app starts, but that only happens daily, and in some cases weekly. We thought about the following alt ...Show All
Windows Forms Reaching other form's variable
Hello everyone.. I am new at this forum and this is my first message.. I want to learn how to reach other form's variable.. Basicly can you help me how can i send variable " a " from form1 to form2 namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } int a = 6; Form2 c = new Form2(); } } rauhanlinnake thank you for your suggestions..but i think i do something wrong.. this is the code of form1: /////// namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private int a=6; Form2 c = new Form2(); c.A=a; /*Invalid token '=' in cl ...Show All
