|
I have a feeling you might want to be looking at namespaces?
|
|
|
|
|
Hi,
I am writing a windows application and i want to write the code to know weather .net frame work is there or not and i want to know weather iis is installed or not.
after executing my application i want to run on other system with the help of that exe file.
please send any links or code how to know the framework is installed or not and iis is there or not....
the program should run on other also(where there will be no dot net) system with "Exe file". It should prompt the message that framework is not there
|
|
|
|
|
|
shavil wrote: the program should run on other also(where there will be no dot net) system with "Exe file". It should prompt the message that framework is not there
As far as I know this isn't possible with .NET (in vb6 it is but that's a dead language).
You can however add a setup project wich will create a setup for you (.exe and .msi files)
These will automaticly check for the framework and if its not there offer to download and install it.
|
|
|
|
|
i always resorted to checking the registry to see if IIS is installed, another method is to check the windows service list to see if W3SVC is installed and running
|
|
|
|
|
Dear user i have developed a database software in C#.Net 2005 and sql server 2000. i want this software to run for a specific period of time and only on one computer. so that the client demands for the new version of of the software.
i am waiting for you guidance.
Thank You.
Hamad Salahud-din
By Lucky Hamad
|
|
|
|
|
Do you mean like a trial period? or are you just forcing a user to upgrade after a certain amount of time for no reason? A user should upgrade only because your next release would have more features and specific upgrades that they want, not just because you say $o.
|
|
|
|
|
Lucky Hamad wrote: i am waiting for you guidance.
You might be waiting a while.
|
|
|
|
|
My sys admin chap wishes to restrict certain files etc. so he wishes to put them in folders with access priveleges restricted to certain logons - however, he also wants some people to be able to look at the first few records of those files (they are just text - CSV files) - so... is it possible to write a windows forms (or WPF) program in C# that when it is run mimics one of the priveleged logons so the user can browse and view the restricted files?
|
|
|
|
|
|
That was the word I was looking for. Thanks.
|
|
|
|
|
|
|
Hi,
I need to send a string or a key value when a socket connect to the listening server.
Example :
When a user enter logged in and send connection request to the listening server, I need to send his userId also to display the name of the connected user and his IP address.
How can i do this in connection request.
Regards,
YPKI
|
|
|
|
|
http://www.developer.com/net/csharp/article.php/3331571[^]
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
---solved---<br />
when i restart the Visual Studio
i made an UC and used timer, that UC has a property Delay that keep decrease until it reaches to 0. But damn problem is that whenever i set Delay property in designer and it start decreasing. First, timer was Enabled so then i set it False and enable it on UC's Load Event but problem persists, then i made another property of type bool to change the timer.Enabled property but Delay property still decreasing...
any solution ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I know you've found a solution, but you could surround the offending code with a check to see if your app is running under the IDE (in the designer).
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
yes i know, i can know by getting the current process name as "dev.." but i just avoid that thing because the UC wasnt too big, just some custom props. I would use that if there were no option
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
How can I rename window titles of programs that sit on the taskbar? Please Help???
|
|
|
|
|
I'm not shure what you want.
Do you want to change the names of programs other than yours.
Or just the name of your program.
In the second case the name displayed in the taskbar is the same as the main form's text property. So changing that would change the name.
In the first case I don't know how you would do this or why or if its even possible.
|
|
|
|
|
Yes.. the first case. How can I change the form's TEXT property from c#? I'd like to rename various program's TEXT property as they sit on the task bar.
|
|
|
|
|
I doubt that this is possible. The only way I can see that it would be is if those programs expose the property to you (and I know of no program that does this). If they do you'll need to read the documentation off those programs on how to change it.
Other than that I doubt you can do this (legally).
|
|
|
|
|
Gi,
this is what I would try:
1. find the window handle of the main window you want to change; do this by enumerating all visible windows, all processes, or whatever seems most appropriate;
2. then call SetWindowText[^]
Both actions will require the use of P/Invoke.
|
|
|
|
|
|
hi
can I create a ISAPI by C#.NET?
I know I can create HTTPModule and HTTPHandler but I want to create a ISAPI
thanks
Mohammad Khansari
|
|
|
|