Hello,
how would I develop an Email client in Ruby-on-rails taking Gmail as an example? I would be especially interested in the send email functions
Thanks for any pointers
Using jQuery, how do you check if there is an option selected in a select menu, and if not, assign one of the options as selected.
(The select is generated with a maze of PHP functions in an app I just inherited, so this is a quick fix while I get my head around those :)
I'm reading in my text book about virtual functions in C++ and my book doesn't elaborate on what exactly run-time binding is. It doesn't give me any information as to why I would need run-time binding.
Maybe the nice people at SO can provide me with some links or information?
Thanks :]
Hi,
I'd like to use HTML5 Canvas, but I'd like to use it in terms of shapes, texts and curves, able to attach traditional DOM events like onClick or drag-and-drop functions. Is there any Javascript library that is able to do that for me? I've seen that gwt-canvas is close to this approach, but haven't looked it in details.
Thanks,
Istvan
I had a load of javascript that ran well when everything was in one page. Now that I've separated it out, I'm not sure how to include the javascript, ssing the HEAD tag in in the master, and also, I had functions that ran when the body loaded but they are in the master too.
By the way this is a .NET 2.0 app.
I'm trying to import a text file into an access database. It's not one I've written myself but the spec for the delimited text file is set up properly and the file imports properly using the wizard. When I try to use the import functions of the app itself, the ImportError table tells "Field Truncation" for one of the fields. Any help would be appreciated.
Hi,
I have been using mootools for a year now. I need to use jquery for my new projects.
I always used hash() to make namespaces for my functions in mootools. For example,
var person = new Hash({
say_name: function(){
},
say_age: function(){
}
});
Does Jquery has similar stuff?
I need to determin the byte size of a file.
The coding language is C++ and the code should work with Linux, windows and any other operating system. This implies using standard C or C++ functions/classes.
This trivial need has apparently no trivial solution.
I am doing a small analysis in file functions in kernel dll..I noticed this funtion called
DosPathToSessionPath..i googled for it..there is no much documentation about this.Can anybody tell me what is the use of this fucntion?
Hi,
ive configured local service under some app.
i wanna know how could i invoke methods on the activity, through the service while sending parameters to that method.
(the method exists in the activity)
thanks.
Hi all,
I am using Visual C++ 6.0. I have a static library containing a set of C functions. To create the .lib file, I need .obj of some .C files. Some such files are contained within the same static library project but some are to be stored in some othr project due to separate flags, etc.
How can I include those .objs to create this library file..?
I have trouble compiling a class, which has function pointers as member variables. The pointers are to functions which take an instance of a class as argument.
Like
template<class T, int N>
double (*f)(Vector<T,N> v);
I get "error: data member 'f' cannot be a member template" Compiler is gcc 4.2.
We have developed a web application which is to be deployed by nontechnical person. Therefor I want to create an installer for it. Installer has functions of installing JVM, Apache Tomcat, and the web application war file depending on whether they are installed or not. Is there any installation suit which I can use to achieve this?
I'm looking for a language that will parse mathematical expressions for me pretty easily, but also be able to call functions and reference variables as needed. Jeval looks to be what I'm looking for, but unfortunately I'm working in C#. Is there a .Net based equivalent to jeval?
Hi folks,
I need to perform a lot of serializing and de-serializing in an application.
The data is POST parameters and Cookie headers.
Does anyone have any fast libraries to suggest or efficient ways to perform these operations?
Is there any built in functions to find all the files under a particular directory including files under subdirectories ?
I have tried this code, but not working...may be the logic itself is wrong...
def fun(mydir):
lis=glob.glob(mydir)
length=len(lis)
l,i=0,0
if len(lis):
while(l+i
I am looking for an Eclipse plugin or some other tool that performs similiar functionsas the IBM Rational PurifyPlus Quantify tool.
The problem i am facing with PurifyPlus is that it does not support the 1.6 JVM.
Any suggestions??
how can i change the data in only one cell of a mysql table.
i have problem with UPDATE because it makes all the parameters in a column change but i want only one changed.how?
I typically write my scripts with a structure like s
#!/usr/bin/python
import stuff
def do_things():
print "FOO"
def main():
do_things()
if __name__ == "__main__":
main()
The problem I have is I'd like to have a logging function that is defined globally and I"m not really sure how to do this. I tried a decorator function but if I define it in main I can't call it from other functions in the script. It seems like something that should be easy to do but not something I have experience with.
How is it possible to allow a user to create a webpage containing some html, based on their entries in a form? ie. I would want them to be able to input a name and when the button is clicked, a webpage called that name would be created. I imagine that this must be possible in php, but what functions/code would I be using?
Thank you!
I'm using Javawebparts Ajaxparts and would like to use one axis event multiple times in a form.
Problem is that std:InnerHTML responseHandler takes its target html tag id in axis-config.xml so it seems impossible to reuse the definition when only thing that should change is the target tag id.
Is there a way to set responseHandler parameters on the the page where it is used (in asix:event tag or someting)?
I have been playing with this webbrowser control example
I got it working and added some timers using ON_WM_TIMER.
Now I would like to access the m_Browser (CWebBrowser class instance) defined inside the protected CMyBrowserView class into a different class. (for example CMyBrowserApp in the code sample) and use .Navigate and other functions.
How can I do this?
(im using visual studio 6 c++)
Hello,
I'm building a query with the LINQ dynamic library so I don't know how many potential parameters will I have and I get an error when trying to query DATE type fields:
Operator '=' incompatible with operand types 'DateTime' and 'String'
When I step through the debugger in the Dynamic.cs it shows that the value is of type string and the field is of type date so the problem is obvious but I have no idea how to approach it.
Any ideas?
BR
Let's say I have a php file, test.php with 2 functions: test1() and test2().
If I have an external php file, index.php, with include(test.php) in its code. If in the index.php file has a reference to test1() but not test2(), is there any way that someone would be able to execute test2() by doing something malicious while using the index.php file?
Is there any tool that generates set and get methods for a class.
Just I create classes very frequently and would like to have a tool which for each class-member wil generate following functions:
Member_Type getMemberName() const;
void setMemberName(const Member_Type & val);