Search Results

Showing results 1 to 40 of 92
Search took 0.01 seconds.
Search: Posts Made By: dinilkarun ; Forum: Python and child forums
Forum: Python Oct 26th, 2009
Replies: 3
Views: 257
Posted By dinilkarun
Hi got a nice piece of code from this site:
http://code.activestate.com/recipes/303339/

I am now able to check if an Excel process is running or not. The code does not use WMI and works fine on...
Forum: Python Oct 16th, 2009
Replies: 3
Views: 257
Posted By dinilkarun
Hi Friends,

I need to write a piece of code to identify if an Excel session(the process which is listed in the Task Manager) is already running or not?. Can anyone guide me with this?

Any help...
Forum: Python Jul 28th, 2009
Replies: 2
Views: 213
Posted By dinilkarun
I am using BOA Contsructor
Forum: Python Jul 27th, 2009
Replies: 2
Views: 213
Posted By dinilkarun
Hi All,

How can I increase the time for which the ToolTip is displayed. I currently have a radio button for which I have set a tooltip and the content is large. There is not enough time for the...
Forum: Python Jul 9th, 2009
Replies: 5
Views: 689
Posted By dinilkarun
oh yes.. that makes it even more simpler.. Thanks a lot again....
Forum: Python Jul 8th, 2009
Replies: 5
Views: 689
Posted By dinilkarun
Thanks... i used the below code and its working perfectly..
Thanks a lot :)

lt = time.localtime(time.time())
lt=[lt[1], lt[2], lt[0], lt[3], lt[4],lt[5]]
...
Forum: Python Jul 8th, 2009
Replies: 5
Views: 689
Posted By dinilkarun
Hi All,

I am using the below code to write into a text file

# Write into log file
inp=file(Doc\Log.txt, 'w')
inp.write('Log file start')
inp.close()

The...
Forum: Python Jun 30th, 2009
Replies: 2
Views: 662
Posted By dinilkarun
Thanks a lot brother.. Its working fine.. I am now able to change the color of each row.
Thanks once again!...
Forum: Python Jun 29th, 2009
Replies: 2
Views: 662
Posted By dinilkarun
Hi All,


I am using the following code to write data into an excel sheet:

# Open the Output Spreadsheet
objExcel = win32com.client.Dispatch("Excel.Application")

# Creating object to write...
Forum: Python May 29th, 2009
Replies: 2
Views: 883
Posted By dinilkarun
Hi All,

I am using the .search function.

strValue="XXX"
strTemp1="YYYXXX"
strTemp= strTemp1.search(strValue)

Python is not able to recognise the .search function.
AttributeError: 'str'...
Forum: Python May 26th, 2009
Replies: 2
Views: 212
Posted By dinilkarun
sorry.. I goofed up in wrapping the code.
its here:
self.Hide()
self.frm2=frm2.clsFrame2(self)
frm2.Show()
Forum: Python May 26th, 2009
Replies: 2
Views: 212
Posted By dinilkarun
Hi All,

I have two frames.viz., frm1 and frm2.
On click of a button on frm1, I want frm2 to pop up and frm1 to hide. Presently I am using the following code:

self.Hide() ...
Forum: Python May 26th, 2009
Replies: 5
Views: 315
Posted By dinilkarun
Thanks all for the great answers. I have solved it sucessfully..
Thanks once again....
Forum: Python May 21st, 2009
Replies: 5
Views: 315
Posted By dinilkarun
Hi All,

I have the following string:
"AND Category 07|Spec 01|ABC 01 AND Category 07|Spec 02|XYZ 02 AND Category 07|Spec 03|PQR 03 "
It is stored in a string variable. I want to remove only the...
Forum: Python May 11th, 2009
Replies: 2
Views: 324
Posted By dinilkarun
Hi All,

I have created a grid and want to implement the following idea:
The user should be able to enter only numeric values in any of the cells in that grid.

I could not get any property of...
Forum: Python May 11th, 2009
Replies: 1
Views: 189
Posted By dinilkarun
Hi All,

I have created a grid and want to implement the following idea:
Forum: Python Apr 28th, 2009
Replies: 1
Views: 284
Posted By dinilkarun
Hi All,

I am developing a GUI in Boa Constructor. I am using a grid for displaying some data and want to change the names of the column and row headers in the grid.

Please help me in achieving...
Forum: Python Apr 27th, 2009
Replies: 1
Views: 330
Posted By dinilkarun
Hi All,

I would like to create new rows dynamically. When a user clicks a button, a new row should be added in the grid.
Please guide me as to how can I achieve this.

Thanks,
Dinil
Forum: Python Nov 14th, 2008
Replies: 3
Views: 1,852
Posted By dinilkarun
Hi ...
Thanks for the suggestions. I will have to check my code again if this really works out. Any way will get back if I am stuck somewhere!!!..

Regards,
Dinil
Forum: Python Nov 14th, 2008
Replies: 3
Views: 1,852
Posted By dinilkarun
Hi all,

