Pelusallo Question History:
Questions Asked: 5
Questions Answered: 0
Last 3 Grade(s) Given:
B B A
Question Grading Record:
3 / 3
Tips from Community Support:
--------------------------
Grading Tips:
Tip One: Always give an 'A' grade unless you have a clear reason not to do so.
Tip Two: Before giving less than an 'A' grade, tell the Experts that the solution is less than excellent and what grade you are prepared to assign. Give them the chance to improve their response for a better grade.
Tip Three: Always post a comment when accepting a grade. Update the Experts and let them know that the solution worked and why it worked.
Tip Four: Give your time to the Experts. Experts Exchange is a completely free site for you. The only thing we ask of you is a small amount of your time when you are managing your questions. In exchange for your time you get some of the very best help available in the world. It really requires very little time to post a comment but the pay off is well worth it when the Experts feel appreciated - see Tip One.
Tip Five: Always post a response to every post that each Expert makes. This keeps the Experts informed of your progress and the current state of the problem. You will never regret keeping the Experts informed on the status of your problem that they are trying to fix.
That is it. If you will follow those five tips and the advice I have given you about managing your questions, you will get the most out of Experts Exchange - The Best Site On The Internet!
Main Topics
Browse All Topics





by: NinibiniPosted on 2000-11-21 at 05:08:04ID: 5474234
- place a textbox (text1) and a commandbutton (command1) on your form
e, NameSize)
- copy and paste the following code
Option Explicit
Private Declare Function GetComputerName Lib "kernel32" Alias _
"GetComputerNameA" (ByVal sBuffer As String, lSize As Long) _
As Long
Private Sub Command1_Click()
Dim PCName As String
Dim P As Long
P = NameOfPC(PCName)
Text1.Text = PCName
End Sub
hope, this helps
Function NameOfPC(MachineName As String) As Long
Dim NameSize As Long
Dim X As Long
MachineName = Space$(16)
NameSize = Len(MachineName)
X = GetComputerName(MachineNam
End Function