Pwint's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. XNA Architectu "push" vs. "pull" model
Xna.Input.Keyboard has no events OnKeyUp and OnKeyDown, so I can't subscribe any object on this events using delegates. Is any reasons - why I know that I can do this by myself (examine the keyboard state every Update and call those events), but it's an ideological/archetectural question: I don't want to "pull" keyboard every time, I need my objects to be "pushed" on a keyboard event. In general, "push" model improves scalability and maintainance of a system since It's syncronous - each object reacts the event immediatly when event call occur. Having push in a game could potentially be really bad. Many games rely on the rendering to be done as often as possible and game state updates only to h ...Show All
Windows Forms Changing the Add/Remove Program Dialog Box Icons
How can I change the Icon displayed in the Add/Remove programs dialog box through VS2005 when using one-click deplyment Can anyone help Thanks! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Chatroom
I personally put up a XNA chatroom to build a community that is already here and to better get to know each other. If you want to quickly inform somebody or get some information or help with something go there. The only problem for me right now is getting idlers in the channel. I know forums are a great way to help people, but sometimes just talking to each other about things like this is even better. Come and idle and help build a community even bigger and also build a place to help each other out. Its XNA Development, its for us. (That would be a sexy slogan). Server: irc.opa-ages.com Channel: #XNA You can use mIRC or any IRC clients in order to get to the chat. .. Or you could just come join the ...Show All
Smart Device Development Failed to create new project in VC++ 2005
Dear All, I am trying to create a new project for Win32 Smart Device using VS2005 and Mobile SDK. But I always get this error "project creation failed". I tried to re-install Mobile SDK again but I still get the same error... any ideas. Best regards, It is working fine now Thanks a lot daveie ...Show All
Windows Forms row error
hi, i tried all combinations possible, i get the hasErrors to work only when there is more than 1 record in tb1. for the first record i add and press save, it goes into msgbox no. how can i refresh or somthing Private Sub Save( ByVal e As Object , ByVal er As EventArgs) Handles mySave.Click CompareTwoGridsForEquality() CompareCompleteness_of_grid2() checkCompletenessOfallRowsInGrid1() If Me .ds.Tables( Me .tb1name).HasErrors Then MsgBox( "yes" ) Else : MsgBox( "no" ) End If End Sub And this workss!!! thats stupid now.whats happenning here wat am i missing ouput is no then yes. If Me .ds.Tables( Me .tb1name).HasErrors Then MsgBox( "y ...Show All
SQL Server GACUTIL.exe Not Available
Hello, I am going through some examples on how to build custom tasks, and apparently, I don't have the gacutil.exe utility. I guess it does not come with the .NET Framework 1.1 or 2.0. How do I get this utility Thank you for your help! cdun2 Try installing the .Net Framework SDK 2.0 if it is really nowhere to be found. If you are using Visual Studio, I would have expected to be there as the SDK is part of the default install, it may even be required. Have you done a full Search on your machine It is not included with the smaller .Net Framework redistribution package aimed at client mahines. ...Show All
Visual Studio Express Editions Minimizing Some Other Softwares To Tray
Hi! I have this software which does not have a feature which is minimize to tray. I wish to ask if it is possible to write a software which minimizes other .exe files to tray. I wish to minimize the software to tray during startup of my computer. Thanks! Sam well I guess you could do a SendKeys of the Windows Key and the D key, as this forcefully puts all the applications that are up on the screen, minimized to the taskbar. http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx Another way would be to use the FindWindow API, but you would have to know the names of all the Window titles of the applications, then call an API to minimize them to tray, which ...Show All
Windows Forms Problem with value DataGridViewComboBoxCell
In VB 2005 Express I have a problem, which completely do not understand. I use a DataGridViewComboBox in a DataGridView. When I change data and save it, I have no problem. But when I close the form I a repeting error, being: System.ArgumentException: DataGridViewComboBoxCell value is not valid. Can anybody help Thanks in advance, Simon Use the following link: http://lab.msdn.microsoft.com/productfeedback/Default.aspx -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Microsoft ISV Community Center Forums opc
I am trying to develop an opc - da client using .net technology. Have gone through the documents on opc and opc client and all, but am still not sure how to implement it, can someone give me a direction on how to start with it When i try add an Opc group, i get te following error message: Opc Server add group failed with exception: Unable to cast object of type 'OpcAutomation.OpcServerClass' to type 'OPCAutomation.IOpcGroups' Does anyone help me ...Show All
Visual Studio 2008 (Pre-release) NetTcpBinding -> UsernameAuthentication
Hi, I have a server with NetTcpBinding enpoint and I want to use custom username authentication on a session level. So, credentials are only transmitted once when the session is established and not with every message sent. Can someone help me out here Thanks, Tom btw., how can I set the security mode in code I know how it works with the config file but doing it in code doesn't seem to work: NetTcpBinding binding = new NetTcpBinding(); binding.Security.Mode = SecurityMode.Message; host.AddServiceEndpoint(typeof(IQuoteServiceContract), binding, "net.tcp://localhost:8000/QuoteService"); host.Credentials.UserNameAuthentication.CustomUserNamePasswordValidator = new Cus ...Show All
Visual Basic Looping
How do I setup a for next loop array to open files if I don`t know how many files are in the folder If you're working with VS2003, try the following: Dim folder As String = "c:\" Dim pattern As String = "*.*" ' Find all files in selected folder Dim files() As String = System.IO.Directory.GetFiles(folder, pattern, IO.SearchOption.TopDirectoryOnly) ... ' Selected index is an index of the picture you want to display [from the files() array] Dim selectedIndex As Integer = 0 ' Load picture in the picturebox PictureBox1.Image = Image.FromFile(files(selectedIndex)) Andrej ...Show All
.NET Development RFID Reader Project
Hello, I'm currently working on a project which involves a serial port RFID Reader. I have connected the Reader to COM2 of my PC and i'm trying to get the signals from the RFID Tags. I'm using Visual C# and SerialPort class. The problem is that i can't read or write to the port. I even tried to write something to the port using port.Writeline("string") and then read it with Readline() but it seems that nothing is written and nothing can be read. When i set the RtsEnable to TRUE the BytesToRead property changed from 0 to 9 no matter what i did and still i couldn't read anything. I also wanted to ask you if you have any code samples to send me or if any of you has written a similar program that works. I need to fix t ...Show All
SQL Server Same here
Visual Studio runs out of memory when trying to use SSIS package. I am trying to create and run a SSIS package that validates and imports some large xml files >200MB. Validation fails because Visual studio cannot open large files without running out of memory. The SSIS package throws this error when I run the package..at the validation task. Error: 0xC002F304 at Validate bio_fixed, XML Task: An error occurred with the following error message: "Exception of type 'System.OutOfMemoryException' was thrown.". How do I increase the amount of RAM that VIsual Studio can use...I have plenty of RAM on my workstation >3GB, but VS chokes maybe around 100MB files Thanks, Forrest So far no one has giv ...Show All
SharePoint Products and Technologies Cannot upload a .exe file to a sharepoint site.
Hi, I am unable to upload an exe file to a site created using MOSS 2007. Inspite of removing .exe from the list of blocked files in Central Administrator, I still cannot upload a exe file. How do i upload a .exe file Any information on this will be appritiated.. Thanks in advance, Regards, Sunit Pinto Probably the easiest way is to just zip up the file. SPS was not really meant to replace a file share so things like exe files are better left off of it. I believe Mike Fitzmaurice has a blog entry about just this type of thing. ...Show All
SQL Server How can I display different bands (detail records) based on a key column in a table.
How can I display different bands (detail records) based on a key column in a table. Based on a key field, I will like to display a different set of columns Data is shown below keyid Name Company 1 Brenda USAirways 1 Lawrence Costco 1 Linda WalMart 2 Sarah MCI 2 Peter Dell 3 Paul Stanford 3 Tina HP 3 Felix Apple 3 Susan TDK I will like to display columns Keyid, Name when keyid is 1, Columns KeyId and Company when keyid is 2, and Columns KeyId, Name, and Company when keyid is 3. I assume that you'd only ever show one record type at a time. Depending on how you do this - parameter filter, grouping/paging - you can write an expression in the visibility property for the columns you wish to show ...Show All
