User Profile

Collapse

Profile Sidebar

Collapse
USBZ0r
USBZ0r
Last Activity: Jun 20 '10, 05:36 PM
Joined: Mar 1 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • USBZ0r
    started a topic Passing text box info from one form to another.

    Passing text box info from one form to another.

    hey guys

    i am trying pass login information from one form to another.

    basically, i have a login box with the names Username and Password on the login form, then that disposes and runs the next form by doing
    Code:
    Application.Run(new Window(parameters));

    how can i pass this information onto my "Window" form?
    See more | Go to post

  • USBZ0r
    replied to run once code
    right, thats what i needed to know, i just wasnt sure.

    only reason im doing it is because m app is fairly registry heavy, i wanted to make it efficient as possibly by not having to keep accessing it for the same stuff, thats all.

    Cheers
    See more | Go to post

    Leave a comment:


  • USBZ0r
    replied to run once code
    thanks for the reply.

    i know it runs before everything else, what i mean was, can it remember what something was from the first time it was run? kinda hard to explain what i mean.

    i use registry for a number of things, my program has its own registry structure.

    i access the registry settings for my app several times, i want it to remember what the values were from the first time it checked rather then having...
    See more | Go to post

    Leave a comment:


  • USBZ0r
    replied to run once code
    right, i have used your method to finding the platform, works a treat! thanks!

    i have a question reguarding the reuseable string though, if i were to do it in program.cs, does that mean it will execute the code when the app first runs, then remember what it was and reuse it when i need it again?

    i just want them to read registry once, rather than having to access the registry every time i need the values.
    See more | Go to post

    Leave a comment:


  • USBZ0r
    replied to run once code
    thanks for the help guys, appreciate it!

    im going to try it now.
    See more | Go to post

    Leave a comment:


  • USBZ0r
    started a topic run once code

    run once code

    hey guys, im still learning to code in C# im enjoying it i must say but i find it confusing sometimes!

    I was wondering how i would go about storing a string, basicly, when my program loads, (single form) it does a series of OS registry checks. now, some parts of my application requite the results for several things, but i dont want to have the actual "checks" run every time its needed, how can i make it run once then store...
    See more | Go to post

  • USBZ0r
    replied to TCP Server/Client comunication
    Thaanks plater, that turorial is great it explains things very well

    Thanks!
    See more | Go to post

    Leave a comment:


  • USBZ0r
    started a topic TCP Server/Client comunication

    TCP Server/Client comunication

    Hey guys, id like to implement some from of comunication in a program im trying to make using TCP.

    I have been reading a few tutorials on using TCPListener, however i need something thats going to be able to accept connections from multiple IP's at the same time. So it needs to be threaded. i was wondering if you guys could point me in the right direction into doing this.

    it will basicly just be the client sending data...
    See more | Go to post

  • USBZ0r
    started a topic C# attach to my secondary app as debugger?

    C# attach to my secondary app as debugger?

    Hi guys, im having a bit of a problem!

    Im trying to make my primary application debug my secondary, the reason for is to stop anyone attaching a debugger to my second app, if they do, i want it to make my primary application crash (wikll be a security feature).

    I dont want the debugger to do anything other then hook so nothing else can, my question is can this be done in C# and anyone got some example code? i cant find...
    See more | Go to post

  • USBZ0r
    replied to Selecting record edited within last 2 minuites
    in PHP
    Thanks mark, il give that a try!
    See more | Go to post

    Leave a comment:


  • USBZ0r
    replied to Selecting record edited within last 2 minuites
    in PHP
    thanks!

    kinda does yeah, but is TimeDIF PHP or MySQL valid? and i take it tmestmp_clmn would be where the time stamp in my database gets put?
    See more | Go to post

    Leave a comment:


  • USBZ0r
    replied to Selecting record edited within last 2 minuites
    in PHP
    TimeStamp yes

    Thanks for reply.
    See more | Go to post

    Leave a comment:


  • USBZ0r
    started a topic Selecting record edited within last 2 minuites
    in PHP

    Selecting record edited within last 2 minuites

    Hi there guys!

    Im struggling to find a way to select all rows from a MySQL table that were edited within the last 2 minuites. When the user edits their profile, it time stamps it. So all i need to do is fetch all rows that were time stamped within the last 2 minuites of the current time.

    anyone have any ideas how it would be done in PHP/SQL?

    Thanks
    See more | Go to post

  • USBZ0r
    replied to Flickering.
    the game is Call of duty "directx game" but i figured this might have an issue with it due to the framerate or whatever. i did think directx was the answer, guess il have to learn directX then! :D

    Thanks
    See more | Go to post

    Leave a comment:


  • USBZ0r
    started a topic Flickering.

    Flickering.

    Hi guys, im using DrawString to write some text over a game's screen. The problem is because im having to run it on a timer, realtime (to keep the text on the game screen or will will dissapear) its causing the written text to flicker. iv done some googling about something for forms called backbuffer, but iv enabled that for my forms but it seems to be only for Forms. Also one of my text boxes gets updated and that flickers too.

    Wondering...
    See more | Go to post

  • Thanks deepblue, appreciate it!
    See more | Go to post

    Leave a comment:


  • USBZ0r
    replied to Hiding a server URI in an encoded file?
    im still having an issue with tripleDES, it decrypts and encrypts fine in C#, but the string isnt always the same when the php server trys to decode it, its all messed up.

    Hope someone has faced this issue and can help
    Thanks
    See more | Go to post

    Leave a comment:


  • a way to ignore the rest of a string after a certain character??

    Hi guys, is there anything i can do to only read a certain part of a string, im reading an IP, but the IP contains the port like 127.0.0.1:80, but i dont want to include the ":80". i cant tell it how long the string is because the IP's change and the lengh varies. so i need to ignore anything after " : ".

    Thanks
    See more | Go to post

  • USBZ0r
    replied to Hiding a server URI in an encoded file?
    Thanks for the reply. i tried TripleDESCrypto ServiceProvider last night, the problem was it was encrypting, but when i decrypted it the string come iout in strange ALT codes etc. the string is pretty big, does DES have an encryption string limit?
    See more | Go to post

    Leave a comment:


  • USBZ0r
    started a topic Hiding a server URI in an encoded file?

    Hiding a server URI in an encoded file?

    Hi guys,

    I was wondering if its possible to encode a server uri or something inside a file, then decode it when its needed before httpwebrequest. The reason for this is my applciation sends post data using ssl to a server then the server returns a *Sensitive* URI back to my application to send the secure data to but the URI and data is veri easily viewable in memory once the response is sent back. im not sure if using GC.Collect after...
    See more | Go to post
No activity results to display
Show More
Working...