Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lyphard

    How to save the content of a html page to a file using Javascript?

    I tried but the innerHTML property won't save the current state of the document. e.g. if I type "aaa" in an input field, the innerHTML property will return <input name="blah" ...> but no "value="aaa"" which is filled by the user. Is there a way to work this out? Thanks.
  2. lyphard

    How to save the content of a html page to a file using Javascript?

    I found myself in a scenario where the user fills up a form and I need to save the entire form (i.e. not only the form fields but also the static texts and styles etc.) So I figured it's easier to save the entire html page. Can I do this in Javascript? Thanks.
  3. lyphard

    Is there a Python counterpart for Java's class.forName('xxx')?

    I also asked the question to python-help at the same time and they provided some helpful comments I'd like to share. Dont bash me if you already knew :) >>> class A: pass ... >>> s = "A" >>> b = eval(s)() >>> b <__main__.A instance at 0x01435FD0> >>>
  4. lyphard

    Is there a Python counterpart for Java's class.forName('xxx')?

    Thank you very much for the post. The reason why I asked was that I'm writing a program which involves file parsing, and there're different types of files so for each file format I write a parser class, and I want the user to specify which class they'd like to use in run time by passing in a...
  5. lyphard

    Is there a Python counterpart for Java's class.forName('xxx')?

    Hello, If I want to create an instance of a class from a string, in Java I can use class.forName() to achieve it. How can I do it in Python? Thanks. -Kevin
  6. lyphard

    Are there events for powerpoint?

    I was wondering is there a event that fires everytime a powerpoint document is opened. I entered VBE in powerpoint but unlike Excel there's no powerpoint document object under VBA project. How do I go about this? Thanks.
  7. lyphard

    PHP File Upload problem with Apache 2.0 Fedora

    Thank you for your reply. However I dont think it's the PHP or Apache directives that cause the problem. My post_max_size is set to 8M and upload_max_filesize is set to 4M. Even if there's a problem in the directive setting, I'll still get error messages when I try to upload a bigger file, isn't...
  8. lyphard

    PHP File Upload problem with Apache 2.0 Fedora

    My web hosting company upgraded their server from Apache 1.3 to 2 a week ago, and since then I have trouble with my PHP file uploading script which works fine before. The symptom is like this: * It has no problem uploading files less than 2k. * When the file is bigger than 2k, the uploading...
  9. lyphard

    C# Graphics Programming

    How to use .NET framework library to draw bar chart/pie chart and other kind of charts? What direction would you guys suggest me to invest. thanks.

Part and Inventory Search

Back
Top