|
In addition to what Guffa said, these may help.
Look at the System.Security.Permissions.RegistryPermission class
and/or
Add an app.manifest file and alter the requestedExecutionLevel - this will invoke UAC.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Hi all,
Could somebody help me pls ? i want to retrieve text from label or textbox on a windows form which i want. Then i type the text to textbox with winApis automatically. For example you think that a keygen it generates a serial i wanna get this then i want to send it to programs activation window.
Thanks,
Sampiyon FENERBAHCE
modified on Friday, September 26, 2008 4:20 AM
|
|
|
|
|
Use the "Text" member for your control, e.g. myTextBox.Text. This is a string that gets/sets the text for the control.
|
|
|
|
|
i need to do this with apis ? but i dont know how
Sampiyon FENERBAHCE
|
|
|
|
|
I want to turn off vista UAC(User Account Control) using c#.
How can i do that?
Thanks a lot.
|
|
|
|
|
Not that I can say for sure, but I would imagine that its close to impossible - the point of UAC is to stop programs doing things they shouldn't. If C# could turn it off easily I'd be very worried about UACs value as a security measure...
Chris
|
|
|
|
|
You probably shouldn't, but, all the UAC stuff is saved in the registry. You can alter those keys (you'll need to invoke UAC via app.mainifest first to be able to access them) from C#. Google for Registry UAC Vista and you should be able to find out which keys they are.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Not sure if from a security standpoint that this is a good idea. Any reason why you must do this?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Dear Sir,
Will u pls give me a suggestion to create online media player in asp.net2.0 with c#
Manish
|
|
|
|
|
Ok, here's a suggestion. Why don't you create an online media player in asp.net 2.0, using c#.
Was there anything else?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi all,
Does anyone perhaps have some example code of how to Drag and Drop multiple items from one ListView to another ListView ?
Many thanks in advance
Regards,
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
Check this.[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
|
No problem.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
hi
i need a wraper "class" for microsoft Enterprise Library caching in C# which can add and retrieve data.The developer must use this class for the data manipulation.As i am new to it.. i have no idea abt it. Pls help me..
thanks
Sid
|
|
|
|
|
pls help C#.NET 2.0 application , when I try to Build it I am receiving
the error:
Error 45 The command "xcopy "P:\ID Solutions\FpSdk\fpSDK_IP.dll" "C:\My Job\Development\SBMS_Development\FingerPrints\4. Development\a. Client\FingerPrintQAIdSolutions\bin\Debug\" /Y /R /D
xcopy "P:\ID Solutions\FpSdk\fpSDK_MA.dll" "C:\My Job\Development\SBMS_Development\FingerPrints\4. Development\a. Client\FingerPrintQAIdSolutions\bin\Debug\" /Y /R /D" exited with code 4.
FingerPrintQAIDSolutions is my solution
C:\My Job\Development\SBMS_Development\FingerPrints\4. Development\a. Client is the directory where i put my project
regards paula
|
|
|
|
|
from MS tech net:
exit code 4 "Initialization error occurred. There is not enough memory or disk space, or you entered an invalid drive name or invalid syntax on the command line."
Source[^]
Make sure that P is a valid drive
Natza Mitzi
|
|
|
|
|
I got a task to develop an application to be installed in a maccintosh environment. Can Visual studio application run in Maccintosh OS. Plz Tell.
|
|
|
|
|
MONO is an open source development for porting .NET libraries to other platforms. Try to compile your application with MONO. Keep it in mind, MONO is developed by open source community and it won't support latest .NET framework classes. I believe it has support till framework 2.0,
|
|
|
|
|
Hi all,
Do you know a simple way to print contents of a DataGridView in a C# program?
Sourie
|
|
|
|
|
Use search to find an article on codeproject that shows how to print a datagridview. Then use it in your application
|
|
|
|
|
oh thanks I found 6 articles. I am going to read them.
Sourie
|
|
|
|
|
How to provide the different implementations to two abstract classes methods and methods name are same
Example
abstract class abstA
{
public abstract void get(int num);
}
abstract class abstB
{
public abstract void get();
}
How to use the get() method of two abstract classes
|
|
|
|
|
In c# you can't have a class inheriting from two classes so you won't have two get() methods to implement
|
|
|
|
|
Hi All!
Actually i need to integration my site with MarketSMART but i have no idea about this there is php code that i need to use in my ASP.NET using c# application can i change this php code to c#....? and any one have the idea about MarketSMART and what things i need for this.... please help me its importany my job...
url for MarketSmart site FAQs : https://www.marketsmart.co.nz/basic.php?pagekey=faq&subject=wsdl
username guest
password MSILweb
PHP Code :
require_once('lib/nusoap.php');
$client = new SoapClient("https://www.marketsmart.co.nz/axis/services/Service?wsdl");
$err = $client->getError();
$auth = new soapval('auth','AuthenticationInfo',array('credentials'=>(obtain from MSIL),'principal'=>(ditto)),false,'urn:Service');
////////////////////////////////////////////////////////
// Config
////////////////////////////////////////////////////////
$cardNumber_val = "9999999990001544";
$cardNumber = new soapval('cardNumber','long',$cardNumber_val);
$RewardsAvailableRequest = array('auth'=>$auth, 'cardNumber'=>$cardNumber);
$param = new soapval('raReq', 'RewardsAvailableRequest',$RewardsAvailableRequest, false,'urn:Service' );
$result = $client->call('getRewardsAvailable', array($param));
echo $result;
print_r($result);
echo 'Request: ' . htmlspecialchars($client->request, ENT_QUOTES);
echo 'Response: ' . htmlspecialchars($client->response, ENT_QUOTES);
echo 'Debug ' . htmlspecialchars($client->debug_str, ENT_QUOTES);
|
|
|
|