I am using oleread to read uploaded xls file. But I am not able to read xlsx files saved in excel-2007 format. can someone helpme on how to read xlsx file in PHP.
Hey everyone,
I'm developing a new ASP.NET MVC 2.0 application and wanting to use the new ASP.NET 4 encoding blocks.
My View code contains <%: Model.ActivityName %> however Visual Studio is reporting:
Unexpected toke
at the position of the : (colon). When I run the application I get the following compilation error:
Compiler Error Message: CS1525: Invalid expression term ':'
What am i missing?
Cheers for any help/advice.
Can anyonen help with Teradata?
I want to create a query that is a standard
select count(*)
from Table
where Column = Something
but has a group by time period done by 5 minute time intervals the time column is in 'Time' format
any idea?
Is it possible to square a number stored in a register (say eax) without doing any multiplication (by using shifts, etc)? I will be squaring a 16-bit number in 32-bit assembly so overflow shouldn't be an issue. I am using NASM x86 assembly to create the program. Thanks in advance for your help.
Hi,
I need to deploy web service on Tomcat with installed OpenEJB.
I compiled simple Hello service that just prints "Hello" with JAX-WS and tried to deploy on tomcat, but got errors while deployment :
ERROR - Error deploying CXF webservice for servlet helloservice.endpoint.Hello
java.lang.IllegalArgumentException: Could not find servlet helloservice in web application context /helloservice
Please, help what is done wrong here.
Is tomcat + openejb is sufficient for web service deployment?
Thanks.
Does anyone know of any simple, concise tutorials for packaging DotNetNuke modules for DotNetNuke 4 and DotNetNuke 5? Preferably something concerning DotNetNuke 5.4, since that's what I'm running.
The examples that I've seen all assume background knowledge, or they are about short-cuts to the existing process. I'm a beginner, so I need the simple basics.
Thanks very much for any help.
Hi.
I have been searching the internet high and low but can find some examples that can helpme, I'm developing an application in wpf, in it I use a datagrid, each cell as a datatemplate with and image, in a mosaic style, on the side of the grid I have some tiles to use on the grid, I'm able to drag the tiles but can't drop then on the grid because I can't find the cell to which make the drop, is there a way to get a cell position from the the drag events?
Thanks
I am looking for a way to have a custom navigation bar and need to have a custom navigation bar background to achieve this. I was looking around for how to do this, but could not find a solution. If anyone has the solution, help is much appreciated.
I am investigating the UIFont thing on iPhone. (You can't easily use custom fonts.) I was wondering if the peeking at the Quarts drawing methods would help. The issue is, i don't know where to look or how to access that information.
Where can I find the framework headers? Also, I was wondering where the iPhone stores the Fonts. (Path to them...)
Hello Everyone,
I am interested in reading ONLY the TEXT content of a UIWebView. How do I do this? I found lots of help on the web about reading the HTML content but I want ONLY the Text. Any suggestions?
Thanks
Hi,
I have a modal popup extender in which i have a progress bar.
When i click a button ...this popup should be displayed to the user.
I have done this though button.attributes.add().[ this is without postback]
But ...popup extender can blur the base page only after the postback.
Issue is currently i am able to see the progress bar...but base page is not blurred.
:(
Any help
Hi all,
We have our local Maven repository which was working fine till yesterday.
Today we are getting the following error while building any project.
'Failed to load late-bound plugin: org.apache.maven.plugins:maven-resources-plugin'
We haven't changed any settings.
Any help?
Thanks in advance.
Regards,
Jani.
Hi,
i want to create google map for own site.my task is that i have to fetch some information from database and i want to show in google map,with my icon.some thing like
"http://www.jaap.nl/koophuizen/Groningen///_/_/1/?rad=5km&min=450000&max=1000000"
in right side ,google map is showing,excatly i want to show my google map.if any have idea please helpme
Thanks
Manish
[email protected]
i am looking after a autosuggest with debounce feature and i have been looking around search on this site and also google but did not find anything that is working.
i am looking for sample code work with asp.net web forms autosuggest.
any help?
I'm new to asp world, and I have to keep my new job :)
Switching form php to asp.net 3.5 (never used before).
What would be the best practice for storing a SESSION variable in my project ?
How can I prevent my SESSION to be overwritten
if my initialisation code is in the onPageLoad method of my MasterPage ?
My variables keeps beeing overwritten, please someone helpme and tell me if there is any other solution than dealing with this pageLoad problem.
Thank you all
I have a text area. I can set the text of it with
$("#mytextarea").text("foo")
I can prepend to the text area like this:
$("#mytextarea").prepend("foo")
But I cannot prepend to the jquery text() object like this:
$("#mytextarea").text().prepend("foo")
The reason I want to do this is so that if my user gets me to prepend this text:
$("#mytextarea").prepend("<script>alert('lol i haxed uuu!')</script>")
...the script executes and I lose.
Help?
Hello,
I am looking for qa tools for php. I am used to pmd, findbugs and checkstyle in the java world. Do you know some similar tools for php doing code analysis ?
So far I have found but not tested yet :
phplint
pmd's cpd module
PHP_CodeSniffer
Thanks in advance for your help
Disassembling printf doesn't give much info:
(gdb) disas printf
Dump of assembler code for function printf:
0x00401b38 <printf+0>: jmp *0x405130
0x00401b3e <printf+6>: nop
0x00401b3f <printf+7>: nop
End of assembler dump.
(gdb) disas 0x405130
Dump of assembler code for function _imp__printf:
0x00405130 <_imp__printf+0>: je 0x405184 <_imp__vfprintf+76>
0x00405132 <_imp__printf+2>: add %al,(%eax)
How is it implemented under the hood?
Why disassembling doesn't help?
What does * mean before 0x405130?
I want to show a MS Word environment in an Iframe without all the toobars. The document that is being showed contains input fields. After these fields are filled in, the document must be printed. I have created the print button and want the (filled in) document printed when this button is clicked.
I hope you understand want I want and hope you can help out.
What are good ways to deal with repetitive content in docstrings? I have many functions that take 'standard' arguments, which have to be explained in the docstring, but it would be nice to write the relevant parts of the docstring only once, as this would be much easier to maintain and update. I naively tried the following:
arg_a = "a: a very common argument"
def test(a):
'''
Arguments:
%s
''' % arg_a
pass
But this does not work, because when I do help(test) I don't see the docstring. Is there a good way to do this?
A metaphor help us to communicate with our project stakeholders, using a shared set of concepts and analogies. we develop them all the time, in one way or another. even the XP- programming highly recommend to get it defined since project start.
How do you write such thing down in a document (specially if it already exists)? maybe a dictionary-like approach?
when i used onClientClick event for calling a javascript function in .aspx file. but it's not working at all.how can i get alert for input of data within "<" in textbox.
pls help me
Hi,
I know that when i do the following, it converts getdate to int
select cast (getdate() as int)
Getdate output on my server is "2010-06-11 14:42:20.100" and the int to which the above command is converting to is 40339. What is this integer? Did this int consider minutes and
seconds? i am confused. Please help.
Regards
Manjot
Hi
I want to install rsync on windows xp.
I have searched the web, but most of the solutions suggest using cygwin, but is there any other way to do this?
I don't want to install cygwin because it takes lot of space. Moreover, I need to make it communicate with a rsync daemon on Linux, therefore alternatives to rsync on windows won't help.
Thanks