I might be missing something, but it looks to me like you're just adding '4' to the start (top left) number. Can you not take the current page number, use that in the top left, then cycle through numbering your cards accordingly? I'm guessing by your example that there's only going to be 4...
...short answer - you don't.
By posting a question here and receiving comments and (hopefully) answers, you're helping the next guy who searches the site for your particular problem.
So, give yourself a pat on that back not only for joining a great community, but for helping improve it!
A very quick google says, yes, you can.
However ask yourself this question: given you've gone through the much lengthier process of creating an account here to ask a simple question that could have been answered via your favourite search engine in seconds, should you even be considering...
Unless you're trying to get the number of months between the two times, you'll have better luck using mi instead of m as the 'datepart' parameter.
...DATEDIFF(mi, TimeIn, TimeOut)...
A very quick google using 'VB.Net reading xml attributes' gave this as the top hit - Retrieving the Attribute from an XML document using VB.NET XML DOM
Should be simple enough for you to adapt the suggestions to your needs.
It's highly likely that the reason you've had no reply (until now) is down to the fact that what you're after is generally not going to be possible for anything other than a basic web page with HTML.
Any site that is dynamically created using technology along the lines of ASP.Net uses...
You can't figure it out? What have you tried?
- or -
Could it be that you've tried nothing, and are simply after some code to automatically start the 15 second advertisment that you are *supposed* to sit through to get the free virtual currency on offer.
My bets on the latter
Pretty sure that if you're looking to hook into Gmail, you're going to need to authenticate via Google's API's and oauth.
Personally I've found Google's documentation to be pretty darned good - check https://developers.google.com/google-apps/gmail/
It's generally an accepted rule to keep your data in it's native form - a number should be stored as a number. The question is, how will that field be used? if you're going to use those number strings as numbers and calculate totals, then you're going to need to convert those strings...
If there's nothing fancy being done with the values in your 32bit integer, then all you need to do is shift the bits of each member of your byte array to the right by the number of bits necessary to make it an 8 bit number....which is easy to do by dividing the value by two to the power of the...
Setting an object at the class level will give it 'global' scope and will persist it's value across that scope - my point was that doing that can (and often is) confusing.
That's correct on your IntTest question, you're declaring the object as an Integer and assigning it 1.
Sorry, thought you'd replaced that whole block with the loop. Not sure where you are defining your 'lastpick' var, but one thing you may want to add is passing your lastpick value to the function, rather than relying on it being global. It's good practice to keep the scope local to your...
Two things on your loop... declare your Random object outside of the loop - you shouldn't be creating a new object each time - and, you don't appear to be setting LastPick in that code (of course you may be setting that outside this code)
... oh and the third problem with that loop - you're...
No problem - small errors like that happen to us all.
I wasn't referring to a 'Whilst GoTo' statement, I was referring to your use of 'GoTo' and that you could (should) get rid of them. 'GoTo' is a throwback to coding from a long time ago and there are better, more readable ways to code that...
Whilst GoTo will work, it's a bit dark-ages, isn't it? an If...Then...Else block would do the same job
As to the problem, should the cS1 in If cS2.Height < Me.Height Or cS1.Width < Me.Width Then not be cS2?
You'd do best to do hit Google and do some research on IIS and domains - there are a huge number of better resources on the subject than a VB.Net specific site.
That said, in general, you would update the domain names DNS records to point to your IIS server IP and then configure your IIS site...
If you want to execute that method manually, call the method from your server-side logic. There's obviously no client interaction, as you have it hidden.
Perhaps it would help if you explained what you're actually trying to achieve here - what logic/steps are involved?