@# Quotes DB     useful, funny, interesting





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



Comments:

<0> OpenURL is server side generated? What sort of BS is that?
<1> heh
<2> You have misread OnErr0r
<2> I said the html file I am trying to get is likely to be server side generated
<3> oh sorry, vb.net
<2> any alternatives for vb6?
<0> I gave you loads of alternatives, earlier
<2> would urldownloadtofile be any different?
<0> You cursed and left
<3> don't even have it installed any more, yea, I had code, but don't know where it is now
<2> OnErr0r, yeah well your manners arn't exactly legendary
<0> Cyorxamp: Nor is your intelligence
<2> MikeReed, as in you don't have vb6 installed any more?
<0> heh
<0> Cyorxamp: Anyway, downloading HTML and rendering HTML are completely different
<2> I never mentioned the need to render it



<1> anything that lets you download via http will give you the same results
<0> dynamic content would need to be rendered, to be "HTML"
<0> If your HTML page has document.write(whatever) it's not going to look like HTML without rendering it
<4> Cyorxamp, explain the specific situation you're trying to handle. ie. what exactly is this dynamic content you want to get? etc
<0> Originally you said you wanted to "download to memory"
<4> had a little hissy fit too
<0> nod
<4> :p
<2> Look martin2, I would be happy to take your advise but not here
<0> hmmm.. no punishment either
<4> he just doesnt know what he wants to do
<4> lol
<0> That or he can't verbalize it
<4> yep
<4> [17:14:04] <2> that guy seriously needs an ego check
<4> :p
<0> heh
<5> wooo
<6> how can I see if the down arrow key is pressed on keypress even on a textbox?
<0> use keydown instead
<6> can I identify the enter key too on the key down?
<0> sure
<6> anybody know when saving a masktextbox how you can have the the preformat saved too?
<7> How to I output my SQLCommand to a DataGridView Control?
<6> for a combobox how can I just have data and there that the user can't change?
<8> enabled=false?
<6> if you disable it you can do anything to it
<8> well
<8> i guess you could just reset the selected item every time you get the event that says they changed it
<6> I just did e handle = true
<6> only thing ****s you can still paste in it
<9> codecaine, there is DropDownStyle property... set it to DropDownList
<10> guys
<10> is there an api that will allow me to send text to a textbox in another program
<6> yes
<6> WM_SETTEXT
<6> in SendMessage
<10> ya but i mean
<10> how does that work ?
<10> like, every object has an id ?
<10> and i just send text to that id ?
<4> every window has an hwnd
<4> look it up on msdn
<10> what do you mean by window
<10> i dont want to send text to a window
<10> i want to send text to like a textbox in a program
<4> a window can be a textbox
<4> a frame
<4> a command button
<10> oh
<4> its just a hierarchy
<4> if i knew how to spell it
<10> does this hwnd change every time i boot up, or like what
<10> know what i mean
<4> ya it does
<10> wtf
<4> except for the program manager
<10> so its useless then
<4> you need to enumwindows to get the handle
<6> yea what you would do is
<6> use



<6> FindWindowEx and FindWindow
<0> Or FindWindow/Ex
<6> to get a handle of the textbox or whatever
<0> nod
<10> findwindow looks at the caption of the program in the title bar ?
<6> I think vb has spy++ im correct to look at the orders
<0> Caption and/or cl***name
<10> so the cl***name doesnt change ?
<4> correct
<6> is there a vb function to check a date?
<10> cause like, lets say i have 5 textboxes in a program i want to send text to, how can i get the 3rd textbox's hwnd
<0> codecaine: Check for what?
<4> hack, you can use date, or datepart
<6> Check if its a real date thats not out of bounds
<4> ah
<4> wrong answer, wrong person
<4> hah
<10> cause i tried using spy++ but its lame, it doesnt allow me to highlight a textbox, only a frame, or whatever
<0> IsDate
<4> hacked`, spy++ is very useful. just have to know how to use it properly.
<4> kind of like a metal lathe
<0> Could also use Date.Parse and trap the exception
<4> brb
<10> a metal lathe is the most useless thing ever invented
<0> or use TryParse
<6> ty
<0> hacked`: You start by getting the top-level hwnd, with FindWindow
<0> Then you can p*** the parent hwnd to FindWindowEx and enumerate the child windows in a loop
<10> child windows, do you mean all the controls in the program ?
<0> Those are called windows
<0> controls is a VB term, or AX
<0> Parent window would be synomous with a VB form
<10> oh i see then
<10> but how can i know which window is the one i want to send text to
<10> see what im getting at
<4> you find something specific to that window
<0> They're usually enumerated in the same order
<0> the RECT is a good identifier, sometimes
<10> i dont get how these dont change every time
<10> like, how is the name made up
<0> CreateWindow(Ex) returns a hwnd
<0> That's a unique identifer for a window
<0> When they're destroyed so is the hwnd
<0> It's just a number (32bit integer)
<10> yeah but im saying, when i enumerate the child windows in a loop, what do i end up with? a series of 32bit integers ?
<0> yes
<10> so how can i know which one of those is the textbox i want to send text to
<0> As martin2 said, by something unique to the window
<0> placement, size, cl***name, etc
<10> oh, but what kind of stuff can i get from a window
<0> stuff?
<10> ya, like what kind of properties/attributes
<0> [OnErr0r] placement, size, cl***name, etc
<10> those are generalities
<0> I guess you mean to ask which APIs get the properties I mentioned
<10> yep
<0> GetWindowRect, GetClientRect, GetCl***Name
<10> k, and is all this available with vb6 ?
<10> gonna do my tests with that first
<0> No, it's available with Win32 API
<0> You have to declare functions to use them
<10> oh
<10> thanks a lot guys
<10> i have enough info to google/experiment
<4> hmm just noticed the title
<4> any possibility of something more mature?
<4> :)
<0> Boss watching?
<4> boss watching?
<4> whats that
<0> Wasn't sure why you cared
<4> its on my titlebar
<4> heh
<0> I guess I could substitute your name :P


Name:

Comments:

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






Return to #visualbasic
or
Go to some related logs:

utorrent saturates network
#gentoo
who is Conoco-Phillips cmkm diamond
#politics
debra lavafe
#windowsxp
rapidshare.de/files/12yo boy
#hardware
#vmware
#linux-noob



Home  |  disclaimer  |  contact  |  submit quotes