I want to Change default installation path which is Program Files in windows application When Creating setup. I tried but i couldn't do that please tell me solution.
I write an application in Java. I get form a database a table (clients) which contains fields like:
name | surname | adress
What is the best solution to store this data in my app? Should I create an object for each client and store these objects in a list or set?
The table contains about 100 records and it's already sorted.
Thanks in advance.
Hello,
Recently I needed to generate a huge HTML page containing a report with several thousand row table. And, obviously, I did not want to build the whole HTML (or the underlying tree) in memory. As result, I built the page with the old good string interpolation, but I do not like the solution.
Thus, I wonder whether there are Python templating engines that can yield resulting page content by parts.
Hai
I have one more doubt in apache mod_rewrite.
I want to rewrite the url
mydomain/index.php?category=1&id=1
To
mydomain/index/category/1/id/1
How I write rule in .htaccess
And what is the link that i have to give inside the a tag
Please give me a solution..
Below works on Python 2.6 but on Python 3.x it doesn't:
old_file_write = file.write
class file():
def write(self, d):
if isinstance(d, types.bytes):
self.buffer.write(d)
else:
old_file_write(d)
# ... do something like f = open("x") f.write("...")
The problems is that with Python 3.x the first like will generate an error:
NameError: name 'file' is not defined
How can I make this work on Python 3.x?
PS. In fact I'm looking for a solution that will work on both versions.
I am working in .NET 2.0 with C# and database is SQL SERVER 2005. I am using DataGridView. I had enabled "Enable Editing" Checkbox. Eventhough, I am not able to edit any cell.Please, give me a solution.
Is there a way to say something like:
sizeof(type)? Or type.Size?
Right now I am looking at using code like:
if (type.Equals(typeof(int)))
return sizeof(int);
else if (type.Equals(typeof(long)))
return sizeof(long);
etc, etc, for every single data type.
There must be an cleaner solution, no?
What is ViewState in the Asp.net.How Viewstate crashes in the browser.what is the solution when Viewstate crash?in my code when i peak pk_id from view state then it's for some time and not work sometime also.
I want to create the activity which will load the images from Web by using urls and i want to load that images in list view and i want some specific text and properties of that image in front of that image like the image below Click to see Image.Is there any way to store that images temporarily in phones memory.So how can i do this activity please give me perfect solution so that i can complete my application.How can i load the images from web.
greetings all
i have an app(spring+hibernate) that needs to send thousands of emails simultaneously
and i was told that the best solution here is to have a mail server
i don't have any idea where to start or if there's a framework or a service that is better
so please guys give me some info where to start, thank you.
I am currently designing a solution to a problem I have. I need to dynamically generate an XML file on the fly using Java objects, in the same way JAXB generates Java classes from XML files, however the opposite direction. Is there something out there already like this?
Alternatively, a way in which one could 'save' a state of java classes.
The goal I am working towards is a dynamically changing GUI, where a user can redesign their GUI in the same way you can with iGoogle.
Hello
I want to run c programs in ubuntu 10.10 because in my college lab i gave the advice to change os they use replace xp to ubuntu and they did it by my request to them but in our college lab all student are doing daily practices on c programming and now there is problems to run the c programs in ubuntu 10.10 so please help me.please
Is there is any one to give me solution on this topic please fast.
Thank You !!!!!!!!!!!
hi
CMake Error at src/svnqt/cmakemodules/FindSubversion.cmake:364 (MESSAGE):
No subversion includes found!
I already installed svn.
i got this error while building kdsvn. I googlit but didnt get any solution ..
pls help me
Hi I have datatable having around 10 thousand rows.
I would like to store this data once for aspx page. When use select different options in page data would be further select from already stored datatable.
I then tried solution using ViewState, but as soon as data grow beyond 100 rows, performance degrade.
Where should i store data please help?
bwlabel can be used to get disconnected objects in an image:
[L Ne] = bwlabel(image);
How to calculate the shortest path between two disconnected closed curves?
Is there a practical(not theoretical) solution?
So I know this has been beaten to death but I still can't figure out a solution.
I have my UIApplicationExitsOnSuspend set to <true/> in the Info.plist and still both in the simulator as well as on an iPhone 4 device, the app goes into standby instead of terminating?
Any ideas of what else could one do to get it to terminate? Perhaps are there methods that I need to remove from the app delegate? Any ideas?
HI,
I'm new to iphone programming and developing travel application, which retrieve most of it data from remote database.
What is the best way to implement this solution? I thought of generating XML files in server side and getting data via XML files to iPhone app and displaying them...
Is there better implementation to this, thank you in advance?
Waruna.
There are a lot of discussion on this but I still don't have clear idea what is the best solution.
I am currently considering MongoDB. Do you think it's good?
What about Cassandra?
Besides, ThruDB looks good but seems there is no official release.
I'd like to get a quick overview of available solutions (libraries, ...) that allow me to work with XML documents with namespaces on a DOM level - in GWT's client side.
Additionally, I'm looking for an XPath solution that can work on that DOM (even if it requires writing my own XPath Navigator).
XML parsing and serialization isn't necessary on the client - this can be done on the server.
hi,
i tried the following one from iphone cook book .i displayed HTML content through accessing private API of UITextview like
@interface UITextView (extended)
- (void)setContentToHTMLString:(NSString *) contentText;
@end
it works FINE.but Apple wont allow accessing private API.any solution pls?
ContigSum(i,j) as the sum of the contiguous elements a[i] through a[j], i<=j and a[] contains +ve & -ve numbers
Could you please tell me a time efficient solution to find maximized contiguous SUM in the array?
Hi, I'm trying to parse Email Subject which have encoding specified in format itself. I get the format and imagine how this can be done, but maybe there is any free .Net solution available already so I wouldn't waste time on it?
Here is an example of subject I want to parse:
=?ISO-8859-13?Q?Fwd=3A_Dvira=E8iai_vasar=E0_vagiami_da=FEniau=2C_bet_draust?=
Is it possible to write a regular expression for finding a typical file matching pattern.
e.g. File<13/04/2010.txt should be picked up and not any other file.
i.e. Starting file name will be File followed by some dates and then the file extension.
If so, can we specify this pattern in the config file?
Looking for the solution in C#
Thanks