I just uploaded files(doc & pdf) in my web server(with my coding). I want to stream those files when I click download link on my page.
please share any tutorials or any suggestions?
When writing C++ code is there any difference between:
#include <cstdlib>
and
#include <stdlib.h>
other than the former being mostly contained within the std:: namespace?
Is there any reason other than coding standards and style to use one over the other?
it's a very easy question maybe, but i can't find any "working" plug in for WYSIWYG (what you see is what you get) HTML editing ,you know like dream weaver
i'm developing a web site which is a mix of php and python, coding is comfortable but designing is very hard with out such a plug in
thnx :)
Currently, i have a google web search. If a user searches starbucks, I would only want to retrieve the company or product information, not some other weird links like blog pages, using javascript, is it possible to do so? if yes, how am i able to do it? Kind of a newbie in the data mining part..thanks!
Added my coding for download for clearer understanding : http://www.mediafire.com/?mzgo233kngm
Hi,
Do you know any Javascript Tree Creator that lets you add or remove nodes up to 3 levels deep?
I'm currently using the jQuery treeview but is currently coding the add and remove of node items which is hard.
Cheers,
Mark
I'm coding an advanced web browser. The bad thing is, is that whenever you move your cursor over the window, a wait cursor is displayed. I tried to deselect the wait cursor but it doesn't work!
I'm using Visual Basic 2010 Beta 2...
Please help!!
What are the things to consider and watch out for when designing a website with AJAX? Must take care of conditions, say timeouts, error handling, for instance?
Best practices? What parameters to take care of while designing and coding?
I want to convert a tab delimited text file to a XML file. I was able to do it with a single character delimiter. But how do i extend it to tabs? I am coding in C# and using Visual Studio 2010.
I currently make my website using iWeb. Is there a way that I can embed a WordPress blog into the site? Either through an easy option or through coding?
Having used ViewModels in MVC, I was wondering if applying the same to the MVP pattern is practical. I only have a few considerations, one being that MVP is already fairly hard to implement (with all the additional coding, not much on the seeming complexity) or that ViewModels already have a slightly similar way of modeling data or entities. Would adding another layer in the form of ViewModels be redundant or is it a logical abstraction that I, as one implementing the MVP pattern, should adhere to?
Hello everyone,
I am using SQL Server 2008 Enterprise. I met with issue which says line 9 of store procedure foo is meeting with dead lock issue. My question is how to find exactly the 9th line of the store procedure?
My confusion is because of coding format issue, how to locate 9th line correctly.
thanks in advance,
George
I need to get the path (not the executable) where my application is running from:
System.AppDomain.CurrentDomain.BaseDirectory()
When I run the above statement with & "/images/image.jpg" on my local machine it works fine but when I install the application on another machine it says it cannot find the file and there is a lot of extra path information some.
I just need the directory of where the app is running. I am coding in VB.NET with Visual Studio 2008.
Thanks!
I started coding in C# and have never had the opportunity to use callbacks though I have used delegates for event wiring. What is the real application of callbacks. I would be grateful if you could give some link that explains about callbacks in a straight forward way without C++ prerequisites.
I'm a coding a JavaScript reporting component, that requires multiple LI's i.e. lists to be selected collectively as a bunch with visual feedback.
I'm thinking of adapting the onfocus event. Is it possible for multiple HTML elements to receive focus at the same time?
Coming from a C# background the naming convention for variables and method names are usually either CamelCase or Pascal Case:
// C# example
string thisIsMyVariable = "a"
public void ThisIsMyMethod()
In Python, I have seen the above but I have also seen underscores being used:
# python example
this_is_my_variable = 'a'
def this_is_my_function():
Is there a more preferable, definitive coding style for Python?
In my last Drupal project we were 5 people doing coding and installing new modules, at the same type our client was putting up content. Since we chose to have only one server for simplicity there were times were many people needed to write to the same files like style.css or page.tpl.php or when someones broken code would prevent others from working
Are there any best practises for a team that works with Drupal? How can leverage code repositories or sandboxes?
I searched the site but didn't see anything quite matching what I was looking for. I created a stand alone application that uses a web service I created. To run the client I use:
c:/scriptsdirecotry "run-client.bat" param1 param2 param3 param4
how would I go about coding this in python or F#. seems like it should be pretty simple but I haven't seen anything online that quite matches what i'm looking for.
Thanks in advance.
I'm coding a WYSIWYG editor width designMode="on" on a iframe. The editor works fine and i store the code as is in the database.
Before outputing the html i need to "clean" with php on the server-side to avoid cross-site-scripting and other scary things. Is there some sort of best practice on how to do this? What tags can be dangerous?
UPDATE: Typo fixed, it's What You See Is What You Get. Nothing new :)
It seems that StackOverflow is more concerned about programming techniques and coding skills (which is a good thing!)..
But I am asking if anyone knows another "StackcOverflow"-like site, but which is mainly concerned about Machine Learning and AI?
BTW: I have asked this question after nearly a week without an answer for Question
Hi Guys,
I am new to web development, I am coding some ASP.NET,
I checked a lot of examples using MVC in ASP.NET, But I am looking for verbal answers from senior programmers, about why using MVC?
can U as seniors and team leaders show me the benefits?? and why not keeping using asp.net webforms?
thanks
Hi,
In my application I m using following coding pattern to vibrate my iPhone device
Header File:-
AudioServices.h
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
////////////////////////////////////////////////////////////////
My problem is that when I run my application it gets vibrate but only for second but I want that it will vibrate continuously until I will stop it.
How it could be possible .Please help me out its urgent
Thanks in Advance
Hi,
I'm a coding newbie, but I really wanna learn how to do multithreading and event handling.
Does anyone know of any good tutorials out there, or can they explain it to me in a nutshell?
I am facing a really tough time doing this. I haven't done much on web development before this. I know HTML and dats it. What else do I need to learn in order to start coding a good facebook app (specifically scripting languages like JS, PHP etc). I have already created a test application using a web hosting site. Time is of the essence here.
Coding Platform: ASP.NET 4.0
I am binding a GridView with LinqDataSource with AutoDelete functionality enabled.
GridView is bound to the Products Table.
I have a Products Table and a Category Table with an association on CategoryID.
If I try to delete a Category that is referred in the Products Table I cannot do that.
Its is totally acceptable, but I want the end user to be notified with some error message.
Where to catch this error message?