Stefano Mtangoo 455 Senior Poster

Hello dears,
Thanks all for your help! I have made wonderful progress!
Someone to correct me if I'm wrong:
You write pages using XHTML/CSS then Make them Dynamic by embedding PHP Codes!

Ok on top of that, I have written simple home page and want to embed PHP pages. I ahve named that home page as index.php. Then on left and right columns, I have put links to pages containing materials. Let say I have links to about_us.php and what_others_say.php: Question now is, I want when somebody clicks on about_us.php link, the page loads only on center column only with left and right columns unaffected. Can that be done!

Again thanks and God bless you for good work here!
Steve

Stefano Mtangoo 455 Senior Poster

This is a case that needs a table. It is extremely difficult to do it with divs and css. But you can certainly use css to format the table.

You are right Midi, I have decided to go on with tables and in few clicks I have Made almost Whole layout of site. But I would like to know good site that organizes things well like www.zetcode.com on XHTML/CSS.

Again thanks for your precious help.
Steve

Stefano Mtangoo 455 Senior Poster

Hello dears,
I have problem with setting up a PHP bible ( http://phpbible.org/ ) to use in my page. Any help please!
I really appreciate single jot to this problem,
Steve

Stefano Mtangoo 455 Senior Poster

Hello there!
I'm building a site that wil need three columns. I have found it easier with Tables and I love to do it with CSS tabless layout. I get stuck when Left and right columns are unequal in height and mispositioned.

I want a site with 200px side bars and then the rest be middle place to contain information and postings. I need header and footer! Also one row after header for hot issues! I have googled here and there No help! what I have found is using javascript which I don't want to envolve in.
Help is highly appreciated.

Steve

Stefano Mtangoo 455 Senior Poster

Your friend is misleading you. ]

No He don't! He is experienced web designer. May be I'm the one who misunderstood Him, for I'm newbie with little knowledge of html. So where do I start sir? HTML,XHTML, CSS or what?
I want to become web as well as application programmer. I'M doing well in python but not much in web! I have also failed to run my script offline my firefox through abyss. Help please!!

Steve:(

Stefano Mtangoo 455 Senior Poster

Woooow Great stuffs! I will download and Start Learn. BTW I learn python Also.
Thanks a lot!!!
Steve

Stefano Mtangoo 455 Senior Poster

Hello here!
I'm newer new to PHP. I haven't even started. What softwares and tools and Books that I need to start? I love simple web programming! One friend told me it is easier with XHTML and CSS but there is no place here for that Langueage. I think I need to study PHP!

Help please!
Steve :)

Stefano Mtangoo 455 Senior Poster

Any help please. I want to make toolbar with Icon. I have tried above methods nothing seemed to work. I also ponder on How to Connect events in python and Its modules(like wx python) and then Compile them to exe file.

I also have to put question: Is there way to write DLL in python as is in VB?

Can I compile python DLLs and EXEs to work as VB is?

Thanks a lot and God Bless you for your help!!

Steve

Stefano Mtangoo 455 Senior Poster

Read line 8 and 9, you got to have the properly named icon image file for this to work.

OOooops
I get error

File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 3336, in ConvertToBitmap
return _core_.Image_ConvertToBitmap(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "image.Ok()" failed at ..\..\src\msw\bitmap.cpp(799) in wxBitmap::CreateFromImage(): invalid image
Script terminated.

Any help
Steve

Stefano Mtangoo 455 Senior Poster

This might just help you ...

import wx

class MyFrame(wx.Frame):
    def __init__(self,parent, id, title):
        wx.Frame.__init__(self, parent, id, title, size=(300, 200))

        toolbar = wx.ToolBar(self, -1, style=wx.TB_HORIZONTAL | wx.NO_BORDER)
        # image file is in the same folder as the source code
        # otherwise give a full path name
        toolbar.AddSimpleTool(1, wx.Image('quit.png', wx.BITMAP_TYPE_PNG).ConvertToBitmap(), 'quit', '')
        # add more toolbar images here ...
        toolbar.Realize()

app = wx.PySimpleApp()
frame = MyFrame(None, -1, 'Simple Toolbar')
frame.Show(True)
app.MainLoop()

Script terminates!
When I remove line 10 then it works but then No icon. Cant it be done in another way??
Help please
Steve

Stefano Mtangoo 455 Senior Poster

I don't know where to put quit.png. This result in errors. Is it put on SPE folder or somewhere in python? or Just in same directory as saved file?
I appreciate your help!
Steve

Code
import wx
class MyFrame(wx.Frame):
def __init__(self,parent,id,title):
wx.Frame.__init__(self,parent,id,title,size=(700,600))

toolbar=self.CreateToolBar()
toolbar.AddLabelTool(wx.ID_EXIT,'',wx.Bitmap('..\icons\quit.png'))

app=wx.App()
MyFrame(None, -1, 'Simple Toolbar')
app.MainLoop()

Stefano Mtangoo 455 Senior Poster

What is that another exe compiler? Have you played with it.Where can I download it?
Thanks a lot
Steve

Stefano Mtangoo 455 Senior Poster

I have no Idea of what you are trying to say!
Can you clarify please

Stefano Mtangoo 455 Senior Poster

Hello guys!
How are you doing all
I again need help:?:
Can anyone help me to get SPE IDE run
as executable using py2exe? I have tried using code below
what I get is exe file but when I run it I get message
.....needs higher version of wxpython... error, while it is not true
I have latest stable versions of wxpython and python and py2exe
by the way the code is this

from distutils.core import setup
import py2exe
import sys
if len(sys.argv) == 1:
sys.argv.append("py2exe")
setup( options = {"py2exe": {"compressed": 1, "optimize": 2, "ascii": 1, "bundle_files": 1}},
zipfile = None,
windows = [{"script": 'SPE.pyw'}] )

Ideas ,solutions are Highly appreciated!
Steve

Stefano Mtangoo 455 Senior Poster

hello there,
God is good and i'm back again

Comments:
the tutorials at zetcode.com are really great!

need help:
I have been stuck here,I cannot make the single standing frame using python class;Is there something wrong.when I run code on Stani SPE IDE the script is terminated
Help please!!!
code

import wx
class centre(wx.Frame):
def _init_ (self,parent,id,title):
wx.Frame._init_(self,parent,id,title)

self.Centre()
self.Show(True)

app=wx.App()
centre(parent,-1,'Centre')
app.MainLoop()

another question:
How to compile stani's SPE IDE to executable file
I have tried py2exe with SPE.py but nothing seems to prosper,Help please!!

Last question:Which is best between Stani IDE and BOA constructor?

Highly appreciate you guys
Steve

Stefano Mtangoo 455 Senior Poster

thanks David, but In my country no bookshop can have it. Thanks for your help!

Stefano Mtangoo 455 Senior Poster

i'll check it and be back very sooon
Thanks sneekula for you help
God bless you

Stefano Mtangoo 455 Senior Poster

I have found good IDE though I haven't tested.wxDev-C++ , for use with Dev-C++.
Is there anybody who knows how to configure it to work with wxPython? I saw them saying it is capable of exporting xml files,Is that helpful.
with thanks
steve

Stefano Mtangoo 455 Senior Poster

Thanks ZZucker,
I will check and be back

Stefano Mtangoo 455 Senior Poster

Hello guys,
I'm new to python
I want to use wxPython for Gui programming
The main problem to me is how to start
wxpython have good looking but then no documentation
regards
steve

Stefano Mtangoo 455 Senior Poster

Is Ti An Api? Do You Have Sample Code On How To Do It?

Stefano Mtangoo 455 Senior Poster

HI Guys!
is there anybody who knows how to formatting,and copying files in vb.
Does it need you to use windows API? if so which windows API do i use.
Pse help me!~

Stefano Mtangoo 455 Senior Poster

Did you used any program for that ?
If yes then first uninstall that program and check for file named cxlogo.exe or cxuihost.exe under system32 forlder...if it was there delete it, and thn edit the boot.ini (hidden) file located in c: drive if it shows the following path in it:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /KERNEL=CXLOGO.EXE

Here in end the command /KERNEL=cxlogo.exe like if it shows any other command delete it till fastdetect (do not delete fastdetect) then restart system.

what software did you use to modify and what windows do you us e(eg xp professional

Stefano Mtangoo 455 Senior Poster

Hello guys
I want to program something that will create ootable cd Just like Bart's but with modification i want. Pe builder ha ve licence limit and i want to be honesty. ive decided to write mine but i need help on the following:

I need summary of what XP setup do.

I need explantions on what are and what they do how to modify;the following files: txtsetup.inf, layout.inf , SETUPREG.HIV ,drvindex.inf

thanks in advance

Stefano Mtangoo 455 Senior Poster

Hi to all, is there any place i can download MSDN Library for VB 6.0?
I really need it!
with regards!

Stefano Mtangoo 455 Senior Poster

Thanks Guys! But I have no Idea on how to buy using Amazon.com! I'm in Tanzania Eastern of Africa.Any Help On That(sorry if I'm Violating Rules)

Stefano Mtangoo 455 Senior Poster

Anybody with good understand on this componets. I just know them shallow.anybody to enlight me?
With Regards

Stefano Mtangoo 455 Senior Poster

Thanks A.dragon I will do it and for any Question,i'll post.
-------Good Luck-----

Stefano Mtangoo 455 Senior Poster

Hi! I'm Newbie in programming and I'm interested in VB and VC++.My problem is that I don't know completely how to program VB or VC++ Dll so that i will NOT repeat procedures in each exe i write. Is there anybody to guide me to write simple example?


With regards, EvStevemd
------Ask to Gain Understanding------------