I am connecting to a webservice in my project by entereing user credentials(user name and password) i need to catch a unauthorized exception when the user enter invalid username/password. How can i do that
my team is starting a new project on asp.net mvc, and we are wondering what technology for data access to use, how do you think which one is the best, who has the best performance ?
which one is easier to use and to maintain ?
Hi! I am trying to make app that displays an RSS feed, with text and images into a table, but I am really struggeling with it!
I found a really good [sample code-project][1] that i can really recommend-- but im struggeling getting it to display images in the tablecells instead of only text
I would be reeeeally happy with any help!!
Thanks
In a C# Winforms-App I have several user settings stored.
Is there an easy way to clear those settings each time I start debugging the project from Visual Studio 2008?
Otherwise it always starts up with the settings from the last debug-session.
Thank you!
I was wondering if its possible to use a json-based schema-free, document-based database like Mongodb or Couchdb on a symfony project like its used for ruby-on-rails websites? And if yes, how can it be done?
I am involved in a project where I need to provide subset of our production data (for a date range) to one of my co-workers for trouble shooting.I would like to insert a scrubbed subset of the production data into a new database table that my co-worker can access. Please suggest best approach to achieve this.
hi,
i used the code
Session session = new Configuration().configure(cfgurl).buildSessionFactory().openSession() ;
to create a session. the cfgurl is of type URL and points to the hibernate.cfg.xml file of another project. The problem is it is getting hanged and unable to proceed further. What is the problem? Help
Hi, I am working on a project to capture images via webcam in a predefined time interval, and continuously compare the images to a template (good image) and give an error if the difference is tolerance set.
I working out using OpenCV. Would like to have advice how should I do it, e.g. best method, etc.
Appreciate if any one can help me on this. Thanks.
I've inherited a Visual Studio/VB.Net numerical simulation project that has a likely inefficient calculation. Profiling indicates that the function is called a lot (1 million times plus) and spends about 50% of the overall calculation within this function. Here is the problematic portion
Result = (A * (E ^ C)) / (D ^ C * B) (where A-C are local double variables and D & E global double variables)
Result is then compared to a threshold which might have additional improvements as well, but I'll leave them another day
any thoughts or help would be appreciated
Steve
I've used Trac/Subversion before and really like the integration. My current project is using Mercurial for distributed development and it'd be nice to be able to track issues/bugs and have this be integrated with Mercurial. I realized this could be tricky with the nature of DVCS.
I am trying to make a ranking manager for a small project.The totals are stored in the database.I can easily get the max and min using mysql and also arrange the records descending.The problem comes in when there is a tie.I need to show a tie in the form:1,2,3,3,4,5,6,7,7,7,7, etc.The repeated numbers will show the ties.I have been thinking of ways of achieving the above but i need more ideas;mine is seems long and complicated.
Can anybody share his/her idea of doing the ties.
How can we get an autogenerated Id from the Table While Inserting?
I have three tables
Project
ProjectXMilestone
Milestone
and on Insert of Milestone I also want to insert a row in 2nd Table so I need MilestoneId?so how can I get that?
I am using Linq.
Hello!
I am currently on a project which has been buggy for a long while, now I suspect, among other things, that there is pointer errors in the code.
The program is written in native C++ using COM and uses out-of-process COM servers.
Can anybody give me some tips as how one would go about finding these errors?
Is there specific things to keep in mind, ways to do it, etc...
Hello, some one know how can I manipulate on some configuration over all projects in solution?
For example, I create new configuration "Releas64" that means: "No debug, 64 bit, all files goes to c:\binaries", but I need to go over all 30 projects in our solution for to set those settings for every project.
Is there some tool?
Thank you for ahead.
hi ,
I am new for java and iam doing the project with extjs & JAVA ,i using eclipse version (Eclipse Java EE IDE for Web Developers.
Build id: 20100218-1602) .
Can any one suggest any javascript debugging plugin for this id or pls provide link..
Thanks in advance
I am studying data warehouses and I have to do one final project for my studies.
I am thinking about doing a cube for a data warehouse. Where can I find a real dataset anywhere online that I could try doing a cube with?
I am trying to work on a project that will work on 4 orientations. I set it on AndroidManifest.xml android:screenOrientation="sensor", it works but it only does 3 orientation. So i set it to android:screenOrientation="fullSensor" for 4 orientation. Unfortunately, i got this error
error: Error: String types not allowed (at 'screenOrientation' with value
'fullSensor').
Anybody knows how to make this work?
I'm using global constants, like this:
/project
/application
bootstrap.php
/public
index.php
index.php
defines PUBLIC_PATH and APPLICATION_PATH
calls APPLICATION_PATH . bootstrap.php
bootstrap.php
defines LIBRARY_PATH, MODULES_PATH, TEMP_PATH, CONFIG_PATH, ...
does real work
Also i want to ask if there is better way to do this?
I´ve been searching for it and I found Encog and Neuroph but I don´t know if any about them... I've to do a final project and I need a litle feedback from humans, sometimes google is not enough XD
When we add a new file,
In .h & .m file, there is always a comments/documentation section at top.
example.
//
// abc.h
// Project name
//
// Created by myname on 06/11/12.
//
//
How to modify those default comments to :
// File Name: abc.h
// Created By: myName
// Created On: 06/11/12.
// Purpose:
// Copyright (c) 2012 mycompany name. All rights reserved.
Please do help me on this issue
hi i created web application project.In that i created and run successfully,but it shows one message alert.ie GWT Module need to BE (re)compiled message displayed.How to solve this error(warning).
I am interested in the following features: Code highlighting, Intellisense, Refactorings, Code navigation (Go to Definition etc.).
If this functionality is missing from Visual Studio 2010 maybe Microsoft is planning to add these features in the future or there are community project to develop IronRuby tooling add-in?
I've just found in my java project this code snippet:
List<IssueType> selectedIssueTypes = new ArrayList<IssueType>();
for (Object item : selectedItems)
selectedIssueTypes.add((IssueType) item);
How do you think, can this style be used?
Hi,
In a project, I change a UILabel's text with setText, a UIButton's color and after that do a time consuming calculation, followed by an animation.
However, the text's and color's change is reflected after the calculation is executed (and before the animation begins) however I want to reflect the changes immediately before calculation (as you guess it is a waiting text)
How can I achieve this?