forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


cut and paste code????
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Aug 05, 2002 4:41 pm    Post subject: ohhhhhhhhhhhh no Reply with quote

that is why i'am having problems Sad darn it what can i do to get around this limit size?


thanks
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Aug 05, 2002 4:44 pm    Post subject: also Reply with quote

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
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Mon Aug 05, 2002 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Aug 05, 2002 4:59 pm    Post subject: it's a Reply with quote

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 Sad
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Aug 05, 2002 5:02 pm    Post subject: hummmm Reply with quote

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
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Mon Aug 05, 2002 5:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Aug 05, 2002 5:07 pm    Post subject: Reply with quote

Oops... Embarassed

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 Smile

_________________
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
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Aug 05, 2002 5:08 pm    Post subject: ok Reply with quote

i think FOR now i will take the cut and paste code out.... Sad
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Aug 05, 2002 5:10 pm    Post subject: i knew Reply with quote

i knew i wasn't seeing things Smile
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Mon Aug 05, 2002 5:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Aug 05, 2002 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Aug 05, 2002 5:22 pm    Post subject: Reply with quote

Here's one way to select multiple list items...

http://www.vdsworld.com/forum/viewtopic.php?p=2651#2651

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Aug 08, 2002 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Fri Aug 09, 2002 10:58 am    Post subject: Reply with quote

Oops Embarassed Yes it did mean VDSobj.dll. It's sometimes hard to
remember what all the diff. dlls do! Smile

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri Aug 09, 2002 12:01 pm    Post subject: Reply with quote

That's OK...I forget them too... Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group