I am unable to understand the purpose of JAF (Java Activation Framework). Please explain it to me in simple terms, or point me towards information.
The Java Mail API is using JAF. It looks like the JAF is used to find the supporting data types of an object. But I couldn't understand.
Please teach me!
...
Is it possible in .Net (or thru pinvoke) to determine if a windows form is obstructed from view (i.e. other windows have been moved over top of it, so it cannot be seen)? What I am doing is checking if the form is minimized, then flashing the window on the taskbar if it is. However the problem is if it is NOT minimized, but just moved t...
I need to attach a transparent, layered window to any application window present in the system, with the added feature of the user not losing the keyboard focus.
So I went with the owner method: use GetWindowLongPtr with GWLP_HWNDPARENT and tracking the owner movement with a simple out of context hook (SetWinEventHook).
Also, using WS_...
I have recently developed an app that I plan to sell to small businesses. I do not have a huge backing of cash so I am unwilling to purchase a commerical application that would protect my software against theft.
My current plan is the following:
I include a public key (pgp) or a literal code inside of the app.
User purchases software ...
I just want to ask you why is email activation usefull. I mean when you register on a website, many ask you to activate your account by email. Is this for preventing spam, or just for websites to be sure you entered a real email address, to send you emails in the future? If it is for spam, how is that preventing spam, cant bots access ma...
When a user subscribes to my newsletter via their email address, using php, how would I send them an 'Activation Link' via email to confirm it is their email address and not a fake one.
so at the moment I have
PHP:
<?php
$to = "[email protected]";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)...
How do you avoid abusers for account systems requiring email activation? Abusers can basically hijack your account activation system to spam someone's (or multiple someone's) email's.
The most obvious solution is probably to set a limit of X reminders max per hour or per day. But: This doesn't give the non-abusing user the benefit of th...
How can I get an idle thread to be activated again such that its context is restored and execution continued (like if I want a thread to activate after 10 seconds and then be activated after every 5 seconds, in the mean time other threads may continue running)?
...
I use VS2008 to develop a excel 2007 add-in, within add-in I want to use Activation Context API to instantiate a COM class.
The werid thing is I can instantiate the COM class successfully on Window 7, buf fails on Windows XP/2003.
Here's the code-snippet
string codeBase = this.GetType().Assembly.CodeBase;
string asmFullPath = new ...
My VB.NET app supports several kinds of MDI child forms. Some kinds, but not others, are 'troublesome' -- they cause the focus mechanism to become weird. Once a 'troublesome' child form has been opened, NONE of the MDI child forms will become activated unless I click on either the title bar or the border. Clicking in the client area d...
I want my users to activate their accounts before they are able to login. They are sent an email after registration containing an activation link, something like this:
http://www.blabla.com/[email protected]&token=Aisd23uNMAu53932asdDasd82AS
Of course, whenever someone logs in, I have to check wether or not that ...
Any good alternatives to tying software activation to a hardware piece on the machine beside using the MAC address? Using hard drive serial numbers will not work as they are not always available. Machine GUID is also not always guaranteed from Microsoft from my readings. Any other thoughts? This would be using Microsoft API or technologi...
Hi Guys,
I wonder if there is anyone who can help me?
The issue I have is a windows form TabPage stealing focus upon form re-activation. The form has a TabControl with four or five TabPages. Each tab page has many various controls.
The scenario is as follows:
A user tabs through a few controls on the first TabPage and a new form is sp...
Hello,
I'd like to make a very simple mechanism of registration for my application. Nothing fancy, just need to make sure that the user won't simply uninstall my product and then install it again when the free trial ends.
I was thinking of putting the information in HKLM\Software\Microsoft\Windows\Uninstall under a subkey like {ECE6CA...
G'day guys,
How do I go about enabling service discovering when using WCF's file-less service activation? With this approach it doesn't seem possible to specify explicit endpoint types or a behaviorConfiguration?
My current attempt is as follows but service discovery still is not working:
<bindings>
<wsHttpBinding>
<binding name...
My boss wants a quick, simple to integrate, simple to host software licensing server to enforce license activations and expirations. We have to integrate it with a C++ Windows Service application.
I would not like to host the service in our office for the same reason we don't host our own website in our office. The service must be host-...
Guys,
Am using mail.jar and activation.jar as classpath and have programmed a automatic mail sending and it works fine.
In my program, the content is declared as a String. But my requirement is, I need to retrieve few of the counts from different tables of my SQL DB and attach the same in my content of the mail.
I think declaring the ...