1 (edited by livexox 2018-01-31 20:36:32)

Topic: GetComputerName not working correctly.

I recently was working on a project and notice that when I tried to get the computer name using script "GetComputerName"  the name stored in the variable is missing the last letter. For example, lets say my computer name is "WIN732-VPC" when tried to get the computer name in VMD will show as "WIN323-VP" the last letter will be missing. I tested this on several computers using different operating system and it looks like this might be a bug on the software. At least on the version i'm running. 4.01

https://i.imgur.com/eHdcqDn.png

Post's attachments

Attachment icon ComputerName.zip 334.36 kb, 400 downloads since 2018-01-31 

Re: GetComputerName not working correctly.

has anyone experience this issue?

Re: GetComputerName not working correctly.

Hello liveox

A funny question !
Apparently you display the result of "GetComputerName" in a label
Have you checked the AutoSize property, so that all the text is displayed in the label ?

Regards

JB

Re: GetComputerName not working correctly.

You found a bug, thank you.
Fixed, please download latest version
https://www.dropbox.com/s/jwwq7vbjl33os … 2.zip?dl=0

Dmitry.

Re: GetComputerName not working correctly.

Beta works.. I need help with my licence.. i sent an email to support@drive-software.com.. hope you can help.

Re: GetComputerName not working correctly.

Good day,
Please is it possible to get the IP Address of my Computer?
Tnx

@thezimguy

Re: GetComputerName not working correctly.

Hello thezimguy, Dmitry

To retrieve this IP Address, you have to call Windows API Winsock.

Does MVD supports it ?

JB

Re: GetComputerName not working correctly.

thezimguy wrote:

Good day,
Please is it possible to get the IP Address of my Computer?
Tnx

Please download latest beta version:
https://www.dropbox.com/s/wutj7mnux7f3a … a.zip?dl=0


I have added a new function for that

ShowMessage(GetIPAddress);
Dmitry.

Re: GetComputerName not working correctly.

Thank you so much Dmitry

@thezimguy