Can you fix the problem


Hi,  

I have code to open program that work(on attach files).  

My problem is when I change code to open another file it error.  

Ex:  

Right code:  

Call Shell(li & "\" & "Program Files\Microsoft Office\Office10\POWERPNT.EXE", 1)  

Error code:  

Call Shell(li & "\" & "aa.pdf", 1)  

Error say:"Invalid procedure call or argument"  

I have file on my computer.  

Can anyone help me with this problem please?  

Thanks!  

seyha
Call statement Transfers control to a Sub procedure, Function procedure, or dynamic-link library (DLL)procedure.



I believe that you cannot use "CALL" to call a file which is not executable.  

same goes with SHELL...



Call Shell(AppName, 1) Where AppName contains the path of the Executable file.



try it with any other directory and try calling an executable.. it will work.



If you try calling a .txt or .bmp, it will give you the same error message...
that error happens when there's no handle to close. i see you call the 'open()' and you're not getting an object reference error before closehandle(). check your memory.pointerwrite() function to make sure it's not doing a closehandle() prematurely. it sounds like you're calling closehandle() twice. this is because you have a space between fields. 

program files (x86), avast software, it will continue to get this error because of the separation. try enclosing it into quotations. such as:get-content "c:\program files (x86)\avast software\business agent\log.txt"orget-content "c:\program files (x86)\avast software\business agent"\log.txt the compiler will throw the following errors:  


10: error: increment of read-only variable **k**,  


12: error: **lvalue** required as increment operand. Hi Lynnhoustonbell,

We apologize for the delay in response.

The pdf file that you are converting a word will not give the accurate result or wont be editable, if-

1- The pdf file you have converted to word might be a scanned pdf which doesn't contain real text.

If it contains text also, then you can click on "**Enable all features**" option that appears on the top right side of the word document.

2- If your original pdf has images rather than text, then after converting to word document the images wont be editable.

3- The source of the pdf was a different format or created using any other application, which is causing trouble after conversion because of the presets used to create it.

Regards,

Akanchha thanks for your comment!

i definitely should’ve used mkshell, not sure why i wasn’t. it does seem to produce a different error:

make: entering directory '/build/source/doc/manual'

xsltproc --nonet --param section.autolabel 1 --param section.label.includes.component.label 1 --param html.stylesheet … Hi Jamey6588540,Please follow the steps mentioned in the below link to fix the paper capture service:[Could not access the recognition service when attempting OCR on Windows](https://community.adobe.com/external-link.jspa?url=https%3A%2F%2Fhelpx.adobe.com%2Facrobat%2Fkb%2Facrobat-could-access-recognition-service.html)Divya The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-47621.pdf hi [@dr\_rainer\_demski](/u/dr_rainer_demski), welcome to the asana community forum :wave:t2:

in this case, i would suggest reaching out to our support team with the unique error code received as mentioned in the pop-up :slight\_smile:

you can reach out to the support team by clicking the support form prompt in the pop-up … not [full disclosure] a linux person per se.

something similar to the following should work:

https://www.unix.com/shell-programming-and-scripting/68166-converting-integer-string.html

start simple with just enough code to test the concept.

see if it works and modify/correct as necessary.

then if it still does not work, then post your documented code accordingly along an explanation of what is or is not happening as you expect or desire. May be the function is executed before the document is ready.
Try to use document.ready function like this:



```
$( document ).ready(function() {
    $('#machines').change(function() {
        var $selected = $(this).find(':selected');
        $('#description').html($selected.data('description'));
    }).trigger('change');
});

```