Lukee9's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
37 (0.04 per day)
Joined:
15-August 12
Profile Views:
2,544
Last Active:
User is offline Jul 28 2013 05:31 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   Lukee9 has not set their status

Posts I've Made

  1. In Topic: Open the start menu via VB/Command prompt

    Posted 18 Jul 2013

    http://www.codeproje...Open-Start-Menu ; The code here makes the program press buttons Ctrl and Esc simultaneously so that the start menu opens. (its in C# though, you may want to look up the vb.net alternative to it.]
  2. In Topic: [Help] Making buttons fade in and out

    Posted 18 Jul 2013

    View Postmodi123_1, on 17 July 2013 - 02:34 PM, said:

    Okay dokey.

    The code worked; thank you for the solution, very helpful. +1
  3. In Topic: [Help] Making buttons fade in and out

    Posted 17 Jul 2013

    View Postmodi123_1, on 17 July 2013 - 02:18 PM, said:

    Sure.. so your app does not know to make a GUI change unless you tell it, right? Just setting an opacity does not trigger this. a 'me.refresh' or old school 'do events' should do the trick.

    As for your threading sleep - so you plan on putting the whole application down while these buttons do what ever fancy-pants visual and movement? That seems like a pretty bad idea. Perhaps using a time object or making a whole new thread/task to deal with the changes.

    Thanks for the code, i will try it out. But for your second point, its not affecting the rest of the program, i use threading for the main part of the program the delays do not affect it at all. :)
  4. In Topic: [Help] Making buttons fade in and out

    Posted 17 Jul 2013

    View Postmodi123_1, on 17 July 2013 - 02:04 PM, said:

    Here's the call to repaint so the form knows there is a visual change? Is there delay so the app doesn't just go from 100 to 0 as fast as the clock speed will let it?

    I dont know what you mean by the call to repaint, never heard of anything like that. Is there code to do that? Also, as you can see in the code I use system.threading.thread.sleep to supply a delay between each image change. thanks for your quick reply.
    ~Lukee9
  5. In Topic: Obtaining IP address and emailing it

    Posted 4 Mar 2013

    View Postlar3ry, on 02 March 2013 - 07:30 PM, said:

    Quote

    The mystery of the IP address list decoded in code

    dbasnett, thanks for a very interesting and thought-provoking post.

    I haven't paid much attention to the different IP address protocols. I have done a small amount of reseaerch today, and found out that IPv4 addresses can be embedded in IPv6 addresses, and further, I see that my external IP address is indeed embedded in one of my addresses returned as part of the AddressList.

    From your comment, I gather the fe80: prefix tells us it's an internal (private) address, like 192.n.n.n, but in my AddressList, I also see a 2002: prefix, and in the two fields (colon delimited) following the prefix, I see my external IPv4 address encoded as two hexadecimal strings.

    I haven't had time to do much research on what prefixes would (or could) contain an IPv4 address, and was wondering if you could cast some light on it for us.

    For example, I am wondering if the external IP is always in the same place in the AddressList for all OSes, or will I have to examine and parse the prefixes to see what IPv4 address is the external one?

    Lukee9, in case you don't know your actual external IP address, you can find out for sure with this code snippet, provided by _HAWK_ in another thread.

    Using wb As New WebClient
          Dim s As String = wb.DownloadString("http://www.whatsmyip.us/showipsimple.php")
          MessageBox.Show(s)
    End Using
    
    


    Okay, I've finished my program and its working perfectly, I used a method similar to HAWK's to find my external IPv4. To do with ip addresses: each number in the address is represented by a byte, meaning that each number can only go up to 255 (so for external ips: IPv4: 255.255.255.255, IPv6: 255.255.255.255.255.255) 255 is the biggest denary number you can make in 1 byte.
    Okay, the difference in internal and external ip addresses is that the internal one is used for connecting to other connected devices through a LAN. external ip addresses are for connecting to devices through interconnected networks (such as "the Internet"). To get direct access to a device through its external ip will require port forwarding.
    IP Addresses are given to all technology that can connect to the internet. It started off as IPv4 but they actually ran out of numbers and had to start IPv6. The ip address of a device can be changed by the owner (as I'm sure you know, as you can do this in VB.net), an alternative to an IP address is the MAC address, which can't be changed by the owner.
    That's what I know about IP addresses, I may get some parts wrong so please correct me :)
    Thanks
    ~Luke
    P.S. Just like to reiterate that i've solved the problem, I was going for the external IPv4, and I used a method similar to the above from HAWK. Thanks for all your help guys.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

Lukee9 hasn't added any friends yet.

Comments

Lukee9 has no profile comments yet. Why not say hello?