3 Reusable Code Snippet Topics

Remove Filter
Member Avatar for
Member Avatar for vegaseat

A few hundred years ago the glorious leader of a big country wanted to reward the creator of the chess game. The creator of the game simply wanted one grain of rice put on the first square of the chessboard, two grains on the second, then doubling it for every …

Member Avatar for vegaseat
2
8K
Member Avatar for TrustyTony

Here some old fashioned line input routine, better idea nowadays would be to use GUI input box with real editing. Anyway, it is quite simple with Python to do this basic routine for terminal based program.

Member Avatar for fonzali
4
510
Member Avatar for choover12

you can do this dim i as integer = 0 Public Sub Addtab() Dim browser As New webbrowser browser.Dock = DockStyle.Fill 'docking it browser.ContextMenuStrip = main.cms 'adding a context menustip to it Dim tab As New TabPage tab.Controls.Add(browser) main.Tabs.TabPages.Add(tab) 'IMPORTANT you must select the tab main.Tabs.Select(i) i += 1 End …

0
302

The End.