Search Results - VBForums

Search:

Type: Posts; User: georgekar

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds; generated 51 minute(s) ago.

  1. Re: Create COM Interfaces - No TLBs

    @Lavolpe
    I think that we have to read about Monikers.
  2. Re: Create COM Interfaces - No TLBs

    The problem is that using a com object you need two things. A way to deal with data transfer and operations, and for that we can say about an interface. An other way is the know how to do things in...
  3. Re: Create COM Interfaces - No TLBs

    Lavolpe
    Look this code. You have to make a reference to tlbinf32.dll (read that)



    This work not only if a tlb is in use but reading the registry too.
  4. Re: A message list about any installation problem in M2000

    Latest revision 15

    Now undo for editor work very very good....
    Also F4 and F5 used for changing names...(F4 change the case to any combination and F5 is a replace command)
  5. Re: Μ2000 Interpreter with Greek and English commands

    Latest revision 15

    New commands for word count and unique word count in Document variables
    We can open for edit a Document variable using "word" or "code" way to find words. By default is word...
  6. Christmas Edition

    Developing M2000, I found minor bugs like in the undo system in TextViewer. It was difficult to found that because the faulty issue came up when we do three copies from the text and in specific...
  7. Re: [RESOLVED] How to show picturebox outside UserControl

    Α scrollable map ?
    So this UC is in a form or not..??
  8. Replies
    10
    Views
    401

    Re: Simulating pointers in VB

    Is not the same. There is a counter for references, so if you forget to break the reference then your object stays alive...
    What is like the pointer..is that you can use the object as data holder...
  9. Re: [RESOLVED] How to show picturebox outside UserControl

    @Jonney
    You can pop an info box...everywhere and every time you want because you don't have to catch the X and Y of mouse in a mouse event. I give you the GetCursorPos and two functions to read X...
  10. Re: [RESOLVED] How to show picturebox outside UserControl

    Subclassing ??????????
    I think you need only a timer for auto close, then you can show what you want by reading mouse absolute values.



    Type POINTAPI
    X As Long
    Y As Long
    End...
  11. Re: How to read a string until a certain character(s) are reached?

    :blush:
    @DataMiser
    you are right..........
  12. Replies
    10
    Views
    401

    Re: Simulating pointers in VB

    Lavolpe,
    pointers are used for indirect addressing, mostly. You can see offsets that used as indexes, although indexes in addressing modes are values that can be increments or decrements by a...
  13. Re: Using Line Input for Unicode (UTF-8 included), the fast way

    If a code run...isn't means that is ok..So I through some bugs, and I add Save routines
    mode 0 is for unicode LE-16
    mode 1 is for unicode BE-16
    mode 2 is for unicode UTF-8
    mode 3 is for ANSI...
  14. Replies
    10
    Views
    401

    Re: Simulating pointers in VB

    This is an example of using GlobalAlloc()
    Here we don't free the hMem (memory handler) because that is taken from clipboard...


    Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags...
  15. Replies
    10
    Views
    401

    Re: Simulating pointers in VB

    Private Declare Sub CopyMemory Lib "kernel32.dll" Alias "RtlMoveMemory" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As Long)
    Private Declare Sub GetMem1 Lib "msvbvm60" (ByVal Addr...
  16. Replies
    10
    Views
    401

    Re: Simulating pointers in VB

    Yes. You can use pointers as addresses in long variables.
    What you don't have at a first search is an VB allocating system to allocate memory. This can be done from api call.

    This is a quicksort...
  17. Re: How to read a string until a certain character(s) are reached?

    These are my lovely routines...
    You can make an xml or a html parser using these..
    A$="Hello how are you?"
    B$="ar"
    ' a$ is passing by reference so we get a changed a$
    C$=GetStrUntil(b$,a$,false)...
  18. Re: [RESOLVED] How to show picturebox outside UserControl

    Why he can't use a second form as tooltip? If main form is parent of that form then we can be minimized both if we minimized the parent.
  19. Re: Classic VB6 to be supported at least through 2024.

    http://www.jabaco.org
    Vb syntax to java byte code.
  20. Re: how to split text if limit over

    The problem with vb is double, one for the basic code and one for ui. If anyone see for the first time a language, when showing the IDE of vb6 then has to worry about how can output something. OP...
  21. Re: how to split text if limit over

    Your code at most situation may work. If we have one word with length bigger than the limit then you display nothing...
    (I can't understand ...the verb gleaned, and what supposed to say...)
    My...
  22. Re: how to split text if limit over

    godfathers...
    you have a totally wrong view about variables...
    First forget the message box...This is not for displaying big lines.
    Try that ..you get 2 lines in one msgbox...
    msgbox "hi am rahul...
  23. Re: how to split text if limit over

    Yes you are right about the variables names. In the example there was nothing to descriptive so they take an "name as noname". But my example was to show how we can split a string for a given number...
  24. Re: how to split text if limit over

    Yes by splitting the text, but the splitting are in spaces only. How can you do when you have also this - for a break too?
  25. Re: how to split text if limit over

    If the only problem is the use of left$ and mid$....
    a$=left$(t$, 17)
    b$=mid$(t$,18)
    Use a$
    make b$ the new t$
    t$=b$
    Stop when t$=""
  26. Re: how to split text if limit over

    You need a rext wrapping function. You can use textwidth method to find the length in twips of a given string. So the problem changed to how you feed that string. You can feed it with a new word with...
  27. Re: How to efficiently divide a string array into several arrays under certain condit

    There is a reply for #19, or how can we use line input (a custom one)...for any kind of text, ANSI and UNICODE...using our own buffer to speed up the process.
  28. Using Line Input for Unicode (UTF-8 included), the fast way

    For some days ago I was involved in the word count routines. I realize that a speed contest for some extra ms was not what we call productive. Productive can be a searching utility for those words....
  29. Re: Rotated Sprites (called Players) in M2000

    With a simple way we make a sprite on the screen...
    Here is a screen shot with all commands to do...without make any program. Just we type some commands
    First we make a string variable A$
    Second...
  30. Re: Editing problem: How to manage CrLf marks for Cut/Copy

    The handling of vbcrlf is tricky...Because we have two views. A cursor inside and a cursor outside. The outside cursor is what we see. The inside...cursor never see crlf, because there is no crlf in...
  31. Replies
    73
    Views
    2,121

    Seven Examples...

    I do some practice...with examples..to optimize them. I see that making big arrays from the start is worst scenario from making them at steps. So here is the 7 example program...I conform to the...
  32. Re: How to efficiently divide a string array into several arrays under certain condit

    For M2000 I make a Line Input for unicode (the windows format..not all types), and many other.

    Here OPEN command use the WIDE to handle unicode. So Line Input can work for ANSI if we use OPEN...
  33. Re: How to efficiently divide a string array into several arrays under certain condit

    Don't say that " at least 2GB of RAM installed". In my Virtualbox I give 1 Gbyte...for Xp and the same for Widnows 7 (both can run...the same time...in Ubuntu Studio, AMD6100 4Gbyte ram). I have...
  34. Re: How to efficiently divide a string array into several arrays under certain condit

    Olaf,
    this function GetLinesFromANSIFile = Split(StrConv(.Read, vbUnicode, LCID), LSep) hold twice the memory of text or not???
  35. Re: How to efficiently divide a string array into several arrays under certain condit

    I think the loading of a big file is a bad function. A big file for process can be read partial. For view if only forward movement allow, only new lines for view, then partial load is ok. So we need...
  36. Replies
    73
    Views
    2,121

    Re: [RESOLVED] Fast count of words in a list

    No, if you use an array as the second list you slow the process...because you have to implement the search routine...So use ms dictionary...to use a fast search...
  37. Replies
    73
    Views
    2,121

    Re: [RESOLVED] Fast count of words in a list

    I think a sorted list 1 give a sorted list2. If you have list 2 auto sorted then a non sorted input maybe is a lost of speed, but not much. So use not sorted list 2 and sorted list 1.
  38. Replies
    73
    Views
    2,121

    Re: [RESOLVED] Fast count of words in a list

    I think windows process in high priority messages for controls...so the search in a listbox is very fast.
  39. Replies
    8
    Views
    371

    Re: Creating Access Database via Code

    I change M2000 to work with ADO, from DAO. So in signature you can find the source, and the databaseX.bas, a module with all subroutines and functions to work with dao. Also I use a system to hold...
  40. Replies
    73
    Views
    2,121

    Re: Fast count of words in a list

    Describe better...The first item, in position 0, has a variable used as offset to start, named ILast. So the next will be 1, next 2, so there is a line to advance the offset to next one lLast=L1.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.