Hello,
I want to use GtkImageView in my application, but i can't find some examples of code with using gtkimageview anywhere. Where can i see the sample?
Thank you.
I have a database (mdb file) that I am currently busy with. I would like to know if it is possible to generate MySQL code that would be used to create this database?
the iphone sdk documentation has links to sample code, but you have to download them individually from the web. Is there a bundle you can download all at once from apple ?
For example, reading the first iphone tutorial at switchonthecode, the first new word I came across was UIApplication. There are 5 samples on the web...
I was looking for a tool that can convert C code expressions for the form:
a = (A) ? B : C;
into the 'default' syntax with if/else statements:
if (A)
a = B
else
a = C
Does someone know a tool that's capable to do such a transformation?
I work with GCC 4.4.2 and create a preprocessed file with -E but do not want such structures in it.
I'm writing some Erlang code and I'm very unsure whether I should let everything fail fast. One problem I find with fail fast is that for the developer/user the exception generated is pretty meaningless. Any idea what I should return which would not give esoteric and hard to read stack traces?
have the tweetmeme button on my site (http://SweatingTheBigStuff.com) and I want to add a facebook button BELOW it.
Right now the tweetmeme settings show:
float: right; margin-left: 10px;
What's the best Facebook plugin for this and what settings do I need?
I think the Simple Facebook Share Button should be good but I'm not sure the bit of code I should put to move it below the tweetmeme button.
I need to know what exactly this code does.. or how this can be used..Actually I used this to repeat the image as a background for the menu .. Need explanation for this..
url("images/home_bg.jpg") repeat-x scroll 0 0 transparent
I have put together a Skin for OpenHome but have since ran across AHome code for their IPhone theme and was wondering that if I included for AHome their Dock_Bg or widget_drawer among other things which is not on OpenHome that the Launcher for the respective screen replacement would just call the items it uses.I want to keep the mb as low as I can but reach more handsets.I can just make seperate ones but see many that include even Freshface as well as OpenHome and AHome.
Hi,
I'm creating an Eclipse plug-in which amongst other things creates a new perspective. I want to I execute some code when the perspective loads. Previously I was doing this through createInitialLayout of IPerspectiveFactory but then I realized that this is for defining the page layout only and is usually called when when launching the perspective for the first time only.
Is this possible please?
Thanks and regards,
Krt_Malta
hey in my application i have to give user an option called "BLUETOOTH"
Is it possible that i can put it ON or OFF from my code
i have no idea....
Am i doing right or just trying to do unnecessary work
I put some jquery in my website that makes the text move to the right when the page changes. It works in firefox and safari but it doesn't work in internet explore. My url to my website: http://katieduck.com/Courses/Improvisation%20Winter%20Course%20Dartington.html
Here is the code that is nnot working:
$(document).ready(function() {
$('#tabvanilla ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });
$('#featuredvid ul').tabs();
});
Maybe you can find out what is wrong
thanks,
Ilaria
I want some default values in my combo boxes but can't seem to figure out how to do this without writing a module that populates the combo boxes. How can I manually fill in the combo boxes so I don't have to use code to do something so simple.
Thanks
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
Below ASP code have some error in 'Dim MonthNum=Month("Ctxtdatefrom") '
Can help to solve this.
......
If session("cmbLeaveType")=2 then
set rs2 = objconn.execute("select * form Particulars where empid='" & session("empid") & "'")
if ChildNationality = ABC then
Dim MonthNum=Month("Ctxtdatefrom")
Dim MonthNum2=Month("ctxtdateto")
If(MonthNum=5 and monthnum2=5)
if tdays1 then
else
set rs = objconn.execute("insert into leavebank (empid, datesubmit, datefrom, dateto....
END IF
END IF
END IF
END IF
I have a php page that takes in a bunch of url parameters and sends out an email. I am trying to have this page call another web page using the same url parameters, after the mail is sent. If I do the following, will my email be sent reliably? Is a redirect what I really want to do?
Random code to send email...
header('Location: http://www.othersite.com/' + $_SERVER["REQUEST_URI"]);
We need to INSERT 2000 records into SQL DB from C# .Net code.
For this is there any way to INSERT all 2000 records at a time instead of executing the INSERT query for each record.
Also how would be the performance impact of doing this?
Thanks & Regards
Padma
Hey!
Has anybody used a good obfuscator for PHP?, I've tried some but they dont work for very big projects. They can't handle variables that are included in one file and used in another, for instance.
Or do you have any other tricks for stopping the spread of your great code? :)
I was looking at twitters embed code and saw that they are using !function ... while i know that this evaluates to false I was wondering what the point of it was.
thoughts?
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
hi guys, can anyone help me how to write code for checking spellings in android?
or can anyone provide me the sites which will be useful to me.
thanks in advance
any help will be appreciated.
Question is simple for an expert:
Integer[][] res= new Integer[][] {.....hard code some values here on 2 dim...}
How to I return here 2 rows and 3 values like this
1 2 3
4 5 6
I have the following code :
public class Main {
public void method(Object o)
{
System.out.println("Object Version");
}
public void method(String s)
{
System.out.println("String Version");
}
public static void main(String args[])
{
Main question = new Main();
question.method(null);//1
}
}
why is the result is "String Version" ? and why there is a compiler error if the first method takes a StringBuffer object ?
Dear all,
I would like to know what the snippet of code does..
Drives = GetLogicalDrives();
if( Drives & 1 ) // i dont understand
this if condition here that what it
checks ? {
}
Please let me know your answer.
Thank you for your time to read my post.