AllExperts > Experts 
Search      

Visual Basic

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Visual Basic Answers
Question Library

Ask a question about Visual Basic
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Ravindra
Expertise
visual basic application programming from design to access information, sql, engineering and commercial applications. access databases, excel. Optional: 1)a large number of people want me to do work which takes some time and effort. Pl.note that i would like to be paid for such work. 2) if you want me to spend quality time and do special work, i expect to be paid a reasonable price for my time. 3) if you are pleased with my reply you could consider a donation of 1$. 4) you can visit my website http://ravindra.coolpage.biz (under constrn)

Experience

Past/Present clients
project work for a Norway company, and a Canadian company completed. Freelance Project work and Teaching
teaching vb

 
   

You are here:  Experts > Computing/Technology > Basic > Visual Basic > VB code

Topic: Visual Basic



Expert: Ravindra
Date: 10/9/2008
Subject: VB code

Question
I have sent you a question about VB and you said that it is not VB.
I think that the code is VB script then.
I dont know how to tell the difference between VBA, VB, VB.net and VBScript. Do you know how?
I am need to find out the user logon in windows, and print
it or save in a variable.
I found that I can use environment.userName property but that does not seem to work.
Please help I am very confused

Answer
the windows logon details are available in the registry and if you are at least an inter level programmer then you could use VB to get this.

you may be confused but this cannot be removed  by asking a question. you need to delve deep into the subject.

registry is well left alone

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.