Let's suppose I add my program to SendTo menu, in such a way I can "send" to it any file just by right-clicking on the file: how can my program access the path of the right-clicked file? Looks like it is NOT in the command line...?
Right, it works: I'm actually using RapidQ (Visual basic clone), I didn't notice that file path is seen as the last parameter received from commandline.
For search engines:
this code in RapidQ shows all the commandline parameters, last one being the path of the file dropped on the executable, or "received" from "SendTo" menu item:
for i = 0 to CommandCount
print i, "," ,command$(i)
next
Its basic(!) syntax is mostly that of QBasic. As, indeed, the original author points out. And much of VB's syntax also derives from QB. So there's some compatiblity there as a result.
But I think you may be confusing (vague) compatability with cloning. Some of the source code may be compatible but sgnificant amounts are not (PEEK, POKE, INKEY$, CALLBACK, CODEPTR, Financial functions, memory functions ... just off the top of my head), and the two IDEs are completely different, the types of projects that can be compiled are entirely different, the compilation results are different, ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.