Hi,
I am writing an utility which needs to open a panel to browse files and
select one.
- (IBAction)browseClicked:(id)sender
{
NSOpenPanel *panel = [NSOpenPanel openPanel];
if ([panel runModal]) {
NSArray *filenames = [panel filenames];
NSString *filename = [filenames object
gt;
> On Sep 26, 2008, at 3:11 AM, spartan g wrote:
>
> Hi,
>> I am writing an utility which needs to open a panel to browse files and
>> select one.
>>
>>
>> - (IBAction)browseClicked:(id)sender
>>
>> {
>>
>> NSOpenPanel *panel = [N
...
On Mon, Sep 29, 2008 at 9:17 PM, Corbin Dunn <[EMAIL PROTECTED]> wrote:
>
> On Sep 26, 2008, at 10:34 PM, spartan g wrote:
>
> Thanks Corbin,
> I have used your tips in the updated code.
> Besides, my aim is to save the filename selected through the panel to a
> pList
Hi Friends,
I am communicating with the MySQL database through the SMySQL framework.
I can open the database connection successfully.
I can select the database too.
When I send a query to read the max count in the primary key i get the value
in return for the first time.
Then I insert the new rec
Thanks...
I tried both the ways as Bill and Mike suggested.
I could manage to cancel the thread by checking the bool flag for
cancellation.
It works fine.
But the problem I am facing now is, once i sent the query to MySQL through
SMySQL framework, I am unable to cancel it. This query takes so muc