Mat Bowden's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Anti Aliasing in Textures
I am trying to use DirectX9 to draw into one texture and then use that texture in another scene. My problem is that any antialiasing that is done when drawing into the texture is lost when I draw the texture in the new scene. Here is some code that demonstrates the problem: void RenderScene(HWND hwnd) { RECT clientRect; GetClientRect(hwnd, &clientRect); if (s_pD3D == NULL) return; IDirect3DDevice9* pDevice = NULL; IDirect ...Show All
SQL Server SSIS SELECT / DELETE / INSERT
I am trying to do the following for a few tables in my DB. I have an ODBC datasource and would simply like to update my DB from this datasource. I want to pull the table data from my ODBC datasource, delete any existing data in my SQL tables and then insert the data from my ODBC datasource into SQL. I am trying to create an SSIS package to do this but am not sure where to start. Any help or examples would be appreciated. ...Show All
Smart Device Development Windows CE DVD Playback
I have a question about DVD Navigation Manager: When I've recieved VOBU, which consists of a single frame (Still menu), and rised a DVD_PLAYBACK_EVENT, the DVD navigation manager calls the IDVDNavigatorSink::OnPlaybackStateChange(DVD_STILLED) After this call all calls of IDVDUserOperation::StillOff returns a E_ACCESSDENIED. What is wrong Regardless E_ACCESSDENIED returning, "select" and "activate" operations are still available. W ...Show All
Visual Basic Reading a string from binary file results in "string
I sure hope I can get help with this. I seem to have a simple problem. I wrote an entire program without a single problem with Visual Basic 2005 Express but now I'm having a little trouble. When I read string data from a binary file I get "string (no closing quote) This presents a problem when I do a string comparison or when I try to put string1 and string2 on the same index line of a listbox. (You only see string1). I've tried so many di ...Show All
Visual Studio Team System TF86001: Team Foundation was unable to load the Office AddIn
After dealing with the daunting install process and getting it right, now I'm able to create projects and work with most of the items, however I found a new issue while trying to open any of the Excel sheets included in the default project team solution structure from WSS and I get that error, funny thing is that this only happens with XL files, since I can open Word and Project files with no issues Here's what I'm running on: Server: Wind ...Show All
Smart Device Development Message box options
hi, Is there a way to have buttons on the PPC MessageBox When I make the call: MessageBox.Show("Do you want...whatever ","Alert",ButtonEnum), the compiler won't allow the ButtonEnum. Not having a way to confirm is fairly clumsy. Any suggestions for a workaround besides entire "one size fits all" Forms. I'm using vs2005, wce 5.0, and the PocketPC template. Jim .NET ...Show All
Visual Studio .net with ms interactive designer error
first of all apologies if this is not the correct forum but i could not see any eid forums and its a .net issue when i run a project test in eid i get the following error: could not locate the .net framework sdk. the task is looking for the path to the .net framework sdk at the location specified in the sdkinstallrootv2.0 value of the registry key hkey_local_machine\software\microsoft\.netframework. you may be able to solve the problem ...Show All
Visual Studio Team System Team System Builds and dropping an MSI
Hi, I just started using Team System this week, and I've been able to muddle along fairly well, but I've just discovered something that to me is a real show stopper. And based on the searches that I have done in Google and in these forums, I'm beginning to think there is something fundamental I missing based on the small number of responses to this problem. My problem is that the team system build does not build the Setup projects ...Show All
SQL Server Cannot Install SQL 2005 Failed to compile the Managed Object Format (MOF) file
Hi, Anybody know what the following error cause is and how I can remedy. I've tried twice to install SQL 2005 release version but database services will not install. Product : Microsoft SQL Server 2005 Product Version : 9.00.1399.06 Install : Failed Log File : C:\Program Files\Microsoft SQL Server\90 ...Show All
Windows Forms Memory leak, windows form containing an activex component.
Hello All, We have developed a windoes application, in one of the forms we are using an activeX control xpdfviewer ( http://www.glyphandcog.com/XpdfViewer.html ). I was looking at memory usage using the scitech memory profiler( http://memprofiler.com/ ), i found that even after the form containing that activeX control is closed, a live instance of the form is showing, but when i try to get the details of it, it says this instance has been ...Show All
Visual C# Global variable
I have a windows applicaton written in c#. How can I store a connection globally so that I can open it at the beginning and keep until exit from the application If it's a database connection, it is recommended to open and close it everytime you are doing a query (connection pooling will handle everything). Here is a simple way to do a global variable. class Global { public static string PublicVariable; } // ... Global.Public ...Show All
Smart Device Development Create and Print PDF document
I have a Vodafone v1640 (also called I-mate jasjar). I've written a program to create a PDF file. How can I print the a PDF file from my c# application On the pocket is installed a ClearVue PDF but it doesn't print file, only view. I've tried to install the Acrobat Reader but it doesn't start. I supposed it isn't for Window Mobile 5. Thanks Hi Michele, I am Prashanth. I too is having the problem what you are facing. In your m ...Show All
Visual Studio Express Editions Visual C++ 2005 Beta 2 breaks when trying to view project options
In Visual C++ 2005 Express Beta 2 when I goto project options, I get a message box that says: "Failed to create Frameworks PropertyGrid component. Please verify that the Common Language Runtime and .NET frameworks are properly installed." I am running Windows XP Pro with SP2. I've already tried installing VC++E 2005 B2 twice. I ran the cleanup tool with Beta 2 already installed and it seems to work fine now. ...Show All
Visual Studio 2008 (Pre-release) Maximize a page based application on startup
You can instruct a WPF application to maximize itself on startup and to hide its border (so it takes up the entire screen, no title bar or anything) by adusting the application's window object's WindowState and WindowStyle properties. I'm making an application that navigates between several Page objects. Since I don't have a Window object how can I make the application maximize itself and hide its border on startup -Ryan rfuller987 ...Show All
Visual Studio Team System Test Mix - How does it work?
Hello, I created a load test of 12 different Web Services. Each web Service request is in its own test (.cs file). I added each test to the "Test Mix" with different percentages. when I run the test with an increasing number of users and monitor at the DB level the requests seem to be grouped in bursts of similar Web Services requests. Is there any documentation on how the test mix randomizes test script execution I would hope that ...Show All
