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

Software Development Network >> Scott Boyd's Q&A profile

Scott Boyd

Member List

Suman Ghosh
Knudde
Douglas Stockwell
ZopoStyle
ruben_itlp
April m
gmaenrile
Socrates Kapetaneas
JezPop
RSHORE
Stefan Wrobel
antcasq
cdolor
Evan Mulawski
Michael Hansen
boulderbum
Santosh A H
sunrunner
Debugger Zero
Eric45458
Only Title

Scott Boyd's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. z-buffer sorting?

    In experimenting with drawing multiple objects on the screen, I've found an interesting situation. I the picture below, the larger craft is closer to the camera, the smaller craft away from the camera. But if you look at it, the larger craft cuts into the shape of the smaller one, even though it is far enough away not to do that. In my drawing code, I know I'm drawing my smaller craft after the first, so there is clearly some kind of z-buffer problem. What I don't know is how to decide which object to draw first reglardless of camera positioning, or even if XNA has any help with that. Any ideas http://www.spellflight.com/images/zbuffer.PNG It's simple, just set these two render states before you draw y ...Show All

  • Visual Studio Express Editions graphlite and vc++ express

    Hello. I need to create a graph in my program, and I am unsure how to do so. I can't find any resources on this matter, and no one seems to answer any questions about graphing in vc++. I found the graphlite COM component included in vc++, but I am unsure on how to use it. I can't find anything from searching the internet that is very useful. I am in desperate need of this information. Could someone please help me Hello Depending on what kind of graph you want and how you want to use it, you could look at using Excell; the Office Solution Development newsgroups may be able to help you: http://msdn.microsoft.com/newsgroups/topic.aspx url=/MSDN-FILES/028/201/008/topic.xml And please ...Show All

  • Smart Device Development How to install Microsoft SQL Client 2.0

    I'm desperately looking for an answer. I'm developing a Pocket PC 2003 application using SQLClient 2.0. My question is how to deploy the SQLClient 2.0. I have "sql.ppc.wce4.armv4.CAB" and "sqlce20.ppc.wce4.armv4.CAB". But I don't know how to install these CAB to my Pocket PC. Can somebody help me on this Hendra MezKal, Thanks for your input. But I have resolved the problem by creating a simple Windows Installer that install the SQL Client 2.0. Hendra ...Show All

  • Visual C# user settings not the same for debugging

    Hi, anybody got a solution for this, its driving me mad. When I go to debug my application it is clear that the user settings are entirely different from when I just run my application, I see the two folders and their local user.config settings. during development i'd like to see these as one file, so if I find an error i don't have to duplicate the same settings when I go to debug the app. its getting a little tedious! cheers I mean there are two folders under C:\Documents and Settings\spang\Local Settings\Application Data\myappname one is myappname.exe_Url_<md5string> and the other is myappname.vshost.exe_Url_<md5string> which is the debug settings ...Show All

  • Windows Forms IsMdiContainer

    Is it possible to define the size of the MdiContainer Sorry the bad english. Thank you. I want to restrain the MdiContainer Area on a Form but i just cant size it like another object :| MdiParent.Size = new System.Drawing.Size (100,100); i get this error: An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication2.exe Additional information: Object reference not set to an instance of an object. ...Show All

  • Windows Forms Is there a way to convert a control to a different type of control?

    I want to convert a textbox into a label. Is this possible Short answer: No. Since System.Windows.Forms.TextBox doesn't inherit from System.Windows.Forms.Label, you can't do this conversion. Could you please elaborate a bit on what you are trying to accomplish here You could create a new label and assign the value of the TextBox's Text property to the Label's Text property. Or you could make the TextBox read only and change its BorderStyle to BorderStyle.None to make it look more like a label... Best regards, Johan Stenberg ...Show All

  • Visual C++ help with linked list

    I'm having some problems with linked list. I'm working on a small program that deletes a node somewhere in the middle of the list. I don't seem to understand what is wrong with this code below. I know the syntax it correct, but when I try to delete a node somewhere in the middle, it deletes that node just fine, but I believe that I'm not tying my pointers together right. Deleting is not the problem, the problem comes when I display the list again. I will display before I delete the particular node I want, but after the node is deleted, it crashes the program when I display the list. I've tried this one several different ways. (#1, using a temp node to "bookmark" my spot at the node(current) for deletion) temp=current; pr ...Show All

  • Visual C# execute program

    How to execute "msiexec /I ...." i tried through Process.Start, but it doesn't work Try to specify the absolute path or add the path to your path environment variable. I am guessing that the system does not know where to look for msiexec. A quick test would be to open a command prompt and type in msiexec and see if the command is recognized. ...Show All

  • Visual Studio Express Editions Basic class help......

    Hi, I'm trying to create a static int and I'm getting the following error... Error 1 error LNK2001: unresolved external symbol "private: static int moodyCritter::_threshold" ( _threshold@moodyCritter@@0HA) critter.obj Here is a snippet of code... class moodyCritter: public critter { private: int _angerLevel; static int _threshold; Any ideas When you define a variable within a class as static, it is actually not part of the class object. Instead it is declared only within that scope, but needs to be defined in any file that uses it. Example: class A { public: A() {}; ~A() {}; static int myStatVar; }; int A::myStatVar; int main() { } ...Show All

  • Smart Device Development Doubleclicking the touchscreen?

    I have been unable to get Double-clicks to work with a touchscreen. I am calling ModifyStyle with CS_DBLCLKS, that doesn't seem to be working. Does Windows Mobile 5 actually support double-clicks Amit Ranjan wrote: You would need to register windows class with CS_DBLCLKS style. Hope it helps Thanks and Regards Amit I am doing that via ModifyStyle() (ref: original post) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xna racer, how and when can i get it

    i saw this thing on something called xna racer, and it amazed me that we could do this with xna http://www.kotaku.com/gaming/xna/clips-xna-racer-preview-213594.php does anyone know anything about getting this David Weller - MSFT wrote: andyfraser wrote: Hold onto your hat until the 11th December Andy Nope. Although the XNA Racer game will be available to Creators Club members, the game itself will not be avilable for download on Dec 11th. It will probably not be available until early next year (we are making a few changes to the game). Adding that multiplayer component and Achievements, right ...Show All

  • Smart Device Development Type inconsistency exception, XmlSerializer & XmlChoiceIdentifierAttribute with .NETCF2 SP1

    Hi, I've got a weird exception on such a line during runtime: XmlSerializer xs = new XmlSerializer ( typeof ( IPAddress )); Exception message: Type of choice identifier 'ItemElementName' is inconsisitent with type of 'Item'. Please use array of <namespace>.ItemChoiceType. Here is the IPAddress class, which was generated by xsd.exe from the following schema portion: < xsd:complexType name = " IPAddress " > < xsd:choice > < xsd:element name = " ipv4Address " > < xsd:simpleType > < xsd:restriction base = " xsd:hexBinary " > < xsd:length value = " 4 " /> </ xsd:restriction > </ xsd:sim ...Show All

  • Visual C++ Run-Time Check Failure #2 - Stack around the variable

    -------------MyClass.h file class CMyClass: public CDialog { ............ protected : HANDLE m_hDevMode; HANDLE m_hDevNames; HANDLE CopyHandle(HANDLE h) { if (!h) return NULL; BYTE* lpCopy; BYTE* lp; HANDLE hCopy; DWORD dwLen = (DWORD)GlobalSize(h); if (hCopy = GlobalAlloc(GHND, dwLen)) { lpCopy = (BYTE*)GlobalLock(hCopy); lp = (BYTE*)GlobalLock(h); CopyMemory(lpCopy,lp,dwLen); GlobalUnlock(hCopy); GlobalUnlock(h); } return hCopy; } ............ } // MyClass end ----------- MyClass.cpp file CMyClass::CMyClass(CWnd* pParent /*=NULL*/ ): CDialog(ClistareDlg::IDD, pParent) { m_hIcon = AfxGetApp()->LoadIcon(ID ...Show All

  • .NET Development Desktop Notification using Windows services

    Hi How to create Desktop Notification using .NET windows services,C# in Windows Vista Operato System Regards Govardhan Hi I am new to windows services,I am trying to create alets using windows service,But it is not working.The same code is working in windows applications,If any know pls give me replay my code is like System.Windows.Forms.NotifyIcon nty = new System.Windows.Forms.NotifyIcon(); nty.Icon = (System.Drawing.Icon)Properties.Resources.video; nty.Visible = true; nty.ShowBalloonTip(5000, "Match Cast", "Check for Match Cast Updates ", System.Windows.Forms.ToolTipIcon.None); Plz help me Regards Govardhan ...Show All

  • Visual Studio Express Editions Power Point Show in WebBrowser Control ? can it be done ?

    how to view power point show inside a web browser control in an application form thank you ahmedilyas wrote: sorry whats the problem :-) you seem to have it right.... this.webBrowser1.Url = new Uri(@" file:///c:\whatever\yourpresentation.ppt ") it doesn't work with me , so i wonder is it something with the power point file extention , or is it something with the way to use the webbrowser control ...Show All

©2008 Software Development Network