1
Answer

How to Block application with demo version

Photo of Red ITWorld

Red ITWorld

9y
431
1
hello
what is the code of Block application when i want
 
Try
If My.Computer.Network.IsAvailable = False Then
MessageBox.Show("Your internet is not available. please connect your internet cable or check any other issue.", "Black Hawkers", MessageBoxButtons.OK, MessageBoxIcon.Information)
Application.Exit()
Else
Dim ws As New WebClient
Dim str As String = ws.DownloadString("http://blocksys.com/Devil.txt")
If str = "blocking" Then
MessageBox.Show("This application has been blocked by administrator", "Application blocked", MessageBoxButtons.OK, MessageBoxIcon.Error)
Application.Exit()
End If
End If
 
I know about this code but its working not well
so please help me
 
 
 
 
 
 

Answers (1)

0
Photo of Joseph Eldho
NA 82 752 7y
Its like printing a page but I want a row along printed. Like which I had atteched in the attachment.
 
 
0
Photo of Krishna Rajput Singh
NA 5.5k 2m 7y
Hi Joseph below links helpful for you
 
https://www.aspsnippets.com/Articles/Print-ASPNet-GridView-Data-Rows-using-JavaScript-in-C-VBNet.aspx