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

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

Zeldacat

Member List

Brian Kramer
hilla
GlennZarb
Maartin
zdrae
Philip Jaques
Laura06
Colin R
JoshuaW
Cla82
XPress Dave
RoryEnslin
John Bailey
Derek Ju
David M. Kean - MSFT
xltopia
boonukem
BenjiSmith
chakravarthy_b
Levas
Only Title

Zeldacat's Q&A profile

  • .NET Development Help with xml files (noob to xml)

    Alright, I'm a total beginner to XML, I just started yesterday, and have been reading some walkthroughs & FAQS. Here is the code, that was in a faq , and i'm not quite sure if it will do what i need it to do. System.Xml. XmlNodeList secondreader = reader.GetElementsByTagName( "weapon" ); for ( int i = 0 ; i < secondreader.Count; i++) { this .listBox1.Items.Add(secondreader .Attributes[ "weapon" ].InnerText); < xml version = " 1.0 " encoding = " utf-8 " > < Weapons > < weapon name = " this one item " > gold = "1" silver= "28" copper="16" </ weapon > < weapon name = " ...Show All

  • Smart Device Development How do I get System.Control object from a Win32 Handle?

    Hi, Is it possible to get control object from a win32 handle (like FromHandle() in win32) using C# Thanks, mv mv, The desktop .NET framework has a static function, System.Windows.Forms.Control.FromHandle() that behaves similarly to the MFC api (I'm not 100% sure you weren't referring to this desktop .NET api in your original message). However, the Compact Framework does not implement this function. If you want to determine which control a windows handle is referring to, I believe you'll have to manually compare to the handles from whatever set of controls you're interested in... something like: foreach(Control c in myform1.Controls) { if(c.Handle == handleImLookingFor) // do s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox360 to PC Comparison

    Does anyone have an idea what performance I can expect from the Xbox360, I am writing my game purely for the console because I dont want to have to write a load of code for dealing with different spec machines (throttling the number of creatures, etc) and different types of input. The game I am porting is this (original is in vb.net and MDX) - http://www.entombed.co.uk I have managed to port the models, parrallax occulsion mapping shader and per pixel lighting. But I dont know how the Xbox360 is going to perform. My PC is this spec ( cr@p ish) - Intel P4 2.4 (400 FSB) ATI X800 XT PE 768 MB AGP x4 I am receiving an excellent frame rate from my PC and wondered what I should expect from the console, will it be twice as quick or mo ...Show All

  • Visual Basic show the particular record when click on a DataGridView control

    Hi, I want to show the particular record when I click on a DataGridView control. I have the ID of the record which works, but I can not figure out how to show the form for that record (the Details.Show line). I tried 'Details("ID") .Show' but I got an error "can not index because there is no defualt property". Thanks in advance for your help. Private Sub PropDataGridView_CellDoubleClick( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles PropDataGridView.CellDoubleClick Dim Row As DataGridViewRow = PropDataGridView.SelectedRows(0) Dim ID As Integer = CInt (Row.Cells( "ID" ).Value) Details("ID").Show() End Sub is ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The future of 3D grahics programming with managed code (Microsoft technology)

    Hi! I would like to ask some information about the future of 3D graphics programming with the managed code. Yesterday, I came across an article where I read that Microsoft(MS) will stop the developoment of DirectX with the managed code, with the managed code I mean C#, Whidbey C++ and VB. The question I have in my mind is : "What's next ".  I have been developing numerical simulators during the last two years. My preffered language is (Managed)C++. The reason I chose Managed C++ is that - I thought that - I can use the MS technology in other parts of the developement, in addition I develop a code which is consistent with the C++ norms, altough Whidbey C++ is violing the traditional C++ syntax - I would not predict this two years ...Show All

  • Visual Studio Tools for Office Open and add method of excel application failed

    Hi, We are creating an excel 2003 application using VSTO 2005. It's running perfect except we are getting 'Open method of excel application failed' or 'add method of excel application failed'. This error is not happenning always. So we are not able to debug it what's wrong within the code. Can anyone please help. Thanks and regards -Manash There has been no activity on this post for a long time, so I'm closing it now. Cindy has correctly indicated the areas you need to investigate. If the problem re-surfaces, please re-post. ...Show All

  • Visual C# Calling base-class implementation of interface methods

    Hi. Can anybody suggest how I may invoke the base-class implementation of an interface method from a derived class that also implements (overrides) the same interface method If I have this short and simplified situation: interface IMyInterface { void MyMethod1(); void MyMethod2(); } class HelperClass : IMyInterface { void IMyInterface.Method1() { /* Some default implementation */ } void IMyInterface.Method2() { /* Some default implementation */ } } class MyMainClass : HelperClass, IMyInterface { void IMyInterface.Method1() { /* Some specific implementation */ How can I call the base class implementation of this interface method (i.e. HelperClass.IMyInterface.Method1() ) // This ...Show All

  • Windows Forms passing parameter to SQl server in vb2005

    i added the code but hw can i declare expdate Dim cmdLoad As New OleDbCommand( " select * from company where compregexpdate = @ExpDate" , conn) cmdLoad.Parameters.AddWithValue( "@ExDate" , Now.AddDays(-7)) Dim da As New OleDbDataAdapter(cmdLoad) da.Fill(ds, "Company" ) Sorry I made a typo in my last message @ExDate should be @ExpDate cmdLoad.Parameters.AddWithValue( "@ExpDate" , Now.AddDays(-7)) ...Show All

  • SQL Server ADOMD.net 9.0 (client) and CubeDef.LastProcessed

    What is this property (CubeDef.LastProcessed) supposed to return as it does not return the date the cube was last processed Does AMO provide this info more reliably TIA Dave Hi Dave, It's a bug - CubeDef.LastProcessed returns the last time the server was restarted as far as I know. See http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=124606 ...for more details. Take a look at the comment posted by furmangg on April 28th on this entry on my blog for some code which does what you want: http://cwebbbi.spaces.live.com/Blog/cns!7B84B0F2C239489A!675.entry It's also available in the Analysis Services Stored Procedure Project here: http://www.codeplex.com/Wiki/View.asp ...Show All

  • Visual C++ displaying formatted text in edit box control

    Hello Sir, i want to display some formatted text in edit box control. to do that i have to insert new line (line carriage) character. i have tried it with "\n" but it is not working properly. it just displays a solid vertical line just like cursor. Pls help in doing the same. Thanks and Regards Munish Gupta Use the following code: char szBuff[] = {"Hello World\r\n"} //Make sure you append \r\n in the end SendMessage(hWndEdit, EM_SETSEL, (WPARAM)-1, (LPARAM)-1) ; SendMessage(hWndEdit,EM_REPLACESEL,FALSE,(LPARAM)szBuff) ; SendMessage(hWndEdit, EM_SCROLLCARET, 0, 0);   Cheers ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D3DERR_NOTAVAILABLE while build of first example in help how to do

    I used to code in pascal, cobol, assembly, basic, etc, but not C. From: Your First Game: Microsoft XNA Game Studio Express in 2D following along and doing the first build, I get the error above. I did not think I was calling the 3d engine only the 2d. I cannot find any help on the error, where to look, etc, except what is in the error window when you cursor over it. I cannot figure out how to copy the error in that popup window to look at it further. I know some dislike nubies, but please help if you know the answer. Its disheartening to type in only 6 lines of code and not be able to debug it! To say the least. Thanks OH OH OH, I figured out how to copy the error: Error 1 Building content threw InvalidOperationExcept ...Show All

  • SQL Server How to implement OR clause in MDX Queries

    Hi How to implement OR clause in MDX Queries so that i can write a query with OR condition on two dimensions. If possible please post some example. Regards; Rakesh   Having seen Rakesh's data model offline this approach won't work: going through the two m2m dimensions he set up it only seemed possible to get an AND and not an OR. Doing an Exists through the two intermediate measure groups that each User dimension was using to join to the main measure group as in my query above, so you found all the Branches each user had a relationship with, was the only thing that worked. Chris ...Show All

  • Visual Studio vb file problem with visual sourcesafe

    I'm using visual sourcesafe internet. I have a problem checking in VB files. ASPX files seem to be ok. I receive this message when checking in a VB file: there was failure uploading the URL http://domain/sourcesafe/vssupload_db1/ ... Do you want to retry the operation. I can create the vb file and the file is initially added to sourcesafe. But once I start making changes, it will not check back in and produces the error above. Any help is appreciated. I suspect this has something to do with the permissions of the virtual directories in IIS. 1. Check on the name of the Upload Virtual Directory in your database's srcsafe.ini file. It should look something like: UploadVDir = VssUpload_dbN 2. Now ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What is the use of Texture2DContent.Name?

    What is the main of Texture2DContent.Name I'm making my own ContentImporter and when i create a Texture2DContent i see a property Name... how can i use this property         public override Texture2DContent [] Import( string filename, ContentImporterContext context)         {             FileInfo f = new FileInfo (filename);             string assetName = f.Name.Remove(f.Name.Length - 4, 4);               DecodificadorJKI decodificador = new Decodifica ...Show All

  • Smart Device Development CE 5 persistant store?

    Please help settle: We're upgrading/fielding a mobile device that ran CE 4.2 to CE 5. Mgmt was told by a vendor that the new device with CE 5 (not Win Mobile 5) stored all data and programs in non-volatile ram and persisted everything. But when I tested it, let the battery drain, all the data I put on the thing was gone. I could reload the os image from the card (I think that's where it was) but everything not in the image was gone. Now I'm reading that Win Mobile 5 protects all data and apps from power-related loss because it mounts the entire file system and registry in persistant store (rather than using RAM) ... from http://msdn.microsoft.com/windowsmobile/learning/whatsnew/default.apsx But I don't see anything that CE 5 does ...Show All

©2008 Software Development Network