Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

separate output strings into a flexgrid in order

Posted on 2014-12-06
8
Medium Priority
?
94 Views
Last Modified: 2014-12-07
On the attached project, I have a BlockList form that shows all blocked websites in among several text files.  These text files are located in the test folder.  When clicking "Show Blocked Sites" they output in the Immediate Window, but I would instead like them to output to a Flexgrid for viewing purposes.

For example, execute the program under the BlockedList Form and choose the date range from 11/11/2014 to 11/24/2014 and you will find all the typical results below in the immediate window.


30                adnxs.com: ib.adnxs.com.                           192.168.1.100
3                  blogspot.com: adsense.blogspot.com.       192.168.1.100


However I would like to separate these strings as indicated above into 3 columns in a flexgrid.  Then also list them from greatest to smallest number of blocked sites



Any help is always appreciated.
CB.zip
0
Comment
Question by:al4629740
  • 4
  • 4
8 Comments
 
LVL 49

Accepted Solution

by:
Martin Liss earned 2000 total points
ID: 40485205
Consider this a first draft. I assume you want to summarize the websites but I need some direction on how to do that.
Q-28575780.zip
0
 

Author Comment

by:al4629740
ID: 40485457
Looking great.  It is exactly in the order it should be.

The only thing I'm pondering is what to do when certain sites that come up as

^.*s(3|e)x: expertsexchange.112.2o7.net.

I have to figure out what those sites are
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 40485553
Are you implying that you don't want any summarization?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:al4629740
ID: 40485852
Sounds good : )  What do you mean by summarization?
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 40485917
Well I thought there might be duplicates that you'd want added up and shown as one total, but I see now that there aren't any complete duplicates. There are for example a lot that contain "tumblr.com" but none where the second column is exactly the same.
0
 

Author Comment

by:al4629740
ID: 40486041
Is it possible to put the following headers in?

#Blocked          Site             IP Address
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 40486154
0
 

Author Comment

by:al4629740
ID: 40486165
Thank you
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question