Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 10:44 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Windows MsgBox
PostPosted: January 5th, 2010, 9:19 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
I'm starting to look at some advanced concepts for Opus apps. One is not as much advanced as just beyond me.

I've studied the dll samples and can see a world of use for these functions. However, you appear to have to be a dll programmer to use them, unless there are standard commands for all dlls. While the Opus part is pretty straightforward, I haven't a clue, nor can I locate any references as to the commands to the dll.

Here is the situation:
We'll be using silent log in to access our LMS. Many of our field employees will share access to a computer for training purposes. Since the silent log in is going to do so in the name of the person logged on to the machine, it is inevitable that a student will sit down at a machine left by another and proceed to take a course in someone else's name.

So, I figured one could have the silent login button first run an Opus applet that would return a standards Windows Message box that would say "user logged in is XXXX XXXXXX. If you are not this person, please log off and back in"

I know you can get the current Windows user via accessing advapi32.dll, but have no clue as to what the script in Opus should read.

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject:
PostPosted: January 5th, 2010, 10:15 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Opus has an in-built variable called SYSTEM_USERNAME that will return the user logged into Windows.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 5th, 2010, 10:20 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
mackavi wrote:
Opus has an in-built variable called SYSTEM_USERNAME that will return the user logged into Windows.

Mack

Duh...drool.

Thanks Mack...back to the Basics Forum for me.
Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject:
PostPosted: January 5th, 2010, 10:28 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Just blame it on the snow :-)

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group