I know the iPhone has a site with sample apps and code for the iPhone. Are there any resources out their for the iPad?
I would like iPad specific examples like using split view, etc.
Hi people,
I have three projects written with VB.NET (2005) and have to convert them to C# code. (I know that i don't need to convert codes of .net languages at all). I have no time to rewrite them, need a tool or script to convert.
Note: they are console applications.
Hey guys,
I've been reading about the new native client support for chrome and I was wondering what are the advantages/disavantages compared to writing Java applet with a certificate?
Quick note: A java applet with a security certificate can execute code on the user machine and "by-pass" the Java Security Manager.
Thanks,
-hbt
%# load a grayscale image
img = imread('coins.png');
%# display the image
figure
imshow(img,[]);
%# false-color
colormap('hot')
The above code is from here:
http://stackoverflow.com/questions/2592755/infrared-image-processing-in-matlab/2592793#2592793
But I don't understand how figure(What's the difference with/without it?) and colormap(How does it affect the already shown img?) work?
Background: I have been attempting to read the rating that is assigned in Adobe Bridge CS3 using the creative commons Metadata toolkit for php without success. I am using shared hosting so I do not have an oppotunity to recompile php with different modules.
Is php code available that could be used to read the rating that is embedded in the .jpg file? I have read that this is an xmp (xml) formatted section within the file.
Hi
please help me, I have some textarea data which needs to be changed when the user select different option from a <select>.
can you please give me some javascript easy code to do that
please i don't want jquery things
I Want to know how to disable the usb drives through java programming,Can any one give the code for this or tell me the exact way to do this.............
When I update a datagrid SelectedItem from code (via a bound object in a ViewModel), how to I get the visual grid to highlight the newly selected item?
Thanks,
Mark
UPDATE: This is still an issue for me. My SelectedItem property already implements change notification, but the datagrid is not VISUALLY displaying which row has been selected - i.e. it is not getting highlighted.
I am a complete n00b here. Can someone please post some Delphi code to
create a database
add a simple table
close the database
then, later
open a database
read each table
read each field of a given table
perform a simple search
Sorry to be so clueless. I did google, but didn't find a useful tutorial ...
Is there a way to create custom collapsable code regions in Xcode similar to how Visual Studio can fold around #region/#endregion blocks?
It would be nice to throw all autogenerated content into a region that I can fold away until I need to look at it. #pragma mark doesn't seem to do the trick.
hi, can any body help me on separating this example of data that i need to parse and seperate text just like PHPDoc. It is PHP source code.
The example string :
function one_to_tree() {
//bla bla bla
return FALSE;
}
function two_to_tree() {
//bla bla bla
return FALSE;
}
function three_to_tree() {
if ($sample){ //bla bla bla }
return FALSE;
}
can anybody help me how to seperate above string based on "function" word and create and array. Thank you
Need code to create the connection pool in java?
How does we make sure that connection pool doesn't return the same object which is already in use?
How happens if client closed the connection after taking it out from Connection pool?
I'm using silverlight 3 and i'd like to create a handler and event wired up to a mouse click in a text box that was created in code behind. Can someone point me in the right direction.
I need to make it so that some things fire off when that textbox is clicked into.
if you have an example in vb.net that would be even better.
thanks
shannon
Why is the following VB.NET code setting str to Nothing in my VS2005 IDE:
If Trim(str = New StreamReader(OpenFile).ReadToEnd) <> "" Then
Button2.Enabled = True
TextBox1.Text = fname
End If
OpenFile is a Function that returns a FileStream
Hi,
I have a asp.net web application and I'm using cache (HttpRuntime.Cache) to save some stuff from db.
I also update db from time to time so that data in db does not match the data in my application's cache.
Is there any way how to clear my application's cache without modifying any source code or republishing the page?
I tried to restart IIS and to clear browsers cache but nothing helps.
Please help.
This is for iPhone Developers. What would be the code for an event handler? For my project I want it so that on collision display an animation for 3 seconds....How would I go around doing this?
All examples I've found on git-svn detail how to use git to mirror an existing SVN repo, work on it, then commit your changes back.
I have a pure git repo, created via git init not git-svn init and want to commit it to a new SVN service (Google Code, to be specific).
Is this something that can be done?
Can I configure Netbeans to autocomplete code when I type the capital letters?
E.g. Z displays completion list starting with the letter Z, e.g. Zend_…, then I type vh, and the list is limited to this items, which have the capital letters Z, V, H in it, e.g. Zend_View_Helper_….
Does Netbeans support this bevaviour?
A VB6 app is experiencing a run-time errors at a variety of places.
I know this is the result of poor error handling, but is it possible to analyse the code to see where it is susceptible to run-time errors?
hi there
There must be a simple way to get different timezones with code (ie without changeing your system timezone)
So far you can do something like
var timezone = TimeZone.CurrentTimeZone;
but I cant see any other way to get a different timezone?
or should I just use TimeSpan?
Is Refactor Pro the only .NET Refactoring tool that supports the String to StringBuilder refactor?
I'm looking for one that has a trial version of this feature to see if I like it enough to purchase. The overall goal is to tidy up another developer's VB.NET code.
I understand the gist of the code, that it forms permutations; however, I was wondering if someone could explain exactly what is going on in the return statement.
def perm(l):
sz = len(l)
print (l)
if sz <= 1:
print ('sz <= 1')
return [l]
return [p[:i]+[l[0]]+p[i:] for i in range(sz) for p in perm(l[1:])]
I'm having trouble running JML2 in Eclipse. I have the foolowing code:
public class MainClass {
public static void main(String[] args) {
System.out.println(-9.0);
}
//@requires x >= 7.0
public static double getSquare(double x) {
return Math.sqrt(x);
}
}
The error I'm getting is:
Is there anything wrong with the syntax I've used?
Thanks