Hi,
how show current web browser page address with C#?
for example, should now show: http://stackoverflow.com/questions/2658592/current-web-browser-page-address
Thanks
Hi StackOverflow,
I'm very new to OOP, and in the program I'm working on, I have an Utilities class that contains some general methods. Should I include my error checking in the Utilities class or should I create a new class just for error checking?
My application has recently started throwing NoClassDefFoundError errors when I am running my application from within NetBeans. It never used to do this.
And when I run this outside of NetBeans using the command line argument that it provides once built, these errors are not produced
Is this a bug with Netbeans?
I have reinstalled NetBeans as I recently had another that was resolved by reinstalling, however the problem still persists.
http://stackoverflow.com/questions/2654892/symbol-error-in-java-application-using-netbeans-6-8-when-adding-a-shared-project
Within Netbeans
Outside NetBeans
I would like to port this question to Python (Windows + Linux + Mac Os)
http://stackoverflow.com/questions/2725529/how-to-create-ascii-animation-in-windows-console-application-using-c
Thank you!
I currently have a PHP form that uses AJAX to connect to MySQL and display records matching a user's selection (http://stackoverflow.com/questions/2593317/ajax-display-mysql-data-with-value-from-multiple-select-boxes)
As well as displaying the data, I also place an 'Edit' button next to each result which displays a form where the data can be edited. My problem is editing unique records since currently I only use the selected values for 'name' and 'age' to find the record. If two (or more) records share the same name and age, I am only able to edit the first result.
I find a similar post http://stackoverflow.com/questions/58510/using-net-how-can-you-find-the-mime-type-of-a-file-based-on-the-file-signature and it is the same result I want, I tried to use it but I received always application/octet-stream instead of video/x-flv or video/x-msvideo. I think I miss something, have you any suggest for me? Should I add some kind of information on my workspace?
I am not sure if this fits better on StackOverflow, but here goes:
I want to programmatically log on to:
http://wrds-web.wharton.upenn.edu/wrds/index.cfm?true
I tried capturing the log on url using fiddler2 and HttpFox, but to no avail.
Is this a server side script that I cannot capture? If so how can I do the log on?
I have noticed that it has solutions for matching multiple words in a given text, such as below:
http://stackoverflow.com/questions/1099985/algorithm-for-multiple-word-matching-in-text
If I want to know exactly the number of appearances of each matched word in the text, my solution is like this:
step 1: using ac-algorithm to obtain the maching words;
step 2: count the number of each word obtained in step 1
is there a faster way?
Thx~
Hi,
since the new SDK 1.1 is missing the tutorial for "ASPProviders", i am currently asking myself how i would implement a "azure session state provider" ( this is the path in the "old" SDK: C:\Program Files\Windows Azure SDK\v1.0\Samples\AspProviders )
Related threads:
http://stackoverflow.com/questions/1023108/how-does-microsoft-azure-handle-session-state
http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/2d1340ed-0ad0-456a-b069-aa6b85672102/
Has anyone an idea or even the old example project and could post some snippets of the config here?
Hi guys i previously asked a question and got a good solution. here is the question:
http://stackoverflow.com/questions/2536892/jquery-how-to-find-an-element-which-is-comming-2-elements-before-current-element
when im using the solution which i got :
paragrafheading.push($(this).closest('
h3').find(' h3').text());
im getting only [object Object] instead of the element text
Similiar to question:
http://stackoverflow.com/questions/2266132/how-can-i-get-a-list-of-element-names-from-an-xml-value-in-sql-server
How would I also get the values for the list of elements.
For example:
a1
b1
c1
Would return
Element | Value
A | a1
B | b1
C | c1
I am using python lxml library to parse html pages:
import lxml.html
# this might run indefinitely
page = lxml.html.parse('http://stackoverflow.com/')
Is there any way to set timeout for parsing?
Hi I have a web form that sends a string to one php file which redirects them to a corresponding URL. I've searched about web form hacking and I've only received information about PHP and SQL... my site only uses a single PHP file, very basic etc. Would it be open to any exploits? I'm obviously not going to post the URL, but here is some code I was working on for the php file:
http://stackoverflow.com/questions/2888077/newbie-php-coding-problem-header-function-maybe-i-need-someone-to-check-my-cod
Thanks
this is a different question concerning:
http://stackoverflow.com/questions/2360433/add-a-connection-to-database-not-working-asp-net-to-mdf
i am unable to connect because of the noted error message
the database must be read only? but when i click the properties of the file read only is not checked
is there another way it could be read only?
I need to detect which programming language is used in a code snippet, there is any library to do this?
I already read this http://stackoverflow.com/questions/475033/detecting-programming-language-from-a-snippe, but I rather use a tested and working library.
This is a follow-up question to my original query:
http://stackoverflow.com/questions/1791605/how-can-i-use-multiple-projects-to-separate-a-large-asp-net-mvc-site-into-departm
Now that I have this working, is there a way to still have multiple project but not have to reference each child area from the parent project? Ideally I'd like to be able to have multiple, separate and distinct projects that only come together on the production/test machines. I should be able to build and test each "area" separately.
Question: How can you use the JQuery Auto-Completion plugin to suggest a location ("City, State") for an input field?
Meaning, someone wants to type in "Chicago, IL" ... so they begin typing "Chi" and it auto-suggestions "Chicago, IL".
My biggest hurdles is finding a service that I can query to find out all US city+state names.
I essentially want to do what the StackOverflow "Tags" input form works but form "City, State" auto completion.
I read your matter and I wonder did you resolve it? If you found out, let me know and give mail for me. My mail is [email protected]. Thanks much!
http://stackoverflow.com/questions/2298908/advanceddatagrid-does-not-displays-object-properties
I know it is rather heated question. But anyway I'd like to hear opinions of those in Stackoverflow. Given that XML support is quite good in SQL Server 2005/2008, and there's no concern about database independency, why one need Linq-to-SQL, Entity Framework, NHibernate and the likes, which are quite complex and awkward in advanced use-cases, if by using POCOs, XmlSerializer, and stored procedures which process XML, one can achieve a lot less complex middle-tier? For reference, see the link: http://weblogs.asp.net/jezell/archive/2007/04/13/who-needs-orm-i-ve-got-sql-2005.aspx
If an object exists outside of Flash's stage boundaries, is on the Display List, and is visible, is it causing a performance hit from Flash rendering it? In other words, does Flash render what isn't seen?
This leads me to believe so:
http://stackoverflow.com/questions/170203/how-do-you-make-flash-not-render-an-object-on-the-stage
Hi
http://stackoverflow.com/questions/2709245/ajax-without-updatepanel/2709262#2709262
I tried to use these methodologies to remove UpdatePanel from application, I have a page with search keyword which call the PageMethods and I load the user control manually and render it then place rendering output to the page, but something strange happen,
while search results is 100 and there is DataPager in the user control, the data pager did not appear, and also only one element appear, it looks that ItemTemplate did not resolve more than once.
What is chances ??
This is the solution for linux:
http://stackoverflow.com/questions/45953/php-execute-a-background-process/45966#45966
Is there one for windows?
Maybe this?
start "window1" /min cmd.exe /c batch1.cmd
But I don't know what it does exactly:(
In one of the Stackoverflow podcasts, I remember Jeff Atwood saying that there was a configuration option in SQL Server 2008 which cuts down on locking, and was kind of an alternative to using "with (nolock)" in all your queries. Does anybody know how to enable the feature he was talking about, possibly even Jeff himself. I'm looking at deploying SQL Server 2008, and want to see if using a feature like this would help out my web application.
Hello all.
I've noticed that some form processors make a mess out of posted TinyURLs (converting the thing to a broken 'tinyurl": "http:\/?\/?tinyurl.com\/?whatever", "ok": tr') while leaving alone other plain URLs.
I've seen it happen in WordPress, and I've seen it here on SO (eg.: http://stackoverflow.com/questions/2508690/whats-the-most-efficient-way-to-setup-a-multi-lingual-website - second comment to first answer).
Has anybody looked into what component or function is doing this? Is there a way to prevent it?
What is the difference between project management and process management?
Similar to this question: http://stackoverflow.com/questions/23509/what-is-the-difference-between-project-leader-and-project-manager