Kazi's Q&A profile
Visual Studio VS2005 CommandBars Icons
I am writing an add-in for Visual Studio 2005 and want to create toolbar buttons. I used the documentation to learn how to create the buttons and now have a nice toolbar with a bunch of little smiley faces. Now, the documentation says there are around 3000 icons to use with the commandbars collection instead of the smiley face and it recommends using those icons before attempting to create custom icons. That sounds perfect for me. I know that in ...Show All
.NET Development Short key to my band object
Hi I am developing a special search bar to be placed on the toolbar. It consists of a text box. The thing is that I want to activate it (put the cursor on it) just by pressing Alt + q or something. I've searched but havn't found anything usefull. Please help me and I might share my creation =) As far as I know, the only build in way is to set the keypreview property of of the form that hosts the toolbar to true ...Show All
Visual Studio Which SQL to install with VSTS Beta 2
I've worked with VS 2005 before, but always with SQL server 2000. I'm going to start over with a fresh install of the latest VSTS Beta 2 and was wondering which SQL 2005 I should install with it and which I should install first. I would like to create and debug stored procedures on the SQL server from within the VS IDE. Thanks for any advice. Hi, if you have windows installer 3.0 then sql server 2005 will be able to get installe ...Show All
Architecture Visio and UML 2.0
Are there any plans to realize UML 2.0 specification in Visio Thanks Dim Hi, I don't work at Microsoft, but from what it seems, Microsoft is pushing towards using DSLs instead of UML notation, so it doesn't seems there will be an update to the visio's uml template. If you want to use UML my advice to you - try other tools (such as sparx EA, rational tools etc). Ido. ...Show All
Visual Studio access project files through automation
I have a custom macro that reads a file using the code Dim file As ProjectItem file = DTE.Solution.FindProjectItem( "myfile" ) file.Open() If file.IsOpen Then This works fine when there is only one "myfile" in a solution. What I am really looking for is to open the current "myfile" in the currently selected project. The documentation has me going around in circles. Can anyone point me in the ...Show All
Visual Basic Value Type
Statement: Value types are **usually** created on the stack. Question: If I change "usually" to "always" would the statement be false. Does anyone know in which circumstances a value type would not be in the stack Can a value type ever go to the managed heap What exactly is a stack (beyond the fact that it's a memory structure) Are there many stacks active when a program is running Stack: http://en.wikipedia.o ...Show All
Visual Studio Tools for Office Speed -- reading values in Excel
Hi everyone, I'm having a problem reading values from the cells in a worksheet. It works, but it's surprisingly slow. It takes about 10 seconds to read about 650 items. I put some timing into my test application to see where the slowness was. I tried all kinds of approaches. My current one is: Dim mSheet As Excel.Worksheet = Globals.Sheet1.InnerObject Dim A_ID_Range As Excel.Range = mSheet.Range( "B4:B663" ) Di ...Show All
Software Development for Windows Vista Horizontal flashes while drawing texture
I am rendering movie to my direct3D device, alongwith other sprites. I draw textures using TransformedColoredTextured vertices. I get horizontal flashes in the movie, on random basis. Any idea what i need to look forward. Are there any suggested settings for texture Thanks.... Sounds like a missing V-Sync glitch. Can you please check the “PresentationInterval“ member on your “D3DPRESENT_PARAMETERS“ It sh ...Show All
Visual Studio Express Editions Reporting with VB2005 express?
Is there any reporting tool built in or addin for reporting with vb2005 express VB6 had one that acting like MS access reports was nice for intermediate develepors. Thanks in advance Hi, Sad to say but there is no available reporting tool in the Express products. You'll have to purchase Professional edition or higher to have a reporting tool (crystal reports) to be included in the IDE... cheers, Paul June A. Domag ...Show All
SQL Server xp_sendmail issue
I'm using Server 2000....I have pointed the master database to the sqlmap70.dll so now QueryAnalyzer understands the xp_sendmail syntax; EXEC master..xp_sendmail 'Callan' , @query = 'qmtest' ....however, I now receive the following error; xp_sendmail: Procedure expects parameter @user, which was not supplied. ....yet, when I add the parameter @user = 'guest' It tells me; xp_sendmail: Invalid parameter '@user' Any help would be GREATLY ap ...Show All
SQL Server Got Memory?
Here are some perf counter stats from a box I am trying to better performance on: buffer cache hit/avg 99.5 page reads/sec 5000 stolen pages 114000 page life expectancy 5!!!!!!!!!!!!!!! the server is x86 sql 05' std. with the 2gb cap w/o awe enabled config. 2 Xeon 3.06 GHZs physical CPUs each dual core thus 4 logical CPUs with total system mem of approx 3.75 gb. that page life metric i ...Show All
SQL Server Date matching
I have done this twice now. I am sure I will do it again. I have a date dimension. Among other things the dimension contains columns for a meaningless id and raw date. If I want to translate a date to a the meaningless id for storage in a fact table, I use a look up component. All fine and dandy until I run the data flow and all of the look up's fail. Now what could be wrong with that I look at the redirected rows and for a split second think, ...Show All
SQL Server Clustering Analysis Services with SQL Server 2000 Cluster Environment
Has anybody managed to successfully deploy a fail over cluster of Analysis Services Our "experts" are having a few problems. We are using DSO to deploy the cubes to the environments that we have however since following the steps in the Microsoft knowledge base on how to cluster analysis services the DSO command for MDStore.AddNew doesn't work at all, therefore I don't think the installation is correct. Any information would be gr ...Show All
Visual Studio Tools for Office Bug fix request
Hi; There is one bug I hope gets fixed in Office 12. (Fixing it in a service pack for Office 9 - 11 would be really nice too.) Sometimes the menus I add to Word stop calling my event handlers. A very easy way to see this happen is open two instances of Word, close the first instance of Word, then close the document (but not Word itself) of the second instance. The menu objects will now fault if you access the enabled property and they will no lo ...Show All
Smart Device Development scroll bar with label
I have a label that is larger than my screen. I am wanting to be able to scroll down so that I can view all of what is written in the label. I have tried to use me.autoscroll = true, but that does nothign for me. How to I make a verticle scroll bar and "attach" it to my label or my whole form so that I can scroll up and down to view all of my text. Can't you just use an uneditable textbox Just set Mult ...Show All
