chrisryp's Q&A profile
.NET Development XML Validation Bug .NET 2.0
Hello, In my recent experience with .NET 2.0 i faced a bug in of xml validation in .NET 2.0. I created a xsd that contains an simple element (of type xsd:int ) in one of its complex type, I passed few invalid alphabets and try to validate it, and it gets validate w/o any problem, Although the same xml file I passed to XmlSpy 2004, it threw validation exception. I know there in no problem in my code because the same thing worked for xsd:datetime type, when i passed invalid characters it threw exception (event ValidationEventHandler raised). here is my code string schemaloc = ConfigurationManager.AppSettings["SchemaAgentRegistration"]; string targetNS = ConfigurationManager.AppSettings["AgentTargetNS"]; agent.getDO ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Moving the view in 2D games
Hello, I'm not sure if this will make sense but hopefully it will. Essentially I working on a 2D platformer as a way to develop a small 2D engine I'm working on that will hopefully help me when creating games in the future with XNA. The game is much like Mario, and like in Mario I need the view to follow the main character while moving non-player characters/enemies off the screen. I was wondering if anyone has developed a view-handling class or other code that would allow for a view to follow my main character on the X axis atleast while moving other objects off the screen while still allowing them to move relative their location. So while my character is running to the right of the screen, all objects are being pushed to the left until ...Show All
Windows Live Developer Forums How to package emoticons into installation package?
Is that possible and how to package a bunch of emoticons into a single packaged installation file I tried to dig thru quite a bit but it seems the entire thing is very proprietary. Not really an easy task. It would be great if you could point me to the script, then I might be able to get some clue. ...Show All
SQL Server Connect To Oracle 64 Bit using SQL Server 2005 64 Bit
I'm using SQL Server 2005 64 Bit and having a problem when I try to make a linked server to Oracle 10G 64 Bit (installed on the same server) from management studio. I'm using "Oracle Provider for OLE DB" to connect to Oracle 64 Bit database because it is the only provider but from what I've read in Books Online that the provider doesn't support for Oracle 64 Bit. When I’m using SSAS 2005 and try to connect to Oracle 64 Bit database, an error message appear when I’m using “Microsoft OLE DB Provider for Oracle”: Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are ...Show All
Visual Studio Team System VSTS Licensing question
Hi all, We are looking at purchasing the VSTS system for our office but after looking through the compare, how to buy, the white paper, etc, I'm still a little confused as to what we need. We are running old software so we will need everything. We have 3 programmers, 1 tester, 3 architects, and 4 managers. Here's what I can figure we need, 3 VSTE for Software Developers w/ MSDN Premium Subscription (I believe I read it comes with SQL 2005 as well ) 3 VSTE for Software Architects w/ MSDN 1 VSTE for Software Testers w/ MSDN 1 Visual Studio 2005 Team Foundation Server 4 Project 2003 Pro 4 Office 2003 Pro This alone comes to a huge chunk of change, over $20,000. Am I missing anything we would need or do I have something that comes bundled Th ...Show All
Visual Basic Printout is not what I expected
I need some help with the following problem. I have made a simple pos system that will let the user push buttons that represent the menu items and those items show up on the reciept. I am using formatting zones to line up the items. This part of the program works fine and the display on the screen keeps everything lined up. My data is contained inside of a sorted list and my objects come from a menuitem class the properties are : name - holds the name of the menuitem price- holds the price cost - holds price * Quantity Quantity - how many key - so each entry into the sorted list is unique The name of my sorted list is itemcoll And my theory is that i can loop through the sorted list and print each element until r ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spare 360 power supply to help with XNA development
I have to move my xbox from the tv room to my computer room for doing XNA development - probably the same story for many of you here. So I figured I would just buy a second set of cables so it was easier to move - I can find the video cables all over but there appears to be no way to get a second power supply. There's a couple on ebay but they want $120 with shipping which seems a little much. So what is the magic search voodoo to find a spare one at a reasonable price. i do whireless i my place all include my coffe maschine is wireless conected so i just send a command to the coffe maschine and it make coffe if i rember to put the coffe in the container so i deploy wireless just rember to shot off your microwave good ...Show All
Software Development for Windows Vista Appverifier and VB6
Hello, we are currenty in the certification process for the "Certified for Windows Vista" Logo Program. One Test Case is: "Verify application does not break into debugger with the specified AppVerifier checks". We discovered that the Debugger (WinDbg 6.6.0007.5) stopps when a VB6 application uses the "On Error Resume Next" Exceptionhandling (I know that this is not good coding, but it is valid). At runtime, the exception is handled by the VB6 Runtime and everything is OK. When using the debugger, it reports an error at the exception handling of the application. Sample: Private Sub ExceptionTest() Dim myRecordset As ADODB.Recordset On Error Resume Next myRecordset.Close ' Debugger breaks here! ...Show All
Visual C++ my printer won't work with visual c++
Runtime Error Program: C:\Program Files\Dell Photo AIO Printer 922\dlbtaiox.exe This application has requested the runtime to terminate it in an unusual way. please contact the application's support team for more information Can anyone help me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Microsoft.Xna.Framework.Input.Keyboard
Hiya Everyone, Any advice on the following would be greatly appreciated. I’ve developed a very basic static KeyboardHandler class, for the sole purpose of generating OnKeyDown events whenever some keys are being pressed. The class has a member function called Update, which is called each time the Game.Update() member function is called i.e. it is called each time the game components are being updated. The KeyboardHandler.Update() queries the KeyboardState to determine which keys have been pressed, and raises an event for each of the keys returned by the GetPressedKeys() method I’ve noticed though that the following occurs: 1) The Keyboard.GetState().GetPressedKeys() is returning mouse ...Show All
Visual C# ActiveDs.Dll problem
I hope someone out there can help me with this. I have a custom dll that is referencing the ActiveDs.tlb type library. It compiles and works fine, but when I reference my custom dll in a web application it is having all kinds of problems with this ActiveDs com object. Since the old com component is referenced in my custom dll, and my custom dll is referenced by my web application, does anyone know why ActiveDs is not working for me Thank you, Nathan ...Show All
Visual C# code to uml diagrams
plz tell me is there any tool which convert c# 2.0 code to uml diagrams other than class diagram :) jo bataya ga us es ghareeeb ki dua milay gi Pyaarey Adnan Bhai! See this http://visual-studio.qarchive.org/ Best Regards , Rizwan ...Show All
Software Development for Windows Vista event with DirectX
Hi, I'm developing a windows application in c# and i use video with DirectX. I'm wondering if theres not an event that occurs while the video reachs a certain position. In fact my code is : Video vid; public Form1() { InitializeComponent(); vid = new Video ( Application .StartupPath + "\\vid.avi" , false ); vid.Owner = lblecran; vid.Play(); } i would like something to happend after 1s of the video with the video still playing. but i don t know how to do. Someone has an idea Sorry for my english, and thanx for your help, Laura. I moved it to Game Technologies: General ...Show All
Software Development for Windows Vista Video with SideShow
Is it possible (or realistic) to run full speed streaming video of any kind with a sideshow gadget on an aux display What you are describing is possible, but there are a few considerations to take into account: The most taxing gadget that has been released to date is the Windows Media Player gadget. The now playing page in the WMP gadget is updated once a second to reflect the current track progress of the currently playing track. We have found that all of the Windows SideShow devices we have now can handle this scenario. With that being said, the way you would write a gadget to do what you describe would be by sending all of the images of the tachometer to the device (say 10 or so images), each wit ...Show All
Windows Forms Listbox and SelectedItems
I searched for some information regarding listboxes on this forum and saw the following code: Dim items(ListBox1.SelectedItems.Count - 1) As String Dim index As Integer = 0 For Each item As Object In ListBox1.SelectedItems items(index) = item.ToString() index += 1 Next 'for test For Each item As String In items MessageBox.Show(item) Next When I tested this, the message box showed "System.Data.Datarowview". Why wouldn't it show the actual items that I selected in the listbox. Try changing your loop to: For Each item As System.Data.DataRowView In ListBox1.SelectedItems You'll now ask a DataRowView object to provide a string wi ...Show All
