Worked for the Chinese...oh wait, no, that was a total failure.
Printable View
Worked for the Chinese...oh wait, no, that was a total failure.
Gas went down a few more pennies today!
I got some code I wrote pretty much myself based on some research to force a windows form into fullscreen but there is a issue with it could someone take a look at it? I may be adding it to the code bank - Because I am Sure Someone would appreciate it....
Gonna post in VB.net section
ok nvm, here is the code (May still make a post)
It works GREAT no Issues well sort of -Code:Private Sub ToolStripButton5_Click(sender As Object, e As EventArgs) Handles ToolStripButton5.Click, FullScreenToolStripMenuItem.Click
ToolStripButton5.Visible = False
ControlBox = False
Me.WindowState = FormWindowState.Maximized
Me.Size = SystemInformation.PrimaryMonitorSize
Me.WindowState = 2
Me.Location = New Point(0, 0)
Me.TopMost = True
Me.FormBorderStyle = 0
Me.TopMost = True
ToolStripButton6.Visible = True
End Sub
'Exit FullScreen.
Private Sub ToolStripButton6_Click_1(sender As Object, e As EventArgs) Handles ToolStripButton6.Click, ExitFullScreenToolStripMenuItem.Click
Me.WindowState = FormWindowState.Normal
Me.Size = MaximumSize
Me.FormBorderStyle = FormBorderStyle.Sizable
ToolStripButton5.Visible = True
ControlBox = True
Me.TopMost = False
ToolStripButton6.Visible = False
End Sub
When you first load the application and every time - you have to go into - back out and back into fullscreen just for it to be right.
The code took me a few months to come up with. This being is because there is no native "Form.GoFullScreen"
Wished it was that easy - Sure there is a way for me to write a class maybe but rather not for now.
The code really isn't that hard to understand...But I just don't understand why it isn't working when I hit fullscreen the first time...
Some pictures:
Form load
1st FullScreen
2nd FullScreen
Edit: Updated second screenshot so you could tell the page is larger (its in fullscreen)
Went ahead and made a post but, still wanna get your guys oppinons you guys hang here a alot..
http://www.vbforums.com/showthread.p...79#post5107579
Still give any feedbakc here I am listening (you may have to adjust the size of your form when it starts up to use my code it was written some time ago)
That ^ Is my browser project You guys (gals) outta try it out xD http://beffsbrowser.tk ever since I joined here I have learned so much and developed this soooo much that its exciting where I am now with it. Its more mature than ever.
Thats fine DDay. Just a code review no judge on the browser control - Really it doesn't even use the browser control on my second one because you are recording changes to a text box not the browser itself (in a way yes but really its just the textbox)
I hate the browser control too until I found the upgrade code.... Now it rocks Seriously...
Worked in Berlin too... and there are no problems in Palestine these days... oh... wait...Quote:
Worked for the Chinese...oh wait, no, that was a total failure.
@JDC, I applaud your efforts but your probably going the wrong way about directing folks to the. Posting in ChitChat, and particularly the PostRace thread, is likely to just bring a bunch of sarcastic responses and bad puns (it's kinda the theme here) and very little constructive response.
Instead, ask any questions you've got in the relevant forum (.Net in this case) and people will help you out. Once your code's complete then posting it into the CodeBank forums is always welcome. If you want feedback and for people to offer some constructive criticism then the CodeItBetter forum can also be a good spot (if a little quiet).
I hope that doesn't come across as discouraging you. I actually think you're making a great contribution. But ChitChat's probably the wrong place to do it.
Call me crazy, but I'm building a CSV parser :eek:
Hasn't that already been done?
Once or twice I think.
Hey DDay - I didn't know you were a guitar player... How long have you been playing?
I've played off and on since I was a senior in high school, so for about 7 years.
I love music and playing it too.
Like I'm looking at my Pandora radio right now and this is my list(chronological order from the time last played):
- Outkast
- No Doubt
- Streelight Manifesto
- Of Montreal
- Dance Gavin Dance
- Frank Sinatra
- Opera
- Escape the Fate
- Highly Suspect
- Envy on the Coast
- Meg & Dia
- MGMT
- New Orleans Jazz
- Iron Maiden
- Grateful Dead
- Operation Ivy
- The Beatles
- Patsy Cline
- Jimi Hendrix
- Wayne Toups & the Zydecajun's
- Bright Eyes
- Bluegrass
- Rick James
- White Zombie
- Kevin Gates
- Death Cab for Cutie
- John Lee Hooker
- Dr. Acula
- Ludwig van Beethoven
- B.B. King(my first concert by the way)
- Prince
- The Doors
I started by learning percussion in band, so I'm very familiar with many different percussion instruments like the bass, snare, cymbals, timpani, bell kit, etc.
Then I picked up the drum set to be in a ska-punk band in my early high school years.
Then I picked up the bass guitar because my best friend played one.
Then I picked up the guitar to be in a southern hardcore band. These were some of my favorite shows to play!
Then I picked up the piano because my youngest brother started playing. I'm not very good at the piano though, I can play "Home Sweet Home" by Mötley Crüe and other simple songs.
Then when I married my wife, her grandfather built me a cajón(he's a woodworker) and so I started fiddling around with that.
Finally I had my son and I haven't really played much since.
I've been playing bass guitar and harmonica since I was a senior in high school, so for about 33 years.
Shortly after my 50th birthday a couple of months ago I bought my first actual six-string guitar and I've been teaching myself to play it. Picking it up pretty quickly.
Oh I forgot that I played the accordion too, though that may just be a regional thing like the cajón.
It seems like being a senior in high school teaches you more about music than anything else ;)
Or at least it teaches you that you can pickup chicks if you play an instrument :D
I'm pretty much a blues man... Most of the stuff I listen to is Muddy Waters, Little Walter, Sonny Boy Williamson (I & II), Howlin' Wolf, Jimmy Reed, Elmore James, etc...
I was never much of a harmonica player until I started hopping freight trains around the country back in the late-'80s. Amazing how good you can get when you have nothing to do but play.