AutoCAD error in Array Command - autocad

I'm studying AutoCAD. It's the version of 2017. Now I gonna utilize Array Command.
Unfortunately, the Array Command doesn't work in the AutoCAD. Whether I type it in the command line or select it from Modify part.
Please take a look at the attachment.
Thank you in advance for your help.
The photo of the error in command line

The DEMANDLOAD variable value is set to 0.
Change the value to 3.
From http://support.a2ktechnologies.com.au/Knowledgebase/Article/View/340/2/autocad-basic-commands-not-working---demandload

Related

is it possible to set parameter spring.servlet.multipart.max-file-size from command line in springboot?

I've tried to set parameter spring.servlet.multipart.max-file-size from command line as a starting parameter:
-Dspring.servlet.multipart.max-file-size=50MB
but I'm not able to confirm it,
is it possible in such way?
Yes, it is possible.
As mentioned by #Shailesh, you have to use it by that way.
Once it executes by this way, it sets the property and use it whenever required.
If you want to test it then upload the file greater than the specified limit, it should throw the error.

How can I get the runtime length of a movie in .m4v format with VBScript, command line, or some other way?

I'm looking to get the runtime length of a movie in .m4v. I am going to loop through a folder of movies and then spit out the runtimes to a MySQL server database.
What is a simplest way to get the runtime length with command line, VBScript, or some other quick scriptable way on a Windows box?
Thanks.
The CMD line version of MediaInfo from Sourceforge can give you that IIRC.

How to change value in a QTP data table?

Could anyone help me figure out how to enter a value into a QTP data table using VBScript? I'm trying the following line, but it doesn't seem to work:
datatable.Value(D,"sheetName")="A"
What is wrong? I am used to other languages and just cannot see any problem here.
What is the D you're using? Is it a variable holding the column name? If not and you mean to use the D column then you have to quote it so that QTP (VBScript actually) knows you mean the string "D".
datatable.Value("D","sheetName")="A"
I know zilch about QTP tool. However, your syntax looks correct based on this example. (see heading Adding Value to you a local sheet
Based on the information given, I would take a stab that you may have not referenced the QTP DLL, you have ON ERROR RESUME NEXT in your code AND you do not have OPTION EXPLICIT set at the top of your module.
Start by making sure you have the correct DLL referenced and adding this line to the top of the code:
OPTION EXPLICIT
If you've done that, then add more information that could help one deduce the problem (e.g. full code sample).
The way that you get data from datatable in QTP is, first import the Excel sheet into your datatable (Either Global or Local), then try to get data from datatable using following Syntax
Datatable(columnName,dtGlobalSheet) if imported in Global sheet
Datatable(columnName,dtLocalSheet) if imported in Local sheet
Importing Data
myFile = "C:\datasheet\excelone.xls"
datatable.Importsheet myFile,1,Global
Enter Value
DataTable("Coumn1Data", dtGlobalSheet)
This way you can get data from Excel sheet.
Thanks,
Karthik

Get all files from VSS for a given date?

Is there a way I can ask Visual source safe to get all the files from a given date for a project? We don't use labels, so I can't roll back to a specific label and am hoping that I can somehow just call a certain date range to get the files as they existed on a specific date? Impossible?
As far as I know you have to use the get command at a command prompt, not the gui. Something like this should do:
ss Get "$/AFolder" -R -Vd15-03-2009;2:00a
The -R option makes the get recursive and the -vd option gets the version at the specified date.
You can right-click the project, choose Show History and get the version of a given date from the history explorer.
Using SourceSafe: Get by Date
http://web.archive.org/web/20120615102028/http://brennan.offwhite.net/mtblog/archives/000282.htmll
Using the command line, use the get command with the -Vd parameter
ss get $/Project -R -GTU -Vd4/30/2009;3:00a
I'm not sure, but I don't think there is a way to do this with the ui.

capturing what keys were used to launch vbscript

I have an application that has 'macro' capabilities. When I map some keys on the keyboard to perform the 'macro', I can also have it launch vbscript instead.
What i'd like to try and do is within my vbscript figure out what keys were used in order to launch the script. Is it posible to do this? Could there be a way in vbscript to figure out what keys were last touched on the keyboard and then I could apply my logic.
The purpose of doing this is to keep the code in a single .vb file instead of several seperate .vb script files(one for each keyboard mapping, possible 3-4). Obviously we are looking to just maintain 1 file instead of multiple files with essentially the same code in each one.
I am leaning towards the idea that this is not possible, but i figured this would be a worthy question for the masses of StackOverflow. Thanks for the help everyone!
What you are asking for is not possible.
Can you change your VBScript to accept parameters and then call it with a different parameter based on which hotkey was selected?
I agree with aphoria, the only way to make something like this possible is if your keyboard mapping software allows you to assign a script/command with parameters/arguments. For example if you used
c:\Temp\something.vbs
then you would change this to
%WINDIR%\system32\wscript.exe c:\temp\something.vbs "Ctrl-Alt-R"
Then in your vbscript code you could collect the argument using the wscript.Arguments object collection to do actions based on what argument/parameter was passed. See the following two links for more info:
http://msdn.microsoft.com/en-us/library/z2b05k8s(VS.85).aspx
http://www.microsoft.com/technet/scriptcenter/resources/qanda/sept04/hey0915.mspx
The one possible approach you may use is to install keylogger and read its log in your VBScript.
For example save script start time in the very beginning of the script
StartTime = Timer()
and then read one log record of your keylogger before this time.

Resources