Coretta's Q&A profile
Microsoft ISV Community Center Forums Closeing shared files
Hello Yesterday I stack with a problem of opening and writing some information to file in AD domainm which was open by one user. I noticed that when someone open a file, then I can not do anything with it untill the time when he will close the file. My question is : Is it possible to close such session to the file for this user thru the vb.net or cscript code My program need to get full acceces to some files and I need to be sure that all ...Show All
Windows Forms input not going to text box with the caret!!!
This is kinda hard to explain, but here goes. I have a user control, with a bunch of text boxes on its surface. The user control is one of several in a tab control. Sometimes, when I first bring up the usercontrol, if I click&n ...Show All
Visual C++ ClistCtrl - Disable click on the null text below an icon/image.
hello, Can you tell me if there is any way by which i allow selection to happen only on the icon. I have created a custom list control derived from CListCtrl. I have no text, only images closely packed. I have set the text as null. For every icon/bitmap below each item, when I click in some 10 pixel range below the icon/bitmap. It gets clicked. I want to disable this click ... any clues please help jupitor Don't post a topic mor ...Show All
Windows Forms AllowScriptAccess stops loading?
Hi, We've written a Windows Control Library in C# .NET containing the Flash 8 player. We are trying to use the Flash 8 External Interface to talk to the .NET control in a webpage. Now when run from the debugging tool (i.e. no security) everything works fine, but when actually hosted in a webpage it fails to work. I'm positive this is due to the AllowScriptAccess property being set as default to "never" however when seeting this to alwa ...Show All
Visual Studio Team System New test project type
Is it possible to create a new test project type with Sept CTP If yes, where can I find information Thanks, Pierre Yes, this is possible. I assume your new test type does not have new file extension. It is just a wizard that generates test methods in .cs/.vb files. You just need do the following. 1. Create a .vstemplate file for your test type( http://whidbey.msdn.microsoft.com/library/en-us/dv_vssoln/html/80d14bea-4319-4f82-a51f-546140bae ...Show All
Visual Studio Team System Suggestion: Extend InstantiateArgumentExceptionsCorrectly to include ArgumentException.ParamName
Just a suggestion: Extend the InstantiateArgumentExceptionsCorrectly rule to check that the ParamName parameter is not null (ideally only in methods with more than one argument; but, I won't push my luck :-) ). Catching an ArgumentException with a null ParamName is close to useless with no specific means of ensuring the Message property has useful content. Peter, This is a good suggestion, however, we need to be careful to not int ...Show All
SQL Server Repeat Report Title On EveryPage
Dear Anyone, All reports have report titles especially in RS. These are usually big textboxes that can be found in the beginning of the report. When a report is executed, normally, these report titles, dissapear once we opted to go to another page of the report. Is there a way to make the report titles repeat on each page Thanks, Joseph Ollero But you can't put Data in the Page Header section. Lets say I have an Invoice. I want ...Show All
Visual C# StringBuilder.Length adds null character not space.
According to the Class Library Documentation, the StringBuilder.Length property will do the following... "...If the specified length is greater than the current length, the end of the string value of this instance is padded with spaces ...." When I try this it is padded with a null character "\0". So then I have to do a sb.Replace('\0', ' '). Is this correct and common knowledge What fundamental thing am I missing ...Show All
SQL Server Import variable fixed length file
I have a requirement to import a file of rows containing fixed length data. The problem is that each row can be one of 5 different formats (i.e. different columns) -- where the "type" of row is indicated by the first two characters of the row. Each row gets inserted into its own table. Could I use a simple Conditional Split to route the rows Or is the split for routing similiar rows Anyways, problems are never this simple... In a ...Show All
Visual Studio Team System Use Visual Studio 2005 Beta 2 to work on TFS Jun CTP
Hi, is it possible to use the Visual Studio 2005 Beta 2 Release to test the functions of the new Team Foundation Server Jun CTP The Studio is installed on a seperate machine. Thanks ! Alex ...Show All
Visual C# How to trust an intranet-server?
Hello, how can I mark a Server as "trusted location" Problem: Was studying C# during my holidays on my notebook. Wanted to transport the projects to our code-fileserver in the company. But now some parts of the application won't run. Message: "That assembly does not allow partially trusted callers." If I copy the project to the local harddisk, it runs without problems. But I need it running from our development fileserver. H ...Show All
Visual Studio 2008 (Pre-release) NullReferenceException when invoking delegate compiled from LambdaExpression
I have a delegate that is built at runtime from a LambdaExpression: Func<T, bool> predicateDelegate = (Func<T, bool>)expression.Compile(); predicateDelegate.Invoke(item); When I invoke it, I get a NullReferenceException with the following stack: at lambda_0(ExecutionScope , String ) at System.Query.Func`2.Invoke(A0 arg0) [...] Any ideas on what I might be doing wrong Thanks. The expr ...Show All
Visual Studio Team System Assistance With Goal Based Load Pattern
Hi, I am running a goal based load test for the overall Avg. Response Time counter with these settings Initial user count - 1 Max user count - 2000 max. user increment and decrement - 5 min user count -1 stop adjusting user count when goal reaches - true test time between iterations - 30sec I am recording the results for the above scenario and need some help understanding them. The userload shows as 1 for the first 3 ...Show All
Windows Forms Invoke blocking details - avoiding deadlock?
What calls allow pending Invoke calls to execute on the UI thread I assume that DoEvents() will unblock waiting threads are there any other calls with finer granularity The problem I'm running into is that I have a background thread calling delegates to process data. These threads may call Control.Invoke() in order to update UI. A second thread needs to be able to stop the background processing. This thread may or may not be the ...Show All
Visual Basic Problem using 3 timers at the same time.
'Declarations--- Private WithEvents TT1 As System.Windows.Forms.Timer = Nothing Private WithEvents TJump As System.Windows.Forms.Timer = Nothing Private WithEvents TExplode As System.Windows.Forms.Timer = Nothing TT1 = New System.Windows.Forms.Timer TJump = New System.Windows.Forms.Timer TExplode = New System.Windows.Forms.Timer TT1.Interval = 1000 TT1.Start() TJump.Interval = 20 TJump.Enabled = False TExplode.Interval ...Show All
