Hi,
I'm trying to create a pivot of a translation table. Basically the table is like that :
SystemText(Category, Name, LanguageCode, Text)
I have created a model object which has these fields as properties and I'm using NHibernate to get the data from the database.
Now what I want to display is a grid to edit the translations that wi...
Hi,
After searching couple of days (here and here), I believe I've found the problem and it seems identical to this one. However, I have captured two execution plans to compare it but, they seem to be identical except execution time. (The Database server is SQL SERVER 2000)
The Query executed in VB6 :
EventClass : SQL:BatchCompleted
...
I want to create a very simple piece of software in C# .NET that I can pass a folder's path to and detect all files with a frequency of below a given threshold. Any pointers on how I would do this?
...
A hatch pattern is made from two colors: one defined by the BackgroundColor, which fills the background and one for the lines that form the pattern over the background defined by the ForegroundColor property. The HatchStyle property defines what type of pattern the brush has and can be any value from the HatchStyle enumeration. There are...
We have an application that self-updates using a Laucher.exe process which copies down new App.exe and DLLs from a server then runs them in a separate process.
This was all working very well until the arrival of the Windows 7 taskbar...
Problem is in Windows 7, if the user pins the Launcher.exe to the task bar (by right-clicking the sh...
Hi,
I'm currently working on a WPF UI and I have a combobox on my window.
So I want the user to be able to select an item from this combobox but when it is selected
I don't want it to be highlighted in the default blue colour.
I assume there is some way to stop this in XAML but I have not been able to find the solution so far.
Thanks....
For a VB.Net application needing to output the data to clipboard, with formatting, I am in need of some help. For now, I am exporting data from the clipboard using
MainView.ClipboardCopyMode = Windows.Forms.DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText
System.Windows.Forms.Clipboard.SetDataObject(MainView.GetClipboardConte...
Hey,
I have the following code in my files:
In Class Customer.Page:
Try
If Not SiteContent.CurrentUser(False) Is Nothing Then
If Not SiteContent.CurrentUser(False).IsAdministrator OrElse SiteVariables.CustomerMode Then
SiteContent.PageViewManager.Create(New List(Of Control))
End If
Else
Site...
I have the following c# code to query whois servers, occasionally I will hit a server and the socket will never time out the Receive (unfortunately if I hit the same server again all of a sudden the problem goes away). I have set the ReceiveTimeout value though, anyone know what is going wrong here?
string whoisServer = "whois.moniker.c...
I have a 2 streams of data both of which contain date information.
I get 10 items from the first which is a SQL database and 10 items from the second which is a Twitter feed.
When a request comes in to get more data it then retrieves the next 10 items from each source.
The problem I have spotted is that second set of 10 items from t...
I have a simple WebService method that returns database results as a DataSet.
This method fails for one user in the company but works for everyone else
Here is the crash:
CRASH! GetCustomer -
ExtractDomesticCommercialState: Exception:InvalidOperationException
Message:There is an error in XML document (1, 877).
Source: System...
Hi
I am calling Java process from .NET application and I need to redirect console output
to System.String to do some later parsing. Please advice. I would appreciate short code example.
public bool RunJava(string fileName)
{
try
{
ProcessStartInfo psi = new ProcessStartInfo();
psi.CreateNoWindow = true;
...
We have a WPF application, based on Unity with MMVVVM pattern. In application life cycle there can be several project life cycles, after each project life cycle we do a manual Tear Down and try to free all the reference of ViewModels. For event subscriptions with Unity we are using Weak references. So we are assuming that after tear down...
I need to get current connection state.
I found: System.Net.NetworkInformation.NetworkChange.NetworkAvailabilityChanged event but how can I get current network state ?
...
I was wondering if anyone knows an online service where I could quickly try out .Net's string.Format() various formatting options?
I'm imagining something similar to the multitude of online Regex builders.
I guess Snippet Compiler is the next best thing, but an online version would be easier to use.
...
Hi, i am using c# and Serialport and com0com(virtual serial ports)
My problem is that my c# application can't recive data from hyperterminal,the event DataRecived is not fired and if i call manualy the readExisting i get nothing
To test this problem you can create a basic c# app like this one that has same problem http://balau82.wordpr...
Basically, i want to change settings in a routers settings page as found in common soho routers and i am unable to even get past the first step! that is, going to the page without prompting the user for their username and password (this is a must), you can assume i have the user/pass details.
so i tried to access this page for instance....
Is this even valid?
XmlDocument doc = new XmlDocument();
doc.InnerXml = @"<?xml version='1.0' encoding='utf-8'?><soap:Envelope
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>
<soap:Bod...
Hi
I have a ListView in VirtualMode.
I need a way to set focus to specific item.
The FocusedItem is not good for the VirtualMode, I need a way to set FocusedIndex or something like that, but didn't see any property like that.
Thanks.
...
For an app I'm building, a requirement is to have the state subtly visible at all times. At first I decided to simply disable the screensaver, but now think it would be preferable to use the scrolling marquee screensaver to indicate state.
Is this possible? How would I go about it?
Since the app will only be installed on a small number...