178 Solved Topics

Remove Filter
Member Avatar for Stefano Mtangoo
Member Avatar for Stefano Mtangoo

I'm creating Frontend for an application with Established database (am rewriting to be explicit and so there are some things I cannot change. I was looking at Default Register/Login that comes with MVC5 sample and found that its table have fields that are problematic to my app. Specifically, my users …

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

I downloaded daily build and did python3 setup.py build and then python3 setup.py install So far so good! I tried import wx and no errors I tried to run the program [here](http://wiki.wxpython.org/Getting%20Started#Getting_started_with_wxPython) and all I got was the error below. Have anyone got wxPython working with Py3 especially on Linux …

Member Avatar for Werner F.
0
1K
Member Avatar for Stefano Mtangoo

Hi Guys, I want to be generating random quote of the day. I want it to be so random and not repeating itself the same quote What is the trick (If code exclude simple db stuffs like mysql_connect et al) Thanks

Member Avatar for pritaeas
0
618
Member Avatar for Stefano Mtangoo

Hi All, I have made simple CMS with PHP/MYSQL. It make use of TinyMCE as Javascript editor. I can delete as well as add the contents. But How can I load the contents from database to TinyMCE for editing and saving? Here is my PHP code to add contents using …

Member Avatar for medzoner
0
4K
Member Avatar for Stefano Mtangoo

Hello all, I have been long using Tango Icons and are good, but some stuffs are lacking. Is there good freeware Icon designer or free Icon package? Thanks alot

Member Avatar for jsdevel
0
165
Member Avatar for Stefano Mtangoo

Hello all, I need some help to get all wxpython methods that associate widgates. I mean ALL methods for wx.Button, wx.Frame etc. I will appreciate if I will get something like pdf version but anything or Idea is welcomed Thanks and regards Steve

Member Avatar for joryrferrell
0
124
Member Avatar for Stefano Mtangoo

Hi, I need to concatanate lines based on regex. Lines to be concatanated are scattered. All lines begin with number$number$number$number$sentences. There is nothing to mark the end of sentence, only the beginning. Here is an example. I want to rewrite this one [CODE]2 $5$233$ check big cat if it have …

Member Avatar for Stefano Mtangoo
0
215
Member Avatar for Stefano Mtangoo

Is it possible to export MySQL database to SQLite? If possible, how do you do that?

Member Avatar for Stefano Mtangoo
0
76
Member Avatar for Stefano Mtangoo

Hi friends, it is weeks now I'm trying to figure out how to make simple custome theme engine for my custom PHP CMS. I want to use it for my projects. It is based on custom framework too. So I checked how Drupal does it and Joomla. They are complex …

Member Avatar for Stefano Mtangoo
0
155
Member Avatar for Stefano Mtangoo

I have been given acer 5100 and pressing power button it light momentarily and goes off. It will not boot anything, until I press power button and then hold down F9 or F10 keys then it will boot as usual and things goes well. I have even upgraded the bios …

Member Avatar for Stefano Mtangoo
0
215
Member Avatar for Stefano Mtangoo

Hi, I have DAL class and I have done Query Parametrization to avoid SQL injection. As you can see the weakpoing for Dynamic Query is table_name and column name. I have made small function to (hopefully) validate table variable before I can add to SQL command string. Now I was …

Member Avatar for Stefano Mtangoo
0
198
Member Avatar for Stefano Mtangoo

Hi, Is there a way I can access the Exchange Mails/Calendars/Addressbook without .NET or non cross platform thing? I want to access them with C++ but on both MS and Linux I was looking at EWS but it seems it is tied to MS and .NET Please share with me …

Member Avatar for Stefano Mtangoo
0
172
Member Avatar for Stefano Mtangoo

I have decided when I have free of free time I will be playing around small php editor. I was wondering where I can get a list of keyword for mentioned languages, preferably in csv or like format Thanks! [B]EDIT:[/B] I forgot CSS

Member Avatar for Stefano Mtangoo
0
147
Member Avatar for Stefano Mtangoo

Hi, I'm making an MVC pattern based app and I though I would learn the principles first. I have reached a stage I need to connect the three elements. When Controller receives user action It calls right model. Now I need to register callback function so that when Model is …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Stefano Mtangoo

I have been learning PHP MVC pattern and it is pretty cool. have almost finished app and I can see how mess you can make a code without good design. Now can MCV be applied to C++ apps? Where does Plugin manager/Plugins go if that is even possible?In model or …

Member Avatar for Stefano Mtangoo
0
177
Member Avatar for Stefano Mtangoo

This have been a problem to me for long now and I want to settle it once and for all. PHP and MySQL DateTime and date fields have been headache to me. Suppose I have fields ------Name--------------BirthDate--------LastTimeYouAte-- ------VARCHAR(255)------DATE-------------DATETIME-------- Now, When I do insert, How do I format PHP Date and …

Member Avatar for Stefano Mtangoo
0
278
Member Avatar for Stefano Mtangoo

I'm impressed with Aptana Studio 3 and it is wonderful. I have decided to go back to eclipse after years of using Netbeans. In NB I was having option of [B]separating my files from project meta data [/B]but I cannot find how to do it with AS. Also in Netbeans …

Member Avatar for ulyssey
0
289
Member Avatar for Stefano Mtangoo

Friends, I'm rushing towards deadline and I think that makes me do childish mistakes. Here I have validation that requires regex and each time I input valid expression preg_match returns false. It is long now I'm trying to spot error but I cannot! I have googled and AFAICS, things seems …

Member Avatar for Stefano Mtangoo
0
163
Member Avatar for Stefano Mtangoo
Member Avatar for Stefano Mtangoo

Hi, I'm making a custom user management class that inherits from DBManager class. The problem I have so far is executing queries using mysqli prepared statements. DB connects fine but then prepare statement fails. I have mysqli object as an attribute that is shared in the class. I'm new with …

Member Avatar for hielo
0
148
Member Avatar for Stefano Mtangoo

Hi, please help me with error. I want to run simple project below. I have a lot of errors below and don't know how to fix it. I use GCC port (Mingw) [CODE=C++]#include "mysql/my_global.h" #include "mysql/mysql.h" #include <stdio.h> int main(int argc, char **argv) { printf("MySQL client version: %s\n", mysql_get_client_info()); } …

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

I'm doing a project and would like to hear your opinions. I want to make Integrated library system and I want to have these folders 1. classes - where all classes will be stored 2. templates - where all templates will be stored 3. admin - where admin files will …

Member Avatar for Stefano Mtangoo
0
122
Member Avatar for Stefano Mtangoo

Kind: HP ProBook 4510s hi all, I last time switched off my laptop after using it on projector. i disconnected projector fine, then turn it off normal. Then next day I turned on and screen was black and blue light at power button as usual. I decided that I would …

Member Avatar for Stefano Mtangoo
0
102
Member Avatar for Stefano Mtangoo

a apart fro SQL injection what are risks to comsider when querying database? What are risks when uploading files other than limiting some extensions (like exe's)?

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

forgive me buddies if it is childish question, I cannot find good tutorial explaining it. So bear with me. My questions are, how does forward declaration differ from normal include which I'm used to? Also, where do we use it and what are limitation of the two? Lastly is there …

Member Avatar for Narue
0
107
Member Avatar for Stefano Mtangoo

I need to make inspection of my code to Optimise it. Which profiler do you use and recommend? I use CodeLite IDE with GCC Compile (MinGW on windows) and wxWidgets for all GUI stuffs Thanks

Member Avatar for daviddoria
0
86
Member Avatar for Stefano Mtangoo

Hi, I know this is not PHP issue but we here writes a lot of database SQL querries so I hope for a help. I have a bible script that is supposed to query the scriptures between two intervals. My table is named Bible and have columns: ID (int), Book …

Member Avatar for Stefano Mtangoo
0
369
Member Avatar for Stefano Mtangoo

I know many will start with ODBC, but slow down ;) I have searched for ODBC and all I find is UnixODBC. Is this the same as ODBC? Also how stable it is? I will be happy to know some apps/companies behind it! I need support for MySQL, PostGreSQL, DB2, …

Member Avatar for Stefano Mtangoo
0
149
Member Avatar for Stefano Mtangoo

I was finding Database schema for CMS that are already there (Drupal, Joomla et al) but not yet succeeded. I would be happy if anybody points me to it. I want to adopt for my uses, droping this and adding that! Thanks

Member Avatar for hielo
0
226
Member Avatar for Stefano Mtangoo

Hi, I have decided to learn C# and since I have good knowledge of C++, I hope it would be easy. I have faced an error I dont understand. It says [COLOR="Red"]Polygon' does not contain a constructor that takes '1' arguments (CS1729)[/COLOR] AFAICS, all is well and constructor does take …

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

Now, heading might be a bit misleading. If that is the case forgive me as I cannot think of best heading! i have database of books, that is e-books. Each table have page number and contents (to simulate true book). The problem is, I have to search for a word …

Member Avatar for Stefano Mtangoo
0
92
Member Avatar for Stefano Mtangoo

There are many decent sites for C++. However, some of Dev, including me, works most of the time offline. So I need to have one for reference. If anyone knows a decent one then please post a link Thanks

Member Avatar for onoffon
0
150
Member Avatar for Stefano Mtangoo

1. [URL="https://wiki.ubuntu.com/MaverickMeerkat/TechnicalOverview"]Overview[/URL] 2. [URL="https://blueprints.launchpad.net/ubuntu/maverick/+specs"]Features[/URL] Waiting for 10.10 :)

