Search found 154 matches

by graves
Sat Apr 01, 2017 9:07 am
Forum: Tricks 'n' Tips
Topic: Text to XLSX
Replies: 7
Views: 5400

Re: Text to XLSX

Hi, Said
OK. It works correctly now.
Sorry for the "9E" but it's a product features code, and I need to use it there.

Best Regards
Joaquin
by graves
Fri Mar 31, 2017 11:42 am
Forum: Tricks 'n' Tips
Topic: Text to XLSX
Replies: 7
Views: 5400

Re: Text to XLSX

Hi Said,
Great job! Very useful!

But I found a problem on it, try with this values on a txt file:
888 274 91626 274/23262 1.00 1.00 27/02/2017 64I/KUMER 1.56 AR-BLUE 28 OBSEQUIO CLIENTE 9E

It produces an error in the sheet, at least with my Excel 2010.
If you delete the final "9E" value ...
by graves
Mon Feb 09, 2015 1:28 pm
Forum: Tricks 'n' Tips
Topic: PureBasic Interface to ImDisk
Replies: 41
Views: 41071

Re: PureBasic Interface to ImDisk

Hi again,
Logon as "simple user" (no Administrator privileges), and execute "imdiskint.exe":
Message: This will install ImDisk Virtual Disk Driver with the imdisk.exe coomand line tool and a Control, Panel applet ¿Continue?

Some time waiting, and ERROR message appears: Installation error

Then ...
by graves
Mon Feb 09, 2015 12:35 pm
Forum: Tricks 'n' Tips
Topic: PureBasic Interface to ImDisk
Replies: 41
Views: 41071

Re: PureBasic Interface to ImDisk

Hi, JHPJHP

ImDisk can't be installed without Administrator privileges (on XP).
But it says "Installation OK" and no error message is displayed.

Some like "You dont have Administrator privileges", and abort installation, would be very appreciated.

Excellent application. Just need a "key-to-open".
by graves
Fri Jan 30, 2015 9:44 am
Forum: General Discussion
Topic: 7Zip extraction code needed
Replies: 21
Views: 13316

Re: 7Zip extraction code needed

Hi FangBeast,
I've a "PureLZMA-500-Installer.exe" but not using, I don't know if it's functional on 5.31, if you need it I can upload and send you a link.
by graves
Fri Dec 05, 2014 1:22 pm
Forum: Coding Questions
Topic: How to know if a disk unit is connected?.
Replies: 2
Views: 2180

How to know if a disk unit is connected?.

Hi,
I've searched on the forum about this question, and no results.
I need to connect a Virtual disk in a unit selected by user, but previously I need to know if this unit is connected.
My approach is:
Units.s = "DEFGHIJKLMNOPQRSTUVWXYZ"
for n=1 to len(units)
chku.s = mid(units,n,1) + ":\"
if ...
by graves
Thu Dec 19, 2013 9:36 am
Forum: PureFORM & JaPBe
Topic: PureZIP library : ZIP / UNZIP files
Replies: 599
Views: 359929

Re: PureZIP library : ZIP / UNZIP files

Hi
Compiling with PB 5.21 LTS, the compiler says:
PB library missing Misc

PB has been removed it.
What is the solution?
by graves
Mon Sep 30, 2013 8:31 am
Forum: General Discussion
Topic: Starting PB Compiler from Notepad++
Replies: 5
Views: 2517

Re: Starting PB Compiler from Notepad++

Has someone tried Multi-Edit? (http://www.multiedit.com).

I use it for a lot of time and it is very rapid.
And you can define compilers for every language.
by graves
Sat Jun 01, 2013 9:00 am
Forum: General Discussion
Topic: Storing PureBasic internal dates in SQL
Replies: 8
Views: 3559

Re: Storing PureBasic internal dates in SQL

Hi,
When you store the date on PB internal format, the main problem is you can't use it with external SQL clients, like WinSQL, for any purposes to testing, raw changes, fast reports...

Why not use ParseDate to store and FormatDate to display?.
by graves
Wed May 15, 2013 8:11 am
Forum: General Discussion
Topic: encrypting pref files
Replies: 5
Views: 1440

Re: encrypting pref files

The problem is you can't do OpenPreferences from memory, a file is needed.

In this way, after decrypt, you need to save the file in plain text somewhere, and then delete it when used, that's not a good encryption system.

Another way is encrypt only the values ​​of each of the preference lines ...
by graves
Fri Apr 26, 2013 11:44 am
Forum: Tricks 'n' Tips
Topic: Retreive Contacts data from Outlook using COMate
Replies: 3
Views: 2629

Retreive Contacts data from Outlook using COMate

Hi,
I solved it in this way:
#olFolderContacts = 10
#olFolderSuggestedContacts = 30

XIncludeFile "COMatePLUS.pbi"

Global Outlook.COMateObject, NameSpace.COMateObject, Folder.COMateObject, Items.COMateObject, Contact.COMateObject
Global Command.s, property.s, DIM Propty.s(15)
Propty(01 ...
by graves
Mon Apr 08, 2013 8:29 am
Forum: General Discussion
Topic: Curious effect on RunProgram
Replies: 5
Views: 1797

Re: Curious effect on RunProgram

Hi, Danilo.
YES!!!
Compiling with CONSOLE option, it works correctly.
Many thanks
by graves
Sun Apr 07, 2013 8:15 am
Forum: General Discussion
Topic: Curious effect on RunProgram
Replies: 5
Views: 1797

Re: Curious effect on RunProgram

Hi,
Zach , it could be, but if I invoke FTP.exe from a CMD window, I say to FTP the file containing all commands, did not send one by one.
FTP receives the same command line in both cases, the only difference is the use of responses that makes PB

Danilo , it seems a reasonable explanation, but I ...
by graves
Tue Apr 02, 2013 10:32 am
Forum: General Discussion
Topic: Curious effect on RunProgram
Replies: 5
Views: 1797

Curious effect on RunProgram

Hi,
For testing pourposes I've write this program, calling "FTP.EXE":

nlog = CreateFile(#PB_Any, "TEST.LOG")
Program.s = "FTP.EXE"
Parameter.s = " -s:TEST.FTP 194.179.49.2"
WriteStringN(nlog, Program+Parameter)
npgm = RunProgram(Program, Parameter, ".", #PB_Program_Open|#PB_Program_Read|#PB ...
by graves
Mon Nov 05, 2012 6:03 pm
Forum: Announcement
Topic: PureBasic 5.00 final is out !
Replies: 57
Views: 23869

Re: PureBasic 5.00 final is out !

GREAT!!
Downloaded.