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

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

JumpyXNA

Member List

sanchita
Tim Windsor
incognito79
WinFormsUser13232
royal77332
Dean Claxton
IrishWolf
Navya Jeevan
Yuvaraj
Andre's
ranadheer mac
davidmccleary
SavitaHK
Jaime82
Sam Hobbs
Carver42
D.Jones
Rajnesh
jerry_tseng
Jorge125
Only Title

JumpyXNA's Q&A profile

  • .NET Development State stateinfo error.

    I am trying to use ManualResetEvent class. I took a sample from this post by Camoz: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=69213&SiteID=1 I get a compilation error on the last statement: State stateinfo . All references he is using are included in my file. I think they are also in the reference section of the object browser. What am I missing It is a snipped piece of code: using System; using System.IO; using System.Security.Permissions; using System.Threading; class Test { static void Main() { ManualResetEvent[] manualEvents = new ManualResetEvent[numberOfFiles]; State stateInfo ; The error message is: Error 2 The type or namespace name 'State' could not be found (are you missing a using d ...Show All

  • Visual Studio 2008 (Pre-release) starting...

    hi... i'm a senior student and my thesis is all about wpf and wf... i've managed to get well acquainted with wf but i dont know how to start with wpf... i want to start with its hands-on-lab but the problem is i dont know how to install it... what i understood from the faq is that the july release (which i've installed to start developing with wf) doesnt support wpf... so what should i do thanks.. As far as I remember.....there's not been a release of hand on labs after Feb CTP...so you can use the FEB CTP HOL's....find them at http://www.microsoft.com/downloads/details.aspx familyid=05755a9d-98fa-4f16-bfdc-023e3fd34763&displaylang=en   you can't use them word by word (Since feb there's bee ...Show All

  • Windows Forms System.Data.ConstraintException

    In my first ADO.Net 2.0 project I'm trying to create a Windows Forms application that allows updating customer records. These records are in an SQL Server 2003 database, and I am using the VS.Net 2005 DataSet Designer to create a typed DataSet and Customer TableAdapter. To start, I just output the internal IDs of fields to TextBoxes on a form. So far, so good. One of the fields is for Language (English, French, Spanish, etc.), and there is a database table with language names and IDs. So I add a new Language TableAdapter and Relation to the DataSet Designer. The Relation is: Parent table: Language Child table: Customer Key Column: Language.languageID Foreign Key Column: Customer.languageID Both Relation and Foreign Key ...Show All

  • SQL Server Launch DTS with OLAP from .net application

    Hi, with reference to the following thread: http://forums.microsoft.com/msdn/ShowPost.aspx postid=740855&isthread=false&siteid=1&authhash=775a583435c503730bf96695fe78ffc77f04a290&ticks=632942355374528292 Which in summary is that I am trying to execute DTS packages containing OLAP tasks to process cubes from an application. It hangs and fails after an hour and some minutes. the code : Package2Class package = new Package2Class(); object pVarPersistStgOfHost = null ; package.LoadFromSQLServer(serverName, null , null ,DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrustedConnection, null , null , null ,packageName, ref VarPersistStgOfHost); package.Execute(); I have launched the DTS on comma ...Show All

  • Visual Studio 2008 (Pre-release) Non-display of null element

    I’m using functional composistion to make a node for each row in a database. I want to have no middle name element if it is null in the database- like the last example here. How do I do this Paul V. Sullivan XDocument doc = new XDocument ( new XElement ( "LegalNames" , new XElement ( "First" , row.First_Name), new XElement ( "Middle" , row.Middle_Name), new XElement ( "Last" , row.Last_Name))); <LegalNames> <First>Bob</First> <Middle>Gill</Middle> <Last>Jones</last> <\LegalNames> ***Null Middle_Name** ...Show All

  • Visual Studio Team System Do not call overridable methods in constructors

    In the sample code I am getting the above mentioned error. public abstract class Element { public abstract void SetBoundingRect(); } public abstract class LineBase : Element { public override void SetBoundingRect() { //Set the bounding rect here } } public class LineGeometry : LineBase { public LineGeometry() { this .SetBoundingRect(); //Error here } } public class LineToolpath : LineBase { public LineToolpath() { this .SetBoundingRect(); //Error here } } As you can see I am not calling any vir ...Show All

  • Visual Studio Express Editions My EXE that I created will not Run on windows 2000

    I created a application that need can run on Windows XP but not on windows 2000. I need to install .Net on the 2000 machine to be able to run the application or shall I say the tool that I created. The qtion is, DID I DO ANYTHING WRONG, or is there a way to create an EXE using the MS visual basic 2005 that will run on both plate forms thanks Wajdi Georges I downloaded MS VB 5.0, and now trying to add the function to couple of botton, but I am getting errors, I must be entering the commands in a wrong formate, thats what I am trying to do: Botton 1 I need to run this command SHUTDOWN /R /T 3600 How can enter this command in the function of the botton And I did find the feature in VB 5 where I can make the window run ...Show All

  • Visual C++ set<String> in Visual C++ .NET

    How do you use a set of Strings If I say set<String> *st; String *s = S"FOO"; st->insert(*s); I get an "illegal use of managed type" message. thanks Not really. The question is straightforward, I think. Is there such a thing as a set of String (NOT string) the kind that you use as String *foo = S"FOO"; and if there is such a thing, how do you declare & use it -- I get compiler errors no matter what I try. Julio ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA - Microsoft lack of vision

    Its real sad that Microsoft, once again, shows this lack of vision for a games development tool: 1: Get visual: Don't force users to write such a lot of code to do just very little. It reminds the Charles Petzold's "Hello Window" hell of code days. 2: Provide visual tools: Let users choose the components, change their properties and write just the required code for the events. 3: Quick development means quick prototype and minimum learning curve. XNA has a lot of things to learn. Definetively it is NOT for students and hobbists. We will have to wait until someone encapsulates XNA framework into a group of visual components, that can be easily drag & dropped, inspected and tested very easily without having to learn lots of n ...Show All

  • Audio and Video Development How can I hide picture in DIV?

    I have following problem: I write DIV tag in XMU file: <div id='animation' style:position="absolute" style:x="0%" style:y="0%" style:width="20%" style:height="20%" style:backgroundColor="rgba(255, 0, 0, 220)" style:opacity="0.86" style:backgroundImage="url('Pages/pic.jpg')" style:contentWidth="scale-to-fit" style:contentHeight="scale-to-fit" >.... </div> By default "style:backgroundFrame" attribute equal "0" and I see "Pic.jpg" picture. I tried to set style:backgroundFrame at "-1" and "1000" but I anyway see picture. How can I hide picture in DIV without remove (or change ...Show All

  • SQL Server Outlook 2007 - Reports Formatting Goes Haywire.

    We had reports that looked good in Outlook 2003, but in Outlook 2007 - they are shrunk. This is what the image looks like <a href=" http://www.freeimagehost.eu/image/be11ad58260 " target="_blank"><img src=" http://www.freeimagehost.eu/thumbs/be11ad58260.gif " alt="free image host"></a> <a href='http://www.freeimagehost.eu' title='free image host'>free image host</a> http://www.freeimagehost.eu/image/be11ad58260 The problem is the same as the one mentioned in this unanswered post. "Email Report in Outlook 2007 not the same as Outlook 2003 " http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1199863&SiteID=1 I think all of this is because of the word editor being default in Outlook 2007. ...Show All

  • .NET Development MethodInfo and Out Parameters

    Hi all, How to take the value of the out parameter of a Method which is invoked through Reflection For ex: string msg = "" ; object retObject = null ; MethodInfo mInfo = managerType.GetMethod( "Update" , BindingFlags .Public | BindingFlags .Instance, null , new Type [] { typeof ( string) , typeof ( string ).MakeByRefType(), typeof ( object ).MakeByRefType() }, null ); mInfo.Invoke(managerObject, new object [] {obj, msg, retObject }); In the above method invocation msg and retObject were out parameters in the method Update. Please help in getting these values after the method is invoked. Thanks, Suresh. I had a similar question and found ...Show All

  • Visual Basic Self Extractor....

    Hi, In VB .Net I need to be able to add a file to an exe file that is not running. And when the exe file is run it extracts the file. Does anyone know how to do this Primarily I just need to be able to do this with one file, but if anyone knows how to make a multiple file self extrator I would be very greatful Thanks in Advance. Let me explain in a little more detail. I have my project called "FilePass". The user selects a file and enters a password. The file is then encrypted. What I want to do is work out how "FilePass" can modify an already existing exe to include the file in it and how the exe (lets call it "FilePassExtractor") can extract the file from its self More or l ...Show All

  • Visual C++ MFC CToolBar and BTNS_WHOLEDROPDOWN, BTNS_DROPDOWN

    Hello, I'm createing a CToolBar instance in my application, and I want to add two functionalities: ToolBar button with a small arrow, which is not separeted button - there for I used the BTNS_WHOLEDROPDOWN style for this button ToolBar button with a small separeted arrow button - there for I used the BTNS_DROPDOWN style for this button. and after that I add the code: pToolBar->GetToolBarCtrl().SetExtendedStyle(TBSTYLE_EX_DRAWDDARROWS ); My problem is: In functionality 1, from some reason the button which is style was change to BTNS_WHOLEDROPDOWN does not react, catch event or give me any sign that it's "alive" In functionality 2, the above is happening only to the small arrow button, though when I pressed the original bitma ...Show All

  • Visual Studio Team System Help with setting up a load test to test a data accessl layer performance

    We have a totally new .NET 2.0 data access component that's based on the MS Enterprise Library and typed datasets.  I'd like to compare how it performs vs our old DAL component (also .NET 2.0).  I have set up two ASP.NET 2.0 applications that're only different in the DAL, and recorded the corresponding web tests that have read and write in a couple of pages. I know the basics of setting up a load test in VSTS and the ones I did ran successfully though I'm not sure if the stats collected are what I think they are.  So I'm hoping to get some guidance on how I should set up the tests, and what stats to collect (like ADO.NET ).  What I'm most interested in is for the same stored proc calls, what the difference there are& ...Show All

©2008 Software Development Network