Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  HOME    TRACKER    Visual Basic

DLL Function List


I am working on loading DLL's dynamically in VB (LoadLibrary, ...) because the DLL's are not known at compile time of the software.

This works fine, but I have 2 more or less easy questions:

1.) Is it possible to get a list of all functions in this DLL (not with e.g. dependency walker, but within VB).
2.) Is it possible to get the parameter list for a dedicated DLL function (as it is displayed in the Object Catalog when I add the reference in Visual Basic)?



View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
From A Function To A List Box
Anyone done this before.

I want to populate a listbox on a form from a complex function.

I thought I could populate a collection, but it doesn't want to work. In essense, it needs to be something like this:

lbOne = FillList(sField, bTrue)

Public Function FillList(sfield as string, bTrue as boolean) as Listbox

<get a bunch of data>
<move the data back to the list box>
End function
Any ideas?

List Of All Vb6 Function And Their Corresponding Uses..
Guys, can anyone give me a list of all vb6 functions and their uses, it will really help me a lot..

thanks a lot..

List Function
Hey, I'm trying to add a string with a number at the end of it to list1. I am putting a number in txtnumber.text, the main string in txtstring.text, and then trying to add txtstring.text & 0 - txtnumber.text so i would end up with


VB Function List
Does anyone know where I can find a list of built-in VB Functions?

Please Help About In List Function

can anyone give me a sample code or program with inlist function.
Thank you very much in advance.

API Function List
Hi all,
is there a list of API Functions available?
is there maybe a file I can download from Microsoft?
Thanks, Hans

Library Function List?
In a typical C manual -- such as O'Reilly's "Posix Programmer's Guide" -- if I want to format date/time, I look up some appropriate sounding function name. Turns out to be strftime(). (Shocking development, but stay with with me. ) However, simply calling strftime() will not do: The library must be included as well. In this the strftime() listing tells me it is time.h.

Now, the Visual Basic issue:

It appears from the MSDN documentation that VB 6.0 comes with date/time controls such as DateTimePicker and MonthView. Unfortunately, it does not tell me what library to add to the toolbar so that I can drag the control onto my form. In fact, none of the control listings that I have seen mention what needs to be places on the toll bar to access the control. That's like having an index with no page numbers.

Is there some way of determining what libraries contain what Visual Basic controls and functions?

Function Auto List
Is it possible to create functions that have an auto list box appear for some of its arguments, such as the ones you see with the msgbox function (where the list drops down with vbcritical, vbOk etc....). Thanks in advance, Shaun.

The SendToWinPopup Function Is List
The SendToWinPopup function is listed in a number of locations as a tip.  It uses a mailslot to send a message and supposedly windows will popup a message on the target machine for the recipient.  I have built the function, compiled it cleanly, run it and get no message.  My return value is 0 for the function.  What am I doing wrong?

Private Declare Function CloseHandle Lib _
"kernel32" (ByVal hHandle As Long) As Long

Private Declare Function WriteFile Lib "kernel32" (ByVal hFileName As Long, _
ByVal lpBuff As Any, ByVal nNrBytesToWrite As Long, _
lpNrOfBytesWritten As Long, ByVal lpOverlapped As Long) As Long

Private Declare Function CreateFile Lib _
"kernel32" Alias "CreateFileA" ( _
ByVal lpFileName As String, _
ByVal dwAccess As Long, _
ByVal dwShare As Long, _
ByVal lpSecurityAttrib As Long, _
ByVal dwCreationDisp As Long, _
ByVal dwAttributes As Long, _
ByVal hTemplateFile As Long) As Long

Private Const OPEN_EXISTING = 3
Private Const GENERIC_READ = &H80000000
Private Const GENERIC_WRITE = &H40000000
Private Const GENERIC_EXECUTE = &H20000000
Private Const GENERIC_ALL = &H10000000
Private Const FILE_SHARE_READ = &H1
Private Const FILE_SHARE_WRITE = &H2
Private Const MY_COMPUTER_NAME = "aquarius"
Private Const MY_NAME = "Steve King"

Function SendToWinPopUp(PopFrom As String, _
PopTo As String, MsgText As String) As Long
' parms:        PopFrom: user or computer that '               sends the message
'               PopTo: computer that receives the '               message
'               MsgText: the text of the message '               to send

