hi all,
how can we place an image on bar button item.
i was trying to put image on bar button item through IB,but its not showing the image.
any solution
regards
shishir
I use the assembly information version number - and advance it manually through the VS 2008.
Is there a way to advance the minor version number automatically each time I Build the solution ?
I'd like to write a test script or program that asserts that all dlls in a given directory are of a particular build type.
I would use this as a sanity check at the end of a build process on an sdk to make sure that the 64bit version hasn't somehow got some 32bit dlls in it and vice versa.
Is there an easy way to look at a dll file and determine its type?
The solution should work on both xp32 and xp64.
What's the best way to add foreign keys to my existing tables in Rails with an underlying MySQL database? clearly the solution should be done in a migration, as I want this versioned. Otherwise I'd create the constraints myself.
I can't seem to find one, conducive response to they above. Again, the tables have already been created with previous migrations. I'm just going back now and adding referential integrity wherever it's applicable.
I am searching a free diff tool with support of native syntax and markup for XAML, but failed to find one. I like Altova's DiffDog but it's paid. CodeCompare is an useful tool. It has some worth with its integration into VisualStudio and usage of native editors. It's a perfect solution for XML! However, it does not support XAML editors. Who can recommend a diff tool for XAML?
Hi,
I am looking for a good quality and reliable mapping solution for South Africa.
We require similar functionality to Bing and Google. ie plotting markers on the map, geocoding, drawing polygons, popups on the map showing content etc.
So far Google maps looks like the winner, but are there other options that you would recommend.
thanks
Hi,
I was wondering how you could encrypt/decrypt your querystring in a simple asp.net page?
some values need to be passed between different pages but the querystring cannot be changed or read.
Some say httphandles could be the solution for this.
Any thoughts?
Cheers,
M.
If I have a working copy of a Subversion repository, is there a way to delete all unversioned or ignored files in that working copy with a single command or tool? Essentially, I'm looking for the SVN analogue to git clean.
Either a command line or GUI solution (for TortoiseSVN) would be acceptable.
I'm trying to do the same thing as suggested in this solution:
http://stackoverflow.com/questions/164496/how-can-i-create-a-thread-safe-singleton-pattern-in-windows/164640#164640
But, where should the critical section be initialized and uninitialized?
I'm developing social faq solution.
When I click on vote up or vote down, i want to make an ajax call to a java function.
I've worked with struts on another project, and i was making call to struts action.
Now I work only with simple jsp, servlets ... and I dont know how to make an ajax call to a java function which will send me json or xml.
Backspace is the browser hotkey for Navigate Back To The Last Page. I know that when an input has the focus this hotkey is disabled. But I have keyup and keydown events binded to this input, and something I wrote is causing this trouble.
Do you know the solution?
Does anybody know a clean PHP-based solution that can backup remote web sites using FTP?
Must haves:
Recursive FTP backups
Possible to run through a cron job
Easy to configure (easy adding of multiple sites)
Local storage of backup files is sufficient
Would be nice:
Backed up sites are stored as zip files
A nice interface to manage things
Provides notification when backup has succeeded or failed
Does incremental backups
Does MySQL Database backups
I need this to be PHP (or Perl) based because it's going to be used on shared hosting packages that do not allow usage of the standard GNU/Linux tools available.
Hi,
I new in database design:
I have question with my own few solution,what do you thinks?:
Which tables should be created for all kinds files (images, attached email files,text files for store email body, etc..) that stored in my online store?
*option 1:use seperate table for files types *
files{
id
files_types_id FK
file_path
file_extension
}
files_types{
id
type_name (unique)
}
*option 2: use bool field for each file type *
files{
id
file_path
file_extension
is_image_main
is_image_icon
is_image_logo
is_pdf_file
is_text_file
}
**option 3: use 1 enum field 'file_type' for each file type **
files{
id
file_path
file_extension
file_type (image_main,image_icon,image_logo,image_main,pdf,text) **enum**
}
Thanks you,
Yosef
Hello all,
There is a canvas element with 10 children (polygons). There is a number in my code from 1 to 10.
I'd like to draw the first N elements from the children elements, base on my number.
It would be the best solution to do this from XAML with a minimum code-behind like this:
...
MyCanvas.N = 5;
...
If you had two databases, that had two tables between them that would normally implement a one to one (or many to many) constraint but cannot since they are separate databases, how would you validate this relationship in an application or test?
Is there a simple way to do this? For example, a tool or technique that can, given a constraint type, tables and fields, does the validation.
I imagine that this isn't the first time this come up so I'm hoping people can share their solution.
Thanks.
I'm looking for code coverage solution which works with silverligt. It must also work with msbuild because we run all the other unit tests automatically in the build server.
Integration with Visual Studio and/or resharper is a plus and I have nothing against easy setup or a pointer to a tutorial. I don't usually modify the build files and unfortunately I don't have time to learn msbuild at the moment.
I would like to have some eventhandler which raise if a new application is started. I've heard that this is possible by using a hook but the only examples I can find are based on mouse/keyboard events.
What is an example link of how I can create such a hook in C#?
Oh and btw: Nope, I don't want to use WMI which could be a solution as well but it's not an option in my case.
I need to send post message to iframe.
currently its working if i have single iframe inside parent page.But I want to make it work for nested iframes.
Criterias are :
I can just add listener code in last leaf iframe.
Do not know length of iframe nesting.
Need both way communication , from parent to child also by leaf iframe to parent.
I am sick of third part iframes , please suggest me some appropriate solution.
My table looks like this with duplicates in col1
col1, col2, col3, col4
1, 1, 0, a
1, 2, 1, a
1, 3, 1, a
2, 4, 1, b
3, 5, 0, c
I want to select distinct col1 with max (col3) and min(col2);
so result set will be:
col1, col2, col3, col4
1, 2, 1, a
2, 4, 1, b
3, 5, 0, c
I have a solution but looking for best ideas?
I'd like to do something like this:
def results = Item.findAll("from Item c, Tag b, ItemTag a where c = a.item and b = a.tag and (b.tag like :q or c.uri like :q) " + ob,[q:q])
def items = (Item) results[0..1][0]
but I get
Cannot cast object '[Ljava.lang.Object;@1e224a5' with class '[Ljava.lang.Object;' to class 'org.maflt.ibidem.Item'
I can get what I need with this, but it doesn't seem like it's the best solution:
def items = [] as Set
def cnt = results.size()
for (i=0;i<cnt-1;i++) { items << results[i][0] }
items = items as List
hi,
I am developing an application, in which i am giving user to select other language , by default the application will be in English , if user selects other language from the list.
The application language should be get changed to the respective language.
I know the concept of Localization, but if there any way to do that,
if i want to do that using localization please suggest me proper steps for that.
please suggest me solution for that.
I discovered that Google has indexed the osCsid parameter in some of my URLs at my osCommerce application. I tried to find a solution but I don't want to do something if I'm not sure what I'm doing.
I only have access to the FTP and not the CMS system. Is it possible to solve this problem through the FTP?
I've created a custom solution in WordPress that will generate a CSV file to be downloaded by clicking a simple hyperlink, linked directly to this file. Instead of being prompted to download the file to the computer; the CSV opens in the the browser window instead.
FWIW I'm on Media Temple using a vanilla install of WordPress.
Since IE6 does not support the child selector (see http://kimblim.dk/csstest/#ex1), what is the alternative when dealing with this browser?
I do not want to modify the markup, and I'd much much prefer a CSS-only solution...
And yes, it is the direct child that I wish to target.
Thanks!