Wrongun's Q&A profile
Visual Basic How to use ArrayList in my game?
Hi everyone, I'm a newbie in this forum. Currently I'm working on a game and I need help on how to use arraylist in my game. Maybe I shall explain a bit on my game :) It's a VB.net game where a chicken has to eat up all the seed which are scattered on the ground. Hence, my question is that how do I make use of ArrayList for the seed in order to make my seed disappear after eating and redraw themselves after all the seed ...Show All
Windows Forms Anyone know why my pretty icons look stupid on toolbars? :-)
Hi everyone, Any help with the following would be very greatfully received. I've been having a lot of problems trying to get the standard winforms toolbar to display my images correctly. The image in question is a 32x32 icon graphic saved as a png (with& ...Show All
Visual Basic VB 6.0 keyboard scheme in VS 2005
Hi Does anyone knows where I can find the VB 6.0 compatible keyboard scheme in VS 2005 beta 2 Now, I found only "Visual C++" and "Visual Studio 6" keyboard mapping schemes. Thanks. Unfortunately the Vsiual Basic 6.0 keyboard scheme was lost in the Beta2 release. But don't worry - you can still get what you want by: * In the Tools top level menu, select Import and Export settings... * Select Import Selecte ...Show All
SQL Server SSIS Conditional Flow?
Hi, In the new SSIS how can i implement a conditional workflow without having a base task Imagine i have a FOREACH Loop based on a resultset and if a certain column have True i want to execute a certain task inside the loop and if is false i want to execute another one... How can i achieve this Best Regards, Luis Simoes Put an empty sequence container in front of the tassk you want to execute and put an expression on the precedence contra ...Show All
Visual Studio Express Editions Checking if application is already running
I have added a context menu item to my application. The problem is that, if it is already running and I right click a file, another instance of the program opens up. How can I check if the program is already running, and if it is, how can I pass control to the existing instance Thanks in advance. Thanks to everybody who replied. I now have a lot to read, but I'm sure I will find answers there/ ...Show All
SQL Server VB.net 2005 and SQL
Hello, I'm relitively new to the VS.net 2005 platform and need to create an SQL database for my current project to work properly, but I keep being told that I can't access the SQL Server 2005 Express to create an database. Has anyone else had this problem, and how can I get around this Thanks N. Rawe Did you install SQL Server Express during the Install of Visual Studio Even user instances need SQL Server Express as a hosting insta ...Show All
Visual C# Getting a COM dll's version from it's COM registry entries
We currently have some code that goes like this: object savePath = null ; // get smartconnect type from prog id of COM component SmartConnect.dll Type smartConnectType = Type . GetTypeFromProgID ( "SmartConnect.CSmartConnect" ); // create instance of smartconnect Object smartConnectObject = Activator . CreateInstance ( smartConnectType ); // get the save path savePath = smartConne ...Show All
Windows Forms DataGridView - what we are all saying here
I think the jury has clearly rendered its decision. Collectively we all like the DataGridView and are very "excited" about implmenting it. There are a number of articles scattered about it but clearly there is a need for Microsoft to have additional documentation on this specific control in the various languages with some samples - actual form samples that we can review with Northwind. DateTimePicker column implementation (espec ...Show All
Microsoft ISV Community Center Forums Vb in acces : hide input data
hello, anybody got an idea how to make text entered in an inputbox become visible as **** thx Hi TnTico, I would have said look for a PasswordChar property of the text box but there doesn't seem to be one. Use the Input Mask property instead. I've just checked and there is a input mask setting for password input. ...Show All
Visual C++ worked fine for me, failed for them
I've written a small windows form app with express beta2 in C++ (I figured I'd post here since it prolly relates to a general VS thing, I dunno) It worked fine for me, so I zipped it and sent it to a friend, but when he tried to run it, he got the erro message saying: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." Being new to Visual Studio, I' ...Show All
Visual Basic Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael I was told by two different Microsoft employees that Visual Studio 2005 Express Edition was the right version of Visual Studio 2005 for me to use for all of my needs including access to ODBC and MySQL data. They emailed me a link with a comparison of a ...Show All
Visual Basic Are vbc.exe /nostdlib and <NoStdLib>true</NoStdLib> broke?
How do you exclude mscorlib.dll, System.dll, and Microsoft.VisualBasic in VB Initially I tried to use this MSBuild attribute: < xs:element name = " Vbc " substitutionGroup = " msb:Task " > < xs:complexType > < xs:complexContent > < xs:extension base = " msb:TaskType " >   ...Show All
Visual C++ How to prevent user from clossing Application
I wanna develope an Application that run all time. But, if my Application minimize on taskbar, user can right click and Close my App. How to prevent the popup menu when user right click on taskbar (or disable Close message when user choose Close on Popup Menu). Please help me !!! Hi, You can just add a handler to your application for WM_CLOSE message, return 0 to stop processing of this message and do not call DestroyWindow. This is what y ...Show All
Game Technologies: DirectX, XNA, XACT, etc. BUG: Managed DirectX and Math.Atan()
I'm writing an application in C# with Managed DirectX and I noticed that if I run this (simplified) line: angle = Math.Atan(0) + Math.PI; I get a result that is not Math.PI. It's off in the 7th decimal place. Even if I further break it down like so: double temp = Math.Atan(0) angle = temp + Math.PI ...you get the same result, yet if you compare temp to 0.0 it says they are equal. Also, if you just run: ...Show All
SQL Server data mining
well, i;m doing a thesis about data mining right now.And i found some difficulties. In my thesis i use visual basic 6.0 and sql server 2000 database and sql server 2000 analysis service. For information i use DSO (Decision Support Objects in programming). I've read claude seidmann book about data mining and i really help with that book. But i still have some questions about data mining using DSO : 1. I have made a relational mining model using V ...Show All
