Search found 135 matches
- Thu Jun 26, 2008 7:58 pm
- Forum: wxCode
- Topic: wxsqlite3 saveing and exporting comma delimited files?
- Replies: 3
- Views: 1178
wxsqlite3 saveing and exporting comma delimited files?
I know you can do this from the command line tool given with sqlite. but I want my program to have the ability to do this. So is there a special command or maybe some undocumented SQL command to do this? thanks. BTW, I really enjoy wxsqlite3, it really makes working with sqlite that much easier than...
- Sun Jun 22, 2008 9:32 am
- Forum: General Development
- Topic: wxWidgets n00b. Feeling Disheartened.
- Replies: 15
- Views: 2805
May I make a sugestion here? Why don't you give the codeblocks ide a try? http://www.codeblocks.org/ it first has a wizard to help create a basic template of your program. then it has a graphical wxwidgets editor that allows you to pick and place controls. then from those controls you can write the ...
- Sun Jun 22, 2008 9:11 am
- Forum: C++ Development
- Topic: wxFileOffset to long?
- Replies: 1
- Views: 606
wxFileOffset to long?
I'm trying to take a text hex string and convert it into a file position. So I'm wondering how I do that in wxwidgets exactly? I know to send the string to ToLong, but I can't seem to find a way to convert that long into that wierd wxFileOffset vaar type that every file command seems to need in wxwi...
- Fri Apr 18, 2008 9:50 pm
- Forum: C++ Development
- Topic: is there a way to get an array of wxTextCtrl?
- Replies: 4
- Views: 728
thanks for the replies, I didn't want to ditch the rad editor, and didn't want to use wxgrid as I might as well of made this in excell. but the controls aren't all displayed at once. they are on several notebook pages organized and catagorized as neatly as I could. just that reading and writeing all...
- Wed Apr 16, 2008 9:45 pm
- Forum: C++ Development
- Topic: is there a way to get an array of wxTextCtrl?
- Replies: 4
- Views: 728
is there a way to get an array of wxTextCtrl?
I have a large form consisting of hundreds of wxTextCtrl boxes. I need to be able to get the wxTextCtrl objects themselfs into an array I can access. to further complicate things I'm useing wxSmith in codeblocks to develop the GUI with. which means I can't touch the actual creation of the boxes as i...
- Wed Apr 09, 2008 5:13 am
- Forum: Component Writing
- Topic: Writing a Hex Editor control
- Replies: 3
- Views: 1936
- Fri Mar 28, 2008 6:48 pm
- Forum: wxCode
- Topic: saveing an wximage object into an wxsqlite3 blob...
- Replies: 11
- Views: 2945
- Thu Mar 27, 2008 7:12 pm
- Forum: wxCode
- Topic: saveing an wximage object into an wxsqlite3 blob...
- Replies: 11
- Views: 2945
well I just want to get it to work at the moment. heres what I have now with the memcpy change: wxSQLite3Blob picblob = db.GetBlob(SpinCtrl1->GetValue(),"Picture","Customers"); wxMemoryBuffer picload; int blobsize = picblob.GetSize(); picblob.Read(picload, blobsize, 0); void* dat = malloc(picload.Ge...
- Wed Mar 26, 2008 8:10 pm
- Forum: wxCode
- Topic: saveing an wximage object into an wxsqlite3 blob...
- Replies: 11
- Views: 2945
alright I keep getting invalid image when doing SetData and I'm not sure why. So I think it's time to unleash some code. the user pushes a button witch runs this code. it's job is to take the file and resize it for display and DB storage, and finally display it: path = FileDialog1->GetPath(); fname ...
- Tue Mar 25, 2008 10:23 pm
- Forum: wxCode
- Topic: saveing an wximage object into an wxsqlite3 blob...
- Replies: 11
- Views: 2945
and the answer to that is no it does not. setdata demands const unsigned char* but wxMemoryBuffer::GetData outputs void. and the post you linked to seems pretty useless as they focus on loading an image, editing it, and then saveing the image useing filestreams which I'm not doing. anyone have any o...
- Mon Mar 24, 2008 6:56 pm
- Forum: General Forum Issues
- Topic: Failure to register
- Replies: 3
- Views: 1443
- Mon Mar 24, 2008 6:51 pm
- Forum: wxCode
- Topic: saveing an wximage object into an wxsqlite3 blob...
- Replies: 11
- Views: 2945
- Sun Mar 23, 2008 7:16 am
- Forum: wxCode
- Topic: saveing an wximage object into an wxsqlite3 blob...
- Replies: 11
- Views: 2945
- Sun Mar 23, 2008 12:53 am
- Forum: wxCode
- Topic: saveing an wximage object into an wxsqlite3 blob...
- Replies: 11
- Views: 2945
saveing an wximage object into an wxsqlite3 blob...
So I've programmed myself into a corner and can't seem to figure out a solution. I have an 3MB+ jpeg, but I load it up and reduce the size to fit on screen as a thumbnail of sorts. I would like to save that thumbnail into an sqlite database as a blob. The problem is that there doesn't seem to be any...
- Sun Mar 23, 2008 12:15 am
- Forum: General Forum Issues
- Topic: Failure to register
- Replies: 3
- Views: 1443