Graham Harrison's Q&A profile
SQL Server SQL Server 2005 Problems
Dear Microsoft Product Experts, Recently I installed SQL Server 2005 Express Edition. I don't remember the installation sequence exactly, but I believe that I chose "windows integrated authentication" rather than sql server authentication. This has made the database unusable with PHP, and this deficiency is significant to me. I could not figure out how to change the database from NT authentication to SQL Server authentication, so I decided that I would just try installing a new instance. To remove the old instance I used "Add/Remove Programs" from the Control Panel. Now when I go to install the new instance, I get SQL Server 2005 ...Show All
Windows Forms antenna sample flaws
I want to use the antenna feature... Setting an antenna state is easy. How can I read it on an animal that I have in my target list - the objects that are returned via scan() Sounds like you may be using an older version of the Terrarium Client If you view the items in the OrganismBase assembly in the VS.NET object&n ...Show All
Visual Studio 2008 (Pre-release) control template question
If I have the following template, how to refer to 'sv1' when the button is clicked < ControlTemplate > < Border CornerRadius = " 10 " Height = " 300 " Width = " 200 " > < StackPanel Orientation = " Vertical " > < RepeatButton Style = " {StaticResource upbtn} " /> < ScrollViewer VerticalScrollBarVisibility = " Hidden " HorizontalScrollBarVisibility = " Hidden " x:Name = " sv1 " > < ItemsPresenter Height = " 240 " /> </ ScrollViewer > < RepeatButton Style = " {StaticResource downbtn} " /> </ StackPanel > </ Border > </ ControlTemplate & ...Show All
Visual Studio Tools for Office Office SP1 & SP2
Hi everybody, As I started with my VSTO project (September 2005), I had to install the Office SP1 so that the customization works. Well of course the SP1 should be installed on the target machine also. But now there is allready the SP2. Now my questions are. Do I realy need to deploay the SP2 And do I need to install first the SP1 and then the SP2 or can I just run the SP2 Or is it better to deploay both and install both on target machine, of course in the correct order. ------------------------------------------------------------------------------------------- Well there is still one thing. How long do you need to ...Show All
Visual Studio 2008 (Pre-release) WinFX Development Environment Installation Trouble
I have followed the instructions at http://msdn.microsoft.com/windowsvista/getthebeta/default.aspx for installing WinFX for development. WinFX RTC - file version 2.0.50727.151 installed fine. Visual Studio 2005 version 8.0.50727.42 (RTM.050727-4200) Full Install installed fine. Windows SDK will not install it fails with the following message: Windows SDK cound not be configured, see the 'Installing the SDK' section of the Samples\Setup\HTML\ConfigDetails.htm document for more information. First of all - what is that path to the ConfigDetails.htm relative to - where can I find this file Are there any log files that ...Show All
Visual J# using J# dll with ASP
Hi, I've been developing a product search that does queries and rankings with the database on the site. I got everything to work perfect on my test box, but I cannot seem to get it to run on the server. Even after I register it, I get Server object error 'ASP 0177 : 80070002' Server.CreateObject Failed It does this even with an incredibly simple J# object. Do I have to compile it on the server What all do I need on the server when I use RegAsm.exe to register it Thanks, Matt Thanks for telling us the solution that saved me a lot of time trying to understand why a .net co ...Show All
.NET Development Error 27 Option Strict On disallows operands of type Object for operator '='. Use the 'Is' operator to test for object identity.
Hi Guys How would I best resolve this, VS 2K5 is complaing about the values in the case statements and not able to test for object Identity, I don't want to test for object identity I'm looking for values, I know I could add the ToString option after optCurrency.Value.ToString and then put both the "2" and "3" in quotes but that does't seem right either, any thoughts Select Case Me .optCurrency.Value Case 2 Me .optCurrency.Value = CurrencyType.Euros 'load combo box Call LoadFundId(CurrencyType.Euros) Case 3 Me .optCurrency.Value = CurrencyType.Sterling 'load combo box Call LoadFundId(CurrencyType.Sterling) End Selec ...Show All
Windows Forms how to add a new row in datagrid in windows forms if the first column is custom DataGridCombBoxColumnStyle
dear sir i visited your site and also read the FAQ on datagrid.sir i have following problems with data grid plz help me to solve these problem. 1. I have added custom column style to add a combobox to my datagrid.The first column of my grid is this custom combobox.The second column is datagridtextbox column style that is provided by the data grid. ...Show All
Visual Studio Team System Insall Error: 28703 Unable to contect to SQL Server
I have SQL 2005 installed as a default instance and SQL 2000 as a named instance. Are there issues with this configuration Matt I had a similar problem. It turns out that it was due to a previously failed install. The error message in question is very misleading. The real cause is that SQL Server cannot create the database "TFSWarehouse", or something similar. Use SQL Profiler to see what SQL it's executing when it fails. In my case, it was failing because a database with that name was in the DATA directory of SQL Server. I deleted those files and the install worked. ...Show All
Visual Studio Express Editions Notify Icon
I'm trying to get my application to minimize to the system tray but it doesnt' seem to work. Do I need an icon set in the properties for this to work I have draged the NotifyIcon to my form, visible in properties is set to true, what else do I need for this to work. ...Show All
Architecture WSE 3.0 solution
I am designing a system that will be using WSE 3.0 with RM for message transfer. One of the endpoints of this system is BizTalk 2004 (may be 2006), which does not support WSE 3.0 natively. That means that I need to have Web Services component that will unwrap the message and send it (or drop it) to Biztalk. What would be your suggestions for exchanging messages between this Web Services component and Biztalk Thank you Arnon. I'll certainly try to come up with a proof of concept. Actually, the performance requierements aren't that tough. We expect a few thousand messages during a peak hour, probably 1-2 messages/sec. The size o ...Show All
Visual C++ How VS 2005 decides to build a project
I have a project that keeps building even if it completes successfully in VS 2005. Is there a way to determine what is causing this build to kick off instead of it saying up to date No we are using the VS IDE. However this has seemed to work itself out with a complete delete and rebuild of our source tree. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Graphics Engine Design
I am looking for material on designing a graphics engine. The main purpose of the engine will be tech demo development and function as shader playground. To start with I have some ideas about decoupling materials and shaders. I would like to have the flexibility that an object can have multiple materials. One part could be a diffuse surface with phong illumination, another part of the same object could be a bump mapped rusty surface with cook-torrance illumination etc. If anyone could point me to some good sources to investigate or have some thought please share. ...Show All
Visual Studio Adding a new type to the BuildAction Enum in the Managed Visual Studio Project Sample
I'm trying to add a new type to the BuildAction enum. I can do this easily by editing the enum in the base class - but is there a better way to this That is, without editing the files in the ProjectBase The existing types are "None, Compile, Content, EmbeddedResource". I want to add "Assemble" to this set so that my MSBuild task is simpler. I can override the relevant methods in the ProjectNode class but I can't override the enum. Am I missing something obvious Dermot We have extended projects in this manner. This isn't a definitive answer, but the build action can be anythin ...Show All
Visual C# Enabling/Disable ToopStrip Buttons
Hi All, I was browsing for an answer prior to posting this question. Here is my question... I created a windows form with menu and toolstrip buttons. After I launched a MDI form f, I would like to enable or disable the navigation keys when the form load. How do I achieve this scenario toolstrip_navi -> consists of the following buttons first_toolstripbutton prev_toolstripbutton next_toolstripbutton last_toolstripbutton TIA you want to disable them after you close the mdi child form or after loading the mdi parent you can disable or enable them by using the .enabled property, ex. this.first_toolstripbutton. ...Show All
