Arwenarray's Q&A profile
SQL Server Difference Between Physical IOs and Read-Ahead
Hello ... I was running a table scan query on a 650MB table w/ 1 million rows. With statistics IO and time I noticed that I was able to get the following numbers on SQL Server 2005 (note this was the Sept CTP): Logical IOs: 76,931 Physical IOs: 0 Read-Ahead: 58,321 CPU Time: 1212 ms Clock Time: 42946 ms So, in looking at the above I'm not seeing any physical IOs, but a lot of "read-ahead" IOs. If I understand it from the docs, a read-ahead essentially moves a data page into the cache. I understand this may mean getting a larger IO block size. Does this mean that I'm in fact doing physical IOs ...Show All
Visual Studio VSS Complete path for linked files.
Using VSS 6.0, when I look at Properties, Links, I see $/.../<end of filepath> Is there any way to display the entire filepath in this view I tried creating a report and it outputs the same $/.../<end of filepath. Thanks. Keywords: -- VSS, SourceSafe, Links, File, Path, filepath, folders, display, properties. -- VSS 2005 will now create a shared file list output file that lists all link files in your database. Product Support at microsoft has a power tool called vssems that has the option to display link files. You can call up and they (I) will send it out to you. ...Show All
Visual Studio Tools for Office Automation executable consumes 100% CPU
Hello!!! I have developed and automation executable to druve Excel and I'm poretty happy with it apart from the fact that it consumes 100% of the CPU while it's running - even when the app should really be idling. The problem is caused by this piece of code while (close == false ) System.Windows.Forms. Application .DoEvents(); I got this pattern from my VSTO book ( )and it's abviously going to cause the CPU hogging that I'm experiencing. Where can I find a better pattern for automation executables TIA, Doug What VSTO book are you using Thanks! Mike Hernan ...Show All
Visual Studio Adding menus items (don't understand ProvideMenuResourceAttribute)
I'm taking the normal ToolWindow sample and modifying it to start a new package. This package simply exposes menu items and nothing else. I modified all of the commands and guids and names and stuff and now I'm not seeing my menus showing up as I expected them to. There is only one thing that I don't feel I've changed correctly (though this may not be the true problem) because I dont understand the numbers its using. At the top of the ToolWindow sample the attribute is added to the package class. MSVSIP.ProvideMenuResource(1000, 1) Now I believe I understand that this attribute is mostly there so the VSIPRegPkg utility can generate the corr ...Show All
Windows Forms Dynamically loading MDIchild forms at runtime
Hi all, I would like to create an application where i can easily add / update components (e.g. inventory component, customers component) to the application without modifying the main project. I tried to design the architecture based on a MDI-application where I define the components in MDIchilds. The MDI-parent is then the main project. Each MDI-child has to be registered in a database and subsequently based on a user's credentials, this MDI-child can be loaded. Also based on these credentials, the user menu is dynamically created. I am actually looking for a project similar to DotNetNuke, but then developed in Windows Forms... But th ...Show All
Visual Studio Team System Error with getting associate workitem after customizing team build to get version on specific workspace
Hi I customize my team build to build on specific workspace ; I have done it by edit my TFSBuild.proj file and include there my new target . My workspace is : SHMULIK And the owner is : shmoel < Target Name = " CoreGet " Condition = " '$( IsDesktopBuild)'!='true ' " DependsOnTargets = " $( CoreGetDependsOn ) " > < Get Condition = " '$( SkipGet)'!='true ' " Workspace = " $( WorkspaceName ) " Recursive = " $( Rec ...Show All
Visual Studio Team System Howto stop TeamBuild from deploying, if tests fail
Hi, in TFS B3r a TeamBuild gets deployed, even if tests fail. Since I am also using TB to deploy to our production environment, I would like to let it deploy only, when all tests pass. How can I achieve this thanks for the tip! I will try the OnError. If I'm correct I could set the value of a variable which I can check for in my custom-deploy target, right ...Show All
Software Development for Windows Vista Custom activity with inner sequence activity locked in design mode
Hi, I have a custom activity which simple extends the SequenceActivity. When I use this custom activity inside ot my workflows I can drag and drop activities from the toolbox to inside my custom activity. Now suppose that my custom activity contains an inner sequence activity. In my workflows when I use my custom activity, the inner sequence activity is locked. I would like in design mode to drag some activieties from the toolbox to my inner sequence activity, which is inside of my custom activity. Is it possible to do this Thanks in advance Hi, suppose that I want to have an if- ...Show All
Visual Studio Express Editions Newbie, After Many Years
Hello All: I used to program in Visual Basic Version 3.0...many years ago. I just downloaded VB Express to try it out, but I guess I am so outdated, I don't understand what to do! I have a couple of basic questions to begin with, and I am sure anyone who has been programming for a while in VB will be able to help me...I am a total Newbie (again)... I want to know simply, how to open and close a form. If I have mutliple forms, how do I open a child form from a parent form... <=== I would like an answer to this one please. I also want to create a Bill of Materials program that will interface with a database I ...Show All
Visual Basic Connecting to a MySQL database by code
Im trying to set up a connection string to connect to MySQLServer database. I can do it just fine setting a system DSN, but this makes the username and password visible in the registry. I've been trying to set up a DSN file but I cant get it to work. Also VS2005 connects to the database just fine. But when I'm trying to prewiew the contents of a table I only got an error which said that the current table did'nt exist. But I was able to to retrieve it by code like this: http://www.hostmypic.info/uploads/f143094842.jpg The connectionstring I use is stored in the settings as an reference to the system DSN which I set up from ...Show All
Visual Basic F1 Doesn't Search Online Help
I'm new to using VB 2005 Express 8.0.50727.42; previously I have only used VBA for OfficeXP (VB6, it seems). Fresh install of VB and Ihave not installed the optional MDS Express Library. When I press F1 on a built-in function in my code, lets say 'left()', I get the all too familiar screen: "You have chosen to use local Help only for Search and F1 results, and the topic could not be found in local Help. This error can be caused when..." So then I look up "left" in the index and I see "left$" and I get a table of function changes from VB6.0 " Programming Element Support Changes Summary". I scroll down this list and sele ...Show All
.NET Development XML and dataset question
Hi all, I've posted this already on the VB express forum, but I didn't get an answer. This might be a better forum for my question: I've created a DataSet and use xml-files as my database. The principle is outlined in this article: http://www.devx.com/dotnet/Article/28678 So for every DataTable I have an XML-file containing the data for that table. If the dataset contains a lot of tables I also get a lot of XML-files that way. I've found examples of reading/writing the complete dataset in one file and reading/writing datatables on a per file basis. Now I wonder: Is it possible to store multiple tables of a DataSet in o ...Show All
Visual Studio Express Editions Graphics Render Frame Rates?
i am using the Graphics backbuffer and then the Render method. How can i see the frame rate that makes it to the screen. does it wait to "render befor it move to the next code If the game loop goes to fast will the next render code over ride the one befor it Help please. Try the follow method, this is a simple method that I have used in some directX Examples. You will need to add the call inside your render loop. public class Common { #region Basic Frame Counter private static int lastTick ...Show All
Windows Forms Forms
Hi, i'm still trying to learn how to control forms from each others. So, namespace WindowsApplication1 { public partial class Form2 : Form { Form2 frm = new Form2 (); public Form2() ... Start of code in my Form1 so on any event, if i write: frm.show() it will start Form2 In form1 i have button1 with name "foo"; in Form2 i have button34 with name "boo"; I want to make, that , then i press on button1 (Form1) it shows Form2 (i allready know how to make it :), and then i Press on button34 which IS IN FORM2 it changes name of button1 to "boo" I will be very happy if you wrote small sample code how to make it ...Show All
Windows Forms DataRow Problem?
Windows Forms.Visual Studio 2002 Architect.Northwind.dbo. --------------------------------------------------------------------- Hi, I've tryed several ways and get the same error. I used a Wizard Form. (One ListBox, One DataGrid and Button). I only added: - one MultiExtended ListBox1 and set as ValueMember = "CompanyName", and; - DataView1 plus: Private Sub button1_Click, not work. The System shows an error& ...Show All
