More on Admin Console

You can talk about VB programming here

More on Admin Console

Postby Snoopy1968 » Mon Sep 17, 2007 1:23 pm


Quesiton for anyone
is it possibleto rread the ban list and the bounce list into a listview

or does the listview only work with users?
Snoopy1968
imFiles Newbie
imFiles Newbie
 
Posts: 47
Joined: Fri Sep 14, 2007 8:29 pm

Re: More on Admin Console

Postby Departure » Mon Sep 17, 2007 1:51 pm

Well after checking with a treeview with API spy it seems the 2 lists you are talking about are a simple listbox control which means no real hard coding needed to get the items from there in to your Vb app, Thats assuming this is what you want to do???
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Re: More on Admin Console

Postby Snoopy1968 » Tue Sep 18, 2007 7:46 am

Yes but there seems to be a problem i checked back with windows api monitor and there doesnt seem to be away to destinguis one listbox from the other both are named listbox how do i tell vb i want one listbox not the other
Snoopy1968
imFiles Newbie
imFiles Newbie
 
Posts: 47
Joined: Fri Sep 14, 2007 8:29 pm

Re: More on Admin Console

Postby Departure » Tue Sep 18, 2007 9:58 am

simple just subclass down to the second listbox, I uploaded an example code that does just this in the other topic about admin console....

Download this...
visual-basic-paltlalk-ban-t30790.html#p74853
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Re: More on Admin Console

Postby autopilot » Wed Sep 19, 2007 11:32 am

Snoopy1968 wrote:Yes but there seems to be a problem i checked back with windows api monitor and there doesnt seem to be away to destinguis one listbox from the other both are named listbox how do i tell vb i want one listbox not the other

What you will find is that when checking the child forms, one listbox is always going to list first and then the other. So to find the second listbox, you need to continue until you get a second listbox form.
User avatar
autopilot
Forum Moderator
Forum Moderator
 
Posts: 358
Joined: Sat Sep 23, 2006 7:19 pm

Re: More on Admin Console

Postby Snoopy1968 » Mon Oct 08, 2007 11:37 am

Not sure if ive asked this but about the admin console and the banlist once youve read it into a list is the procedure the same as doing a nicllist as for highligthig the nick in the list
?
Snoopy1968
imFiles Newbie
imFiles Newbie
 
Posts: 47
Joined: Fri Sep 14, 2007 8:29 pm


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests