342 Archived Topics

Remove Filter
Member Avatar for Stefano Mtangoo

Hi, its me again! I have faced this error trying to redirect from one page. Here is the error: [COLOR="Red"]Warning: Cannot modify header information - headers already sent by (output started at I:\xampplite\htdocs\site\insert.php:3) in I:\xampplite\htdocs\site\insert.php on line 28 Illegal action or other errors![/COLOR] here is insert.php [CODE=php] <!DOCTYPE html PUBLIC …

Member Avatar for almostbob
0
166
Member Avatar for Stefano Mtangoo

Help me inspect this code. I cannot see error by myself. here are the codes for inc.database.php I'm learning OOP with PHP (I extensively using it with python but I'm noob to PHPiing) [CODE=php] <?php class Connectdb{ private $DATABASE = "site_contents"; private $HOST = "localhost"; private $USER = "root"; private …

Member Avatar for Stefano Mtangoo
0
148
Member Avatar for Stefano Mtangoo

Don't get me wrong, I don't ignore the power behind CMSes. I want to make a Database driven contents. Here is the approach I want to take, correct me/Add opinion as you it! 1. Integrate TinyMCE editor for wariting contents (WYSIWYG) 2. Have database with table contents and three columns …

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for Stefano Mtangoo

Hi All, I need to make a PHP word editor for writting notes that will have buttons like one for wordpress. How do I start it? Is there readymade class that I can employ? Or any tutorial? I have never done such project before but I need such editor to …

Member Avatar for Stefano Mtangoo
0
244
Member Avatar for Stefano Mtangoo

Hi All, I want to incorporate chat room in my Website (Currently still on WAMP). What chat software is good? Is it easy to write mine from the scratch? Any tutorials if that is possible? Thanks Guys!

Member Avatar for Stefano Mtangoo
0
124
Member Avatar for Stefano Mtangoo

Hello there, Is there a free windows flash maker that have got no advertisments? I have got flash maker free version, but it advertises in my swf file. I want free flash maker, may be full functional trial Thanks

Member Avatar for gkaykck
0
77
Member Avatar for Stefano Mtangoo

Hi all, It is strange that I cannot Update Adware (Free anniversary edition), Malwarebytes, or even spyware doctor trial. I have existed my comodo firewall and event turn off windows firewall. I don't know what is happening as I have tried Spyboat SD and it updates fine! Any help appreciated

Member Avatar for Stefano Mtangoo
0
95
Member Avatar for Stefano Mtangoo

Hi all, I have been using PNG files for icons and they are good. But I want now to use xpm as they can be included just as I include header file. How do I do that? Any free tool?

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for Stefano Mtangoo

Hello guys, I have Laptop with Ubuntu/Vista Multiboot I would like to connect to my office place Domain. Mind you that this is my personal Laptop and I cannot tell the Office Admin to configure it for me. I have to do it my self which is good practice. So …

Member Avatar for tracedinesh
0
146
Member Avatar for Stefano Mtangoo

Hi, I have a WAMP based Site and would like to user path as a variable instead of fixed path. I tried variable like [CODE=PHP] $sgospel = "$server./sgospel/"; $include_path = "$sgospel./includes"; echo($server); echo($sgospel); [/CODE] Results are: [QUOTE] [COLOR="Red"]C:/wamp/www/ C:/wamp/www/./sgospel/ [/COLOR] [/QUOTE] When I put [CODE=PHP] $f_path = "$include_path/inc.terms.php"; echo($f_path); [/CODE] …

Member Avatar for digital-ether
0
212
Member Avatar for Stefano Mtangoo

Hello All, I want to copy zipped file from one machine to another in same network. I have the IP and folder of destiny machine, but I'm pondering on the best way to go! transfering among same drive, I will use shutil module. But what about networked PCs? Should I …

Member Avatar for Gribouillis
0
222
Member Avatar for Stefano Mtangoo

Hi, I'm planning to work something with XML and Python. As part of familializing with it, I want to make simple playlist for a wxMedia player. the player is simply wx.MediaCtrl with some buttons and wxListCtrl as list container. My Question is, what process does it take to get playlis …

Member Avatar for Stefano Mtangoo
0
135
Member Avatar for Stefano Mtangoo

Hi All, I was asking if it is possible to hide the wx.MediaCtrl window so that Only controls (play, stop, pause etc) can be shown? I plan to play audio only and never video for this project. Thanks alot :D

Member Avatar for Stefano Mtangoo
0
96
Member Avatar for Stefano Mtangoo

Hi, I want to track changes done to wxListCtrl as user Updates it (via my custom dialog of course). I will be querying and saving updates from and to database. the problem I have in thinking how to track changes and enable/disable save button as well as update the database …

Member Avatar for Stefano Mtangoo
0
109
Member Avatar for Stefano Mtangoo

Hi, I cannot see a separator, though it adds spaces between tools. What am I doing wrong? Here is a code below [CODE=python] self.toolbar.AddLabelTool(wx.ID_REDO, "redo", wx.Bitmap("./icons/edit-redo.png")) self.toolbar.AddSeparator() [/CODE] Also what is difference between AddLabelTool() and AddSimpleTool() ?

Member Avatar for Stefano Mtangoo
0
136
Member Avatar for Stefano Mtangoo

Can Anyone tell me how to use debugger. I have only once used Wingware Wing IDE. I just clicked debugger and it will highlight error! I want to be advanced with debuggers and debugging in python. can anyone tell me how thing go up? Thanks in Advance, S.

Member Avatar for Stefano Mtangoo
0
118
Member Avatar for Stefano Mtangoo

Hello Guys can somebody provide examples and explanations on how to embed MySQL server using SQLmylibd.dll (If I remember well). Appreciation to all answers, Steve

Member Avatar for Stefano Mtangoo
0
73
Member Avatar for Stefano Mtangoo

Hello guys, Please help me with wxTreeCtrl events (I have never dealt with TreeCtrl before). I want to get simple basics how to catch events As example to clarify my question, I have tree of books and I want just the TextCtrl to display the chosen parent and Item, like …

Member Avatar for Stefano Mtangoo
0
383
Member Avatar for Stefano Mtangoo
Member Avatar for Stefano Mtangoo
0
131
Member Avatar for Stefano Mtangoo

I have read a little bit on XML and I will need it to get some information from already available XML files. I would like to learn it by making very small playlist. However I have encountered the two beasts. I don't know much of XML, especially with python. So …

Member Avatar for Stefano Mtangoo
0
130
Member Avatar for Stefano Mtangoo

Hi, I want to Load .dll library on my program. I was using LoadLibrary and GetProcAddress which is tedious work. I saw somewhere Idea of using .lib files but have no clue. I have used google but I got lost. Please help me :( Codeblocks 8.02 MINGW 3.4.5 Windows Vista

Member Avatar for Stefano Mtangoo
0
231
Member Avatar for Stefano Mtangoo

I cannot get the code work. I want to use placeholder than a fixed value. When use fixed value it works but not placeholder. Please correct me! [CODE=python] import sqlite3 as sql class Tables(object): def __init__(self): print "Class created!" def CreateDb(self, dbname): self.conn = sql.connect("?", (dbname, )) self.cur = self.conn.cursor() …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for Stefano Mtangoo

[CODE=python] import sqlite3 as sql class Tables(object): def __init__(self): print "Class created!" def CreateDb(self, dbname): self.conn = sql.connect("?", (dbname, )) self.cur = self.conn.cursor() def CreateNewTable(self, tablename):#, tablename self.cur.execute("CREATE TABLE IF NOT EXISTS ?(id INTEGER, name TEXT)", (tablename, )) listed = [(1, "Mary"), (2, "Martha"), (3, "Jesca"), (4, "Don")] for i …

Member Avatar for Stefano Mtangoo
0
152
Member Avatar for Stefano Mtangoo

After building wxWidgets, I need to free space for any unneeded files. Should I uninstall wxWidgets after buidling? and what exactly building does?

Member Avatar for Hiroshe
0
121
Member Avatar for Stefano Mtangoo

I played with registry long ago and would not like to mess up with it (since I'm no longer as expert as I used to be:) ) help me colleagues to add comodo internet security to make it start with windows. I checked configuration and I don't see the option …

Member Avatar for kaninelupus
0
840
Member Avatar for Stefano Mtangoo

I want to use folded panel in wxPython, like one In explorer in Windows XP. I have tried to check through API and Demo but I cannot Get Idea. The Demo example is complicated Anyone to get me up and running. I'm still googling, but your help is highly appreciated …

Member Avatar for Stefano Mtangoo
0
206
Member Avatar for Stefano Mtangoo

I have two different pyApps, and I want to make a task bar Icons. For one I use .ico file and another .png file. The .ico one works but not the .png file. Does it mean I cannot use PNG file to make taskbar icon? Here is a code that …

Member Avatar for Stefano Mtangoo
0
93
Member Avatar for Stefano Mtangoo

Hello guys, I have loaded akrip32.dll and can get handle within a function, but cannot get it when calling the function in main() Please help me app.cpp [CODE=C++] #include <iostream> //testing function below //main application int main() { CDRip instance; DWORD ver = instance.GetVersion(); LPGETCDHAND cdhandle; HCDROM handle ; handle …

Member Avatar for Stefano Mtangoo
0
199
Member Avatar for Stefano Mtangoo

I want to make simple MSN/YAHOO Chat. I have some knowledge on sockets but I don't know what more I need to know. So My Question Is, what is pre-requisites before I jump into the Project. NOTE: The project is for learning Python/wxPython Thanks :D

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for Stefano Mtangoo

Iam finishing my little database based small project and I need to save current status for next time(The save option :) ) The stuff I want to save is just list of tuples and I have to save: 1. The List of tuple 2. The index of the last element …

Member Avatar for Stefano Mtangoo
0
87
Member Avatar for Stefano Mtangoo

What is ctypes data for BOOL? I mean in C++ to ctypes we have: int--> c_int float--> c_float what about BOOL?

Member Avatar for pmf
0
857
Member Avatar for Stefano Mtangoo

Is it good Idea for Newbie in Java like me(Python guy) to begine with 3rd Edition of thinking in Java by Bruce Eckel? The reason is, it is free downloadable. If no any suggestion?

Member Avatar for Stefano Mtangoo
0
106
Member Avatar for Stefano Mtangoo

I'm practing with Akrip32.dll for a time now and I can get the DLL version as DWORD. The Version is divided as HIWORD and LOWORD Can anyone help me interpret these Buzzwords? I have no Idea of what they are

Member Avatar for Stefano Mtangoo
0
444
Member Avatar for Stefano Mtangoo

Hi All, I'm having trouble with my code. When I compile I get Undefined reference to class::method where by class and method are my class and method. I get my methods from akrip32.dll I,m at work so I have no source files, but I will attach them later when I …

Member Avatar for Stefano Mtangoo
0
228
Member Avatar for Stefano Mtangoo

I have two classes, one inheriting wx.Frame and othe is wx.Dialog. I use the dialog to collect some info and I call its object in the wx.Frame class. The problem is, the dialog should return the value of its TextCtrl values and I have no Idea how to do it …

Member Avatar for Stefano Mtangoo
0
69
Member Avatar for Stefano Mtangoo

Hi All, Is there any Remote Desktop connection that is compatible with Microsoft's remote desktop? I won't Like VNC because it will force me to install in each PC I want to RLogin There is this but I guess it have no port for Windows [url]http://sourceforge.net/projects/rdesktop/[/url]

Member Avatar for Stefano Mtangoo
0
94
Member Avatar for Stefano Mtangoo

Hello developers, I have been playing around with C++ and wxWidgets for a little time now and I think it is time to make a little useful program I am planning to make a CD ripper and Encoder (re-inverting the wheel purposely for learning) and I plan to use CDRip.dll …

Member Avatar for Stefano Mtangoo
0
135
Member Avatar for Stefano Mtangoo

Hi all, I have seen MacBook from my friend and have loved nice bash command line interpreter. Is there similar one for Windows XP/VISTA??? Here are some nice feature lacking in windows: 1. Tabbing 2. Full screen on maximization of window 3. The use of sudo command (At least there …

Member Avatar for Stefano Mtangoo
0
98
Member Avatar for Stefano Mtangoo

Does it take UML knowledge to be good at designing BIG project? If yes is there free UML modeling software? Thanks

Member Avatar for K?!
0
174
Member Avatar for Stefano Mtangoo

I hear alot from my fellow developer about these schema stuffs. Im new to database and I wonder what Schema is. I can play with tables and databases,

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for Stefano Mtangoo

To help people who come from console application and who wants to implement GUI, it is better for them to know the real world application made by available toolkit. I suggest this be the place to show real world apps doen by toolkits in Python Language Hope it will help …

Member Avatar for Stefano Mtangoo
0
117
Member Avatar for Stefano Mtangoo

Hi, I'm working on little phone book program with wxPython and SQLite. I can get database populated and can retrieve back the phones and names, but when I do fill them in ListCtrl it throws cruel errors :) Here is the retrieved data from database: [(1, u'Steve', u'Giddy', u'0654743553'), (2, …

Member Avatar for Stefano Mtangoo
0
991
Member Avatar for Stefano Mtangoo

Hi, I have never been into sockets, so I decided to dive in. With some help from devshed, I managed to make a server as shown below. But I cant get it receive data from client. Please correct me :) ERROR: socket.error: (10057, 'Socket is not connected') [CODE=python] import socket …

Member Avatar for Stefano Mtangoo
0
290
Member Avatar for Stefano Mtangoo

I was out of programming for long and now I'm just trying back to regain my knowledge on the language. I have forgotten how the ListCtrl get populated. Here is the tutorial but I cant explain the mechanism. Please help me to understand the whole process. Cheers :) [url]http://zetcode.com/wxpython/advanced/[/url]

Member Avatar for Stefano Mtangoo
0
101
Member Avatar for Stefano Mtangoo

I'm learning wxWidgets and would like to know which event, connect or using static event tables? Why will you choose one from the other

Member Avatar for Stefano Mtangoo
0
257
Member Avatar for Stefano Mtangoo

I have simple question. I have long code in my .cpp file with classes functions etc. I would like to divide it into separate cpp and .h files. What are rules governing the stuffing? Any good tutorial/example? Cheers :)

Member Avatar for Stinomus
0
98
Member Avatar for Stefano Mtangoo

After pondering and wondering, I have decided to go for wxWidgets. Here is my first trial application. After running a test app from zetcode.com in my Code::Blocks & wxWidgets and I confirmed that it is fine! Then I tried to write my own app as shown below but I ran …

Member Avatar for Stefano Mtangoo
0
170
Member Avatar for Stefano Mtangoo

I'm trying GUI Library to see what fits me. I want to try GTK+ too. But I don't know where to start. At GTK+ site I took a look at C++ bindings [url]http://www.gtkmm.org/[/url] and found * glibmm 2.20 (stable) * gtkmm 2.16 (stable) * libgnomecanvasmm (stable) * gconfmm (stable) * …

Member Avatar for Stefano Mtangoo
0
304
Member Avatar for Stefano Mtangoo

I have two files and I would like to call addition function from functions.cpp in main.cpp. But I get error: [COLOR="Red"]In function `int main()': error: `addition' has both `extern' and initializer error: initializer expression list treated as compound expression warning: left-hand operand of comma has no effect error: `addition' cannot …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for Stefano Mtangoo

Please help me guys. My Disk have corrupted and chkdsk have failed to repair although it have detected the corruption. It is external HDD and I don't know if there is any tool I can use apart chkdsk. Both partition in the drive are corrupt and they have my very …

Member Avatar for Stefano Mtangoo
0
138

The End.