|
GetHashCode returns the hash of the object instance, not it's data. I figured he'd probably have to dig into some of your C# code to get the image bytes and run that through one of the encryption hashers to get what he wants. True??
|
|
|
|
|
yeah, that's what I was expecting if he needed to write his own.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
This code doesn't generate a hash of the image contents, rather its for the Image object (instance of a class), not it's data.
To generate a hash of the image data, you'll have to treat it as an array of bytes and run that through an encryption hashing algorithm of your choice.
|
|
|
|
|
Hi,
I want to turn on/off power of other machine using theASP.Net.
How can it be possiblr?
Regards,
sjs4u
|
|
|
|
|
Wow.
Start here[^], but also buy a VERY basic ASP.NET book and read it, so you start to have some basic idea of what it is, and what it does. Once you understand what is meant by the term ASP.NET, you will understand why you can't possibly use it to turn any computer off.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi..,
If Client Using windows PC Try to execute "taskkill" at client PC.
EX: taskkill /IM notepad.exe
With the use of the above command try to kill the "svshost.exe" or "exlorer.exe" ( i don't know exaclty.., because i don't want to make experiment in my PC).
Thanks
Rajesh B
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
I want to control it from server machine.
If I want to turn off power of client machine.
Regards,
sjs4u
|
|
|
|
|
Don't you want to send a ctrl-alt-delete sequence? Seems like that should be possible. Through ASP, I have no idea though.
|
|
|
|
|
This is not possible using ASP.NET.
Client hardware and the Windows system is off-limits to your ASP.NET code, as well as any code running client-side in a browser.
|
|
|
|
|
That's not going to turn off another computer...
|
|
|
|
|
Maybe it is possible.
You can use vb6.0 or any tools to use win32 api to shutdown pc.
If you want to use ASP.Net you must crate ActiveX that have ability to shutdown pc and you embeded it in ASP.Net page.
And tell user on other machine to load your page.
|
|
|
|
|
Hi All,
I am developing a simple application using VB6.0 and using Web Browser Control to display the Report.Now i want to Export that report in MS Word application and Saved in word Format.Please give me the Guide line.
|
|
|
|
|
Wlink wrote: developing a simple application using VB6.0
Why VB6? It has been pretty much dead since March of 2005. You might want to use VB.NET instead...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hello
I try to develop an application that give an identifier or a message when i insert or delete My flash from my computer, and i don't know where i should begin
So any help will be greatly appreciated
Assaf
|
|
|
|
|
Well, your flash drive shows up as a hard drive on the system, so you could watch for removable drives being added or disappearing
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I didn't get the point
Please clarify
Thanks in advance
Assaf
|
|
|
|
|
Keep a list of removable drives on the system, set a timer and see if it changes. There may be an event you can hook into instead, but if not, that's the other way to do it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi..,
Use this code for detect your flash drive when insrt/remove.
This is event based code. using namespace system.management.
declaretions:
Private WithEvents m_MediaConnectWatcher As ManagementEventWatcher
Query:
Dim query2 As String = "SELECT * FROM __InstanceOperationEvent WITHIN 10 WHERE TargetInstance ISA ""Win32_DiskDrive"""
then start the managementeventwatcher thread.
m_MediaConnectWatcher = New ManagementEventWatcher(query2)
m_MediaConnectWatcher.Start()
you will get a event when you insert/remove.
Thanks
Rajesh B
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
Hello,
How can I delete embedded resources at run time?
I want to update a dll with some embedded *.Wav files in it and replace those *.Wav files with the newer one.
I'd like to know is it possible?
thank you.
modified on Sunday, March 16, 2008 3:49 PM
|
|
|
|
|
hi..,
Give me more clarification about your question?????
Thanks...
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
hi.
I work on a telephony windows application that works as an answering machine and uses TAPI over a voice modem.
I used some *.wav files in the application that they give command options to the users when they call to the application.this application is going to sell to different customers so I want to have an option to chenge the *.wav files on my application.but my problem is that I want to embed *.wav files in a resource file such as "WavRes.resX" .
thanks.
|
|
|
|
|
The short answer is that you can't change out the resources at runtime. The long answer is that you can, but with GREAT difficulty. Once the .DLL is loaded, it's locked read-only. Meaning you can't change it until the process the loaded it stops.
For your description of what you need it for, I would suggest either copying an already made .DLL to the filename you need it to be, or your code should be able to load the correct .DLL library without modifying any files.
|
|
|
|
|
|
i have problem that i change the data bace in the debug file to new db withe the same name but inside the program it steal using the old one although i change it and i refresh it many time can any one till me how i can change the old one withe the new db
please help me if you now how
|
|
|
|
|
It's spelled 'database' ( just in case you were trying to google your problem ).
What sort of DB is it, Access ? And it's a local file ? If you're seeing the wrong one, then your app is pointing to the wrong one, simple as that.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|