AndrewBadera's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. XNA and DX SDK
Maybe it is allreayd there but i can't find it :( as XNA is a layer on top of directx, aint it possible to make access to directx sdk objects posible in xna framework for example GraphicsDevice.GetD3DDevice This would allow people to mix the XNA framework with the directx sdk and work around some limitations / bugs of XNA See here . I had problems when the game shuts down. If you can get it to work post a reply to that thread. ...Show All
Microsoft ISV Community Center Forums hung app help for web developer
This is not a spyware or temporary internet files problem, I am a developer at a large website and the few clients who receive this error get it on every IE browser they encounter (we have logged in as them in a lot of places). I figured I would get that clear from the start. The problem is probably related to iframes and some DHTML, but it works well in Mozilla Firefox for all. When IE (6) is used to access the page, the page freezes and the error that is submitted to Microsoft is this: szAppName : IEXPLORE.EXE szAppVer : 6.0.2900.2180 szModName : hungapp szModVer : 0.0.0.0 offset : 00000000 Please help. We advertise that Internet Explorer is the browser ...Show All
Visual Studio Tools for Office smart Document (XML Expansion Pack is invalid or missing)
Hi I'm trying to develop smart document with Microsoft Office 2003 + VS 2005, however I've faced to a bad problem, when I attach my XML expansion pack manifest file to a word document , I get the following error: "The XML expansion pack or the smart document program is missing or invalid.Contact your system administrator or the person who provided this document" I've read the following page and checked every thing, but, my problem has'nt been soloved. http://msdn.microsoft.com/library/default.asp url=/library/en-us/sdsdk/html/sdconTroubleshootingErrorMessages_HV01153797.asp Anyone has a suggestion Entrance80, I'm sorry you are having trouble with this. A couple of questions: Is the target ...Show All
Smart Device Development Connection String with Northwind demo Problems
Hi Folks, I am having some trouble with a connection to a database in Visual Studio 2005, I have managed to add the Northwind.sdf demo database to my "server explorer" window in VS and in the properties window, the connection string Data Source ="F:\Program Files(2)\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\Northwind.sdf"; appears, but when I go to paste it into my code, the "Data Source" bit is hi-lighted in red, as is the trailing " ; ) I am unfortunatly working from a VB .Net SQLServer CE book, and this is Visual Studio 2005, so there must be some changes that I don't know about. Mousing over the "F:" bit which is underline in squiggley blue gives t ...Show All
Visual Studio Express Editions The name 'txtPlayerMove' does not exist in the current context
Hi, I'm very new to C# and I'm trying to insert a text string into a text box that sits on a form in the same project. The class that is trying to send the string to the text box is in a different file than the form code. I get this error: "The name 'txtPlayerMove' does not exist in the current context" from this code: public bool throwSnow(int range) { //calculates likeliness of a hit at a given range //returns true if snowball hit bool hit = false; int myRoll; Random roller = new Random(); if (snowballs <= 0) { txtPlayerMove.Text = Convert.ToString(name + " is out of snowballs!"); } ... (i didn't include the rest of the code) I'm ...Show All
Visual Studio Express Editions adding a arraylist in a datagridview
what’s the fastest way of adding a row of values in a arraylist for example, if I have a arraylist arraylist arrayvalues = new arraylist(); arrayvalues.add("name1"); arrayvalues.add(3.56); how do I add this arraylist as a new row in a datagridview and how do I add it as a new column What do I do if I want to add the arrayList item fields (members) in a specific order Let's say my arrayList has items of type Client with members: "Nr", "Name", "Address", etc... and I want to have the specific columns "Nr", "Name", "Address" - in that order, with custom sizes (smaller "Nr" column, larger "Addre ...Show All
Software Development for Windows Vista Playsound problems!
Hi all, Having a problem with playsound. I'm working in VB5 on an app that has given no problems under any other version of windows. Whenever I call playsound: xx = PlaySound&(Pingfile, 0, &H1 Or &H20000) I have about a 50/50 chance of it playing or giving the dreaded "Program has stopped working" thing when running compiled under Vista. There is never a problem when running the code interpreted in VB5 ! Any ideas After further investigation: The crash only happens when the exe is in it's installed folder: C:\Program files\Clipm8 (with read and execute rights) It does not happen when it is run from my vb development folder (with full control rights) The crash also happen ...Show All
Visual Studio 2008 (Pre-release) Inserting many to many related records
I have entity classes and everything that were generated by blinq from our existing database. With the tables that have many to many relationships, how do I perform inserts, updates, etc. easily None of this was generated, and I'm not familiar enough with LINQ to know how to do it manually. Could someone post an example of how to deal with these relationships Or at least point me in the right direction Thanks in advance! LINQ to SQL requires you to define the middle table as an entity. The kinds of entities described in the document do not correspond to the same kinds of entities available with LINQ to SQL. In the document, the middle table objects still exist and are exposed, the document just chooses no ...Show All
Visual Studio Express Editions Terminating a C/C++ program using a subroutine
Can I just use "break" If I use break, it will return to main. What will make the main to exit or terminate the program I tried putting "break" in the subroutine and it says illegal break! Any tips I understand that I couldn't use "exit" in the subroutine as it won't clear memory allocations. From this and other posts it is clear that you are attempting to learn C++ - might I suggest reading a good C++ book You can't learn C++ from these forums. You can use exit - I'm not 100% sure what you mean by "clear memory allocations" but calling exit will terminate your application and return all resources to the system. On the otherhand "break" can only be ...Show All
Visual Studio Express Editions TableAdapter.Update does not save data
How can I save data entered in a dataset via the UI I tried the code suggested in the "VB Guided Tour", Private Sub Form1_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Me .AddressesBindingSource.EndEdit() Me .AddressesTableAdapter.Update( Me .SQLdbDataSet.Addresses) End Sub but all changes are lost when I restart the application. Thanks. "Found the solution in the free downloadable book 'Build a program now' at the 'Registration Benifit Program' p154 (text in blue)." Where can I download this book I to am having problems with the TableAdapter. My problem is when I try to update it tells me that ...Show All
Smart Device Development Get Email Received interception in pocketoutlook programmatically
Hi, I need to handel the event when ever i received a email in my pocketpc outlook. I done the SMS interception part, but i cant able to get the interception when email received to the pop3 pocket outlook. Help me to find a solution. Thanks in advance.. Prasanna ...Show All
Visual Basic How do you set the namespace for a form's resources in VS2005?
How do you set the namespace for a form's resources I cleared out the root namespace setting in the project. I added the namespace to the source code in both form.vb and form.designer.vb. Then I added an icon to the form using the designer. When the project is compiled, the namespace is applied to the form but not the resources. When I run the project, I get this error: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. ... Does the test application refere to any other libraries, I don't think it does. Hopefully this experiment is done in a controled manor and is self contained Even if it did refere to ...Show All
Visual C# unnecessary Class files in application.
Hi, Creating seperate Class file for each Enum in the application, will this effect the application perfomance To make the above question simple, Creating unnecessary Class files, effect the performace of an application Thanks in advance, Mayur M Its better to split up code in different files for readability and it doesnot hit performance because at runtime its dealing with assembly which is compiled version of your code in form of Intermediate Language and there is no concept of seperate files... So for better readability its better to use seperate files with the name of enum ...... Best Regards, Rizwan ...Show All
Visual Studio Express Editions Why Is It So Difficult To Save and Load Form Text Boxes?
I would appreciate any help someone could give me. I have searched this forum endlessly trying to find a way to save 60 or so text boxes on form1 to a file and then later read the information back into the same text boxes. It seems like I have tried every bit of sample code that I can find and nothing works. I have 5 books on VBE and VB5. I am a complete novice at this so please be gentle. Thanks in advance for any ideas/help. Glenn Well let's assume I would use another type of GUI then. What type would you suggest and how can I save and retrieve the user/data inputs to and from a file that is not beyond my abilities to accomplish I am willing to learn and ...Show All
Software Development for Windows Vista About Certificate Template in Vista
In CertEnroll.dll (the new certificate enrollment api) Since there are some API need the parameter of str type CertificateTemplateName , i tried to find informations about that. And i found that there are some TemplateName like UCB.User CA Exchange Computer , etc. but it seems that my Vista cannot recognize these names, or say, maybe my Vista don't have template predefined. //(coz when i request one personal certificate, the drop-down list of template, writes no template) Please, I am waiting for your help. Thank you in advance, Sophy ...Show All
