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

Software Development Network >> SnowJim's Q&A profile

SnowJim

Member List

tthulin
Enigma_Mr_E
TheBlackDahlya
Whoisit
Gordon F
km_Chary
XNA Rockstar
Geogy
Sneha Desai
CodeJingle
thelonesoldier
CJ1983
Paul Mason
Glenn Wilson
TiborK
Frances83
ivods
Shippa
ahmed921983
Radith
Only Title

SnowJim's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Need XNA on a WinForm?

    I was able to create this in a WinForm with my previous knowledge on MDX. Most of it was basically the same process, aka writing an initialization method, and a render method. The compilation is much faster than XNA Game Studio Express - roughly only 4 seconds as opposed to 30-40 seconds. Anyway, enjoy... just include the Microsoft.Xna references. I wish there was a code block to put this code in, but this will work for now. Program.cs: using System; using System.Collections.Generic; using System.Windows.Forms; namespace WindowsApplication1 { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [ STAThread ] stat ...Show All

  • Visual C# vs2005 designer fails to open form converted from vs2003

    I have about a dozen of so projects that all share a number of menu click processing functions, which are implemented in the base class. Under 2003, it worked out fine. But I am getting "The *** method cannot be the method for an event because a class this class derives from already defines the method" when I tried to use the designer with vs2005. I assume that is by design Is there a way to get around this problem so I do not need the functions in all projects Dave, I'll ask around to find out whether this is by design (and why). For the moment you can get the forms designer to show the form by moving the Click event attachment (+=) into the constructor and out of InitializeComponent. For e ...Show All

  • .NET Development Object List in C#

    Hello, coming from C++ and using a lot of MFC stuff, I wonder what object exists in C# which does the job of a CObList in C++ I mean being serializable and being able to stock different types of runtime class objects. Thanks for any further information ... Best regards MMM You can retrieve the object as type Object and use GetType() on the returned object to get information of type the object is. Serializing and deserializing should still be automatic, as every objects serialize/deserialize code will be called upon serializing/deserializing the arraylist. -- SvenC ...Show All

  • SQL Server Need infos before installing SQL Express 2005 SP2

    Hi, I noticed that SP2 was finally released. A few question before I dive in that install: - Must I uninstall anything before installing SP2 - Considering that fact that I keep a copy of each install programs on a disk in case of crash recovery, must I keep SP1 files as well as SP2 files or can I consider that SP2 is complete by itself, that it completely overwrite SP1 and so delete SP1 files and just keep SP2 files for backup - If I also have Compact Edition installed, is there any SP2 issued for it - Is there a place where I can sign in so I can receive some sort of email notice where an upgrade is available for download for SQL Server 2005 as well as for Visual Studio 2005 Thanks in advance, Stephane ...Show All

  • Software Development for Windows Vista MAPI Forms Library provider without Outlook

    Hi, Using the new "Microsoft CDO & MAPI" download we have sucessfully been able to create profiles and logon to send and receive from Exchange mailboxes without any Outlook installation; the purpose being to deploy a mail enabled server application. In our company "client" applications such as Office are not allowed on servers for security and maintenance purposes (hope you appreciate that - I think this is common in larger companies, have seen many posts from people who must do MAPI but cannot do Outlook). The problem is that although we have also implemented working calls to create and send messages with Forms, it does not work on the server with Forms, just with full Outlook installed or with plain text or HTML messa ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Musician: Looking for a project/s to work on.

    Hello, Wasn't sure if this forum was the correct place to post, but I thought it wouldn't hurt to try. Anyway, I am an avid gamer who also loves to make music. I am looking to 'pimp' myself to potential XNA game projects in need of a musician. I've had a little bit of experience: Music for Battlefield 1942 mod - Battlegroup42 (menu and level loading music). Music for Tribes Vengeance Trailer - this was a competition I won. Here are links to them musical pieces mentioned above,  and a link to my electronic music band's website which features lots of tracks. BG42 menu music 1 Tribes Vengeance trailer music An orchestral piece and my band's website where you can find lots of ...Show All

  • SQL Server Using FreeTextTable Conditionally

    Hello all! I have a stored procedure that accepts a parameter @SearchTerm that may be null. In my WHERE clause, I check for all records where @SearchTerm is null, or are LIKE '%' + @SearchTerm + '%' when not null: SELECT (some records) FROM (some tables) WHERE @SearchTerm IS NULL OR (some fields are LIKE '%' + @SearchTerm + '%'); I am trying to use FTS with a FreeTextTable to make our search ability more robust: SELECT (some records) FROM (some tables) JOIN FreeTextTable(tableName, columns, @SearchTerm) ft ON ft.[KEY] = tableName.[KEY] However, because @SearchTerm can be null, meaning the user is not filtering our records by a search, doing a JOIN to a FreeTextTable throws an error (cannot have null as search string). Ple ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Drawing Bitmaps to IDirect3dSurface9

    Sorry, the thread in DirectX 101 is wrong Hello, first of all i want to render a video stream to a IDirect3dSurface9 (in the beginning on the primary display device later on a secondary monitor) so at first i'm trying to draw a simple bitmap on the surface... i've created IDirect3d, IDirect3DDevice9 and IDirect3dSurface9 objects... and i've got a window that i've registered and created. It doesn't matter if the bitmap/video is in the window or not. better would be if it were in the window. how can i do it i've tried it this way: pPrimary->BeginScene(); pSurface1->GetDC(&hdc); hdcMem = CreateCompatibleDC(hdc); old = (HBITMAP)SelectObject(hdcMem, hBitmap); GetObject(hBitmap, sizeof(BITMAP), &bm); BOOL ...Show All

  • Visual Studio Getting CodeElement from file path

    I'm want to "parse" a c# file to find out what classes and methods it includes. I have only file path. I have found that for parsing I can use CodeElement class. How can I get this class using file path Hallo,    To examine the code model of a project and the code elements in a file:     1) The project that contains the file must be loaded in VS. You cannot parse the code model of a file through automation if it's not part of a loaded project, unless you develop a parser of your own.     2) You need a reference to the VS application object (DTE). If you're developing an add-in: ----------------------------- This was already passed to you th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scrolling a 2D Background

    New tutorial on scrolling a 2D background on my site XNADevelopment. This is the quick and dirty approach. It covers creating the project, adding images to the project and scrolling those images horizontally in a continuous loop. I've posted the tutorial and the source code if you're interested. So far, I'm SUPER impressed with XNA development and just how easy it has been. The support from the XNA developers in the forums here has just been outstanding. These guys are really going over and above helping out all of us XNA newbies as we struggle to fly and learn the ropes. I'm also just amazed at the variety and number of tutorials being put up each day by sites in the community. If you haven't been to these sites yet, I highly recommend th ...Show All

  • Visual Studio Express Editions Set two methods to the same button_click

    I have a problem to set two methods to the same button_click: One method is called 'grabber' and grab a picture from a video stream and display it to a picture box. The other method simply save the picture from the picture box. They both work if i use two buttons. If a click to grab the picture and then click to save it...no problem . If I use 1 button to do both methods (first grab and then save) it doesnt work , and visual shuts the window form and a yellow arrow appears on line saving command line. If someone had this problem before or just know the answer to my problem, a little help would be great. Thank you. private void Detect_Edge_Click( object sender, EventArgs e) { grabber(); //saver ...Show All

  • Audio and Video Development Pixel Buffer Questions

    Where in the spec is the Pixel Buffer discussed My kingdom for an index. Is the Pixel Buffer for markup elements only Or does video also use the Pixel Buffer If I scale a 10x10 image to 10x20, is the Pixel Buffer footprint 100 or 200 It's supposed to have a footprint of 100 pixel. Take a look here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=765076 ...Show All

  • Visual C++ Always Recompile unnecessary files (not modified files) [SOLVED]

    Hi, I'm having trouble with Visual Studio .NET 2003. I was developing an application for one year ago and when I clicked to build solution, it compiles only the files that where modified. Since one month ago I have reinstalled Windows and Visual Studio and when I try to build the project, it always compile all the files in the project. I don't understand what's happening because I didn't changed any option. Thanks, -------------------SOLUTION------------------- Hi, finally I have found the problem. I have a "definitions.h" file that contains some definitions. One of this was the PI number. Now I have deleted this definition and I use the M_PI constant from "math.h". I don't understand why but now the project only builds if I make any chan ...Show All

  • Visual Studio Team System Code Analysis Failing to build due to comdef.h

    I get the following error when trying to run code analysis on one of our apps. When VSTS tries to compile it it bombs in comdef.h Error 1 error C2220: warning treated as error - no 'object' file generated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\comdef.h 264 Warning 2 warning C6386: Buffer overrun: accessing 'argument 1', the writable size is '1*0' bytes, but '32' bytes might be written: Lines: 233, 234, 241, 251, 252, 253, 254, 258 c:\program files (x86)\microsoft visual studio 8\vc\include\comdef.h 258 Any Clues on a work around It is VS 2005 team system configured for a tester on Vista 64 bit RC2 build 5744. I did find by running code analysis on the release config it ...Show All

  • Windows Live Developer Forums Dynamically load API JS file kills IE6

    I'm trying to load the veapi.ashx file dynamically, but I'm having a big problem with IE6, please test the following code out in IE6, you will need to clean your cookies and cache, to do that in IE6 you need to go to Tools --> Internet Options -->Delete Cookies & Delete Files.. and close all your IE, and start IE6 with these code.. <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script> var map=null; function include_js(file) { var html_doc = document.getElementsByTagName('head').item(0); var js = document.createElement('script'); js.setAttribute('type', 'text/javascript'); js.setAttribute('src', file); html_doc.appendChild(js); js.onre ...Show All

©2008 Software Development Network