-
I tried going downstairs with no problem. If it can't be opened, the landlord can try this sentence: (note that it is 3 quotation marks).
shell & "\ """ & "\""", vbnormalfocus
If it doesn't work, the landlord can check it himself, you can write in front of the shell to check what this variable is.
If you can't solve it, you can send your source ** file to everyone to discuss.
-
First, yours should be able to accept the parameters!
Then start the file to be opened as a running parameter.
Your statement above is basically correct, but it may be due to a typo:
It should be followed by a space, and the whole sentence should not be included""Middle.
So it should be:
shell & "\ " & "\" ,vbnormalfocus
-
1. Your grammatical error cannot be in quotation marks.
2. Errors caused by inability to recognize long file paths.
You'll need to convert the path to a short path first.
The getshortpathname in the function needs to be declared first.
private declare function getshortpathname lib "kernel32" alias "getshortpathnamea" (byval lpszlongpath as string, byval lpszshortpath as string, byval cchbuffer as long) as long
function cwjm(filepath)
dim strshort as string, fname$, l&, fname2$
fname = filepath
strshort = string(lenb(fname), chr(0))
l& = getshortpathname(byval fname, byval strshort, byval len(strshort))
fname2$ = left(strshort, instr(strshort, chr(0)) 1)
if fname2 = "" then
cwjm = fname
elsecwjm = fname2
end if
end function
-
Your ** can't be executed, because there is a space missing, and then the quotation marks are in the wrong place, according to the path format you specified, it should be written like this:
Correct spelling: shell &"\ " & "\" ,vbnormalfocus
-
Is this it, you have to write it into the program, and then call it.
-
Look up the Internet for examples of reflection.
Two methods:1Add an array of controls with the load method, provided you have to add a control to the form at design time and set its index property to 0, then use : >>>More
System files are missing. (
Or there was an error in the registry. >>>More
<>2. Find the page layout-separator.
<>5. Delete all the Chinese characters in the header. >>>More
When your baby dog is about to get a size, take it to where you want it to go, and when it's done, pat it on the head, show praise, and over time it's fine!
Open Notepad Enter ** below and save as a file with the suffix bat or cmd Named shut down ** for @echo off shut down -s -t 60 This command indicates automatic shutdown after 60 seconds Enter controlschedtasks in Run Start the task scheduling wizard Click Browse Select the shutdown created above Set the frequency of the task to Daily Start time when you want to shut down Finally, enter the user password OK and you're good to go!