Software Development Network Logo
  • SQL Server
  • VS Team System
  • Visual Studio
  • Visual C#
  • IE Development
  • Microsoft ISV
  • Visual FoxPro
  • .NET Development
  • SharePoint Products
  • Windows Vista
  • Visual Basic
  • Game Technologies
  • Audio and Video
  • Windows Forms
  • Smart Devicet

Software Development Network >> Matthijs Koopman's Q&A profile

Matthijs Koopman

Member List

helsingfors
Chris Bailey
DaveDB
Wil Burton
Daikoku
OEIL2MOSCOU
newbie777
DQM
prodonjs
adgross
dextrose
NitinViswanathan
Chinwa KneeHo
MatthewVincent
Andre Odendaal
KirkAtCenterstance
Thibaut Barrère
elpepe
johnny_no1_boy
LaViMa
Only Title

Matthijs Koopman's Q&A profile

  • Visual Studio 2008 (Pre-release) Print the contents of a form

    Using WPF, I have laid out a really nice looking form on the screen. Is there a way to send it more or less as is to the printer Or do I have to start over from scratch writing print code. I've done this before and I got mixed results with hosting a Windows Forms control inside a WindowsFormsHost then attempting to use PrintVisual on it. It does work so you may want to try it (I've never done the ActiveX hosting though). ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tool for auto HLSL Generation?

    Are there any tools out there to enable the graphical building of a shader network, such as in Autodesk Maya's Hypershade tool or Softimage XSI's RenderTree tool, which can enable you to use a GUI to set up an object's basic material properties and then automatically generate the appropriate HLSL shader fragments needed to reproduce the material effect in your game without having to manually write HLSL files Certainly, if you want to create complex shader effects, you would need to be able to edit the HLSL or manually create new custom HLSL files, but for creating HLSL files to render basic, standard material properties, there really should be a graphical tool to take some of the work and difficulty out of it. Such a tool should allo ...Show All

  • SQL Server incorrect syntax near '\'

    hi! i'm using a linked server and currently executing this query: "insert into tbl_local ( fieldname )" + "select * from openquery( server\instance_remote , 'select fieldname from db_remote .dbo. tbl_remote' )" ; when i run this on a C# program it gives me the error of 'incorrect syntax near '\''. What should i do with this please help!! Xeleste wrote: thanks for the suggestion but it still didnt work.. Moved this thread to SQL Server Data Access in the hope there are the people that can solve it! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Microsoft.DirectX and Microsoft.Direct3D NOT LISTED IN REFERENCES LIST!

    In Coding4Fun in MSDN WebSite, it says to add references: Microsoft.DirectX Microsoft.Direct3D But, I don't have any DirectX in my .NET References list! Can someone help me Why aren't they there ...Show All

  • Visual Basic vb 2003 building a addin for ie 7

    Hi all, I've been working on this project for a while now and i cant get around some problems. i am using http://www.codeproject.com/csharp/dotnetbandobjects.asp    and http://www.codeproject.com/Purgatory/VB-IE-Toolbar.asp   and http://www.c-sharpcorner.com/UploadFile/scottlysle/TTSinVB12202006001423AM/TTSinVB.aspx for reference. I referenced the bandobject and sucessfully created a button on the toolbar. But when i add the speech in to my coding there i get locked up. Because the speech doesnt have strong name key file i cant get my project to build. If i remove the line <Assembly: AssemblyKeyFile("..\..\BandObjects.snk")>  from my code then i can build it. But then i cant C:\Doc ...Show All

  • Visual Studio Transparent Images

    If I have an image in a report is it possible for the report items that are behind it to show up if the image uses transparency I have tried but I can't seem to get it to work. If you put it as report background and it had white background, it becomes transparent (don't ask why ). Otherwise you can move items with KEYBOARD arrows on top of image item. ...Show All

  • Visual C# Creating "in memory" Files

    Hey Everyone I am writting an application where I want to create a file in memory, that may not be the right term, and then send in via an email to several people. By "in memory" I mean that I dont actually want to have the program create a file that would be on the hard drive. What I want is the file to be temporary but be able to be emailed. Can I do this and if so how Thanks Kenzie You can use a MemoryStream or a StringStream, both of which act exactly like FileStream, but keep their data strict in memory. When it comes time to create the email, you can attach a Stream (of any form) to the message. ...Show All

  • SQL Server SQL Query

    I have a query that i created which searches all logs to see what users did on the website for the COMPUTER account. SELECT u.ID, u.LastName, u.FirstName, u.Company, ua.AccountID, wsl.SessionBegan, wsl.ServerName, wal.Activity FROM [User] u INNER JOIN UserAccount ua ON u.ID = ua.UserID INNER JOIN wwwSessionLog wsl ON u.ID = wsl.UserName INNER JOIN wwwActivityLog wal ON wsl.SessionID = wal.SessionID WHERE (ua.AccountID = 'COMPUTER') AND (wsl.ServerName = 'www.test.com') AND (wsl.SessionBegan > DATEADD(Month, - 6, GETDATE())) ORDER BY ua.AccountID What i would like to do is the following reformatting: LAST Name | First Name | ACCOUNTID | Aug 06 | Sep 06| Oct 06| .... | Jan 06| Feb 06 The activity should be ordered by t ...Show All

  • Visual Studio Visual Studio SP1 Won't Install

    Hello, I tried to install VS 2005 Service Pack 1 and received the following message from the installer: "The upgrade patch cannot be installed by the Windows Installer Service because the program to be updated may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch." I'm running VS 2005 Tools for the Microsoft Office System, vs 8.0.50727.363. I noticed that the download page for sp1 states that it is for VS2005 Standard, Professional, and Team Editions. Is the problem I'm experiencing due to the fact that I'm running VSTO or is it something else Thanks for the Help! RIManning ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Render target save'n'restore

    I've a func that do some work including rendering into rt. So, i need to save old rt at the beginning of my rendering, and then restore it at the end ( when smb call my func, he may have rendering to texture enabled, or just rendering to the backbuffer, and he don't wont to worry about restoring his rt after call of my func ). Is there any way to implement such a behaviour using XNA Probably you don't understand. I need to perform transparent rendering to texture in my library, and my user doesn't expect that currently active render targets will change after function call. He can render things into backbuffer, 2d or cubemap rt, so i need a way to get, save and then restore the render target currently set ...Show All

  • Software Development for Windows Vista Requirements for client machine

    Hello Everyone, Just pondering over one question. Is Cardspace going to be available to only those people who have .NET 3.0 framework installed on their machines I mean, if I am a normal end-user and I want to login to a site using Windows Cardspace, can I do that without installing .NET 3.0 Thanks & Regards, Nishant .NET 3.0 is required for CardSpace. There may be more Identity Selectors in the future that don't rely on .NET 3.0, but there are none complete so far. g Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation blog: http://blogs.msdn.com/garretts ...Show All

  • Visual Studio Tools for Office Word Interop Hangs When Deployed To Server - Help!

    Dear all, I have developed a method in C# which creates an instance of Word, adds a document, then populates the Word doc with some text.  It then saves it, closes the doc and quits Word.    Now this is the problem: The method works perfectly on the command line and through IE on my development machine (Win XP Pro, Office 2003) but it fails to work on the server (Windows 2000 Advanced Server, Office 2000) when called through IE (it works fine through the command line even on the server!)  I can see (using ProcessExplorer) that the instance of Word is being created and is sub-process of svchost.exe and that the actual Word doc is also being created on the hard disk.  However, the ...Show All

  • SQL Server SSIS Crashes while validating Data Flows

    Hi all, I'm stuck here when I try to open an existing package which contains several data flows, SSIS tries to validate each data flow and after a while a Visual Studio error message pops up and I can't do anything.  The error message says : "Unable to cast COM object of type 'System._ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject90'. This operation failed because the QueryInterface call on Com component for the interface with IID '...GUID...' failed due to the following error : The application called an interface that was marshalled for a different thread. (Exception from HResult: RPC_E_WRONG_THREAD)" Did anyone has seen this error message Any help will be appreciated. Sebastien ...Show All

  • Software Development for Windows Vista streams.h

    I've got some older examples that I'm trying to compile, and I can't find a header with some of the base classes. The source that I have says they are in Streams.h, but I can't find the file among the latest Platform SDK. Help please... Kaychoro Because you should use instead the "Microsoft Windows Software Development Kit for Windows Vista" http://www.microsoft.com/downloads/details.aspx familyid=C2B1E300-F358-4523-B479-F53D234CDCCF&displaylang=en which contains streams.h in the DirectShow BaseClasses folder. This SDK runs also on XP. ...Show All

  • Visual C# know if a file is in use

    Hello, I'm trying to write a file and my program fails because the file is in use. I get the following error: Could not write to output file 'c:\temp\MyFile.txt' -- 'The process cannot access the file because it is being used by another process. Is there a way I can avoid this error, and ask before trying to write the file if it is in use or not Thanks, As I said before, the way to do this is to attempt to open the file and catch the exception. I understand why that does not appeal to you, but consider the following situation: Process A checks if file is locked, it isn't Process B locks the file Process A attempts to open the file, and fails There is no situation using a lock test in which Process A wo ...Show All

©2008 Software Development Network