|
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Check out the IsNetworkAlive API
«_Superman_»
|
|
|
|
|
|
complate update in : 2009/02/20
see you later...!
|
|
|
|
|
Its a question or its a notification?
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
You are in a completely dark room, facing north west.
Courtesy of John Simmons
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Let's hope The Big Green Snake not only Bars The Way, but decides to have him for lunch.
|
|
|
|
|
Done. Now I'm going to enjoy a week of holydays...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I recently download the program/class CSMTPConnection which can be found at: http://www.codeproject.com/KB/IP/csmtpconn.aspx#CSMTPAddress. After making some minor changes to the code for my system, I find that I cannot use to send email. The problem is that my mail server requires authentication which I interpret to mean a password. This program/class does not allow me to supply a password. I am doing this as a learning exercise. Is there a different class I should be using to send email? If I use the yahoo email server, will that work?
I am doing that, at least for now, as a learning exercise.
Thanks
Bob
|
|
|
|
|
|
I have a neat way of registering software. The software creates
a ID number based on the time of installation, I provide a passcode
that is stored in the registry to activate the software.
It works, its simple. Only problem is, its dependent on the phone.
Too much time is spent on the phone with the person activating the
software.
Im trying to come up with an easy way where:
1. I generate a list of say 100 valid passcodes.
2. When the software is given a passcode, it downloads the list of
valid passcodes from the server and checks to see if this is a valid
passcode.
3. If it is, it removes it from the list and uploads the new list
of 99 passcodes to the server. That way they can just register once.
4. When the original list of valid passcodes gets low, I'll generate
more and restock the list.
I can do almost everything except upload that new list, which is just
a .txt file, to replace the current existing list.
I looked all over codeprojec and am looking for an easy sample
project that shows how to activate software or an easy project that
shows how to upload a file to a server to replace a current existing
file. Any chance any one knows of any sample project or can email
me anything?
Please, please, any response any one can give me will be greatly
appreciated.
Sincerely,
Danielle Brina
|
|
|
|
|
How are you downloading the file?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
There is a simple project called CWebGrab on the codeproject
site. I lets me grab a file from the server. Easy to use.
|
|
|
|
|
DanYELL wrote: There is a simple project called CWebGrab on the codeproject
site.
Which uses CHttpFile::Read() . That class has a Write() method that you should be able to use.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I would suggest to not download "stuff" on the users's computer.
Instead of the phone, use email.
- User gets "code" from software
- User sends "code" to company.
- Company validates "code" and generate "activation code"
- Company sends back "activation code".
- User paste "activation code" in software
- Software validate "activation code".
This signature was proudly tested on animals.
|
|
|
|
|
I agree. But here is what happens.
- User gets "code" from software.
- User sends "code" to me.
- User gets impatient and calls.
I cant begin to tell you how many people call to say
"I just sent you an email, can you give me a time-frame
as to when you will reply". And I just got the email.
|
|
|
|
|
This should be automatic.
In my experience, the usual response time is up to 5 "work" days.
This signature was proudly tested on animals.
|
|
|
|
|
i have taken one radio button i want to change text of it. can anybody tell how can i change the text of it. in my programme
thnz
|
|
|
|
|
_T("No name") wrote: i have taken one radio button i want to change text of it. can anybody tell how can i change the text of it.
They hide that information in the documentation[^]
|
|
|
|
|
led mike wrote: They hide that information in the documentation[^]
Bastards!
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
For most controls you can use of SetWindowText or WM_SETTEXT.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
My project is about data acquisition from 4 sensors through USB port and show the data on PC monitor in graph.The read data from each sensors is so fast(less than millisecond) So,I separate 4 thread for draw graph in each sensor.
Because all thread use same device context, before each thread drawing it still waiting for each other.
Please advise me some solution for make 4 thread and each thread has the private DC.
I mean when the data occur the thread can draw without waiting for other thread.
|
|
|
|
|
I think you'll find you can only use a DC on the same thread on which the window was created. In general, the best method is to share the data with a UI thread, which will then draw it.
Max++ wrote: The read data from each sensors is so fast(less than millisecond) So,I separate 4 thread for draw graph in each sensor.
Can you define what you mean by 'fast (less than millisecond)'? If you mean 'updates every millisecond, then you're not going to have too much luck just collecting it in threads in Windows - Windows isn't designed for those sorts of response times - unlike an RTOS.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Google for "mtgdi sample".
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|