Need programming help for good cause
Page 2 of 2 Goto page Previous  1, 2
LeoNatan
☢ NFOHump Despot ☢



Posts: 73220
Location: Ramat HaSharon, Israel 🇮🇱
PostPosted: Sun, 21st Sep 2008 02:03    Post subject:
OK, in XP you need to set the default charset for non-unicode apps to Arabic as well, not only install language support.
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 21st Sep 2008 03:08    Post subject:
Thank you, that finally cleared some things out.

@compu:
ok, I'm rewriting the app, to make it arabic compatible. Can you please post the arabic texts for search and so on (every button and text there).

I will implement this in the database as table5, so that you can adjust the translation later.

Delphi is a bitch, no unicode support Sad I've to rewrite some things, but hopefully I'll finish this before monday.
Back to top
compubrain3000




Posts: 4094
Location: Egypt
PostPosted: Sun, 21st Sep 2008 07:18    Post subject:
TesterWS wrote:
Thank you, that finally cleared some things out.

@compu:
ok, I'm rewriting the app, to make it arabic compatible. Can you please post the arabic texts for search and so on (every button and text there).

I will implement this in the database as table5, so that you can adjust the translation later.

Delphi is a bitch, no unicode support Sad I've to rewrite some things, but hopefully I'll finish this before monday.


The program itself needn't be in Arabic, just the stuff that's going to be printed. Here's a translation of all the fields.

Hospital number: رقم المستشفى

Patient name: اسم المرىض

Floor: الدور

Type of solution: نوع المحلول

Drug: الاضافات

Dose: الجرعة

ml: مل

mg: مج

Start date: يبدأ في

Production date: تاريخ التحضير

Edit: The 'Floor' field needs to be at the top of the label, followed by 'Name' then 'Number'.
Back to top
moosenoodles




Posts: 18411

PostPosted: Sun, 21st Sep 2008 12:02    Post subject:
Compubrian3000

Wouldnt ( << just for you geordie rider ) this sort of application have to be authorised to be used within a hospital? I mean I wouldnt want anyone printing labels for anything unless it had been properly approved for use in such an environment?

Just a thought, not sure how things work where you are, but if anyone off the bat was to do that here in UK im quite sure higher management would say get lost. Unless of course you are the guy that runs said department area?

Only mentioning it incase it wastes everyones time ...
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 21st Sep 2008 12:04    Post subject:
OK, thanks. I'm working on it right now. But at the moment I've been facing a weird problem. Never made apps with arabic support, and delphi is a bitch, regarding unicode...
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 21st Sep 2008 13:14    Post subject:
OK, my KaDao (my delphi -> access) module doesn't seem to support arabic. So every imported data is shown as ????????. I'm getting Deplhi 2009, maybe that will help. I'll keep you updated.

If anyone does know a method to read and write Access 2007-Databases with Delphi, than feel free to share your knowledge Smile
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73220
Location: Ramat HaSharon, Israel 🇮🇱
PostPosted: Sun, 21st Sep 2008 13:57    Post subject:
TesterWS wrote:
Never made apps with arabic support, and delphi is a bitch, regarding unicode...

Quote:
Delphi 2009, the twelveth and latest version released in September 2008, adds support for Unicode to the VCL and IDE as well as new compiler features (Generics and Anonymous methods) and enhances the IDE with the first version of a resource manager and overhauled project manager as well as user definable build configurations.

http://en.wikipedia.org/wiki/CodeGear_Delphi
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 21st Sep 2008 14:23    Post subject:
Thanks leo, I'm already porting the app to delphi 2009 Wink

And no need for KaDao anymore, delphi 2009 can do it native.

I hope that the app will be finished by tonight.
Back to top
$en$i
VIP Member



Posts: 3127

PostPosted: Sun, 21st Sep 2008 15:09    Post subject:
@ TesterWS
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73220
Location: Ramat HaSharon, Israel 🇮🇱
PostPosted: Sun, 21st Sep 2008 15:46    Post subject:
Good job, TesterWS <3

Got to a little bit here @ Borland for not including proper Unicode support much earlier, though. Unicode has been natively available since Windows 2000 (i.e. since 1999), so no reason why not to add it.
Back to top
compubrain3000




Posts: 4094
Location: Egypt
PostPosted: Sun, 21st Sep 2008 16:35    Post subject:
moosenoodles wrote:
Compubrian3000

Wouldnt ( << just for you geordie rider ) this sort of application have to be authorised to be used within a hospital? I mean I wouldnt want anyone printing labels for anything unless it had been properly approved for use in such an environment?

Just a thought, not sure how things work where you are, but if anyone off the bat was to do that here in UK im quite sure higher management would say get lost. Unless of course you are the guy that runs said department area?

