Jump to content

Refresh Desktop Background


Recommended Posts

Does anyone know how to refresh the windows desktop background? What I am trying to do is overlay some information onto a picture that is the desktop background and then refresh it. Then the info will be displayed on my desktop background. While I am at it, also do you know how to get the systems MAC address and IP address Programaticly?

Thanks a bunch, Im sure the rest of you will want to use this too? Right??? :thumbup:

Link to comment

Another way to get your IP addresses (although not the MAC addresses) is to do this:

http://forums.lavag.org/index.php?act=attach&type=post&id=6050

As for the MAC addresses, you can use the command Michael supplied to call the System Exec VI and parse the output. There are also probably some Windows API functions to do this. I'm fairly sure Rolf Kalbermatter (rolfk) posted some either here or to the NI fourms, so you can search there for his posts.

Link to comment

QUOTE(dbyers3 @ Jun 8 2007, 10:23 AM)

Thanks Guys,

All worked great. One last thing,,, How about getting the Computer name????

Perhaps there's an easier way... but running 'ping localhost' gives the local computer name:

"Pinging <computername> [127.0.0.1] with 32 bytes of data:"

Link to comment

QUOTE(dbyers3 @ Jun 7 2007, 09:03 PM)

See here for the VI to do (part of) this...

QUOTE

Look at this registry key (just read it out):

or, if you don't like registry stuff, use this VI.

http://forums.lavag.org/index.php?act=attach&type=post&id=6054

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.