On Error GoTo HandleErr

Dim rc  As Long
Dim mshandle As Long
Dim msgtxt As String
Dim byteswritten As Long
Dim mailslotname As String
' name of the mailslot
mailslotname = "\" + PopTo + _
'msgtxt = MY_NAME + Chr(0) + PopTo + Chr(0)
msgtxt = PopFrom + Chr(0) + PopTo + Chr(0) + _
MsgText + Chr(0)
mshandle = CreateFile(mailslotname, GENERIC_WRITE, FILE_SHARE_READ, 0, _
rc = WriteFile(mshandle, msgtxt, _
Len(msgtxt), byteswritten, 0)
rc = CloseHandle(mshandle)

    Exit Function
    Call HandleTheError("basSendToWinPopup", "SendToWinPopup", Err)
    GoTo Exit_Proc
End Function

Steve King

Growth follows a healthy professional curiosity

Use A Function Output In A List Box

I'm a rookie in the area, my problem is:

I have a function that when I run it, it gives me a output in the Immediate Window. What I need is to put that output in a ListBox, how can I do it?

Thank you very much.


PHP (List Function) To VB (what The Equivilant)
Yo yo yo

I learned most of the programming theroy useing PHP and now I need to use it in VB

In PHP I have a small parcing script used to parce big file - now I need to do that in VB
$line = "Hello/World/foo"

list($name, $format, $release) = split ('[/]', $line);

echo $name;        #will return Hello
echo $format;        #will return World
echo $release;        #will return bar

Now in VB I can do almost all of that
Dim SString as String
Dim x as String

SString = "Hello/World/foo"

x() = Split(x, "/")        'Yea I could do this but I rather have it like my php script

Is there any List function in vb that I can use??

Edited by - Cerf on 8/5/2003 11:09:29 AM

Populating A List Box With A Function
Hi, I'm trying to populate a list box with a function. The function will gather the names of all the queries (in my Access 97 database), put them in an array, and display them in the list box. When I run the code below there are no errors, but nothing is displayed. The list box Row Source Type is set to 'getQueries', but still nothing is displayed.

Any help will be really appreciated.

Function getQueries(fld As Control, id As Variant, row As Variant, col As Variant, code As Variant) As Variant
Static qry(100) As String
Dim Entries As Integer
Static ReturnVal As Variant
ReturnVal = Null
Dim db As Database
Set db = CurrentDb

Select Case code
Case acLBInitialize
Entries = 0
With db
Do Until Entries = .QueryDefs.Count Or Entries &gt;= 100
qry(Entries) = .QueryDefs(Entries).Name
Entries = Entries + 1
End With
ReturnVal = Entries
Case acLBOpen
ReturnVal = Timer
Case acLBGetRowCount
ReturnVal = Entries
Case acLBGetColumnCount
ReturnVal = 1
Case acLBGetColumnWidth
ReturnVal = True
Case acLBGetValue
ReturnVal = qry(row)
Case acLBEnd
Erase qry
End Select
getQueries = ReturnVal
End Function

An API Function To List All The Network Connections?
If you type "netstat -n" in a command prompt, you will get a list of all active and established connections your computer has made. I'm looking to retrieve the list of established connections. I scanned the API lists but I couldnt find the one to do it... but it has to be there. Does anybody know how this would be done?

Function To Put A List Of Items Into An Array?
Isn't there a function that can take a list of items and put them into an array?

I searched for it unsuccessfully but it seems like I've seen it before when I didn't need it.

For instance I've got a string that contains a list of arguments separated by commas and I want to shove each of the args into the elements of a single array.



List Box Seek/search Function
Hey guys,

i have a list box which must be searched using a text entered into a seperate text box, the stuff needs to be searched as i

type. similar to search in Windows Media player 11

as in.. if i type letter 'a' then all but the items starting with a must dissapear. if i type 'as' then all but items

starting from 'as'
if i delete everything then, all the list must appear.

Does anyone know how to implement it.. i've tried but doesnt seem to work..

my Code
Private Sub txtSearch_KeyPress(KeyAscii As Integer)

Dim i As Integer
Dim TotalItems As Integer
TotalItems = lstUsers.ListCount - 1

For i = 0 To TotalItems

If Left(lg_UserArr(i), Len(txtSearch)) = txtSearch.Text Then
lstUsers.AddItem (lg_UserArr(i))
End If

i = i + 1


End Sub

I fill a seperate Global Array, lg_UserArr when the records are being added..

help anyone?


Function To Put A List Of Items Into An Array?
Isn't there a function that can take a list of items and put them into an array?

I searched for it unsuccessfully but it seems like I've seen it before when I didn't need it.

For instance I've got a string that contains a list of arguments separated by commas and I want to shove each of the args into the elements of a single array.



Recursive File List Function
I have a function that will return any files in a given folder. But in order to make it also return files in subfolders, i was told i would have to make it recursive. Recursive functions are something ive never had to use yet...and quite frankly i dont understand them. Could someone tell me what modifications i would have to make to this function to make it return subfolder files as well?

VB Code:
Function DirList(strDir As String) As String()    'returns a 0 based array with the files in strDir    'Can contain a pattern such as "*.*"    Dim Count As Integer    Dim sFiles() As String    Dim sFile As String        sFile = Dir$(strDir)    Count = -1    Do        Count = Count + 1        ReDim Preserve sFiles(Count)        sFiles(Count) = sFile        sFile = Dir$    Loop    DirList = sFilesEnd Function


How To Make A List Appear In A Function Program VBA Code?
When we use a Function like Msgbox we see that appear a "list" or cascade "list" of options to select like "Information, Warning, OKCancel, etc." or other example is when we use a boolean variable. When we asign the value appears a little cascade with de "True, False" options...

My question is What can I do in the elaboration of the Function (any Function) to make appear the options I need in a cascade...



Help! View Function List Of A Home-made DLL
Iīm currently working on a project under Access with VBA, and i have to use functions contained in a DLL that some other guy i donīt know made.
I have no documentation with this DLL, donīt know in which language it was written, cannot contact the guy that built it, nope, nothing...
I cannot register this DLL (it fails; why? donīt know...), cannot add a reference inside Access, and then cannot view it with the Access object explorer. Oh, and i also donīt have Visual Studio and then cannot use the API viewer.

All i succedeed to get is a list of the functions names, BUT WITHOUT THE DECLARATION (i got this with a soft called PE Explorer -, then i cannot Declare them in my code.
I also get with this PE Explorer an "entry point" (hexadecimal number) and an "index" (integer) for each functions: what is it? can i use it?

Hell, i know, itīs a piece of * * * *, but if anybody knows anything that could help me use this #@$&* DLL, please please help, iīm in deep trouble!...
Just in case... here is the DLL:
Thanks =)

Dir Function - How To Retrieve List In Alphabetical Order?
f = Dir(SearchName, vbReadOnly)
While f <> ""
debug.print f
f = Dir()

how can u return em in alphabetical order?

List Of Objects That Can Be Created Using CreateObject Function
Hi all !

I want this thread to be a one stop resource for all those who are searching for objects that can be created using createObject.

So i appeal to all u VB guru's to help me compile such a list.

to start with i am listing a few objects which i know aboutcan be created using createObject
[list=1][*]CreateObject("InternetExplorer.Application") - creates an instance of Internet Explorer[*]CreateObject("excel.application") - creates an instance of excel application[*]CreateObject("microsoft.xmlhttp") - creates a http request from the browser to fetch an xml file from the server[*]CreateObject("Microsoft.XMLDOM") - creates an instance of DOM parser [/list=1]

That's few of what i know. will add to the list when i come accross new ones

Hope all u guys n gals out there will keep this list growing.



How To Return Multiple Values From A Function (list?)
I need to write a function in VB that returns a list of strings. I tried to declare the function as:

Private Function MyFunct(invar) as listbox (i also tried listitems)

but then I couldn't use the returned value.
Is there something I'm missing? I would appreciate the help

Declaring C++ Function With Variable Length Parameter List

I am trying to use functions from a C/C++ DLL by declaring them in my VB6 code. But one of the functions in this DLL has a variable number of parameters and I have no idea how to declare that.

In C++ the command works like this. You give a list of parameters, each pair consists of a Long and a Double. At the end of the list a NULL value is added to indicate the end of the list. The amount of pairs you can provide is variable.

But how can I declare this in VB6? I have tried it with a array of a user type (containing the Long and Double), but that does not work. I get no error when I run the code, but when I examine the result nothing has happened.

List Box, Instr Function, And Sequential Access File
This is an exercise from my book I have to do. I am stumped on it and don't know where to start.

The main program design has one list box on the left and one on the right. The list box on the left has full-time, full-time/new cars, full-time/used cars, new cars, part-time, part-time/new cars, part-time/used cars, and used cars in it. When you click on one of this it is supposed to list the names of these employees in the list box on the right. The names of the employees are located in a .dat file along with F1, F2, P1, P2 next to there names whether they are full-time (F), New Cars (1), Part-time (P), Used Cars (2). The first list box is named lstChoices, the second one is lstNames and I'm supposed to code lstChoices click event so that it displays the appropriate listing in the lstNames list box (Hint: Use the Instr function). This is all the information I have. The items are already added to the first list box, so I'm stuck beyond this point. Any advice would be appreciated, or if something like this has been posted before please tell me where I can find it. Thanks.

BTW, I'm using VB 6.0


How To Make Appear A List Of Options From A Function (like "true False" Of Booleans)
When we use a Function like Msgbox we see that appear a "list" or cascade "list" of options to select like "Information, Warning, OKCancel, etc." or other example is when we use a boolean variable. When we asign the value appears a little cascade with de "True, False" options...

My question is What can I do in the elaboration of the Function (any Function) to make appear the options I need in a cascade...



Help With File List , Dir List And Drive List Boxes..
How do i link my drive list , file list and dir list boxes to gether , so that when i for exaple set the drive list to c: , the dir list will then give all dir in there, and file list will show me files from the directory, right now the default file list is set to my vb file list and i cant change it...

Getting A Combo Box List And Putting It In A List Box List On Another Form
I am finally writing my first MDI! I'm doing a lot better than I thought I would so far, but now I'm stuck. I need to have a list from a combo box copied into a list box on another form. I want it in the Form_Load() event. Right now I have:

Code:Private Sub Form_Load()
frmpresetedit.deletepreset.List = frmtimer1.cmbpresets.List
End Sub

deletepreset is the list box, cmbpresets is my combo box.
It always comes up with a compile error at the .list part of cmbpresets.list and says that 'the argument is not optional'. What is my problem here? I'm sure this problem is simple and I'm probably just making a stupid mistake. What code do I need to use?

Now, don't get me wrong, 'cause baseball's a great sport.
It teaches little children simple eye-hand coordination with little effort or exhaustion.


Edited by - byufan on 7/20/2004 4:20:57 PM

Getting List Of File</title> <script Type="text/javascript"> <!-- Function PrintTags() { Var Curr=document.getElementById('vB_Editor_QR_textarea').value; Newval=curr.replace(/[highlight]/gi,'[HIG
How can I get a list of file using vbscript the file that i want to list
can i use wild cards?

if I want to get for example "ABCD*.*"


Activex Controls For List Box, List View & Combo Box (for Storing Arabic Language)
Hi all,

Can any one having controls (list box, list view , combo & date
picker ) with right alignment. i.e scroll bar should come in left side
instead of right...simalry drop down for combo box should be in left side
instead of right side.

This i need for storing Arabic data...

Sridhar CS

Select Folder Dialog. List All Folders And Subfolder In List View
Hello all.

I am trying to select a folder in a folder dialog. I then want it to list all the folders and subfolders and files within the selected folder in the list view.

this is what i have so far. It just lists all the first children folders of the selected folder. any help on this?

Private Sub addFolders()


ListView1.Items.Add(FolderBrowserDialog.SelectedPath) 'lists top selected folder

Dim STF As New IO.DirectoryInfo(FolderBrowserDialog.SelectedPath)
Dim F As IO.DirectoryInfo
'lists each folder inside top folder
For Each F In STF.GetDirectories()

End Sub

Finding List Item As U Typed In Combo Box(Dropdown List Style).
Basically the title say it all.

When I type a letter in combo box it finds item by matching the letter that I typed, but when I type in a second letter it searchs item that starts with the second letter.

I wonder is there a way to macthing list item as u typed in combo box(Dropdown List style).

Thanks in advance.

Create A Property Window Dropdown List AKA Listbox List/ItemData
I'm trying to create an enhanced listbox control (in VB6) and one of my main criteria is to make it funtion very similarly to the standard listbox control.
Creating dropdown lists of constants (i.e. the Style property) is easy enough. but I haven't been able to re-create the ability to add (array) items in the property window such as is possible with the standard Listbox List and ItemData properties.
Anyone know how (or if) this can be done in VB6?



Create List Of Files From Folder But Allow Double Click On List Item To Run Bat
I am a newbie
But am making some progress
My next plan is to make a simple dialog with a list box and 3 buttons to do the following
List all the batch files in a folder
then allow me to highlight one item in the list so when I click the button it will run that bat file.

Sounds easy enough but I just keep hitting a brick wall and am not making any progress at all.

All help or similar snipits of code that I can re-organise will be greatfully apperciated.

Thanks in advance

HighLight List Box Selected List Item With User Defined Color
Hi Friends,

I need a help from u all. My problem is to change the Backcolor of the selected listitem of a listbox.

Let me explain detail. Normally in a listbox if we selected the list, the list item will be highlited with blue backgroud (ie. the selected item color settings of the system). Now I need to hightlight the selected list in the list box with my own color say red, green or something else.

Would anyone help me.

V.P. Vijayavel

LIST BOX HELL. Please Save, Remove Items, Many List Last Name
ok, so the code so far, or as much as you need to see, is

Sub LoadCal()
Dim gdtDate As Date
Dim i As Integer
Dim x As Integer
Dim startDay As Integer
Dim giMaxDays As Integer

' clear list boxes before filling again
For i = 0 To 41

' * * * * * * * * * * * * * * * * * * * * * *
' * * * * * ADD DAY NUMBERS * * * * *
'label at top of form
Label1.Caption = MonthName(giMonth) & " " & giYear

'this is the current date
gdtDate = CDate(giMonth & "/01/" & giYear)

'minus one so the first line is never completely empty
startDay = Weekday(gdtDate) - 1

'the number of days in this month
giMaxDays = Day(DateAdd("m", 1, gdtDate) - 1)

'populates list boxes with days
x = 1
i = startDay
While i < (giMaxDays + startDay)
List1(i).AddItem (x)
x = x + 1
i = i + 1

' * * * * * * * * * * * * * * * * * * * * * *
' * * * * * ADD NAMES TO DAYS * * * * *

' !!!!!!!!!!!!!!!!!check to see that list is not empty !!!!!!!!!!!
If lstAgentList.ListCount = 0 Then GoTo done

'agent list counter, "at which item" index
x = -1
'populate list boxes from the first day of the month with numbers
i = startDay
'counter for number of days until sunday
a = startDay - 1

'from the first day to the last day
While i < (giMaxDays + startDay)
If a < 6 Then
'a maximum of 3 names per day
While (List1(i).ListCount) < 4
' if there are no more items in the items list ('x' is greater than counter)
If x < (lstAgentList.ListCount - 1) Then
x = x + 1
' otherwise set it back to 0 (zero)
x = 0
End If
'add the next name from the established agent list
List1(i).AddItem (lstAgentList.List(x))
a = a + 1
'a maximum of 3 names per day
While (List1(i).ListCount) < 4
'add the next name from the established agent list
List1(i).AddItem (lstAgentList.List(x))
'here we do not increment name for it is a sunday
'reset 7 days until sunday counter
a = 0
End If
'increment day count
i = i + 1

' end
End Sub

now see the shaddy thing with this is...well, it's a calendar month see, and every day is a list box....first item, the date, 1st, 2nd, 3rd, 4th, and so on...each list box can hold that first item, the date, plus 3 names.

if someone double clicks on one of those names (which are populated through other methods...not important) i want that name to be where i am out of ideas is: how do i delete one item from one list when my list (List1) is an array of about 41 list boxes all named List1 (x) see....

also if I wanted that name which was double click to delete itself through the entire month, then ....well...the rest is my own trouble...but so far i can't seem to be able to delete.


thanks in advance,

Excel - Dropdown Showing List 2 Dependant On What Was Chosen In List 1
I'm programming VB in Excel. I've created a series of simple lists in a worksheet. I would like to select one object from list 1 in a cell in column A and then have the cursor cell move to the right neighbouring cell and present me with a dropdown menu showing the contents of another list dependant on what was chosen in the first cell. Is there a specific command for this?

Many thanks for any help.

Editing List Items And ListSubItems In List View Control

It is possible to edit ( add an entry ) the first column of a ListView control. By setting to automatic mode.

How do I edit the subsequent columns ( The listSubItems ).


What Is The Limits On COmbo Box, List Box And LIst View And How Do You Handle Situations W
I have looked at all 5 of my vb Barnes and noble books
under listbox
and did not find where it said what the limit was.

I learned how to read a data base (unbound even) into a list box, or combo box.

But now I have over 32,768 items,
my data base list has between 100,000 - 125,000 Parts I want to load.

I can think of a lot of cases where the data base you want to load into a list or combo box is well of 32768

So my questions are
( I did also search VBCITY)

1) What is the limits on
combo box
list view


where is it documented.

and 2

How do I handle the case of more than 32768 with a listview??

I did found a little bit about it on vbcity



Changing To A List View Instead Of A List Box To Overcome 32768 Limits
I had the program done
I was loading a listbox and typing is a text box watching the closest match be selected.
I start off by filling the list box from a mdb with a table called partlist,
and a field called part numbers

It worked fine.
But now because I am over 32768 ( I will never go over 125,000) records, I am past the usefullness of a list box I guess.

so How do I change this code that works with a listbox, to code that works with a viewbox

and is this my best solution

Here is the listbox working code

Public Function FillListboxparts(Optional PartNumber As String)
   Screen.MousePointer = vbHourglass
   Dim li As ListItem
   Dim lih As ListItem
   Dim cnn As ADODB.Connection
   Dim rsPartList As ADODB.Recordset
   Dim strSQL As String

   strSQL = "SELECT PartNumber From partlist"
   Set cnn = New ADODB.Connection
   cnn.Open ConnString
   Set rsPartList = New ADODB.Recordset
   rsPartList.Open strSQL, cnn

While Not rsPartList.EOF
    listboxparts.AddItem rsPartList("Partnumber")
Text1.Text = listboxparts.ListCount
 Set rsPartList = Nothing
 Set cnn = Nothing
 Set li = Nothing
 Set lih = Nothing
  Screen.MousePointer = vbDefault
  End Function


How To Change Back Color Of List Item In List View
Dear members,

i am having small problem with listview control , I want to assing alternate colors to list items, but i con't,

hope someone will help


Parsing The List Recieved From The LIST Command On An FTP Server
I need to parse the list that is recieved from differnet servers. Now, the list is not always in the exactly same format, but always is in some kind of pattern.

This list is the directory information that you request. I need help in parsing it, into the different data it contains

I know of 2 main types of listing - UNIX-type and DOS-type.

The UNIX type is a more full, with serveral details like Owner, Group Permissions etc, while the DOS-type is like a scaled-down version of the UNIX type.

format of Unix Type

drwxrwxrwx 1 owner group 43 oct 18 1996 Directory number 1
-rwxrwxrwx 1 owner group 43 oct 18 1996 This is file 1.txt
-rwxrwxrwx 1 owner group 43 oct 18 1996 This is file 2 .txt
-rwxrwxrwx 1 owner group 43 oct 18 1996 This can be file 3 etc.txt
format of DOS-type

10-18-96 11:10AM 43 This is file 1.txt
10-18-96 11:10AM 43 this is File 1.txt
10-18-96 11:10AM 43 this is File 2.txt
But also there are other variations to those types. If all the responses followed that style, that would be no problem.

The unix-type can sometimes be sent like this.

drwxrwxrwx 1 owner 43 oct 18 1996 Directory number 1
The dos-type can sometimes be also sent like this

07-13-03 09:12AM 20151 diablo.jpg
07-13-03 09:12AM 11927 dls.jpg
07-13-03 01:44AM <DIR> doc
07-13-03 08:50AM <DIR> docu

I developed a parsing routine that first determines if the list is Unix/DOs type.

First it parses the list into lines

This can be done by checking for a "d", "-", or "l" at the begining of the line.

But all the different types of responses are not easy to generalize. There is no responsible RFC for generalizing them, or making them standard. It just says that they must be in a "Human-Readable Form".

I've seen FTP clients that do parse almost all (I've yet to see any client that is not parsed by a tested client).

Does anyone know a good routine, or anything that might help me on my venture in parsing ? hehe

thanks a lots in forward!

any help, more than appreciated!

PS: Didnt put this in the Communications cause i dont tink it has anything to do with Winsock, cause i am not asking HOW TO recieve the LIST command.

Fill Combobox List With List Of Unknown Length
right now i am populating the combo box list like this :

Sub LoadApps()
cmbApps.ListFillRange = "Extras!A11:A12"
End Sub

However the list could grow and it could to A11:A100

is there a way to select from A11 until the last filled in cell in column A?

Sending Data From One List Box To Another List Box At A Click Of A Button
Hey guys,

First post at! I need some help with a function on my college project.

I want to know how to copy data from one list box to another list box on a different form.

Want to be able to handle multiple lines on the list box and also happen when i click a button.

I know how to send from text to text for label to label:

frm2form.label1.caption = label2.caption

But, I've found list box to list box a bit more difficult and can't get it right!

Thanks in advance guys!

How Do I Hide An Application From The Process List? Not Task List, I Have It Already.
In Windows 2000, NT (I think), and XP, there is more than just a task list after pressing Ctrl-Alt-Del. There is the process list, as well as many other choices. The process list, shows virtually every program that's running in memory, and a lot of them aren't in the Task list. How do I hide my application from the process list? Thanks.

ListBox - Move List Item To Place In List
I have a list box with several items. I am trying to make a button that when the user selects an item in the list box, they can click on the button which will move the item up one in the list box:

So if my list looked like this:


and the user selected FOUR and clicked the button the list would look like this:


Does anyone know how to do this?


Teams List And ID's List On Combo Box And Label1.caption
Hello there, how are you guys doing?
I've got one problem, i dont know how to, basically finish my project which need to have this implented:

I have file called "teams.ini" in which there are like 2500 lines, here are few samples:

Real Madrid,33

and so on... what i want is to show Team name in Combo Box(ex. Juventus) and i want it's id (ex. 23) to be show on the label1.caption, and that for all the teams, there are arounf 2500 teams with it's ID afterr comma.

I hope someone can help me with the code (if its not that complicated code)

Thanks alot!

Combine List Items To Create New Item In Same List?
Hi all,

This has been giving me fits for a few days - any help would be most appreciated. I'm sure it's pretty simple, but I'm new to VB (and programming in general) and can't seem to come up with the correct syntax to get this to work:

I have a listbox from which the user can select mutliple items. Once user performs a multi-select, I enable a button (no problem there). When user clicks that button, I want to create a new item in that same list consisting of all selected items with "AND" between them.

Thus, if user had selected <item 1>, <item 2>, and <item 4>, the new item would be "<item 1> AND <item 2> AND <item 4>". Can someone please help me with the logic and syntax on this?

Here's what I have up to this point (I've removed the parts that I believe - based on the fact that this is not working - to be wrong and replaced them with ?????):

        Dim terms As String
        For Each terms In List.SelectedItems
            If List.SelectedItems.Count > 1 Then
                terms = ??????? & " AND " & ???????
            End If
        List.Items.Add (???????)


Edited by - troy_atl on 10/17/2005 12:04:26 PM

Can I Give A List Box Entry My Own List Index (Resolved)
Hi all,

    I have created code that takes data from an access database and puts in a list box. I wish to make it look at the selected list entry, open that recorset and add data to it. The only way I think I can do this is to give the list entry an index refering to the record id in the database. I could then search the database for the list index when selected. Is this possible or dase anyone know a better way.



Edited by - Ben Lee on 11/18/2004 8:53:49 PM

Copyright Đ 2005-08, All rights reserved