Paul_French's Q&A profile
Visual Studio check-out causes refresh of all (most) files in project
Hello, I'm using VS 2005 on an XP pro machine. I have a .resx file in a sub-folder on the project, used for localisation by most pages. My business partner and I are using sourcesafe over the internet. When I check out the .resx file (say by trying to edit) , sourcesafe does check-out, but I don't get access for 25 minutes while VS cycles through all the files that reference the .resx file. Any way of stopping this Hi, I don't know what VS is doing " for 25 minutes while VS cycles through all the files that reference the .resx file", but that doesn't sound like a SourceS ...Show All
Visual FoxPro Grid headers default mouse pointers etc...
Hi all; I am creating grids in my forms by dropping a table into the form. The default header's mouse icon is a down arrow which misleads the user into thinking that the column can be sorted. Is there a way to change this default so it doesn't have the down arrow Thx. Change the Grid.column.header.MousePointer Property to 1 thisform .grdMyGrid.column1.header1. MousePointer = 1 Dave M. ...Show All
Software Development for Windows Vista WWF Performance issues
I am doing some timing measurements to figure out whether we can use WWF for orchastrating code within our project. Here are some of the numbers I am getting and questions associated with them: 1. For a workflow with about 5-6 activities including a parallel activity and several code activities, the time to create the workflow the first time is more than 300 millisecs (328, 359, etc). All subsequent times it takes about 15 millisecs. What is the reason for the significantly larger creation time the first time Is there any way to reduce this time Our project might need to use 1000's of workflows. 2. The time to execute the workflow is no ...Show All
.NET Development TableAdapter Update problem
Hello, i have problem in my application. I create dataset with single table. In MainForm i have 2 texboxes and update button. This is code for update button: [CODE] Klient klient = new Klient(); klient.ShowDialog(); KlientDataSet dataSet = new KlientDataSet(); Serwis.KlientDataSet.KlienciRow klientRow = dataSet.Klienci.NewKlienciRow(); klientRow[0] = Guid.NewGuid(); klientRow[1] = klient.Imie; klientRow[2] = klient.Nazwisko; dataSet.Klienci.AddKlienciRow( klientRow ); int result = this.klienciTableAdapter1.Update( dataSet.Klienci ); [/CODE] I got 1 in result variable so i think that database was updated. No my dat ...Show All
SQL Server Bar Chart Static width
I have developed a subreport with a bar chart that is the width of a lanscaped page. When presenting a series of bars, the width of each bar changes depending on the number of data points presented. My objective is to present each bar with the same width regardless of the number of data points. Can anyone help me -- please If you just want to draw bars, you could use a different approach which guarantees identical width regardless of the amount of data. The approach uses a nice little trick Bob and I came up with a couple of months ago (discussed in Bob's blog: http://blogs.msdn.com/bobmeyers/archive/2005/1 ...Show All
Windows Forms Textbox control focus
On a form's load I set focus to a textbox by using the focus() method. Now when the form loads it sets the focus to the first item in the tab order instead. Any ideas DeanRIowa Please use Select instead. The difference between Focus and Select is that Focus is a more low-level method that directly uses Windows functions to send the WM_FOCUS message to a control. This will not always work, for instance in the Load function, since CanFocus will return false there. CanFocus directly checks the IsWindowVisible and IsWindowEnabled functions, while CanSelect checks the Control.Enabled and Control.Vi ...Show All
Windows Forms convert IntPrt back to its original Object in VB.NET.
Hi All, I want to convert IntPrt back to its original Object in VB.NET. Is it possible I am a newbee and I need help on this from u. Thank you. I'm not an expert in this but I think you can not get a control by using theise function. If you want to edit the control you will have to use win32 api. If your using theise function this mean that you are trying to access none .NET control ...Show All
Visual Studio Team System Team build - 'enlistment is empty'
I have two team projects defined, and I've previously created a team build for one of them. Now, when I try to create a new team build in either team project I get a diaglog that says "Enlistment is empty. The workspace " server " does not have any working folder mappings (where server is replaced with the name of my TFS server). One oddity that I note - in the source controll explorer, the "workspace" is named the same as the client machine, while the Team Build error dialog is griping about a workspace named the same as the TFS app-tier machine. What's a 'workspace' in this context Where are they defined How can I ...Show All
Visual Studio Team System Install Done, what's next?!
Hi everyone, I installed Team Foundation Server on my windows 2003 standard server and everything went well .. but now what There is nothing in the Start Menu talking about it, no icon on the desktop, nothing! I mean, how can I add new project to it create portal for each project where can I read about all that Thanks TFSSERVICE user looks like it won't have the permission (by default) to edit server-level information. However, if you have a user who is in the Administrators computer group on both AT and DT, it should have the permission to add you to the TFAdmin group. Best of luck! Edit: Belay that- the Service Accounts group looks l ...Show All
Visual C# Displaying Numbers
This displays numbers from 0 to 25...i was wondering what i could use to not display numbers 10 through 15...which means i want to display numbers from 0 to 25 except numbers from 10 to 15.....any help static void Main() { for ( int j = 0; j<26; j++) Console.WriteLine("Number {0}", j); Console.WriteLine("Press enter to continue"); Console.ReadLine(); } } Oops that one should be: int [] values = {1,2,3,4,5,6,7,8,9,15,16,17,18,19,20,21,22,23,24,25}; foreach ( int count in values) { Console.WriteLine("Number {0}", count); } Console.WriteLine( ...Show All
Windows Forms App Config file problem w/ No-Touch Deploy 2
Hi Guys, This is continuous to a previous thread "App Config file problem w/ No-Touch Deploy". It was left unsolved and I'm facing the same problem now. Problem: When I add an application config file to my app - the app fails to run using No Touch. It's unable to read from the config file stating that my "key does not exist" in th ...Show All
.NET Development Problem with XsltCompiledTransform for large data
Hello! I was wondering if anybody could help me to solve my problem: I call a stored proc in SQL server with ExecuteXmlReader, then load my xslt stylesheet into XsltCompiledTransform, create a output file stream. and call Transform method. The problem is that it works fine for small resultsets. Fot large resultsets ( ~1Mil Rows ) the process in Task Manager increases memory allocation and slows down extremely. I hoped that as I used xmlreader and streamwriter there should not be a big memory problem like with the case of DataSet instead of XmlWriter. Alas, this is not true. Could anybody give any suggestions on this Thanks in advance ...Show All
Software Development for Windows Vista DesignerSerializationManager seems to not work with typeproviders
I am trying to deserialize a XOML file. This XOML file contains a namespace that points back to the original assembly. I add the assemblies through a typeprovider to the DesignerSerializationManager but it seems to ignore these, i.e. "Type xxx could not be resolved" If I use xmlns:ns0="clr-namespace: etc in the XOML then I can deserialize the XOML. But I rather would not do that. I rather use xmlns:ns0=" http://schemas.somecompany.com/workflowlibrary " I use the "XmlnsDefinition" in the assembly. The code is as follows: DesignerSerializationManager serializationManager = new DesignerSerializ ...Show All
SQL Server Where is the Business Intelligence Development Studio installed
I installed the SQLEXPR_TOOLKIT.EXE but I don't find where it was installed.How do I get to the IDE BIDS is just a special version of Visual Studio, check your machine for devenv.exe but it should installa short cut in Start|Programs and a folder in Program Files under Visual Studio 8. ...Show All
Microsoft ISV Community Center Forums inputbox method and ranges
I am having trouble assigning the range given by an inputbox method to the variable targetcells, and subsequently selecting targetcells. any help would be most appreciated. Dim i As Integer Dim CopyCells As Range 'the cells into which links will be copied Dim TargetCells As Range 'the cells that copycells will be linked to Dim CopyAddress As Variant 'the address of the copycells Dim TargetAddress As Variant 'the address of the targetaddress i = 0 For i = 1 To 100 Set CopyCells = Application.InputBox("Click on the cells to copy", "Automating copying links", Type:=8) Set TargetCells = Application.InputBox(" ...Show All
