April m's Q&A profile
Visual Studio Life without source safe?
I have used source safe in the past and it was very helpful. I don't have a copy of it in the place i work right now. It's going to be a while before we get that in. I just want to know that if 2 developers work on the same project (saved at a shared location) and ALWAYS work in different forms. Will this cause any problems Thanks for your time!! Sounds crazy. Even if you're very careful not to work on the same form simultaneously, you can easily clobber the sln/proj files without realizing it. And of course there's no way to roll back mistakes, etc. Using source control is #1 on the Joel Test (http://joelonsoftware.com/articles/fog0000000043.html). There are lots of free alternatives -- including MS Tea ...Show All
Visual Studio Unable to install Visual Studio 2005 in Vista
Hi, I am unable to install VS 2008/VC8 in Vista, I did right click and selected to run a administrator. But VS 2005 shows an error message there is not administrator available. Thanks, It sounds as though you don't have an adminstrator account set up on the machine.... Have you tried this: Copy the contents of the DVD to your harddrive and start the setup from there. Also stop Windows Defence. Thanks- -Tim <MSFT> ...Show All
Windows Forms 2005 RTM: A circular control reference has been made. A control cannot be owned by or parented to itself.
Well, dang. I had re-done a form that was causing me other problems with the designer. All seemed fine, I went home, and returned to the form this morning to find this: A circular control reference has been made. A control cannot be owned by or parented to itself. This form has a few split containers on it. This instability is very frustrating. Anyone else ever see this It's a Designer bug. I think the problem occurs when you put one SplitContainer inside another and then start going around renaming the SplitContainers. Double-click the related warning in the errors list, and it will bring you into the line in the *.Designer.vb file that's causing the problem. It will look something l ...Show All
SQL Server SQL Server 2005 with SQL 2000 Emulation Mode
I am installing an application that makes reference to "SQL Server 2005 with SQL 2000 Emulation Mode Enabled". But I'm not seeing how to turn this on within SQL Server 2005. Is 2000 Emulation Mode available somewhere Can anyone point me in the right direction Thanks, Derek I expect that they want your database to be in 8.0 Compatibility Mode, and not in 9.0. Here is a way to check....This query will return databases that are in 9.0 Mode: select name, compatibility_level from sys.databases where compatibility_level = 90 To change the mode, the DB should be set into single-user first, in my example below the database name is DIR: ALTER DATABASE DIR SET SINGLE_USER go Then change the ...Show All
SQL Server Database Subscriptions
I'm working with SQL Server 2005 Developer Edition and am trying to set up a new subscription to a database I created using Management Studio. In the step where you are prompted to choose the Subscriber Type I only have two options: SQL Server 2000 and SQL Server CE. Why don't I have the options to choose SQL Server 2005 and SQL Mobile 2005 ...Show All
Windows Search Technologies Windows Safe Search Filter - Application Error
I use Windows Desktop Search and recently starting getting an error message. Details: WindowsSafeSearchFilter.exe - Application Error The exception unknown software exception (0x0eedfade) occured in the application at location 0x7c812a5b Followed by the error: Runtime error 217 007F0EEE What do these errors mean Been geting the same error with IE 7 on shutdown. Updated Acrobat Reader - also disabled the Reader Plugin - also disabled Shockwave Plugin (the last thing I installed before the problem started occuring) - problem seems to be solved - I'll reactivate one then the other - hopefully one is the culprit. In either case, it seems Adobe is the culprit. ...Show All
Software Development for Windows Vista InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'XXX'
I'm trying to create a series of COM+ "transaction wrapper" classes, and I'm encountering the InvalidCastException menited in the subject line. Background: I've created a base class like so: [ ComVisible ( true )] public abstract class ServicedTransactionBase : ServicedComponent , IServicedTransaction {blah blah blah} Here's the interface: public interface IServicedTransaction { object Execute( object prmObject, string prmMethodToExecute, params object [] prmMethodParameters); void Commit(); void Rollback(); } Here's a concrete "transaction" class. [ ComVisible ( true )] [ Transaction ( TransactionOption .Required, Isolation= TransactionIsolationLe ...Show All
Visual C# Public field not accessible, forced to create an accessor...why?
I have run into this multiple times in the life of the app I'm working on. The scenario is simple. I've got a public field in a class that I create an instance of. I cannot access the variable via an instance, but I can if I access it via the base type or if I make it private and create an accessor. Initially, before adding the accessor, both the field and class are public and not static. The only pattern I can follow is that it is consistent across classes. Either all the public fields are open in a class or none. Any ideas on things to look at I can post some code if it comes down to it. Thanks! Greg Hi, Another thing you should be aware of with const variables are that they are replaced at ...Show All
Visual Studio Team System Mapping a new Team Project to a non-root source control folder
There are three source control binding options when creating a new Team Project: Create a new root folder $/MyTeamProject Create a new root folder $/MyTeamProject from a branch Do not map source control yet However, if you pick option #3, when you double-click on the Source Control node you're prompted to create, you guessed it, a root folder $/MyTeamProject. Is it possible to map a new Team Project to an existing, non-root source control folder One of our potential customers has a lot of existing source with a specific folder layout, and they aren't very happy about having to change their source layout to this "every team project has a root folder" arrangement. Any comments or suggestions on how to h ...Show All
Visual Basic Changing Resolution
I have made a program called "Who Wants To Get 100 From Biology" .It's just like "Who Wants To Be A Millionaire". And I have used some graphics. But I have made it in the resolution 1024x768px . I want the resolution to change automaticly at the start and change the old one.How can I do it I didn't use DirectX I don't know how to. Please reply me in your earliest convinence. Regards, Mustafa A quick search around brought up this: http://dotnet.mvps.org/dotnet/faqs/ id=setscreenresolution&lang=en However, You really, really don't want to be doing it. For example, what happens if you change the resolution and it doesn't work How will you get it back This had bett ...Show All
Visual Basic FolderBrowserDialog1 fails when the user selects a folder name that's to long
I was wondering if anyone know how to prevent a user to select a foldername that does have a long length name. When I run this code: If Windows.Forms.DialogResult.OK Then If Windows.Forms.DialogResult.OK Then If FolderBrowserDialog1.ShowDialog() = DialogResult.OK Then txtFileDirectory.Text = FolderBrowserDialog1.SelectedPath lblInstall.Text = txtFileDirectory.Text btnContinue.Enabled = True End If End If End If I get a error if I select a foldername that has a long foldername length. I think more than 50 characters. Can anyone help Thank you.... B Hi, ' This is reading the Form DialogResult (Access of shared member)! 'If Me.FolderBrowserDialog1.ShowDialog ...Show All
Visual C# install application in other PC
Hi I have finished to write my application in C# . I am using a database with Microsoft SQL Server 2005 for my application. I have publish my software but now i want to have another copy of my application in other PC. Do i need to install SQL Server in the other PC as well When i do it do i need to change some setting in my code like ConnectionString What is the best way of install application in this case Thanks a lot for your help. I do appreciate that. Best Regard Ha as we install normal software, there is no need of install DBMS like oracle or sqlserver separate from the others component. So what is the best way of install a software with a database to different machine Thanks a lot for your help ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What is the best software for game dev with XNA?
As the title states, what software will be good to have. I am going to download Visual C# Studio Express, but what else is good for stuff like graphics or sound. I have a limited budget so I am looking for something in the free to $100 price range, if possible. Thanks for any help you can give me. I installed Blender 2.42a and Python 2.4, now, In the Menu File > Export I don't see the option to export files in .x or .fbx format. So I want to know something, Is It possible to export .x or .fbx files in Blender . And other question is, In what formats can work XNA Framework(I mean what formats can import) . ...Show All
SQL Server Login failed, user is not associated with a trusted SQL Server connection
I set up SQL Express and Visual Studio Team System for the first time yesterday. I created a web service (on my localhost IIS) and added an MDF file to my App_Data folder. I added a table with five fields. I'm trying to connect to the database in my web service, but when my web service gets to the connection line it returns the error System.Data.SqlClient.SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection. When I add in my domain name and password to the connection string I get the error System.Data.SqlClient.SqlException: Login failed for user 'redmond\danmor'. The user is not associated with a trusted SQL Server connection. I've queried these SQL forums, and the advice is u ...Show All
Visual Studio Express Editions Grid
Hi I have a simple datagrid placed on a windows form. I am able to display the data required with the grid.But the grid is crossing the boundaries of the form, i wanted the grid to autofit to the window displayed and enable to view the rows using scrollbars. Can anybody help Thanks in Advance! Santhosh beside every post you will find a button "mark as answer" see which post answered your questions and click the button of this post hope this helps ...Show All
