| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Aug 05, 2002 4:41 pm Post subject: ohhhhhhhhhhhh no |
|
|
that is why i'am having problems darn it what can i do to get around this limit size?
thanks |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Aug 05, 2002 4:44 pm Post subject: also |
|
|
also to if i have it copy one line at a time instaed of a "normally" cut and paste would this get around the limit size?
thanks |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Mon Aug 05, 2002 4:51 pm Post subject: |
|
|
Hi Tim,
I don't currently see a solution for the size limit problem of VDS. This limit applies to many
other Windows applications too. You may want to consider splitting up your file and
allowing the user to select which part to view through a "combo" list box or simple buttons...
To do this you could load the full file into a list (created with LIST CREATE) and for example
to load "part 1" show lines 1 up to 600 from that list, for "part 1" lines 601 up to 1200 etc.
Tommy |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Aug 05, 2002 4:59 pm Post subject: it's a |
|
|
hello
its a program that uses the internet that coonects at a server and d/l txt files and VDS viwes then, the problem i'am haveing is that if the file size it around 68kb (soemthimg) like that it won't show the file  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Aug 05, 2002 5:02 pm Post subject: hummmm |
|
|
| hummm i swear i saw other post here by mac....but i don't see it again...i think i'am going blind |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Mon Aug 05, 2002 5:04 pm Post subject: |
|
|
Tim,
This topic consists of multiple pages, find the navigation links so that you can browse back
to the previous page of the topic, where Mac's post is listed. |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Aug 05, 2002 5:07 pm Post subject: |
|
|
Oops...
I saw that Tommy had answered your post as my post
loaded, so I immediately deleted my post (it was just
some questions). Apparently I wasn't fast enough...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Aug 05, 2002 5:08 pm Post subject: ok |
|
|
i think FOR now i will take the cut and paste code out....  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Aug 05, 2002 5:10 pm Post subject: i knew |
|
|
i knew i wasn't seeing things  |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Mon Aug 05, 2002 5:16 pm Post subject: |
|
|
I think a script like this should allow the list text to be divided over multiple parts.
This will only be useful for copying text though, if you were to paste text into this, the
changes would be lost after selecting a different part.
| Code: |
list create,1
list loadtext,1
"line 1
"line 2
"line 3
"line 4
"line 5
%%partlength = 3
DIALOG CREATE,Edit example,-1,0,432,265
DIALOG ADD,EDIT,eFile,8,8,416,216,,,MULTI
DIALOG ADD,BUTTON,bPart1,232,16,72,24,Part &1
DIALOG ADD,BUTTON,bPart2,232,104,72,24,Part &2
DIALOG SHOW
goto bPart1button
:evloop
wait event
goto @event()
:bPart1button
%%collect =
if @greater(@count(1),0)
list seek,1,0
repeat
%%collect = %%collect@next(1)@cr()@chr(10)
until @equal(@index(1),@count(1))@equal(@index(1),%%partlength)
end
dialog set,eFile,%%collect
goto evloop
:bPart2button
%%collect =
if @greater(@count(1),%%partlength)
list seek,1,%%partlength
repeat
%%collect = %%collect@next(1)@cr()@chr(10)
until @equal(@index(1),@count(1))
end
dialog set,eFile,%%collect
goto evloop
:close
|
|
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Mon Aug 05, 2002 5:20 pm Post subject: |
|
|
You could use VDSElm.dll to create a richedit dialog object. The richedit
object can handle bigger files a normal edit object can. The dll is
shareware though. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Aug 08, 2002 10:50 pm Post subject: |
|
|
| LiquidCode wrote: | | You could use VDSElm.dll to create a richedit dialog object. |
I believe the VDSOBJ.DLL can create the richedit, but I didn't know the VDSELM.DLL could...or do you mean HTML? _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Fri Aug 09, 2002 10:58 am Post subject: |
|
|
Oops Yes it did mean VDSobj.dll. It's sometimes hard to
remember what all the diff. dlls do!  _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Aug 09, 2002 12:01 pm Post subject: |
|
|
That's OK...I forget them too...  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|