Hi,
Is there a programmatic way to differentiate between an addition of a New document and the Upload of a document in a Document Library? (Moss 2007)
I want to make a document upload raise an ItemAdded event only after some required fields have been filled, by default it is raised as soon as the upload itself is done by browsing to the...
I'm trying to make a modem call in one end, and in the other end the program answers the call. It doesn't seem to detect the carrier. Am I doing anything wrong? Am I missing something?
int main(int argc, char** argv)
{
ParseArgs(argc,argv);
SerialPort* port = SerialPort::New();
if(!port)
Error(ErrorNoMemory,"Can't create port");
i...
I'm trying to make a TextBox that will change value when someone
scrolls the mouse wheel over it. Specifically, my goal is for the
number in the text box to increase when i scroll up, and decrease when
i scroll down. However, I'm having trouble figuring out the
MouseWheelHandler. I simplified my code to just change the value to
"UP" or "...
When I upload a file using a Flex application,
what is the difference between complete and uploadcompletedata
events?
In which cases one of them will be dispatched and the other
one won't?
...
Is there any event when a new process is created. I'm writing a c# application that checks for certain processes, but I don't want to write an infinite loop to iterate through all known processes continuously. Instead, I rather check each process that is created or iterate through all current processes triggered by an event. Any sugge...
Hi,
The problem can be summarized as when clicking an item in datagrid, the text area shows the value of the item, but here the compoents are separate and hence events need to be dispatched.
My mxml component file :
<?xml version="1.0" encoding="utf-8"?>
<mx:DataGrid xmlns:mx="http://www.adobe.com/2006/mxml" itemClick="itemClickEvent(...
Hi,
Let's say I have an event. Let's call it DoStuff. Before DoStuff happens, I'm trying to use another event, PreviewDoStuff, to check if I need to prevent DoStuff from being called. The problem I'm facing with this is that I'm unable to get any kind of value back from the PreviewDoStuff, like a return code or anything due to how event...
Hi,
i have following problem. I have a parent site withs forms. And i have links which open a popup via open.window.
I want to reload the parent site with opener.location.reload(); in the Jquery .unload event. This works fine till the user submits the form on the parent site and then closes the popup. I get the usual "This page cannot...
I would like to get a second opinion on how to handle Exceptions within "events" (key input, screen update etc). In this case I have control over the event-sender.
So a module is set to handle an event (it implements a listener interface, and is registered against an event sender):
public void DefaultSet ( CardData oldDefault, CardDat...
Hallo,
i've got a JavaScript-function that sets the "onclick"-event of some HTML-Nodes - even if that "onclick"-event has been set before.
How can i check if that event has already been set, so i can extend my function to set the event only on HTML-Nodes where it has not already been set ?
...
In the following code (inspired by this snippet), I use a single event handler buttonClick to change the title of the window. Currently, I need to evaluate if the Id of the event corresponds to the Id of the button. If I decide to add 50 buttons instead of 2, this method could become cumbersome. Is there a better way to do this?
import ...
How can I click a Button in one form and update text in a TextBox in another form?
...
I built a quiz game with a cartoon question bubble. The bubble is re sized to the length of the question. I want to a change event on the dynamic textbox to call a function that changes the size of the question bubble.
However, the change event is never called when my textbox value is modified dynamically from code.
question_txt.add...
I have a button which launches a "modal dialog" - it just creates a transparent grid covering everything, with the "dialog" created on top of that.
However I have a strange issue - if I double/triple click the button really fast (or add some delay in the event code), the button click event is executed multiple times, creating multiple o...
I am talking about the common signature for events:
Event ( object, args );
and why not:
Event ( ImageProcessor, args );
Is #1 incurs a performance cost too, along with being unclear?
...
I am writing a simple image replacement script on a site I am working on and having a bit of trouble.
The code I have at the moment consists of:
$(function() {
// When a thumbnail is clicked
$(".zoom_thumbs a").click(function() {
// Get large image attributes
var largeImg = $(this).attr("href");
var largeTitle = $(thi...
OK, I've tried but I just don't get it.
I have two classes logger and class1.
I have a method called logger.Write(string) and method called class1.Execute().
Now in my application I want to have logger.Write(class1.ToString()) run when class1.Execute() is called.
I presume you need to add delegates and events, but I just can't get my...
I find myself writing this code a lot:
private int _operationalPlan;
public int OperationalPlan
{
get
{
return _operationalPlan;
}
set
{
_operationalPlan = value;
RaisePropertyChanged();
}
}
private void RaisePropertyChanged()
{
...
I have a table, and when the user clicks on each cell, some details should appear in a small popup div that appears where the user clicked. I'm using JQuery, but not to bind the function to the onclick event.
function detailPopup(cell, event, groupName, groupID, ...)
{
var newDiv = document.createElement("div");
newDiv.id = "detai...
I want to do some validation whenever the value of a textfield changes. I don't see an on change event mentioned in the documentation though.
...