ffattizzi's Q&A profile
Windows Forms Centering Toolstrip Buttons
Is there a way to have buttons in a toolstrip start in the center of the toolstrip and grow out As opposed to the buttons starting on the left or right Thanks, may be a simple option but I am missing it. If you dont care about it being moveable, you can use LayoutStyle.Table and use essentially TableLayout to position the items. If you set the ToolStripItem to AnchorStyles.None, you can align it ...Show All
Visual Basic web browser size change
How do you get the web browser to change size with its parent container when you debug or build it There are a couple of ways to do this. If the parent container has a resize event you can resize the browser in relation to the parent container simply by webBrowser.size = new size(width calaculation, height calculation) There are also panel containers that will do this for you. Check out the s ...Show All
Windows Forms Creating an exe without using a Form
I have been using ASP.NET for some time, but now I need to be able to create a quick program that sends out an email if a file exist. A batch file will be executing this file on a scheduled basis. What is the best way to&nbs ...Show All
SQL Server matching inbound and outbound messages
When you begin a dialog, you do so between source and target. A conversation is begun on both source and target, and messages flow between the two. What would cause messages to build up on the source in sys.transmission_queue and not get transmitted to the target, with no error in the transmission_status column of sys.transmission_queues The dialogs on the source have a state of 'co', indicating that messages should be flowing.... I checked t ...Show All
SQL Server Query optimization in query that uses CTE.
Hi Guys, I want to optimize one query which uses the CTE (server 2005 feature). I am sending you the abstract query. currently this query take 4-5 seconds to execute. but i want to reduce it to 1 sec. Plz, do help me, if someone know how to do it. ----------------------------------------------------- DECLARE @X INT DECLARE @LowerGradeRange INT DECLARE @UpperGradeRange INT DECLARE @Keyword NVARCHAR(500) SET @X = 11500001 SET @LowerGra ...Show All
Visual Studio Missing Icons and Bad Links in MSDN
Hello. I'm having trouble with my installation of MSDN. Some of the little icons that should appear next to some of the links don't show up, and many of the links don't work. When the links don't work, I get a JScript error "Object does not support this property or method." If I attempt to debug it, it's always a simple, one-line, code block, such as; alink_301.Click() This is an example of what the missing icons look like. The little box ...Show All
Visual Studio Team System Areas not updating immediately when Adding an Area via Team Explorer
Add a new Area You can't use it immediately - you have to wait about an hour or try the dubious [ :) ] warehousecontroller.asmx to update the TFSWarehouse. Can this be improved We need a refresh button. Thanks, That is what I amn referring to. Is it fixed in Beta3 refresh I amusing B3 refresh ...Show All
Visual Basic Trouble with my buffer.
I have a program that reads a file and sets all the bytes into the buffer, then takes certain bytes from the buffer and places them into certain NumericUpDown controls. But, I cannot figure out how to write the bytes back to the file. I got a function that writes the buffer to the file but the buffer is not updated before writing it back to the file. Say, I change the value of one of the NUD's and click on a Save button. I cannot figure out h ...Show All
Windows Forms Can I suppress ValueChanged?
In my .NET2 (C++) application I have NumericUpDown boxes. I use the ValueChanged event to trigger commands which are then stored in an undo list. When an undo is requested, I query the command for the previous value and place this back into the Value field of the control. Now this then triggers a ValueChanged event which puts a command in the undo list -- not what I want! I can avoid this by setting a flag to say "don't add commands w ...Show All
SQL Server Filter measure group.
Is it possible to filter data in a measure group Do I have to create multiple cubes and data source views For example, I have a huge Fact table but I want to restrict certain rows base on the user. I can't use the built-in Roles security because my application does not rely on Windows NT users/groups. If you can't use roles - you're stuck. But are you using a middle tier app If so, you might be able to use ...Show All
Visual Studio Express Editions Add Reference Crash
While using any of the Visual Studio Express Edition programs, the program crashes when I try to add a reference to the project. The program will pause for a bit, then I get an error box stating "Microsoft Visual WD has encountered a problem and needs to close." It gives me the option to send an error report or don't send, as well as to Restart the program afterwards. I am using Windows 2000 Professional. Thanks in advance for any help ...Show All
.NET Development Not Development but deployment question
Hi, sorry i have no clue which forum to post this question in. It's just a question on upgrading to .Net 2.0 We have been using .Net 1.2 and I want to know will WSUS automatically upgrade this version to version 2.0 is does it need to be deployed by other means regards Shaun ...Show All
SQL Server Report Builder logon failed
I used an sql server logon to create the view and model in designer, I deployed the source and model from desigen, when I go to report builder I get this message: Logon failed. Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E) My server and web service are on the same server and I set up my server security to use mixed mode if that makes a difference. to answer my own question, even though it said i ...Show All
SQL Server AS2005 September CTP Memory Error
I get "Memory error: While attempting to store a string, a string was found that was larger than the page size selected. The operation cannot be completed." while executing query set with cube browser in SQL Server BI Dev Studio. The same error I get while executing query with VB code (via ADOMD). The source of the error is AS2005 OLEDB Provider. One important information: I have installed Sept CTP on clean Windows XP Pro, there were no previous ...Show All
Visual Studio Team System Agent Controller Supported configurations
I am preparing to set up a rig. I cannot exactly match any of the recommended configurations, but I can come close to " Alternative Configuration 2 " as shown below. Will this work (It will be nice to find out before I install everything.) · Computer 1: Visual Studio plus web server against which load tests are conducted. · Computer 2 ( ...Show All
