Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jay Gatsby

@Jay Gatsby
About
Posts
59
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Holding a key down
    J Jay Gatsby

    SendKeys is great for a lot of things, but what If I want to hold a button down for a length of time? I don't want to repeat the keystroke a whole bunch of times, I really mean hold it down--I've been able to do some cool things by importing the user32 dll with holding down the mouse button (wherein you must send both the up and the down command, and thus can wait between the two if you wish), is there a way to do this with keys?

    -Gatsby

    C# question

  • I need Help passing data back and forth between Windows forms
    J Jay Gatsby

    I think I know what you're talking about. let me see if I can help. Anything in public access space on the popup can be accessed by the main form from wherever the instance of the popup is. For example. on my main form named form1 I have a button that opens a popup named form2. in the button click event on form1's button I'd have something to the effect of PopupFormTypenameGoesHere form2 = new PopupFormTypenameGoesHere( params to send et all) form2.ShowDialogue(); Text = form2.someInfo; and in form2's close event I'd have someInfo = "hello world"; // or whatever This would cause form1's title (ie it's Text property) to be set to "hello world" after the popup had closed (or whatever someInfo was set to in that form) I hope that helps. One thing you should be careful with is the usage of Show() and ShowDialogue() - they are NOT interchangeable.

    -Gatsby

    C# tutorial csharp winforms com help

  • Getting HTML source of a frame using the WebBrowser windows form object
    J Jay Gatsby

    Hello. I've got a little problem I've been having a hard time solving. I'm trying to use the web browser control on a windows form to get the html of a frame that the given page contains. I can't just simply use the url of that inner frame, because with each login to this site it has an appended session ID on the url and other such a=b&c=d&e=f nonsense that changes from session to session. Digging through google I found mention of webBrowser1.Document.Window.Frames[0 /*or any other index for that matter, but in my case there is only 1 element*/ ].Document.Body but this threw a System.UnauthorizedAccessException when I tried it. Ultimately, what I'm going for is a rather simplistic project but it's giving me fits on this point. I'd like to be able to login on this form on ogame.org and have it refresh every five minutes, searching the contents of "mainframe" for the word "hostile" - and if this is found, sound an alarm (system speaker et all), as this would mean one of my planets has an incoming attack, and I know how to do all of this except getting the damn mainframe's source. I know it shouldn't be too hard to do - in my opera browser I can just right click, go to the frame menu, and open it up just fine, and that's the source I want! but I can't get this out of my web browser control. all I can get is-- [code] OGame.org frame = document.getElementsByName['mainframe'][0]; if ( typeof( wi</x-turndown>

    C# html database algorithms help tutorial

  • Problem taken from a C++ quiz
    J Jay Gatsby

    no, that's me forgetting to click the ignore HTML check-box when I made the post, therefore losing . Everyone else seemed to understand that just fine.

    Clever Code question c++ com help tutorial

  • subst what?
    J Jay Gatsby

    Now I have to know. Do tell what it does... please? :-O

    -Gatsby

    Clever Code help question

  • Problem taken from a C++ quiz
    J Jay Gatsby

    Indeed, the resulting syntax error is the answer. Does it compile? No.

    -Gatsby

    Clever Code question c++ com help tutorial

  • Problem taken from a C++ quiz
    J Jay Gatsby

    This isn't the exact question (I can't remember what it was exactly) but this example keeps to the spirit of the problem. There was a series of questions which had subtle bugs in them, which all had to be answered in the following way: Does it compile? If so, does it run without (potentially) crashing? If so, what does it print out? #include // for cout int main() { int x = 4; int y = 2; int *px = &x; int *py = &y; std::cout << "4 / 2 = " << *px/*py << std::endl; return 0; } When you think you know the answer, go to http://pastebin.com/f57900ce I actually got this one right.

    -Gatsby

    Clever Code question c++ com help tutorial

  • Article Plagarism Alert
    J Jay Gatsby

    :Pounds fist on desk: This kind of **** ****in' pisses me off! Someone should sue their ***es!

    -Gatsby

    Site Bugs / Suggestions csharp html asp-net com tools

  • I'm seriously tempted...
    J Jay Gatsby

    *Pat on the shoulder* Hang in there old sport...

    -Gatsby

    The Lounge database csharp asp-net question announcement

  • Changes that need to be made to the forums
    J Jay Gatsby

    It was. I vented all my frustration--I feel much better now.

    -Gatsby

    The Back Room

  • Changes that need to be made to the forums
    J Jay Gatsby

    I am NOT about to take this from anyone. You must be joking... Oh, wait... sorry, LAMO: Can you see me now? You must be joking. Seeing as the people who founded my country are now a minority, you're also saying we should ban anyone who offends a white person or (simply at random) is not white themselves, am I correct? Oh, and I'm all for baning men because there aren't enough women in the programming industry too. You do realize that wanting to ban someone based on their race is racist as it stands, and ergo, I find it really funny that you are calling this a racist site... if you seriously believe that you are both ignorant and hypocritical. "Thank you for your attention. I expect--" you to leave "--ASAP," and take your blind racist anarchism with you. Sorry for the large text guys--it's only there in the hopes that he'll be able to read it.

    -Gatsby

    The Back Room

  • [verbal] ammo for 14 year old.... [modified]
    J Jay Gatsby

    mav.northwind wrote:

    A woman is 21 years older than her daughter. Six years from now she'll be 5 times her daughter's age. How old are the woman and her daughter now?

    21 and 5, respectively... the father, how should I know? What am I missing here?

    -Gatsby

    The Lounge question

  • I just joind
    J Jay Gatsby

    :laugh::laugh::laugh: LAMO! Bravo!

    -Gatsby

    The Lounge

  • I just joind
    J Jay Gatsby

    Do I? Prove it.

    -Gatsby

    The Lounge

  • I just joind
    J Jay Gatsby

    Ahem... I'm religious too, but I think you've ignored the fact that the bible was not faxed from heaven... it's man's perception. Carbon dating is a hard thing to argue with, and I've yet to see one *real* proof that evolution is flawed. Tell me, do you think the earth is flat too? I believe in God and Jesus and all that good stuff... but I also believe in evolution, and I don't see anything wrong with that. No offence, but that link made me laugh. *sigh* the same thing goes for "ten-thousand times ten-thousand angels"

    -Gatsby

    The Lounge

  • the end
    J Jay Gatsby

    Fernando A. Gomez F. wrote:

    like programming in VB6.

    :laugh::laugh::laugh: But in all seriousness, I'm terribly sorry to hear about the move, old sport. Best of luck to you in getting through everything.

    -Gatsby

    The Lounge

  • wanna wrestle?
    J Jay Gatsby

    LAMO! Wait a sec... what was that I read...? "'The machine isn't that strong, much less so than a muscular man. Even women should be able to beat it,' said Atlus spokeswoman Ayano Sakiyama Isn't that just a bit sexist?

    -Gatsby

    The Lounge com question

  • China Airlines jet exploded at Naha Japan! [modified]
    J Jay Gatsby

    Yea, I thought that was just a little amusing, in a pathetic kinda way.

    -Gatsby

    The Lounge html database com question announcement

  • China Airlines jet exploded at Naha Japan! [modified]
    J Jay Gatsby

    gdaley wrote:

    This airline's safety record never ceases to amaze me.

    :laugh: I'm just glad that it turned out alright in the end.

    -Gatsby

    The Lounge html database com question announcement

  • Maunder
    J Jay Gatsby

    :laugh: Gee, I've never heard of a PUI before!

    -Gatsby

    The Lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups