TkNeo's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Has anyone been able to run an XNA Game?
I've seen many people sharing code and talking about Space Wars but no one really talking about running XNA Games. I do however see many people having problems running an XNA Game. People like me, have everything needed to run the game, a high Graphics card, and yet the game will not run. Those of you that are running games, do you know why Hey TruePsion Your card is a DX8.1 card (PS 1.4). If you were to write code directly (or find some tuts) on XNA that say they support VS/PS1.4, they will run on your hardware. Spacewar (the game that ships with XNA Game Studio Express) requires SM2.0 to run which your card doesn't support. Alternatively some one out there can crank out some SM 1.x versions of th ...Show All
Gadgets Permissions in appdata\local\microsoft\windows sidebar
my gadget calls a bat file which in turn calls an exe. i get permission denied and the bat will not run when my gadget it located in 'C:\Users\%username%\AppData\Local\Microsoft\Windows Sidebar\Gadgets'. It however works perfectly when my gadget is placed in 'program files\windows sidebar\gadgets' directory. My account has full permissions to the folder in appdata and i can run the bat file manually, but the gadget will not allow it to run. I assume this is by design, but is there any way to bypass this Or a way to change the default path my gadget installs to (program files, instead of appdata) Thanks You are far better off using System.Gadget.path, rather than assuming the gadget lives in ...Show All
Visual Studio Express Editions How to make a search box in an application
Hi. I have a database that has a table named "Main", this table has 4 elements "ID, Blue Number, Year, Description" . What i need is how can i make a form that has only a search box to search using any given blue number, and once the blue number is entered into the text box the program will search the database for all other elemnts to that blue number. Anyone can help plz Thanks DMan1 for replying. But, if you can can you explain more My form has : textbox1, button1 & listbox1 My database has one a table called Table1 and 3 items ID, Blue & Name Dataset name = memsDataSet. How can i implement the code you gave me Sorry i'm a nov ...Show All
SQL Server Merge Join vs. Lookup vs. Custom Script - which is fastest?
Very often we have 50'000+ rows which you need to pull values from different source (e.g. CityNames from citycode in Excel file). Currently we are using Lookup - but the questions is which of those 3 options is best in performance wise For those posting to this thread and reading it, please watch the Webcast presented by Donald Farmer on performance and scale in SSIS. In there Donald talks about benchmarking and how to set up SSIS to obtain timings associated with different aspects of a package. TechNet Webcast: SQL Server 2005 Integration Services: Performance and Scale (Level 400) MS TechNet Event ID: 1032298087 I don't know if this link will work for anyone: https://msevents.microsoft.com/CUI/Register.aspx culture=en-US& ...Show All
Visual C# Top Rated: September, 2006
C# Top Rated Contributors for September, 2006 Here are the top rated contributors for the September, 2006 timeframe. Microsoft employees are not counted in this summary. It is important to remember that all the contributors to this forum who answer questions are valued and appreciated. Some who answer a smaller volume of messages may still make a big difference by answering difficult questions, or by being particularly thoughtful and helpful. All C# Forums Most Helpful · ahmedilyas: 55 · RizwanSharp: 34 · nbugz: 23 Most Answers · ahmedilyas: 109 · nobugz: 42 · boban.s: 24 Visual C# General Most Helpful · ahmedilyas: 32 · Rizwan ...Show All
Visual Studio 2008 (Pre-release) My buttons are classic?
First, Hello one and all! This is my first post here, so I'm sorry if this question has been answered before. I have searched , but not found an answer. I have been playing with the Style element in WPF, using XamlPad and a WPF Application created in VS2005 C# Express (Nov CTP VS Extentions). I don't know what I have done, but now my buttons have gone into the Classic style and I can't seem to get them back into the 'Normal' style. System: Windows XP SP2. Everything up to date. Release version of .Net V3.0 installed. Nov CTP of VS2005 Extentions Installed. Windows SDK V6.0.6000.0.0 installed. Here's what I did: Downloaded and installed the Segeo UI font, Changed my theme (Zune) to use Segeo UI for Title Bar and messagebox te ...Show All
Smart Device Development Getting png image from server with http
hi we are using http to get data from the server. our data contains lots of text data and image data. problem is we are using streamreader and converting stream to string. after this we gets the iamge data e.g. all data that statrs with PNG and ends to IENDB . and convert it to byte array with encoding.getbytes method. but when we try to create bitmap with this byte array it gives an error " Value does not fall within the expected range ". can anyone suggest what could be the probable problem. most likely problem is it is not recognising some of the chars when converted to string. i guess its a problem of encoding. we tried now with almost all encoding types available but its not working. pleas ...Show All
Visual Studio Express Editions Grab the users AD name
Is there a way to grab the users Windows name I am on a company Active directory. I just want to display this in my application. Like welcome john doe! and latter do some authenticaion with this. thanks nbrege wrote: So how would you get the users full name from AD, like the OP originally requested It seem the OP is ok with the answers given and the original question do not request the full name but the windows name. If you want to know how to get the full name I would suggest starting a new thread. EDIT: A new thread will get maximum exposure as it will appear as unanswered compared to this one that already has been flagged as answered. ...Show All
Visual Basic UserControl A use a UserControlB (VBExpress 2005)
Supose we have two usercontrols A and B named usrA and usrB. usrA ShowDialog() a WindowsForm that contains usrB. usrB contains a DataGribView. The user select a Row from DataGridView and then the form Close. How usrA can know wich DataGridViewRow was Selected in tha DataGridView in usrB witch at its time is contiened in the WindowsForm Please help. Here's a quick example how to open another control and set the onclose to capture it's data before the control closes. Public Class Form1 Dim frm2 As New Form2 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Create form and add the on cl ...Show All
SQL Server Come on MSFT guys - I can't be the only one
Problems with Document Map creating a side scroll to get to Up/Down Scroll for the Map itself. There are two scroll bars once you side scroll over in the map window. Anyone seen this or know how to fix Anyone know how to change any of the properties on the Document Map or map window Please Help!! This is soooooo frustrating i can’t image that, could you send a screenshot or something like that HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System External WIT ID
I will be importing work items into TFS WIT from my existing system. Unfortunately, the id's won't be able to match up. So I created a field for an external id: < FIELD name = " External Work Item ID " refname = " MyCompany.WorkItemId " type = " Integer " reportable = " detail " /> This is working fine (I can search on the external id, and also see it on the screen from within VSTS). However, I would like the external id to show up in some places in VSTS that currently shows the TFS id. For example, when you check in code and click the Work Items icon, it displays a grid with the TFS work item id. The developers using this system will need to see the external id. Is ther ...Show All
SQL Server Query Notification stops working after 10 minutes
Hi All We built a Cache component that take advantage of the SQL Server 2005 query notification mechanism, all went well , we tested the component in a console application , and notifications kept coming for as long time as the console application ran. When we initiate our Cache Component in our web service global.asx application start event , the query notification works for a few minutes , but if we came after 10 minutes or so , we stoped getting notifications from sql, the SQL Server queue is empty , and all is showing that there is nothing wrong on the DB side... Our Cache component is a Singleton class , that perform all registrations ,catch the notification events and resubscribe for notifications. What can ...Show All
SQL Server Sql 2005: Encrypting "data in motion" between client and server
Right-clicking "Protocols for MSSQLSERVER" under the Sql 2005 Server Configuration Manager I find the "Force Encryption" option. Right-clicking the SQL Native Client Configuration, Client Protocols, I find "Force Protocol Encryption" I believe these can be used together to force the connection between a client (running the SQLNC client) and a sql 2005 server to be encrypted. In other words, the data "in motion" can be encrypted. 1. Is my understanding correct 2. Do I need to use a certificate to make this work TIA, Barkingdog Raul, Thanks for the info and I will read the articles. I was talking to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. space wars jerky?
Hello, When I run space wars it seams to jerk alot when I move the ship around. It just doesnt run smooth at all. Can the game be played in full screen it runs windowed on my pc. I thought it would run smooth. My pc is: AMD A64 3200+ 2 gb ram 7600GT All drivers are up to date. Also when I try and publish spacewars, when installing it, it comes with an error. Anyone else have this problem thanks This issue isn't just specific to space war. One of my development pcs has this issue with every application I've tried that's written with the framework. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Projecting 2D Coordinates Into 3D Coordinates
I just got started with XNA (and C# for the most part, though my experience with Java seems to help) and ran into a snag. I did the tutorial about display points using the VertexBuffer object and wanted to take it to another level. I wanted to get the mouse coordinates when the mouse is clicked and put a new point on there. I got the input and figured out how to add points to my array, but unfortunately I can't figure out how to take my 2D screen coordinates from the mouse and put it into 3D coordinates. Does anyone know how I can do this If it matters, here's the code I used to create my projection and view matrices: viewMatrix = Matrix.CreateLookAt( new Vector3(0, 0, 5), Vector3.Zero, Vector3.Up ); ...Show All
