@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<0> hi
<1> can someone help me with a fairly simple timer problem?
<1> in visualbasic.net?
<1> anyone here?
<2> no
<3> blahhead, ask your q.
<1> OK
<1> well...by default if you draw something, like a line, or whatever using visual basic.net, it doesn't stick to the form if another window is pulled over that form
<1> so we learned that you can do this command..
<1> Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
<1> MyBase.OnPaint(e)
<1> If customDraw Then
<1> ReDraw()
<1> End If
<1> End Sub
<1> and put the code in the ReDraw sub thingy...



<1> that is all good, works fine too
<1> BUT
<1> i also have some drawings that are on a timer
<1> so i have them in a sub that looks like this... Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
<1> MyBase.OnPaint(e)
<1> If customDraw Then
<1> ReDraw()
<1> End If
<1> End Sub
<1> ****
<1> sorry
<1> that looks like this Private Sub timer1_Timer(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
<1> so...
<1> i can't get the override to work
<1> because it's not a sub routine
<1> it's inside that private sub routine...
<1> is there a way to make the timer work inside a regular Sub
<1> or like, make a regular Sub contain the Sub timer1_timer?
<1> i don't know if i'm wording this correctly...
<4> hello :)
<1> either way, i'm trying to make the drawings i create inside the Sub timer1_timer stick to the form, even when a window is placed on top of it
<1> any ideas?
<4> question: how would i hide window from windowlist in MDI
<5> Hello, I wanted to have a program that write excelsheets with formulas and charts. I learned vb is quiet good with access db. My question is, to do so, should i use COM objects or there is another way?
<4> ADODB
<4> thats best i think for access db
<4> sec
<4> :)
<3> d2l, depends on what you need from the database.. you can either just do it in excel directly with pivot charts and what not
<3> or you can make yourself a macro if you want to really manipulate it
<3> blahhead, dont paste here.
<4> http://www.wilsonmar.com/1entdev.htm <
<3> use pastebin or something comparable if you want to show code
<4> D2l, that link is an example
<4> and a tut
<4> :)
<1> ok sorry
<4> hope that helps :)
<6> muhhahahaha, I just bought a 20 inch widescreen LCD and I'm loving it
<1> yeah..that's got to be good for you
<4> lightview ?
<1> radiation blasting at your face
<6> I love radiation
<4> eworf: with lightview ?
<3> blahhead, i dont understand your original question
<3> [19:33:31] <1> well...by default if you draw something, like a line, or whatever using visual basic.net, it doesn't stick to the form if another window is pulled over that form
<3> doesnt stick to the form?
<1> yeah, to the window..
<6> what's lightview?
<3> you want your window to stay on top?
<1> if you draw a line, you see it, then say you open notepad over it...then the line disappears
<4> that it automatic tunes in to day and night settings on the light it catches with an eye in top of screen
<1> once you close notepad again
<6> no
<4> so its nice for the eyes :)
<3> um
<3> i have no idea what you're talking about
<3> :p
<1> try it for yourself
<4> eworf: max reso 1600 ?
<3> where are you drawing lines?



<1> on a windows application
<1> just the form
<1> or whatever it's called
<3> ya
<4> i so love 1600x1200 :| i wish i had that :|
<3> its supposed to stay there
<1> nope
<1> not by default
<3> thats what WM_PAINT is there to do
<1> WM_PAINT?
<1> is that in visualbasic.net?
<4> but back to question anyone got an answer ? how to hide window , mdichild from windowlist
<3> its the win32 message that is sent to all windows so they are able to repaint once visible again
<3> Tha-Docto, google it
<3> easily found
<4> :|
<4> i tryd
<4> thats why i'm here
<1> well..apparenrly it doesn't work for .net programs
<3> try again,
<3> blahhead, what do you mean by drawing a line?
<1> formgraphics.DrawLine (pens.Black 200, 200, 200, 300)
<4> martin q=vb6+MDI+Window+List&btnG=Search < 43 pages results < page 1 to 8 no decent info bout windowlist hiding in mdi < thats why i am here > i don't hop in without looking first
<1> that draws a black line from pixel 200, 200 to pixel 200, 300
<3> Tha-Docto, I dont deal with mdi much
<3> windowlist is within mdi?
<3> blahhead, it should stay there
<1> try it yourself
<1> draw it, then drag notepad over it
<1> it disappears
<1> no problem, i know code to fix that though,
<1> BUT
<3> are you clicking on the window again?
<4> no windowlist is in the mdiform in menu (CTRL + E)
<4> enable window list then it shows all mdichilds that are open in that list
<1> i can't make a timer, and use the code to protect it at the same time
<4> to select, i want to hide it from windowlist
<4> as an active hide
<4> but to show form modaly in it
<3> Tha-Docto, does the mdi form in question have a property of style or border
<3> or something of the like?
<6> tha-docto, 1680 x 1050
<4> eworf: u make me drool
<4> martin2: in plain MDI form no style to it u do CTRL + E make a menu and select option WindowList << the little V >> then make a form make it MDIChild and when run and form is open it shows under that menu as windowlisted
<4> WindowList = False does not work btw
<7> Widescreen twenty inch monitors are < non-widescreen :P
<8> http://pastebin.ca/105930
<8> why isnt this working
<9> why should it?
<9> whats it suposed to do?
<8> it should tell the label to say "Light Gray
<8> if i click the picturebox that is the 1 array index
<8> got it
<8> Private Sub picBtnColorBar_Click(Index As Integer)
<8> If Index = 1 Then
<8> lblSelectedButtonColor.Caption = "Light Gray"
<8> End If
<8> End Sub
<8> had to be Index only
<8> sorry
<8> forgot bout pastebin heh
<4> heey cya all
<10> blah
<1> head
<9> are the .menifest files important for the release distribution?
<11> nice
<10> hm
<12> Can anyone please show me how to use a C#-created dll in a VB.net app?
<11> reelbg should have stayed for longer than 5 minutes
<10> heh, funny, after the hoopla of Paul Thurmott flipping out about WGA incorrectly pinning him as having a pirated copy of Windows, Microsoft contacted him and they used diag tools to figure out why. Turned out the Paul bought that copy of WinXP MCE from an online vendor through a loophole of purchasing hardware, and the vendor sold him a modified and pirated copy of Windows.
<11> haha
<1> holy ****...there is this giant spider in my apartment
<1> son of a bitch


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #visualbasic
or
Go to some related logs:

#beginner
#beginner
#photoshop
#flash
#politics
gklite
Nero Wont Load
#narcotics
#politics
ip-smiley



Home  |  disclaimer  |  contact  |  submit quotes