Solved

separate output strings into a flexgrid in order

Posted on 2014-12-06
8
86 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 45

Accepted Solution

by:
Martin Liss earned 500 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 45

Expert Comment

by:Martin Liss
ID: 40485553
Are you implying that you don't want any summarization?
0
 

Author Comment

by:al4629740
ID: 40485852
Sounds good : )  What do you mean by summarization?
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 45

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 45

Expert Comment

by:Martin Liss
ID: 40486154
0
 

Author Comment

by:al4629740
ID: 40486165
Thank you
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now