Only mentioning it incase it wastes everyones time ...


I've got full authority to use such an app. We have one manager and he told me to do whatever i see fit to solve the problem.

We don't have a hierarchy where i work. Basically, everybody is equal.

This hospital is actually ranked second in the world in its field.
Back to top
compubrain3000




Posts: 4094
Location: Egypt
PostPosted: Sun, 21st Sep 2008 16:36    Post subject:
TesterWS wrote:
Thanks leo, I'm already porting the app to delphi 2009 Wink

And no need for KaDao anymore, delphi 2009 can do it native.

I hope that the app will be finished by tonight.


Magnificent Smile
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73220
Location: Ramat HaSharon, Israel 🇮🇱
PostPosted: Sun, 21st Sep 2008 16:47    Post subject:
compubrain3000 wrote:
I've got full authority to use such an app. We have one manager and he told me to do whatever i see fit to solve the problem.

We don't have a hierarchy where i work. Basically, everybody is equal.

This hospital is actually ranked second in the world in its field.

Actually I like that. I'd prefer to have something that works but not checked, instead of having something that doesn't work well because a bunch of bureaucratic morons wouldn't allow the thing that works.
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 21st Sep 2008 16:59    Post subject:
Ah guys, no need to worry, I'll give the final version to compu, including it's full source code Smile
Back to top
compubrain3000




Posts: 4094
Location: Egypt
PostPosted: Sun, 21st Sep 2008 17:05    Post subject:
TesterWS wrote:
Ah guys, no need to worry, I'll give the final version to compu, including it's full source code Smile


Have you managed to get the printing to work?

Hopefully i'll get to test the program at work tomorrow Smile
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 21st Sep 2008 19:31    Post subject:
I thought the same.

The printing should be no problem. I'll test it later with my fiancees and a virtual printer Smile
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Mon, 22nd Sep 2008 17:19    Post subject:
OK I'm implementing the last part:
printing.

But you forgot to translate signature for me Smile
Back to top
compubrain3000




Posts: 4094
Location: Egypt
PostPosted: Mon, 22nd Sep 2008 17:25    Post subject:
Back to top
Razacka2




Posts: 2832
Location: Sweden
PostPosted: Mon, 22nd Sep 2008 18:06    Post subject:
kudos to TesterWS, nice job man Smile
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Mon, 22nd Sep 2008 18:13    Post subject:
Thx ppl, especially Leo Wink

You've got pm compu.
Hopefully the app will help you and the hospital Smile
Back to top
compubrain3000




Posts: 4094
Location: Egypt
PostPosted: Mon, 22nd Sep 2008 20:33    Post subject:
TesterWS wrote:
Thx ppl, especially Leo Wink

You've got pm compu.
Hopefully the app will help you and the hospital Smile


I can't tell you how grateful i am Smile

Will test it at work on Wednesday and hopefully post some pics.

Thanks goes to Leo for his help Wink
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Wed, 24th Sep 2008 17:18    Post subject:
Update? Smile
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73220
Location: Ramat HaSharon, Israel 🇮🇱
PostPosted: Wed, 24th Sep 2008 17:30    Post subject:
Cheers guys! Sorry I couldn't do more to help, but I'm so busy here with 4 of my projects, I didn't have time to do more.
Back to top
compubrain3000




Posts: 4094
Location: Egypt
PostPosted: Wed, 24th Sep 2008 21:06    Post subject:
TesterWS wrote:
Update? Smile


Well, it worked brilliantly Smile

The manager was very impressed and asked me to send you an official thank you note and a VIP invite to the hospital.

PM me your email and i'll have the note sent to you next week.

I was too busy to take any pictures, but i'll take some once we start using the program.

The manager also asked me to help implement the Cerner Millennium system Very Happy
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Wed, 24th Sep 2008 22:51    Post subject:
Wow Very Happy That sounds great Smile I don't know what to say Smile
Back to top
SycoShaman
VIP Master Jedi



Posts: 24468
Location: Toronto, Canada
PostPosted: Thu, 25th Sep 2008 03:01    Post subject:
compubrain3000 wrote:
TesterWS wrote:
Update? Smile


Well, it worked brilliantly Smile

The manager was very impressed and asked me to send you an official thank you note and a VIP invite to the hospital.

PM me your email and i'll have the note sent to you next week.

I was too busy to take any pictures, but i'll take some once we start using the program.

The manager also asked me to help implement the Cerner Millennium system Very Happy


Congraduations dude Smile


Back to top
Page 2 of 2 All times are GMT + 1 Hour
NFOHump.com Forum Index - General chatter Goto page Previous  1, 2
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group