I want to create a winform application in c# that uses a rich UI or better controls than the default windows controls. One example of the UI that comes to mind is that of main screen of latest edition of AVG free antivirus software (http://en.wikipedia.org/wiki/File:AVG_Internet_Security.png).
Any idea of how a similar UI could be desi...
So sometimes (oftentimes!) you want to target a specific .NET version (say 3.0), but then due to some .NET service packs you get into problems like:
Dispatcher.BeginInvoke(Delegate, Object[]) <-- this was added in 3.0 SP2 (3.0.30618 )
System.Threading.WaitHandle.WaitOne(Int32) <-- this was added in 3.5 SP1, 3.0 SP2, 2.0 SP2
Now, thes...
Hi,
I have some tab controls on a windows form. For each of these tabs I might want to be able to sort by the column header, apply a filter, change the order that the columns are displayed in, and also add additional columns from a predetermined list.
The question I have is using Windows Form (Current Implementation) or making the tab...
Assume a .NET class library code that, for example, writes to the Windows registry. Then this code has problem to run over internet, because default Internet policy does not give access to write to the registry.
By adding a RequestMinimum statement in the assembly we can specify that the code requires permission to write to write to the...
Hi Guys
I wrote a an application for configuring a platform we have. Our current process is make the configuration changes in a staging environment and when they're approved, make the same changes in a production environment.
There's room for error in this process in that there's a risk that the user might mistakenly make a change in ...
I have the following text in xml file:
<Config Builder="LP Wizard">
<Libraries>
<Library Name="XCAMSource"/>
</Libraries>
<InputFormats>
<XCAM Format="XCAM" LibraryDirectory="C:\XCAM"/>
</InputFormats>
<OutputFormats>
<Pads Version="PADS 5.0" ExportAscii="false" LibraryGenerate="true" Extende...
is it possible to create portable applications from Scansoft voices .exe files ? (www.portableapps.com).
and then be able to access the voices programmatically through System.Speech namespace in .NET 3.5 ?
I want to do that so I don't have to take a dedicated server just to install my text-to-speech web app.
Help !
...
I'm using .NET 3.5. Say I have a method that accesses a specific file, and a specific registry key.
I want to add declarative security definitions that restrict the method so that it can only access the file and the registry key specified, and nothing else.
When I try:
[RegistryPermission(SecurityAction.PermitOnly, Read = "registry...
I have to compare three dates in linq query (datetime a < datetime b < datetime c), but just properties month and day. How can i do it?
...
In the same vein as this question, is there a .NET-accessible library that'll let me add bookmarks for Chrome?
...
Is there a touch() function available? I would like to update the timestamp so my script doesnt delete the file when it becomes X old. Another issue is it should work when the file is locked for reading by another process.
...
Consider a C# app which has a number of user settings, some are actively used and updated and others are always read-only. Under which circumstances can such a read-only settings property end up in a per user maintained user.config?
I am seeing a funny behavior that several user configuration settings that app merely reads end up in use...
How to change language at run time in .net ? It is possible?
(i.e. English to Hindi or any other language.)
in desktop application...
...
I have a WPF Path object which is created by reading nodes from a binary file, however I was wondering if there was a way to take this generated Path and convert it into XAML that could be stored in the application resources.
Thanks
...
I have written a .NET app and use the built in User Settings to store user specific information. It works brilliant. The user.config file is stored in the Apps/Local directory.
Now, a client is running my app on Citrix. I recently figured out that their Citrix server is configured to clean out the Apps/Local directory when a session cl...
I have a TabControl that is data bound to a list. (Two data items in the list)
The TabControl has a DataTemplate which contains two TextBox controls bound to two string properties on my data class.
If I type some text on Textbox1 on the first tab and then click onto Tab2, no update is made to the data source and the change is lost.
Thi...
I am currently doing the following:
I create a file using FileStream braced in the using() tag - Only the file creation takes place within the using statement. The rest of the statements are nearly sequential.
Launch the file I have created using Process.Start()
Read a small bit of meta data from the file using Assembly.ReflectionOnlyL...
I'm wondering whether I'm recieving the 403 errors because there are too many attempted connections being made to the webservice? If this is the case how do I get around it. I've tried creating a new instance of InternalWebService each time and disposing of the old one but I get the same problem. I've disabled the firewall and the webser...
I believe I have found a weird bug as follow:
I want to delete the first two nodes in an XmlNodeList.
I know that there may be other ways of doing this (there surely are) but it is the reason why one of the code segments works and one doesn't (the difference being the Count line) that I am interested in.
var strXml = @"<food><fruit ...
I have a .NET MDI application that uses the MDI Window List to automatically populate child MDI forms into the Window menu.
Is it possible to prevent certain MDI child forms not be included in this automatic menu list?
Requirements:
- This child form has to be an MDI child.
- This forms is always at the bottom of the MDI form stack.
...