o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

enumerate collection in RichTextBox -

How do I print the items in my collection in a RichTextBox. If I try to show the items in my collection in debug.print, all the items in my collection show. So I know I have the enumeration part set up correctly. If I try to use the same process in the RichTextBox, it loops through the collection, but the items write on top of each other so the only item showing is the last item in the collection. I have the MultiLine option set to true.

[Edited by tspeiran on 03-20-2000 at 07:06 PM]

 

enumerate collection in RichTextBox -
How do I print the items in my collection in a RichTextBox. If I try to show the items in my collection in debug.print, all the items in my collection show. So I know I have the enumeration part set up correctly. If I try to use the same process in the RichTextBox, it loops through


For Loop.. HELP! Arrgghh!! -
Hi.. I have this property : Public Property Get NewEnum() As IUnknown 'this property allows you to enumerate 'this collection with the For...Each syntax Set NewEnum = mCol.[_NewEnum] End Property I am trying to use it to go through my collection of objects. mCo


Enumerating the Modules Collection -
Is it possible to enumerate the VB modules collection? If so, what is the syntax? Thanks in advance.


Requested Tip - Control Arrays! -
Ok Im going to nip this one in the bud. This is asked alot. Yes Control Arrays are still there in a sense. You just dont have the Index property anymore. You can add a control to a regular array or arraylist. BUT>>>>>>>>> Here is the problem. Dont do it


For Loop.. HELP!!!! -
Hi, VB Created this function for me.. Public Property Get NewEnum() As IUnknown 'this property allows you to enumerate 'this collection with the For...Each syntax Set NewEnum = mCol.[_NewEnum] End Property i dont know what IUnknown is but it compiles fine.. W


