batch file to ping range of IP addresses

by ebarcza 4/24/2011 4:52:00 PM

Heres a really simple way to start, enter this in a command line...

 

C:\Users\SevenStoryMountain>FOR /L %i IN (1,1,254) DO ping -n 1 192.168.1.%i | FIND /i "Reply">>ipaddresses.txt

 

this Script outputs ping results to ipaddresses.txt so you can easily see what IP addresses are being used on the network.

 

Make sure its run from a directory you have permissions to write to, otherwise specify a good path after the >>

Tags: , ,

batch files

Insert New line in RDL or RDLC

by ebarcza 4/20/2011 7:14:00 AM
Adding a new line to a SSRS report RDL textbox is simple =Fields!PeriodStart.Value + vbCrLf + "test"

Tags: , , ,

RDLC

SSRS Blank page at the end of a report

by ebarcza 4/15/2011 7:42:00 AM
I always seem to get a blank page at the end of a report. It starts off just fine but then at some point a blank page will appear at the end. SSRS has a propery called ConsumeContainerWhite space that is set to False by default. Changing the value to true elimates the blank page in most cases. Note that this is a report level property. If it doesn't then make sure the size of the body isn't too big. Reduce the width of the body until the blank page goes away... Hope this helps!

Tags: , ,

SQL Server Reporting Services

Group number in SSRS RDL report

by ebarcza 4/15/2011 7:00:00 AM

I needed to get the running count of Groups in the group header... This expression took care of it -

=RunningValue(Fields!MeterNumber.Value, CountDistinct, Nothing)

Also I needed to hide the Group header for the first Group. To accomplish this i added this expression to the visibility property of the textbox after merging all the cells in the row

=IIF(RunningValue(Fields!PoolName.Value, CountDistinct,Nothing) = 1, true, False

Success!!

Tags: , , ,

VB.NET

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  September 2017  >>
MoTuWeThFrSaSu
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017

Sign in