Member Avatar for richieking
0
162
Member Avatar for Stefano Mtangoo

I haven't noticed this until I tried it today and boom! Compiler complained: [COLOR="Red"] error: constructors cannot be declared virtual[/COLOR] Why then Constructor is not okay while destructor is, in such as class as this? Thanks [CODE=C++]class MyAbstractClass{ public: virtual MyAbstractClass(std::string username, std::string password)=0; virtual ~MyAbstractClass(std::string username, std::string password)=0; virtual …

Member Avatar for Stefano Mtangoo
0
574
Member Avatar for Stefano Mtangoo

Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Stefano Mtangoo

Hi, I have a page where I include another page passed via url Url is something like [B][url]http://www.daniweb.com/newthread.jsp?page=24[/url][/B] and I get the variable as [CODE=JAVA]String thePage = request.getParameter("page") ;[/CODE] Now I want to include it in my page and the code below doesn't work. I have googled and I cannot …

Member Avatar for Stefano Mtangoo
0
198
Member Avatar for Stefano Mtangoo

Hi, I have abstract base class with some kids deriving from it. I want its kids to be concrete classes But I don't want to implement the all methods of the class. I'm trying to find a trick to go around doing this and I'm running out of thought on …

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

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

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

Hi, Please help me spot where I go wrong. I cannot understand why the error. The Code with error and full error are below. Thanks Error:[COLOR="Red"] loaddll.cpp:6: error: invalid conversion from 'void*' to 'void (*)(wxString)'[/COLOR] lines 5, 6 and 7 [CODE=C++]typedef void (*helloSteve)(wxString);//takes string and Shows it! helloSteve myFunc = …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Stefano Mtangoo

Hi All, I have a question that I cannot figure out. I have DLL that will export class and some C functions. Should I enclose both definition (.cpp) and Implementation(.h) with extern C? something like below? myfunc.h [CODE=C++] class TestClass{ //some stuffs here }; extern "C" { void myFunc(int x, …

Member Avatar for Stefano Mtangoo
0
223
Member Avatar for Stefano Mtangoo

I have been Out of real pythoning for a while. My favorite Toolkit is wxpython but It have a huge size due to monolithic nature. So even with simple app, it swells! I was looking if I can have any size difference with Other GUI toolkit, PyGTK! Hope someone will …

Member Avatar for Stefano Mtangoo
0
293
Member Avatar for Stefano Mtangoo

Hello, I need to load JQuery UI tabs ajax call. I have made tabs and works well with my projects. I have problem in using ajax to reload one of the tabs using ajax call. When user select another thing in Drop down menu I have no way to reload …

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for Stefano Mtangoo

Just a curious Question, Is there a way of putting Vpython in wxpython as we do in case of wx.MediaCtrl and other stuffs?

Member Avatar for isabel puchoc
0
433
Member Avatar for Stefano Mtangoo

I have tried whatever I can but i'm yet to find a definition I can understand. Would anyone try to "educate" me on what is enterprise java beans?

Member Avatar for Stefano Mtangoo
0
121
Member Avatar for Stefano Mtangoo

Hi, I'm beginning JDBC and I'm conversant in SQL. But I need to Connect to database and that where the problem lies. All I have done is adding mysql/j connector Jar to Netbeans project and wrote code below to test. It cannot connect to database. Also IDE throws error: [CODE=JAVA] …

Member Avatar for Stefano Mtangoo
0
490
Member Avatar for Stefano Mtangoo

I know it sounds stupid but I want to try this with the kind of for (not the norma for i=0 i<9; i++) but the other one with arraylist. is this possible? If yes please help me match data types Thanks [CODE=JAVA] import java.util.ArrayList; import java.util.List; /** * Created by …

Member Avatar for Stefano Mtangoo
0
129
Member Avatar for Stefano Mtangoo

Hi, I'm learning making CMS. As you can see, I cannot do everything from scratch. So I request anyone with code in his codebase that works fine on paging or knows practical code to point me. I want to page my articles once are more than let say 10 Cheers …

Member Avatar for Stefano Mtangoo
1
127
Member Avatar for Stefano Mtangoo

Hi there, Is there anyone here using NB platform to develop applications? Anyone using former Matisse GUI builder in NB 6.8? I can't see it in my IDE!

Member Avatar for Stefano Mtangoo
0
71
Member Avatar for Stefano Mtangoo

Hi guys, I have been away Python for long now. I need to brush with small project that will be downloading images from give url. I give url and it crawls through all pages in give location and its subfolders and download image. Now two challenges: 1. Crawl through all …

Member Avatar for Tech B
0
199

The End.