RichTextBox! Help! =(( -
Situation: There is a text in RichTextBox (with vertical ScrollBar). A Toddler position of ScrollBar is in middle. Problem: How it is possible to add the information in RichTextBox (in the beginning and in the end) that the seen part of the text and toddler ScrollBar remained on


IEnumerator -
Sorry for all the questions. I know that collection implement an interface called IEnumerator which returns an IEnumerable object type? Basically, its what is used to store collections and retrieve objects from a collection. It's used in foreach loops and to use them, the class in q


enumerate -
is it possible to enumerate the stirng table resources programatcially? i.e. step through every resource and LoadString?


Enumerate the NETWORKIPs -
Using GetHostName and GetHostByName API, I am able to get the IP of Local Machine. But, how will we enumerate all the Computer Names and its IPs, connected in a network (LAN). Which API is used for that?


Enumerate Windows (app only) -
I want to enumerate all the windows in MY application only. What I am trying to do is search all windows in my application, determine if the window is a Message Box (class name) and if it is, use SendMessage to close it. So how do I enumerate ONLY the windows in my application as oppos


richtextbox maximum length.. -
Im using a RICHTEXTBOX control, I just want to ask how many words and character can I save in a RICHTEXTBOX? I think MS Word is unlimited.. How about RICHTEXTBOX?


Rich TextBox Tabulation -
I use RichTextBox in a Project, When Im only using 1 RichTextBox control, the tab works as the MS Word. But when I use the 2 RichTextBox controls and press Tab, the focus goes to the other Richtextbox.. What code should I do to prevent it...? Help me men..


VB.NET RichTextbox vs VB 6.0 Richtextbox -
I am not familiar with VB.NET, but before I buy it, I would like to know if the RichTextBox is more advanced in VB.NET. (I use the RichTextBox in almost all my applications, but sometimes I am frustrated because it can't handle tables in VB 6.0)


collections help please!!! -
What exactly does a collection do? if i set a new collection in my form will i be about to use the collection in other forms? what is a collection of classes are there?? can only show me basics of a collection with examples add , remove , items etc keywords? understanding is m


[2005] Need a way to store and retrieve 31 Strings in a Property -
Since I haven't had much luck solving this problem myself, I'd thought I'd throw out what I'm trying to solve and see if someone has another way of doing what I want. I have a CustomCalendar control. It contains 31 RichTextBoxes (one for each day of the month) where data can be ente


Comparing info in a Collection -
I am currently using a collection to store data about products. I want to compare fields in 2 different collection items, and then sort by which has the greatest number in the collection item that is being compared. For example I have: Collection Item 1 has a field names matches


Richtextbox / Textbox -
i was just wondering if there is way to save a richtextbox so that if u open it in notepad it doesnt show all that Richtextbox jibberish stuff, is there a way to use a Textbox instead of a Richtextbox ? if so how ?


[2005] Enumerate Available SQL Servers -
In addition to the default components the loginform template, I need to be able to enumerate all the available sql servers and let the user pick which one they want to connect to from a dropdown box. How would I do this?


Enumerate NIC -
Anybody know how i can enumerate nics?


Collection in dll be accessable from other dll. -
Ok, here is what I need. I need to have a dll that will hold a collection of connected sockets. A third party dll needs access to this collection. I have tried this many times before, but whenever I try to access the collection which I tried making static, the thrid party dll just gets


adding to a collection -
I'm unfamilar with how to add an item(record) to a collection. I've already established the collection but keep getting errors on the add. My code looks like: collection.add ( When I put the first ( in place VB opens up this info box listing all my collection elements and their


Unicode in RichTextBox -
Dear sir: I'm trying to display unicode (e.g. U+0960) in TextBox (MS form 2.0 controls) and RichTextBox ( Microsoft RichTextBox 6.0 (SP4) ) controls. It works in TextBox, but not in RichTextBox. I think RichTextBox after 2.0 supported unicode. I also tried by changing several unicode


Want to know what a user put into my RichTextBox -
I am using a RichTextBox and a user paste a jpeg picture (or anything else) into the RichTextBox. How can I tell just what the user just did???? ie.. Filename, ext, type of file, etc... What I want to do is to have a user put a picture into a RichTextBox and I want to convert wha


Property with Collection (Of RichTextBox) -
OK, I've created a custom Calendar control that works very well. I'm now trying to provide the user a way to load and save the Calendar data. I've chosen to save the data in a Collection (Of RichTextBox). Here's the Property definition: Code: Private m_MonthItemCollection A


[2008] new line in richtextbox/ saving a richtextbox -
How do i get a result to goto a new line in a richtextbox? Also how do i save the entire contents of a richtextbox? Help would be great. thanks


enumerate resource file contents -
Hey peeps! Hope you can help me with what I am sure is avery simple thing, but cannot find an answer online. I have a resource file that contains smileys for a desktop application I am writing. The resource file may change from time to time with extra smileys added and some remov


HiperLink in RichTextBox with Dinamyc Code -
Hello I need your help, how i can embed a Hiperlink or a button like heperlink in a RichTextBox ??? The RichTextBox must open a PDF File, the Hiperlink or Button must be generated in a exact location of a text in a RichTextBox. Other cuestion : Can i justify the text in a


add smilie images into RichTextBox -
Hi All of u, I want to add smilie images into RichTextBox in Visual Basic like same as Yahoo messanger. I want to implement it on my RichTextBox. don't send any quaries if you have these two logic. 1. copy picture into clipboard and paste it into RichTextBox from clipboard.


[2005] Lock or diable typing in Richtextbox -
so I have a large sized Richtextbox in my project. I have mulitple lines of writing in the richtextbox and the writing changes with buttonclicks, and is saved in and RTF file with a different buttonclick. It is set up perfectly for my project, EXCEPT for the fact that anyone can clic


RichTextBox (Simple) -
Hullo again, Can anyone tell me why I can't say: Dim myRTB As New RichTextBox or Dim myRTB as RichTextBox Set myRTB = New RichTextBox ?? It keeps saying "Invalid use of New keyword" I've tried RichTextLib.RichTextBox but same answer. I can't find a richtextbox in the referen


VB6 RichTextBox -
Dear All, How to go to specific line number in Richtextbox? I have create a application with using RichTextBox 6 in Visual Basic 6. The RichTextBox document have 100 lines, i want go to line number 10. How to possible? Please help me in this regards. Warm Regards Ram


Help~ About RichTextBox Component.... -
I found that we couldn't change the background color of text in richtextbox. I mean if I'd like each text in its own fore color and back color as we could do in MS Word, it seems that RichTextBox didn't support that functionality. So, does anyone could give me any advise how to do tha


Free update for RichTextbox -
I noticed at http://www.richtextbox.com/richtextbox/download/ that an update for RichTextbox 1.0 can be purchased which supports tables with borders, removal of rows, etc. However, it is far to expensive for me. Is there any free update somewhere which supports tables?


Collections, classes and New() -
I have a "master" collection and a temporary collection, each is based on a class that I defined. The "master" collection exists as a private form variable. The temporary collection exists in a sub on that form. In the sub I set my temporary collection equal to t


Can you solve the mystery of IUnknown -
Hi, I found a nice piece of code that is working fine. But It declares the function as type IUnknown. I figured out that is some kind of structure. but I don't understand its working and function propperly (Guess I'm Thick) this is the code I saw it in: ' Implement support


How to get values from session objects -
I ahve a collection object saved in the session I have also declared a new collection object When I do the following(written from memory ) dim newcoll as new collection newcoll = Cast(Session("Collection"), Collection) I get only a reference to the session colle


UTF-8 support for RichTextbox -
Anyone has any idea of outputting utf-8 characters into a richtextbox ? So far, none of the thread here have discuss about it. Can it be done in the first place ? Can a UTF-8 character be showed in richtextbox ? So far when I tried to output utf-8 characters from my database, it pro


adding a collection to an arraylist collection -
for instance, i have a people class and a people collection. i would like to create a phone collection which consists of phone class and phone collection and then attach this to the people class object. so, in effect, i can call each people item and have the phone collection


Enumerate through Access Objects -
Anyone have a bit of VB code to enumerate through an Access MDB, listing each Table name, Query Name, Form Name, Report Name, Macro Name and Module Name? Basically I'm trying to compile a list of ever object's name in a particular Access database (yes, it's HUGE.) Thanks! -jrh


Struggle with collections -
Is it possible to know on what index you are in your collection? I work with VB6 but because I'm a straight object oriƫntated [Edited by MartinLiss]I work with classes (yeah right). So I've got a collection of this class. Problem is on a certain moment I want to change the data of one