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

Software Development Network >> Matt Birchall's Q&A profile

Matt Birchall

Member List

Praveen P
cpurick
rayden
hazz
gorshing
jschroeder
search and deploy
jwraith
Tyler Jensen
Shrek.NET
Noah Nadeau
Batikit
qrli
leibnizster
JaceHon
ronks
jph_problem
ArielNY
matthew lyden
Temenos Develop
Only Title

Matt Birchall's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Sprite Collision Detection

    I have a 2D game which I wrote some simple collision detection for, which works like the bounding box example. It detects collisions very well, the problem I am having is moving the objects back so that they are not overlapping. They move 10 pixels a move, so when they collide, they overlap. I want to be able to detect a collision, and move the object that caused the collision back to the point just before they intercept, i.e. not the last position, but somewhere inbetween the last move and this one where the two do not intersect. I hope that makes sense. S Hughes (Clarity Consulting www.claritycon.com) Do you have the link Having a little trouble finding the exact article, although I found some useful ...Show All

  • Visual C# MDI + Serial Port

    Hi,... I have a MDI application. I am using SerialPort class of C# in it... How i can use same instance of that SerialPort class in my application for all child forms of MDI... Regards, VInay You can use a class with a static propertie that will hold the serial port: public class MySerialPortHolder { private static SerialPort _serialPort; public static SerialPort Value { get { if (_serialPort == null ) { _serialPort = new SerialPort("..."); // TODO: Initialize serial port. } return _serialPort; } } } In all your forms you can so: SerialPort seriaPort = MySerialPortHolder.Value; ...Show All

  • SQL Server Help to a query

    Hi In acces i use this: [varebetegnelse] & " Med ordennummer:--" & [ordenummer] AS tekst Where [varebetegnelse] and [ordennummer] is column in my query How can i do this in a view in SQL Second also in acces i use a criteria based on a form like this WHERE (((kategori.katId)=[Forms]![samlekursus]![kategorinr])) How can i do this in a view in SQL I work from access cnoocted to SQL sever Regards alvin You will either have to do the filtering on the view (using the view as a mapped table and building a query in access on top of that) Select SomeColumns FROM Viewname WHERE (((kategori.katId)=[Forms]![samlekursus]![kategorinr])) Or use a parametrized query, passing the parameter to ...Show All

  • Visual C# Not sure where this should be but sort of a Math question

    Using Trig in a C# program or other (I mention C# because it is what I usually use now) I see strange results on what I try to do. (I would assume (sure) it is me) BUT I had this thought in my little old brain. The way I see it, Trig. is based on a true circle. However when I make a picturebox, panel or other it is always some a square or rectangle with my bitmap or Draw object within it. (Does Microsoft have a true circle Control ) If I want a theta, I 'think' it is sort of based on the mouse/joystick input from the picturebox/panel/whatever which is a square/rectangle.. Ont  << As in NOT the Circle I drew within it What am I missing I'm lost. As far as Iknow, you cannot have a true circle control. The algorit ...Show All

  • Smart Device Development Windows Media Player control and Compact Framework 2.0

    I am developing an app for PocketPC (Mobile 5, WMP10, VS2005, C#, CF2) that has to be able to playback wmv videos. Following Alex Feinman's directions ( MSDN , for example) I've been able to embed WMP10 control in a CF2 form and play videos. Well, till now I have just tested on emulator (device emulator 2.0 beta). My problem is that WMP control not behaves according to the changes I make on its properties. For example, If I change uimode property to none, WMP is supposed to hide playback&volume controls, but nothing happens. Fullscreen mode works but as I have not been able to catch click events, any click exits fullscreen and I didn't figure out yet how to detect that. Does anyone know if WMP10 control on PocketPC supports raising ev ...Show All

  • Software Development for Windows Vista DVD Playback

    Can someone tell me why i cant play DVD's with either media center or media player on windows vista Thanks same thing happen to me, media player classic can play it though. its only wmp and it says i have to lower my resolution but i did and it had no effect whatsoever. any thoughts of how to resolve this. btw i have an uptodate codes. ...Show All

  • Visual Studio deployment ON OS win98

    wen i try to deploy my application on win 98 it works perfectly but non of the crystal reports works ,,,, don't know y !!! does any buddy know no i m using the version tht came in packege with visual studio.net 2003... i don't know the version. actually i m the beginer , don't know many things. i have solved the above written prob. but now itz giving a new error .........." Invalid keycode " now wat is this the situation is same..... whole application is working perfectly but none of the crystal reports are running. no i m not using any merge modules...... i hv just placed a report viewer on a form and on form load event . . . . crystalreportviewer1.reportsource ...Show All

  • Visual Studio Express Editions Rich Text Box Editor

    Hello I am writing a program that opens a word RTF file in Visual basic using Rich Text Box load File command I wanna Know How could I print the file while it is in the Rich text box is there a way to print it and save it also is there a way to insert the word editor commands like changing Font Size and Color Thank You you can change the color and font by selecting the word you wish to change and perform the Selection command (like SelectionFont, SelectionColor etc...). To select the text, set the SelectionStart property and the SelectionLength property. Also be sure when appending text to use the AppendText() method otherwise the formatting may not be correct afterwards to p ...Show All

  • Visual Studio Team System Can you automate schema comparisons?

    Hi, Is it possible to automate the schema comparison feature The data comparison feature I don't need fine grained control--the default update actions would be fine. Thanks. The Save option does not exist in the RTM version, you can save the resulting update script of the schema comparison. Is there something else you would want to save -GertD ...Show All

  • Visual Basic Shadow copy in vb6 / vba apps

    hi all was wondering if it is possible to preform a volume shadow of a file that is in use in vb6 / vba so i can copy a file when it is in use source appriciated thanks in advance Kris Bennett i00, Thank you for your question! VSS (Volume Shadow Service) is a new feature in Windows Server 2003 that allows you to revert a networked file back to a previous version (or just look at it in an older state, if you wish). I found an article titled Setting up and Using the Volume Shadow Copy Service that provides the detail steps on setting up this service and hope that can help you: http://www.visualwin.com/VSS/ There is also an article in Microsoft TechNet on this subject: http://te ...Show All

  • Windows Forms Publish ClickOnce project with Team Build?

    Does anyone have any examples of how to create a Team Build BuildType that publishes the project similiar to the way you manually do it in visual studio I already have the BuildType created and working (it gets kicked off on a schedule). I've also created a BeforeDropBuild task that does GenerateApplicationManifest and GenerateDeploymentManifest that also works. This was a bit confusing -- when the BuildType is run not through the GUI many of the properties don't exist and most of the examples appear to assume they would. Anyway, these steps work in that the build does not fail. Somehow I need to publish the manifest I suppose, but I can't find any examples of how to do it. I'm not even sure I know the right questions to ask. Any help w ...Show All

  • Visual Studio Express Editions web textboxes

    Hi peeps, Does anyone know how to insert data from a vb form into a textbox on a website what I would like to achieve is automaticly log into yahoo mail with the selected username and password and return the current new messages in the inbox folder. hope somone can help, thanks. indeed its possible via say a webbrowser control. you need to know the name of that control and find it then set the innertext. : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=965578&SiteID=1   you can also hit the submit button should there be one Dim theElements as HtmlElementsCollection = Me.theWebBrowserControl.Document.GetElementsByTagName("input") for each currentElement as Htm ...Show All

  • Visual Basic Howto with textbox and variable

    I am loading a large textfile into a variable and into a invisible textbox. I have values loaded from this text box into other textboxes. I wait it so if someone edits something in one of the boxes to change it in the invisible textbox and/or the variable. I want to know I can search line by line for certain text in either the textbox or variable. Loading the textfile into a variable Dim StrContent as string = My.Computer.Filesystem.ReadAllText("Test.txt") Loading this into a textbox Textbox1.Text = strContent To update another textbox when something in a textbox changes use the TextChnaged Event Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game State Class - Sharing Information

    I'm using the default XNA game template for the time being, as I'm not intimate with C# yet. I'm trying to set up a game state stack, using a class derived from the game class. The GameState class has UpdateMe and DrawMe functions that basically call protected methods Update and Draw in the Game part of the inherited class. I also have a gameState handler class that has a stack of GameState objects that it keeps track of, etc. If I use this encapsulated method of game states, how do I share information between game states. For instance, if I have a menu screen that shows character info, how do I share the character's stats between the main game state and the menu state. I figured using static class members was a bit crude, but I'm unsure o ...Show All

  • .NET Development Memory Costs (Static class versus instance)

    Hi every one! I have a rather big class "A" (~2000 lines of code, and yes I wish I could break it up into smaller ones...) that is used for image processing by class "B" and now I would just like to ask you all a basic question about memory costs. I have a choice between making "A" a static class or creating an instance of "A" and pass a reference to it to "B" or making it a private static member of "B" or making it a private instance member of "B". The question is what would be the initial difference in memory costs between these approaches, if any Or to put it more general, is there a noticable difference between creating an instance of a (utility) cl ...Show All

©2008 Software Development Network