Graham Stanbury's Q&A profile
Visual Studio Does VS2005 support Mixed Mode Edit and Continue in Unmanaged C++ code?
Under VS 2003 I was able debug unmanaged C++ code called from a managed C# project and use edit and continue to modify the C++ code. Under VS 2005 I am not able to get edit and continue to work on the C++ side when using mixed mode debugging. If I use native only debugging it works. Was this functionality taken away in VS 2005 or do I have a project setting wrong someplace Great question. I just wrote up ...Show All
.NET Development VB6 and CCW's
Hi, I need to start writing a set of classes that will be used by our VB6 application. Because I have'nt done much in the past with COM interop, I was getting a bit confused as to what attributes I need to use on my managed classes. for example, do I need GuidAttribute and ClassInterface and ProgId, or just a few of these Remebering that these .NET classes will only be used by our VB6 code, nothing else. Thanks for your help Graham ...Show All
Visual Studio Express Editions Create User Problem?
Hello Dears; If i create a user in VWD2005, i usually get this error; Password length minimum: 7. Non-alphanumeric characters required: 1. I tried to enter many different passwords with and withour numbers, but invain. Can anybody find the cause Thanks Can you d ...Show All
Visual C# turn this algorithm into code...help please
The following algorithm is for checking a person's birth date / birth number combination (an equivalent to social security number). The birth date / birth number combination consists of a 10 digit number, YYMMDDNNNN, for example 7401204933. To decide if this number is correct, you multiply each digit alternatively with 2 and 1, starting with 2. Next, you add the results together. Finally, you have to be able to evenly divide the sum by 10, for ...Show All
SQL Server Can the SQL Server 2005 be installed on Windows 2003 SP1?
I recently attempted to install Windows 2003 SP1 on a machine on which someone had previously installed SQL Server 2005. The build number for the SQL Server 2005 installation is 9.0.1116. (BTW, which CTP is this build number ) The installation of the service pack seemed to go okay, but I soon got calls from users reporting that they could not log in to the instance. I investigated, and discovered that the SQL Server servic ...Show All
Windows Forms listView
i have listView1 and i want to be able to select the index i want..just like in a listBox... example in a listBox u can do: listBox1.SelectedIndex = 10; and it select the index 10... listView does not have the SelectedIndex so how can i select the index that i want No. That returns the index of the focused item not the selected item. The focused item is not the same as selected item, although sometimes th ...Show All
.NET Development Customize the "error report" send by a crashing application
When the .Net application crashes, a dialog box appears and proposes to send a report to Microsoft. Is it possible to customize the behavior of this dialog box to send the error report to an other server Thanks in advance, Joannes There is no way within your application to specify a different server for error reports. However, there are a couple of ways to obtain your error reports, depending on your scenario ...Show All
Windows Forms bouncing ball
Hi i want to learn abt GDI, i have read a bit on it, and i want to try it out. I want create a bouncing ball appliacton. I wan to have a ball in a form and when i clcik start it moves around, i also want to be ...Show All
Visual Studio Express Editions Creating a Cash Register StyleTextbox Display
Hello Spotty, Renee...Thank You all for helping me to learn VB2005. I say very sincerely, It's been a lot of fun, and hard work(thinking)!. I've pasted code to show what is presently being done. Until several keys are pressed, the end user cannot tell what they have pressed. Evereything is done by mouse down, or click, as this will be a KIOSK only Touch Screen App. The display would be preferrably righ to left with each digit showing ...Show All
Windows Forms Visual Studio .NET 2003
When I open Visual Studio .NET 2003, the list of recent projects that is listed shows an incorrect modified date. The date shown is the date the project is created. As I work on the projects day by day, the date does not change. It worked& ...Show All
Visual Basic finding directory size in vb.net
I've been trying to find the size of a directory with vb.net but not having much luck. I've tried things like: My .Computer.FileSystem.GetDirectoryInfo(basePath). but no appropriate methods or properties are coming up. Any ideas Thanks. My intuition is telling me something. I dont think you're going to be able to just call a property a receive a number. I think you're going to nee ...Show All
Visual Studio Team System Sharing FxCop project
Hi, I'd like to know if there is a practical way to share an FxCop project between different developers and code reviewers. If you share the project through source safe I guess you would have to chek it out everytime you exclude a message or select/deselect an assembly for analysis and then check it in again for someone else. The goal would be to give all developers the same settings for a particular project, same excluded messages, etc. Any i ...Show All
Visual FoxPro Reindexing a free table in .NET
I am responsible for a set of VFP Free Tables used for storing client information. The front end for these tables has been created by a third party, however, the system is problematic and the index becomes corrupted on an almost daily basis. I am currently looking at a way of reindexing the tables on a nightly basis, as part of a scheduled application. One slight snag, I'm a C# developer, not a VFP developer. I have downloaded the ...Show All
Visual Basic Refreshing data
My datagridview is not refreshing after a stored procedure changes the underlying data. I've tried using the .Refresh method, but it doesn't repaint the form. How can I force a requery very useful one. i too searching for the same. Found the answer now and its working well. once again thanks. ...Show All
.NET Development How to handle Windows Users in an application (C# or VB)
Hi all, I had a problem in fetching / setting Windows Users and Groups by coding. Let's assume the user of my program will login as Administrator, the program needs to check whether a certain user with certain privileges exists. If such user is not found, the program will create such user with correct privileges. How can I achieve this functionality Any kind of help or piece of idea are welcome! I code in C# or VB 2005 release version, ...Show All
