I'm trying to force a ToolWindow into the right docking area without success using :
windowFrame.SetFramePos(VSSETFRAMEPOS.SFP_fDockRight, ref viewGuid, 0, 0, 0, 0);
But I found out on MSDN that SFP_fDockRight, SFP_fDockLeft and SFP_fDockRight are now obsolete. MSDN doesn't says what to use instead.
I know we can use the registry t...
How do i escape invalid characters in filenames? I ask this question once before and wrote up a class with the solution. Now i would like to extend it. My site will be able to detect what OS the user is on. So base on that i either 1) Want to escape based on the FS/OS the user is on or 2) Escape it so it works on all filesystems.
What c...
According to How the Runtime Locates Assemblies step 2 is Checking for Previously Referenced Assemblies.
However, in the code below you can see that this is definitely not happening. In the first line, an assembly is loaded (which should make it a "previously referenced assembly" for all future calls.)
However, a couple lines later wh...
Is there a way to use output caching with a user control that is themed?
Whenever I add the directive to my usercontrol I get this parser error:
The 'ID' property of a control type ASP.controls_hotcontent_ascx cannot be applied through a control skin.
The Error-source shows the skin-file for the usercontrol.
Here's the directive ...
We are looking to set up automated UI tests and were wondering what the best approach is, what are the potential pitfalls, is it expensive to set up?
Thanks in advance.
B
...
Given the following code
Public Shared Sub DoAsyncAction()
Using asmxProxy As New MyAsmxServiceProxy()
AddHandler asmxProxy.WebFunctionCompleted, AddressOf WebFunctionAsync_Completed
// Make the Async ASMX Webservice Call
asmxProxy.WebFunctionAsync()
// RemoveHandler asmxProx...
I have a Gridview that displays a huge list of products. On Client click of a select button in the grid I fill textboxes with the selected row's data. When i do this, I want to stop the Grid from Binding in Javascript. Is this a possible feat? Now the Gridview is in an updatepanel. Perhaps i could stop it from updating???
Any ideas woul...
Does a WF hosted as WCF (.NET 3.5) in IIS 6 resume after a delay activity when persisted to SqlWorkflowPersistenceService ? And if so, which kind of thread is being used (one from the ASP.NET worker threads or a background thread from IIS ?)
...
I have a stored procedure which returns a mixture of plain columns, and one 'column' of xml datatype. As in:
Select
Field1,
Field2,
(
SELECT
Certification As '@certification',
LCID As '@lcid'
FROM
dbo.MemberCertifications
FOR XML PATH('certification'), TYPE, ROOT('certifications')
) ...
I am looking at creating a web site and I want to try and learn either a Object Database or a Document Database. I am going to be using a hosting provider so I won't be able to install any software. I am unable to purchase any licensing so I need to be able use either a free or open source Object/Document Database. Are there any free...
I am trying to convert a string into date time format.
DateTime.Parse(tempfrmBankDetails.dgvBankDetails.SelectedRows[0].Cells["PaymentDate"].Value.ToString(),null);
This is printed as an output but i want it in dd/MM/yyyy format. How should i parse it
{1/2/2010 12:00:00 AM}
EDIT
I have created a custom control which accepts s...
I want to transcode a lot of audio from its source format to PCM without resampling or messing with the sample size. I figure if Windows Media Player can play the file and it doesn't use a legacy ACM codecs it must be using DirectSound to do so (this is on Windows XP and Windows Server 2k3). So is it possible to access DirectSound from C...
So I ran into a situation today where some production code was failing precisely because a method performed exactly as documented in MSDN. Shame on me for not reading the documentation. However, I'm still scratching my head as to why it behaves this way, even if "by design", since this behavior is exactly opposite what I would have exp...
Does webbrowser control depend on the .NET Framework when used in VC++?
...
Has anybody had success with connecting to MySQL using the Shared Memory protocol via the DevArt components? (in .NET)
If so, how did you do it, what is the connection string? And what other gotcha's are there?
Note I have the sever started fine with...
mysqld --skip-networking --shared_memory=1 --shared-memory-base-name='MyName'
an...
I have class Foo. Foo has a property of public string x.
I would like to instantiate Foo a few times as ONE and TWO, and add those instances to Hashtable Bar with keys 1 and 2 respectively. How do I obtain string x for the particular instance.
I've tried something to the like of: Bar[1].x, but the property x is not recognized.
What...
I'm trying to figure out how much overlap there is between the different languages of the .NET framework, and what the real differences are. Is there an overlap of libraries/methods/functions...? If I'm googling a question for, say, VB .NET, and C# answers come up, what can I take from the C#-relevant info and what differences/incompatib...
I need to access and use some image manipulation api's other than java's, so is it possible to access the windows .net redistributable api's from a java applet that is signed.
...
All:
I have a service process, and I want to use performance counters to publish the average time that it takes to complete tasks. I am using the AverageTimer32 counter to do this.
It's almost working the way I want, but not quite: When I increment the counter, it will briefly bump up to the value that I expect (watching in Performan...
I keep having this problem, solving it, and then when I implement new code it comes back again. It's driving me crazy!
What I finally found was that if you instantiate a Window of any kind, even if you never call Show() or ShowDialog(), when you close your application, it will not terminate. So now I make sure to call Close() when app...