Can someone advice which is the recommended version of Java Run time for Windows 7, since older version may have some incompatibilities etc?
Thanks in Advance
I know why runat="server" is currently required (ASP.NET why runat="server"), but the consensus is that it should not be required if you incorporate a simple default into the design (I agree of course).
Would it be possible to modify, extend, decompile and recreate, intercept or otherwise change the behavior of how ASP.NET parses ASPX and ASCX…
Hi Everybody
I am getting Error while displaying bitmap file in my application.
code:
Bitmap logoBitmap = Bitmap.getBitmapResource("res/icon.png");
BitmapField bitmapField1 = new BitmapField(logoBitmap, Field.FIELD_HCENTER);
add(bitmapField1);
Getting error in console tab.
Error: Fridg:couldnot find res/icon.png.
I am using Eclipse with…
I'm using a Java application which allows you to import custom files. On import, these files are loaded into memory.
The problem is that the files I want to import are very big, this causes an OutOfMemory exception. The crash log also informs me that the VM was started with the java parameter "-Xmx512m", I want to alter this to…
Hi,
I have programmed an embedded software (using C of course) and now I'm considering ways to improve the running time of the system. The most important single module in my system is one very large nested for loop module.
That module consists of two nested for loops that loops max 122500 times. That's not very much yet, but…
Yes. I've searched a lot without success.
I've looking for a way to get a property name as StringValue from inside a method.
Lets say:
My class has X Subviews from the Type UILabel.
@property (strong, nonatomic) UILabel *firstLabel;
@property (strong, nonatomic) UILabel *secondLabel;
[...]
and so on.
Inside the method…
A generic method is defined as follows:
private static T GetComparisonObject<T>(ComparisonAttribute attribute, object objectToParse)
{
// Perform a some action
return (T)resultObject;
}
The method is invoked as follows:
var srcObjectToCompare =…
hi i created a new app, whenever i try to run in my device it shows as
[2011-02-17 18:57:09 - SpeedApp02]
Installation error:
INSTALL_FAILED_MEDIA_UNAVAILABLE
[2011-02-17 18:57:09 - SpeedApp02]
Please check logcat output for more
details.
[2011-02-17 18:57:10 -…
I'm trying to change the appearance of gridview items when they are selected.
(Before, I used a trick with an IsSelected property in the ViewModel object bound to the containing grid and a bool-to-color converter, but I recognize that it is bad)
To do so, I do:
<GridView…
Surprisingly terminating a midlet doesn't work in my application. Maybe it is because I'm using Threads, but destroyApp() and notifyDestroyed() are not sufficient.
Take for example the following code:
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
…
Hi,
How do I do this on a php webpage?
I want to get and decode a json string and display the results as html on my page, however, I don't want it hotlinking back to the source.
If I could write the decoded string to a txt file say weather.txt on the server and keep the html…
I'm writing an application that searchs for Semaphore types in the fields of unknown classes in unknown application (passed by user). I made it using Reflection and it worked.
Now I want to fill up these semaphores with values, taking them from a running instance of this unknown…
Hi all
I am using a combination of PHP, jQuery and Spry to serve a series of listboxes in which a user will select first the type of vehicle, then the make, then the model and finally the specific model.
All my listboxes (SELECT) are working fine, and they update properly…
I am using C# in a desktop application.
I am calling a DLL written in C that I do not have the source code for.
Whenever I call this DLL I get an untrapped error which I trap in an UnhandledException event/delegate.
The error is : object reference not set to an instance…
I am creating a XAML / C# WinRT App and i have a collection of collection and i am binding it to a Grid-view(collections as groups )
Now i have to color the background of the GridViewItem according to their index in the collection (Dark color for the first one and light…
Whenever I see a recursive solution, or I write recursive code for a problem, it is really difficult for me to figure out the time complexity, in most of the cases I just say its exponential? How is it exponential actually? How people say it is 2^n, when it is n!, when…
i want to take data from bluetooth into matlab after every 10 to 15 seconds.. have figured out a way to transfer data to matlab via bluetooth. the problem i am facing is that i want matlab to execute a set of commands after a time interval to take input from bluetooth.…
I have a List box defined like this:
<ListBox x:Name="EmailList"
ItemsSource="{Binding MailBoxManager.Inbox.EmailList}"
SelectedItem="{Binding SelectedMessage, Mode=TwoWay}"
Grid.Row="1">
<ListBox.ItemTemplate>
…
I couldn't find a duplicate for this question for Java, although there are a lot of them for C#.
I have this method:
public <T> T getSomething() {
//
}
According to the type of T, I will have a different return. For example:
String a =…
I'm attempting to delete files from the documents directory using a tableview/array combination.
For some reason, my NSString pointing to the Documents directory path is being converted to a NSCFType (which after some research, I understand is…
Are there settings I can adjust in Visual Studio so that it does not compile with any run time library or MFC. I started learning C++ to get away from C#'s .Net, and this is just as bad. When I execute the program in a Windows XP virtual…
I need to create a reorderable ListView in a Windows Phone 8.1 app created using WinRT.
The XAML is the following (it binds to an ObservableDictionary in the codebehind):
<Grid Margin="24">
<ListView…
i am tring to solve this http://www.spoj.com/problems/LEXISORT/ question
it working fine in visual studio compiler and IDEone also but when i running in SPOJ compiler it is getting SEGSIGV error
Here my code goes
…