|
Hi Mycroft. Sorry for taking this long to reply. I have actualy set the DateColumn in the DB to a string column and I am passing a string. I have now tried numerous things and it just won't work. I have now decided to abandon the save changes from the datagrid and just to delete the row and the users can retype. I know it is not the best thing to do but if I can't et it working then I am stuck with doing that.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
the problem m facing is it works fine on same PC when i put both peers on a single PC. but when i try to run it on LAN receiving call PC get hanged, y is it.
thanks in advance. waiting for reply
here is the code. these are the h323 events i have used
void h323_RemoteBusy()
{
MessageBox.Show("User is busy");
}
void h323_Disconnected(string RemoteUserName)
{
MessageBox.Show("Call Disconnected ");
btnCall.IsEnabled = true;
btnEndCall.IsEnabled = false;
btnVideo.IsEnabled = false;
lblCallStatus.Visibility = Visibility.Hidden;
}
void h323_Connected(string RemoteUserName)
{
System.Windows.Forms.DialogResult myDialogResult = System.Windows.Forms.MessageBox.Show("Incomming Call by " + RemoteUserName + "\nDo u want to recieve Call?", "Message", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question);
if (myDialogResult == System.Windows.Forms.DialogResult.Yes)
{
h323.Answer();
}
else
{
h323.Hangup();
}
}
|
|
|
|
|
Third time you have posted the same question.
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
|
|
|
|
|
Hi , have a good day
How do I give already Compiled .NET DLL "strong-name"
P.S:
I have my key ( MyWork.snk )
thanks
I know nothing , I know nothing ...
|
|
|
|
|
|
Hi ,
How do I give already Compiled .NET DLL "strong-name" using sn.exe tools
thanks
I know nothing , I know nothing ...
|
|
|
|
|
sn -rtfm myassembly.dll -key strong.coffee
[clue - get one]
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
|
|
|
|
|
Thanks ,
I bet you don't know the answer, Otherwise you will put it here !
This is for you kindness
I know nothing , I know nothing ...
|
|
|
|
|
The answer is the first line of his post. You're concentrating on the second line only.
The documentation can be found here[^].
--edit
I didn't read the first line of his post very well, my apologies. It won't execute on the console, but it would be quite some hint on where to get started.
I are Troll
|
|
|
|
|
thank you
I know which line of his replay contain the rude sarcasm of what you called an answer , "RTFM"
----
And I think there is no WAY to sign compiled.net Assembly With SN.exe tool!
May be I need another tool, something like .NET Protect software !
P.S :
Non of you know what the SN.exe documentation contains ! , you never read it !
You only read the title , and you think by providing a link for such a manual, Doing a good for me !!
Or helping me create my Own ways to answer all my Questions , like some freak monks in chines , Japanese movies!
BTW , I read the manual before I ask the Question , and I have Googled it !
Edit :
And I am sorry too , I don't want to be an @$$
I know nothing , I know nothing ...
modified on Thursday, July 29, 2010 12:44 PM
|
|
|
|
|
Stark DaFixzer wrote: I know which line of his replay contain the rude sarcasm of what you called an answer , "RTFM"
Again my apologies, I assumed that the answer given was correct and that you were having problems executing it on the console. I just tried it, doesn't work as expected.
Stark DaFixzer wrote: And I am sorry too , I don't want to be an @$$
You were right.
FWIW, found this[^] article on how to bypass it. Not easy though.
I are Troll
|
|
|
|
|
it's OK , I wrote my post before you edit yours ,
then I edit mine after you edit yours
Apologies Accepted ,
I know nothing , I know nothing ...
|
|
|
|
|
Thanks
|
|
|
|
|
And your link save my day thank you !
I know nothing , I know nothing ...
|
|
|
|
|
LOL! 5 - but I think it went "whooosh" with the OP.
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
|
|
|
|
|
Does anyone know how to determine 'dirty' state of a Castle ActiveRecord?
If I have an ActiveRecord class called Note, and I have a List<note>, how to I determine which notes have been changed?
|
|
|
|
|
Hello All --
I am trying to watch a folder for any changes to it. I am integrating my code with a CAD application to make modifications to a model depending on the changes occuring in the watched folder. So, to watch a folder I make use of filesystemwatcher. But when I do that, there are some problems occuring with CAD Application. Without filesystemwatcher this works perfectly fine. Now I use timer to see any changes in that folder. Searching over the net, many told that there are some bugs in filesystemwatcher. Does anybody have the code that is behind FileSystemWatcher ?
Thanks,
Thomas.
|
|
|
|
|
How is the FileSystemWatching affecting the application? Unless you are modifying the files in some way there should be no issues, it simply notifies you of a change.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
I'm not aware of any bugs in FileSystemWatcher class. There are a few things you may need to know about it though:
- one file operation may result in several FSW chanes being triggered; e.g. a big write may touch several sectors and clusters; more info is here: FileSystemWatcher - Pure Chaos (Part 1 of 2)[^]
- there is no "file operation done" signal; so if your app needs to read a newly written file, a simple write event isn't sufficient. A common solution is to use another (small) file as a signal: watch for file B being created; create big file A; when done create small file B causing a signal.
|
|
|
|
|
Be aware that some applications strangely create an empty file first, and a few moments later on they open it for writing and write the contents. FileSystemWatcher is very fast, and you may happen to move the file away when it is still empty - if the other application then tries to open it for writing, that application could be stupid enough to cause an exception. Try to create your own watcher class by encapsulating FileSystemWatcher and dealing with empty files and files still being written by the other application, and some more strange things specific of that CAD application.
|
|
|
|
|
All --
I thank everybody for dropping in and letting me know the various aspects. I still couldnt figure out why the trouble is happening. I can successfully watch a folder and get the file changed/created/deleted notifications, but when I try opening a file in UG(Unigraphics CAD App) (The next line in code is opening a file in a CAD Application) it throws out an error "Attempt to read or write protected memory." Hence I am forced to use timer. But timer is not a true solution. Probably I can send in the code and a small file to be opened in CAD, but I am dubious, whether somebody will have the CAD App.
Code : C#
CAD APP: UG NX 5
Thanks and Cheers
Thomas
|
|
|
|
|
hi
how can i replace "\\" with "\".
because i am using,
String.Replace("\\","\");
but it does not work.
thanx
|
|
|
|
|
That is because C# reads a '\' character as a special saying "The next character is a character to replace with something".
use
String.Replace ("\\\\", "\\"); or
String.Replace(@"\\", @"\");
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
|
|
|
|
|
Normally, you don't need to:
Console.WriteLine("\\");
will output \ . You have to do extra work to switch the escaping functionality off (using @ before the string):
Console.WriteLine(@"\\");
will output \\ . If you are still having problems, please post extra code so we can see what is going on better.
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
thanks, but this is not work
|
|
|
|