Search found 101 matches

by nodochau
Fri Oct 16, 2020 5:13 pm
Forum: Beginners
Topic: MoveFile to shared drives
Replies: 3
Views: 98

Re: MoveFile to shared drives

the command MoveFile>file_path,destination let>file_path=C:\folder_names\file_to_move.txt let>destination=Y:\destination_folder\file_moved.txt (Y is the shared drive in the network) I got CF_RESULT_CODE=183 So I changed the destination=\\server_name\name_of_shared_drive(Y)\destination_folder\file_mo...
by nodochau
Fri Oct 16, 2020 3:29 pm
Forum: Beginners
Topic: MoveFile to shared drives
Replies: 3
Views: 98

Re: MoveFile to shared drives

Just found the solution in this forum. :D
by nodochau
Fri Oct 16, 2020 2:58 pm
Forum: Beginners
Topic: MoveFile to shared drives
Replies: 3
Views: 98

MoveFile to shared drives

Hello All,
I am trying to move some files from local C to my shared network drives.
I got CF_RESULT=True and CF_RESULT_CODE=183 WITH MOVEFILE command
But I successfully moved files locally (within C drive)
Please help

Thanks
by nodochau
Wed Oct 14, 2020 10:46 am
Forum: Beginners
Topic: How to check the shared drives can be connected
Replies: 2
Views: 86

Re: How to check the shared drives can be connected

Thanks Dorian. Just keep thinking about something likes httprequest but your solution is quite simple.
Just add waiting time and a loop to check the connection in 5 seconds then bingo.
Thanks a gain
:idea:
by nodochau
Tue Oct 13, 2020 6:19 pm
Forum: Beginners
Topic: How to check the shared drives can be connected
Replies: 2
Views: 86

How to check the shared drives can be connected

Hello All, I have scripts that get into files in my company shared drives to retrieve some info. But sometimes the network does not work so the scripts just keep waiting. Is there anyway to send a signal or time out to check that I can connect to the shared drive? if not it will perform something el...
by nodochau
Fri Sep 11, 2020 11:32 am
Forum: Beginners
Topic: ArrayCount
Replies: 3
Views: 3216

Re: ArrayCount

Yes, I have done the test as you did.
ArrayCount>array1, count: works but ArrayCount>array%k% will cause the program runs forever...
by nodochau
Thu Sep 10, 2020 5:59 pm
Forum: Beginners
Topic: ArrayCount
Replies: 3
Views: 3216

ArrayCount

Hello All,
I have some array and I want to know the number of items in each array.
array1, array2....array20
If I use the code below:
let>k=0
Repeat>k
Add>k,1
ArrayCount>array%k%,itemCount
mdl>itemCount
Until>k=20
The program is crashed.
Please help!
by nodochau
Thu Sep 10, 2020 10:02 am
Forum: Beginners
Topic: Add two numbers
Replies: 2
Views: 2498

Re: Add two numbers

Thank you Dorian. :D
by nodochau
Wed Sep 09, 2020 3:19 pm
Forum: Beginners
Topic: Add two numbers
Replies: 2
Views: 2498

Add two numbers

Hello,
I have two numbers
let>t=1.23
let>tt=0.009
Add>t,tt
I got t=1.24
How can I get t=1.239? That is the number as I expected. tried to format number but not work.
Thanks
by nodochau
Tue Sep 01, 2020 1:52 pm
Forum: Beginners
Topic: Abs(x) Function
Replies: 2
Views: 2022

Re: Abs(x) Function

Thank you :P
by nodochau
Tue Sep 01, 2020 1:22 pm
Forum: Beginners
Topic: Abs(x) Function
Replies: 2
Views: 2022

Abs(x) Function

Hello All,
How to use the Abs function. Tried these but none of them worked.
let>x=Abs(-3)
mdl>x
=============
let>x=-3
let>y=Abs(x)
mdl>y
Please help! :oops:
Thanks
by nodochau
Fri Aug 14, 2020 11:31 am
Forum: Beginners
Topic: Install MS-15
Replies: 1
Views: 1847

Install MS-15

Hello All,
I have a MS -14 and just install MS-15. But when I open up the 15 then I just get the 14 only. Are we able to have both version in pc or just one? Tried to uninstall the 14 but it still there? How to remove the 14 completely?
Please help!

Thanks a lot
by nodochau
Wed Aug 05, 2020 12:43 am
Forum: Beginners
Topic: %CRLF% in Panel
Replies: 4
Views: 2422

Re: %CRLF% in Panel

Thanks a lot JRL.
by nodochau
Tue Aug 04, 2020 12:13 pm
Forum: Beginners
Topic: %CRLF% in Panel
Replies: 4
Views: 2422

Re: %CRLF% in Panel

Do you mean in the caption? Can you explain what you are trying to do and show us your code? Hi Marcus, Yes, it is in Caption. I want two separate lines show in the panel. Dialog>Dialog1 object Dialog1: TForm Left = 2413 Top = 110 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDia...
by nodochau
Thu Jul 30, 2020 7:21 pm
Forum: Beginners
Topic: %CRLF% in Panel
Replies: 4
Views: 2422

%CRLF% in Panel

Hello,
I am creating a dialog with some Panels. When I setdialogproperty for panels, the %CRLF% does not work.
Do you have any idea?
Thanks s lot
Sign up to our newsletter for free automation tips, tricks & discounts