Sunday, September 1, 2013

Third Party Controls License Validation Fails on Client Machine (C#.Net Window Application)

Hi Sethu1984,


Welcome to the MSDN forum!


I am so sorry! We don't provide support for third party controls.


Maybe you can read the document of the third party controls to find the solution.


Thanks for your understanding.




<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>

Thanks

MSDN Community Support



Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


Is it possible to set SSRS project version?

Hi everyone!


Is there any possibility to set version for SSRS project? I would like to set a version so when I deploy a project, I can track what version is deployed.


Thanks in advance,


Miljan


Is it possible to set SSRS project version?

Hello Charlie,


I think you didn't understood my question. In this case I don't care about Reporting Services version but my project version. What I want to achieve is to "write" version information for each deployed report in my project.


Is this possible somehow?


Cheers,


Need more than one site owner

Hi Trevor


Thank you for your response.


The site has broken inheritance. I am an SCA and I can't see files that have been left checked out. My colleague is the site owner (and an SCA) and she can see them all.


Mel


Need more than one site owner

How do I do that?


Saturday, August 31, 2013

C# - Question about events (also textbox clearing and starting/stopping a timer)

You can do locking to prevent threads from stepping on each other



class ThreadSafe
{
static readonly object _locker = new object();
static int _val1, _val2;
static void Go()
{
lock (_locker)
{
if (_val2 != 0) Console.WriteLine (_val1 / _val2);
_val2 = 0;
}
}
}

Here is a way to communicate between threads.



class TwoWaySignaling
{
static EventWaitHandle _ready = new AutoResetEvent(false);
static EventWaitHandle _go = new AutoResetEvent(false);
static readonly object _locker = new object();
static string _message;
static void Main()
{
new Thread(Work).Start();
_ready.WaitOne(); // First wait until worker is ready
lock (_locker) _message = "ooo";
_go.Set(); // Tell worker to go
_ready.WaitOne();
lock (_locker) _message = "ahhh"; // Give the worker another message
_go.Set();
_ready.WaitOne();
lock (_locker) _message = null; // Signal the worker to exit
_go.Set();
}
static void Work()
{
while (true)
{
_ready.Set(); // Indicate that we're ready
_go.WaitOne(); // Wait to be kicked off...
lock (_locker)
{
if (_message == null) return; // Gracefully exit
Console.WriteLine(_message);
}
}
}
}


How do make the texbox accept only numerics, del key and backspace?