|
Hi Christian Graus,
Of course i asked a question,
i have created a network application in c# windows application. The entry to that application will be from a website.
For eg:- elearning application.
First the user click the link in the website to enter into the classroom. When the user click, a classroom application will run, which is developed in windows application, lot of functions are done between number of users in the web using this application,,eg: drawing, text chat..etc
My doubt is how to integrate or call the windows application from a website. How can i install the windows application in the client system with the clients permission.
Hopes you understood my question.
Regards,
YPKI
|
|
|
|
|
ypki wrote: Of course i asked a question,
Those are identified by a question-mark. You specified what your assignment was, you didn't post a question.
ypki wrote: How can i install the windows application in the client system with the clients permission.
Clickonce, as has been stated before. This will install the application if it's not there. You can't "embed" the application in the webpage, leaving an install/invoke-mechanism. If you're using Visual Studio, then check out the "Publish" menu-item, that will generate the ClickOnce-package for you.
You might want to write a pluggable protocol-handler:
http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx
|
|
|
|
|
sounds like you want ClickOnce[^] (which may or may not drive you insane!)
|
|
|
|
|
hello all
have anyone come across with using the Trace 32 API for C#.NET
thanks
|
|
|
|
|
I know this thread is ancient, but I just found the answer. The installation DVD copies a demo C# / VB.net solution to your C:\T32 directory as C:\T32\demo\api\dotnet\dotnet-files.zip\dotnet
Seems to be working for me so far!
Mark
|
|
|
|
|
Hi all,
I want to save pair of values, a key and a related value of it. I use HashTable to store them as follows.
<br />
private System.Collections.Hashtable hshTable =<br />
new System.Collections.Hashtable();<br />
<br />
hshTable.Add("One", 1);<br />
hshTable.Add("Two", 2);<br />
hshTable.Add("Three", 3);<br />
hshTable.Add("One", 6);<br />
Check that last line, I cannot do that. Actually what I want to do is, on existing entry value should be updated.
How can I solve this problem.
Thanks
I appreciate your help all the time...
CodingLover
|
|
|
|
|
hshTable["One"] = 6
If there is no item with key "One" new item will be added. If there is, old value will be overwritten.
|
|
|
|
|
Hi,
you can also call Hashtable.Remove(key) before calling Hashtable.Add(key,val) ; there is no need to test for existence first.
The same principle applies to the generic Dictionary<T> class.
BTW:And it is similar to removing-then-adding a delegate to an event.
|
|
|
|
|
Thanks for replays.
Actually I got data pair like One 2 and so on. I want to store each of them. If I found a duplicate one value(number) should be updated. Then later I want to take all of them to make a string.
Say my data like this.
One 3
Two 5
One 7
Then the string should be,
One 7 Two 5
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Hi,
you can add/replace key-value pairs as shown before.
for a Dictionary<(TKey, TValue> you can enumerate all keys
with foreach(TKey key in Dictionary.Keys) {...}
and similar stuff goes for old Hashtables.
WARNING: dictionaries, hashtables don't preserve chronology, so there is no guarantee that "One 2" will come first in the enumeration. If you insist on having that, you will need a different approach,
most likely a combination of a List and a Dictionary (a List preserves order unless you instruct it to drop the order, e.g. by sorting).
|
|
|
|
|
Use a generic Dictionary(TKey,TValue) . It has a ContainsKey method which will return TRUE if the key supplied exists. If it exist, just update the value instead of adding new one.
|
|
|
|
|
hello
How can u think of storing the different value with the same "Key"
As u mentioned "One"====> the key ... how it can be repeated under the same instance
see link
http://www.c-sharpcorner.com/UploadFile/mahesh/Hashtable11082005171748PM/Hashtable.aspx?ArticleID=6880f0d4-acc6-402c-b632-d2e353e98e62
|
|
|
|
|
Make a custom function for it which check whether this entry is already there or not by
hshTable.ContainsKey("one")
if it there then remove it as
hshTable.Remove("one");
and again add as
hshTable.Add("One", 6);
Cheers!!
Brij
|
|
|
|
|
Hi,
create a 5-line method to do what a single statement can do? I suggest you (re)read Giorgi's and my earlier replies.
|
|
|
|
|
Hi!
It quite simple
If Key Not Exists Keep on Adding
Else If Exists RemoveKey and then Add
Thanks!
Develop2Program & Program2Develop
|
|
|
|
|
ohhhhhhh
wht an answer u ..... made out ..........
hoooooooooooo
fantastic 
|
|
|
|
|
ok
Develop2Program & Program2Develop
|
|
|
|
|
OK
Program2Develop & Develop2Program
|
|
|
|
|
I think it is easy to solve your problem with many ways:
e.g:
use the combination of your key and value as new key;
|
|
|
|
|
Hello , there.
I saw the C# sample codes its a Windows Live ID for Client DLL.
So I thought I could change delphi2007 win32 code.
I tried to use a auto making import feature.
Therefore component -> .net assembly import -> create unit
But I could not use functions well becasue there are just inferfaces and
connecting functions.
Can't Client DLL assembly .net dll of Window Live ID released use other language for win32?
Can i use this .net dll or not?
Thanks. Have nice days.
Thank you
|
|
|
|
|
Hello , there.
Whom
|
|
|
|
|
Hi,
I HAVE FIFTHY RECORD IN MY TABLE...
I HAVE TO SHOW IT IN DATAGRIDVIEW MULTIPLE OF 10'S...
FIRST 10,SECOND 10....
|
|
|
|
|
You probably already know how to do this, it's just because your caps lock key is stuck that the code won't compile....
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
HOW WILL YOU DO THAT?
AND WHY ONLY 50?
|
|
|
|