CougarKitE's Q&A profile
Visual Studio Tools for Office How can I tell if KB 907417 & 908002 are installed?
Hi; We need to put a check in our installer that 907417 & 908002 are installed (we have given up on getting them included in our installer - nothing seems to work). The problem is that the only test we have been given is to test that the node HKCR\Interface\{000C0601-0000-0000-C000-000000000046} exists. However, that node has no values and the Microsoft installer has no way to check just for the existence of a node. So, what else can we check to see if LockbackRegKey.msi has been installed Same for ExtensibilityMSM.msi. Also, for the KB907417 install, is there a way to see if it has been run other than searching the ...Show All
SQL Server No witness, primary shutsdown, bring failover online
First of all, Great webcast today. My question is, I have everything up and running and would like to know what to do when the machine my primary is on quits or has a some type of disaster. Do I need to manually run recovery on each db that was mirrored I'm not currently running a witness. thanks No, you don't need to recover anything but depending on which mode you are running you will need to iether manually initiate a failover from server A to B or force the service from server A to B because you are running without a witness. do you know what mode you are running, high-performance or high-protect ...Show All
SQL Server All possible combination in a where condition
Dear all, In the dataset of a report in the Reporting Services 2000, I need to write an SQL statment with a Where condition which makes all possible combination of 10 conditions. Could that be done by any way except by ORing and ANDing all the conditions For example, If I have three conditions, A, B, and C, I need all possible combinations in a WHERE condition as follows SELECT * FROM table WHERE A = @A OR B = @B OR C = @C OR A = @A and B = @B OR A = @A and C = @C OR B = @B and C = @C OR A = @A and B = @B and C = @C Note: @A, @B, @C are Report parameters I need to do the same with 10 conditions, I think it's too much to do it that way. ...Show All
.NET Development Application_AcquireRequestState Execute twice per request
Code inside of the global.asax file on the Application_AcquireRequestState event fires twice for each request. One the first request I have session state and on the second, I do not. Here is simple test I ran to verify that it is running twice: Protected Sub Application_AcquireRequestState(ByVal sender As Object, ByVal e As System.EventArgs) If Request.IsAuthenticated Then System.Diagnostics.Debug.Print( "Inside Application_AcquireRequestState" ) End If   ...Show All
Visual Basic Resizing Inherited Forms?
Has anyone had problems with resizing a form that has been inherited from another form My example goes like this: 1. I create a base form with 2 buttons that are anchored to the bottom, right 2. I create a new form that inherits from this form (Visual inheritance). At this time, you can resize this new form and run it and all is good. 3. Next add a button to this new form and anchor it to the bottom, right 4. Drag the size of the dialog to be larger then the base class 5. Run the code. What you should see is that the original 2 buttons come in at the location of the base class and not the new class size. Any idea ...Show All
Visual Studio Express Editions Visual Web Developer Express does not recognise ASP code in source view?
We still have to work on some ASP pages at work so I use VS 2003 to open the ASP pages and work on them. I have found Visual Web Developer Express 2005 to have a superior design environment to that of VS 2003. Our ASP pages are in mixed code format where the code is mixed with the html. My problem is, I noticed the source view in Visual Web Developer Express does not recognise the VB code that is mixed with the HTLM even though enclosed in <%...%>. VS 2003 does not have this problem with ASP pages even though it is a .NET tool too. Is there any setting I can change to g ...Show All
Visual Basic Text from a notepad
when i click button1 i want it to read the text from a certain notepad and then put all the text from the notepad into a textbox, how thanks If you are operating that notepad, you can always do a control-A, Control-C to copy the contents to the clipboard - from there it is very easy to programmatically move code from the clipboard to your textbox. If My.Computer.Clipboard.GetText().length <> 0 then Textbox1.text = My.Computer.Clipboard.GetText() else beep Textbox1.text = "The clipboard is empty" endif I hope this helps ...Show All
Windows Forms Weird behavior when customizing property grid.
Hello guys, I'm studying the architecture behind custom controls and the property grid in 2.0 for a while now, but I still not seem to get it completely. I've tried a couple of strategies, which all resulted in some undesired behavior that I cannot explain. I hope someone can help me out and provide me with the missing details. Strategy 1: ICustomTypeDescriptor I linked an extension of CustomTypeDescriptor to my custom textbox through a TypeDescriptionProvider. In this extension I have overridden the GetProperties method and I return only the properties I want the grid to show (say Name, Location and Size). Having done this I enc ...Show All
Windows Forms VB Express 2005...no Publish option available
I am trying to publish a dll I wrote in VB Express 2005 so I can use it in an Access 2003 Application. There is no option to publish either on the project menu, or on the right-click menu of the project in solution explorer. What am I missing here Is that express only, or even the full editions And what is the point of a language that won't publish DLLs How are you supposed to create class libraries for re-use Lisa ...Show All
.NET Development How to execute queries on a DataSet
Is there a way to execute queries on a Dataset Thanks in advance for your answers Dim MyDataRows () As DataRow = MyDataset . Tables (0).Select( MySQLStatement ) ...Show All
.NET Development Rationale on the System.Collections.ObjectModel namespace
I'm curious to know the rationale on having the System.Collections.ObjectModel namespace. More importantly I'm curious to know why only 3 generic collection classes are in there while the interfaces and the remaining generic classes (Dictionary, List, etc.) are in System.Collections.Generic. It seems to me that this is counterintuitive. I thought the original purpose of System.Collections.Generic was to isolate generic collections from regular collections. If so then it would seem that System.Collections.ObjectModel should be for non-generic collections. Additionally it would seem to me that the hierarchy viol ...Show All
Visual Studio Team System HTTP Status 401: Unauthorized - when trying to publish or view a test result
Hi there, I currently have the Team Foundation Server running on a VPC on machine A. When I connect to the server on another machine B, I cannot publish test results or view test results from Work Items. I can do all other things (create a new project, new work item, add attachments, view Project portal, etc.). Machine B is on a different domain, so I just connect to the TFS using its local credentials. Is this the problem Any help is appreciated. Thanks, Jennie --- Happy Holidays The build machine domain must trust your domain or the user that you are logging ...Show All
Visual Studio Express Editions Start Debugging (F5) Crashes IDE Web App
Greetings, I am creating a website with Visual Studio 2005 Beta 2. Every time I try running the application with (F5) start debugging it crashes the IDE and wants me to report the problem to Microsoft. It works find if I start the application without debugging <ctrl>+<f5>. The web project is using location "File Type" using the ASP.NET Development Server on port 1147. The error I get is "Microsoft Visual Studio has encountered a problem and needs to close. If you had files open that contained unsaved changes, these changes might be lost. Restart Microsoft Visual Studio Beta. Send an error report to Microsoft.... blah ...Show All
Microsoft ISV Community Center Forums MS Office document and image writer print driver
Besides removing this feature from Office during setup, is there a process to remove this virtual printer from 300 users with roaming profiles on an active directory network We are having an issue with this printer assuming the "default printer" selection for our users. As a work around we have changed their default printer, but after they reboot or log off / on it has defaulted back to the MS Ofc doc and image writer printer. Per our support engineer: Thanks for using ISV Community Forum, according to your problem, I’m wondering whether you can simply log on the machine as administrator and de ...Show All
Windows Forms Monitoring arrow keys events
I'm building an texteditor and i want to now how i can monitor if a user changes the position of the cursor with the arrow keys. How can i solve this. I'm using Visual c++ express edition 2005 and created the project as a CLR form project Setting e.Handled to true will work UNLESS you are subclassing TextBox, in which case it will not work. So you would have to intercept the message sooner, for example by overriding ProcessDialogKey, and returning true. ...Show All
