JoyceMR's Q&A profile
Visual C# ActivityLog.xsl
Does anybody know where I can find file " ActivityLog.xsl " It appears as formating file for batch compilation log file. Hi, I have searched all the hard driver, it seems that it is located at the path below. %userprofile%\Application Data\Microsoft\VisualStudio\8.0 Please try for all the user. Best regards, Peter Huang ...Show All
Visual Studio msi installer with 1.1 build output?
Hi all, I have just migrated to VS 2005 and I am very interested by the potential of the MSBee tool. I read the documentation carefully and I could reproduce the described scenario up to section 4.4 of the document. I could build successfully two .NET assemblies against the 1.1 framework: the first one was a 'Windows application' project, the second one was a 'Class library' project. In each case the msbuild utility created a folder named FX1_1 under the directory obj of the project directory. I choosed the option /p:Configuration=Release on the command line, and thus the build output was generated under a subfolder named Release . ...Show All
Visual Basic Edit And Continue won't let me make changes ... why?
Hi, My main reason for downloading the Visual Studio 2005 professional beta was to get the edit & continue functionality that I miss so much from VB6. However, when I break into my code at a break point and start to make a change the IDE tells me that: "You have made edits to the sourcecode that cannot be applied. Changes are not allowed if debugging has started via attach. If you continue to debug, your source code and application will not match." What What is "debugging via attach". Of course the only bit of the help system that I need is broken when I click on help for edit & continue in VB!! Can anyone t ...Show All
Visual Studio Express Editions Invalid attempt to NextResult when reader is closed
Here is the function for refreshing form data i call it in form load and after i save the data i call in form load without any error but i call this function after i save data i have the subject expcetion "Invalid attempt to NextResult when reader is closed " HELP..... Private Sub RefreshData() 'Refresh Data Try If cnAlfol.State <> ConnectionState.Open Then cnAlfol.ConnectionString = cnStr cnAlfol.Open() Else cnAlfol.Close() cnAlfol.Open() End If DsPurchaseInvoice.dtPUINVH.Clear() DsPurchaseInvoice.dtItems.Clear() DsPurchaseInvo ...Show All
Visual Studio Tools for Office A very technical (I think) VSTO startup question
What is different on a system before VSTO customized document is loaded and after Let me explain. We've got a Word customization that takes 58 seconds to load the first time after a reboot, but only 18 seconds thereafter. Our customization is installed in the GAC, is NGEN'd, and rather large. We have a shimmed managed Word addin that starts .NET CLR with the STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN flag so that multiple documents don't require all of our assemblies for each document. We've also found through experimentation that loading a differently customized document (i.e. a new Word VSTO project) before loading our customized doc ...Show All
Visual C# How can I show the remaining chars in a limited textbox ?
Hi I wrote a simple Messaging application. I write the message to send into a textbox which I limited to 160 chars. Now I want a textlabel below the messagebox which shows me the remaining chars So for example I've written 50 letters into the textbox, the textlabel should show 110. Whats the best solution to solve this Many thanks zipfeli It can be more elegant because now you have the number 160 hard coded in you code, but you can better read the MaxLenght property: private void textBox1_TextChanged( object sender, System.EventArgs e) { label1.Text = String.Format( "You have {0} char ...Show All
Windows Forms Restart Application Button
Hi, Is there any function I can use to to restart an application Thanks, Can you provide more details about what you're looking to do For example, are you looking to restart a different application (e.g. setup an application that will restart Microsoft Word), or an application that will restart itself If the intent is to write an application that restarts itself, what is the driving purpose I ask because there are different methods for restarting depending on the reason for restarting... Josh Lindenmuth ...Show All
Visual C# app.TaskVisible = false
How is this done with my main form with C# app.TaskVisible = false The D wrote: If what you are trying to do is make your main form not show up in task bar... About half way into this article is some info: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncscol/html/csharp06102002.asp --- Excerpt { --- That now means that I can make the main form disappear. The first two steps to do this are easy. You set the ShowInTaskbar property to false and the WindowState to minimized, and the window vanishes. That's not the whole story, however, as you can still get to the window using the ALT+TAB key combination. ...Show All
Visual Studio LocalReport Error - A data source instance has not been supplied for the data source
I have just installed VS 2005 RC. Tried using the LocalReport control using the exact sample code provided in the help for the Render method. I keep getting an error during the LocalReport.Render method call - InnerException = "A data source instance has not been supplied for the data source". The dataset and table supplied is valid as it works with the Reportviewer control. Is there something I am missing or is the sample code wrong I have managed to get to the bottom of this one. LocalReport is particular abount the name one passes when adding a new dataset. It must be of the form DataSet_tablename ...Show All
Smart Device Development How to make the window do not Catch the focus!
my programme trys to Create My Input Method.Now ,i meet the following problem: (look at the piture 1,sorry i don't know how to upload picture) http://storage.msn.com/x1pgliP38XxBL1JSqV10bJQFyIouqjeiECcYMPx1V0xyxucM14cJr2CCULidyq4N-ui2lfpTbLJE8b8Jh6HdNjzE7sq6Gf807V1tYRRSBO1-HVqHFduHvUJBfV_tNkCHabbmIJR2aQ7jwTPXTUCZpIs1A when i press any digit key,the focus 0f SMS window is lost(look at the piture 2 http://storage.msn.com/x1pgliP38XxBL1JSqV10bJQFyIouqjeiECcYMPx1V0xyxseQkWqmJO0y5lVkQeUmBMR4e0MjzNuxtjFcJQv0P-58epscFFJQIwq_CmzMIr1RLU53GOCKNU79vRzuoPLnuNy7iRYLVlji_wvMWbtdK6fKQ ). so , i must press the SMS window to retrive the focus. and ...Show All
Windows Forms Nullable types in PropertyGrid
How do you allow nullable types to display their values in propertygrids For example: private MyEnum test ; [ DescriptionAttribute ( "Test" ), CategoryAttribute ( "Options" ), DefaultValueAttribute ( "" )] public MyEnum Enums { get { return test; } set { test = value ; } } I then would like it attached to a propertygrid and show me the enumerated values. Thanks. Thanks. After posting, I said "hmm, I wonder if it is the same build '. I'll be patient for the next build. ...Show All
Smart Device Development How to make my program icon appear on Start menu?
Hi, I am compiling a program with Visual Studio 2005 Developer Edition and VB.net and Windows CE 2003 SE on a Pocket PC. Now, after I deploy my program to Pocket PC, I have to look for my program in "program files" directory. How can I do to make my program icon appear on Start menu Thanks a lot. You need to add a deployment project - a SmartCab project type. In it you will be able to create a shortcut and place it in Start Menu folder ...Show All
Visual Studio Team System Why TFS Setup can not finish the request to Reporting Services report server (error 28805) during the installation of TFS?
Why TFS Setup can not finish the request to Reporting Services report server (error 28805) during the installation of TFS The main steps in TFS(services) installation are described below: 1. Install SQL Server 2005 Reporting Services on application-tire computer. During the installation, Reporting Services is set to log on as an account that will be used to setup TFS, and that account is in administrators group. 2. Install SharePoint Service on the same computer, and do not make any changes at this point. After restart computer, goes to setp 3. 3. Install TFS(services) on application-tire computer. During the installation, anothe ...Show All
Windows Forms DataGridViewLinkColumn - How to catch the click event
I've got a windows form with a DataGridView control, bound to a dataset, with one of the columns set to a DataGridViewLinkColumn. This is fine - displays the link nicely. Question is - how to you capture when the user clicks on the link. I know I can catch the user clicking in the cell, but that doesnt feel quite right to me. Is there a way of attaching an event that fires when someone actuall clicks on the link I'd like it to work in the same way as a standard LinkButton, something like this .preferenceLink.LinkClicked += new System.Windows.Forms. LinkLabelLinkClickedEventHandler ( this .preferenceLink_LinkClicked); I've seen other simi ...Show All
Windows Forms Progress Bar Help!
Guys, i am currently developing a program that has an MDIForm, and this MDIForm contains a status bar with a progress bar... What I wanted to do is whenever i want to load a form.. I want my progressbar to increment its value. Like that of an internet explorer... Did anyone encountered this problem already Yes sir.. I want my toolStripProgressBar to increment its value whenever I want to load a child form. ...Show All