How can I declare a global variable inside a module and use it across other modules for throughout the lifecycle of the program?

Regards,
Dinil
Forum: Python Nov 5th, 2008
Replies: 5
Views: 557
Posted By dinilkarun
Check out the attachment also to see the new tree structure....
Forum: Python Nov 5th, 2008
Replies: 5
Views: 557
Posted By dinilkarun
Hi All... Thanks for helping me out. Actually broke the new dictionary format and made the structure same as the old one. This is working perfectly fine for me.
Thanks again....
Forum: Python Nov 3rd, 2008
Replies: 5
Views: 557
Posted By dinilkarun
Sorry that I forgot to put tags to the code
Forum: Python Nov 3rd, 2008
Replies: 5
Views: 557
Posted By dinilkarun
Hi All,

I am using the following code to populate a tree control. The dictionary currently I am using is ‘dictFolders’ and its structure is defined below.

...
Forum: Python Nov 3rd, 2008
Replies: 2
Views: 568
Posted By dinilkarun
Thanks for the help. Infact instead of adding a static text beside the Progress Bar, I have split the status bar and have displayed the percentage of completion there.

Thanks once again.
...
Forum: Python Oct 29th, 2008
Replies: 2
Views: 568
Posted By dinilkarun
Hi all,

How can I split a Progress Bar(wx guage) into two parts?. I want the first part to function normally and in the second part I want to display the percentage. I have attached a snap shot of...
Forum: Python Oct 29th, 2008
Replies: 2
Views: 1,111
Posted By dinilkarun
Thanks for the help!
Its working fine....

Cheers,
Dinil
Forum: Python Oct 29th, 2008
Replies: 3
Views: 672
Posted By dinilkarun
Hi... Thanks all for ur replies.
I used:
self.statBar.SetStatusText(str(setValue),1)
This converts setValue into a string which was previously an integer!

Thanks once again!

regards,
Dinil
Forum: Python Oct 23rd, 2008
Replies: 3
Views: 672
Posted By dinilkarun
Hi all,

I used the following code to split the status bar.


But instead of setting a text message like self.SetStatusText("Hello",0), I want to set a number in the first...
Forum: Python Oct 23rd, 2008
Replies: 5
Views: 760
Posted By dinilkarun
Hi,
I tried this code. But still its not working.
I am using messageDialog. The code is given below:

This dialog box does not pop up at the centre of the parent frame instead it occupies alwyas...
Forum: Python Oct 23rd, 2008
Replies: 3
Views: 672
Posted By dinilkarun
Hi all,

I have used a status bar on my frame developed in BOA Constructor. I want to split my status bar into two parts in proportion of .75 and .25 i.e., First part should be 75%...
Forum: Python Oct 23rd, 2008
Replies: 5
Views: 760
Posted By dinilkarun
Hi,
There are some sytax errors in your code i guess. Is it working on your system?
Forum: Python Oct 23rd, 2008
Replies: 5
Views: 760
Posted By dinilkarun
Hi all,

I have a frame and on click of a button, a dialog box is popped up. I want the dialog box to pop up always at the centre of the frame irrespective of where the frame is located on the...
Forum: Python Oct 21st, 2008
Replies: 2
Views: 1,111
Posted By dinilkarun
Hi All,

I have created a two frames(Frame-1 and Frame-2) using BOA Constructor. Frame-1 has a button on it. On click of this button frame-2 is popped up to the user. I want the focus to be set...
Forum: Python Oct 20th, 2008
Replies: 4
Solved: Progress Bar
Views: 694
Posted By dinilkarun
Thanks for all the help guys... Your suggestions really helped me.....
The GUI is looking fantastic now!!!

Thanks again!!
Forum: Python Oct 16th, 2008
Replies: 4
Solved: Progress Bar
Views: 694
Posted By dinilkarun
Hi All,

I have developed an application in Python and the UI is developed in BOA constructor. I have placed a gauge(Progress Bar) on the frame to let user know much of processing is done. With my...
Forum: Python Oct 16th, 2008
Replies: 11
Views: 1,991
Posted By dinilkarun
So, How should I call the function 'ProgressBar' only once?
Forum: Python Oct 16th, 2008
Replies: 11
Views: 1,991
Posted By dinilkarun
Hi,

Its still not working...
Can u please look into the sample code?

Regards,
Dinil
Forum: Python Oct 16th, 2008
Replies: 11
Views: 1,991
Posted By dinilkarun
I have attcahed the sample code:
Instead of Mod1 and Mod2, I have renamed it to as frame1 and module2.
Forum: Python Oct 16th, 2008
Replies: 11
Views: 1,991
Posted By dinilkarun
Hi,

I have two modules: Mod1 and Mod2. I want to call the function ‘ ProgressBar’ which is present in Mod1 inside a class ‘clsMain’. In the function ‘ProgressBar’, I set the...
Showing results 1 to 40 of 92

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC