Execute an immediate command. 
Author Message
 Execute an immediate command.

Just a correction: the command is "immed" (you'll see "Command Window -
Imediate).
To get back to command mode, type ">cmd". You can also type "temporary"
commands by prefixing them with ">". This will execute a command as if in
"command" mode and then leave you in immediate mode.

Also, make sure you leave a space between the question mark and the first
character.
One last note, I haven't been able to print anything while in design mode -
I have to run a dummy app, press ctrl-alt-a (which I'm 2 seconds away from
redefining to the old Ctrl-G), and then switching to immediate mode (it
always seems to jump back to command mode).

-Pickle


Quote:
> First thing you have to do is switch it out of command mode (indicated by
> the '>' prompt). To do this, I believe you have to type Immediate. Having
> done this, it will stop printing a prompt.

> --
> Jonathan Allen



> > I have Immediate window, how can i execute immediate commands?
> > Tried ? 3+1 but no result
> > Better start with 1+1? :-)

> > Corrado



Tue, 27 May 2003 23:52:41 GMT  
 Execute an immediate command.
Quote:
> One last note, I haven't been able to print anything while in design

mode -

Neither have I. Sucks, don't it?

--
Jonathan Allen


Quote:
> Just a correction: the command is "immed" (you'll see "Command Window -
> Imediate).
> To get back to command mode, type ">cmd". You can also type "temporary"
> commands by prefixing them with ">". This will execute a command as if in
> "command" mode and then leave you in immediate mode.

> Also, make sure you leave a space between the question mark and the first
> character.
> One last note, I haven't been able to print anything while in design
mode -
> I have to run a dummy app, press ctrl-alt-a (which I'm 2 seconds away from
> redefining to the old Ctrl-G), and then switching to immediate mode (it
> always seems to jump back to command mode).

> -Pickle



Wed, 28 May 2003 08:52:20 GMT  
 Execute an immediate command.
Thanks for answers, I was on Immediate mode (using Immed).
I'll try issuing commands on Break mode.
I really miss Vb6's immediate mode (and I'm not alone)... (Hey M$ guys are
you reading?)

Corrado



Wed, 28 May 2003 18:01:50 GMT  
 Execute an immediate command.
Sorry folks, we don't support expression evaluation at design time for VB in
this version. Unfortuantly as VB is now only executed by the runtime we
don't have the ability to interpret the code like we did in VB6.

Sam


Quote:
> Thanks for answers, I was on Immediate mode (using Immed).
> I'll try issuing commands on Break mode.
> I really miss Vb6's immediate mode (and I'm not alone)... (Hey M$ guys are
> you reading?)

> Corrado



Sat, 31 May 2003 13:50:48 GMT  
 Execute an immediate command.
Sad to hear this :-(
It's alway hard to make a step back...

Corrado



Sat, 31 May 2003 15:36:33 GMT  
 Execute an immediate command.
My VBNet project is in break mode, I'm on immediate window, type ? 3+1
,answer is "Unable to evaluate expression"
tried also 3+1, print 3+1 got same result.
How to i get that operation result?

Corrado



Sun, 01 Jun 2003 00:39:49 GMT  
 Execute an immediate command.
Are you typing a space between  ? and 3? Up to VB6 you could type ?3+1 in
VB.Net you must have a space, if you don't you get the same error you're
seeing.


Quote:
> My VBNet project is in break mode, I'm on immediate window, type ? 3+1
> ,answer is "Unable to evaluate expression"
> tried also 3+1, print 3+1 got same result.
> How to i get that operation result?

> Corrado



Sun, 01 Jun 2003 03:56:54 GMT  
 Execute an immediate command.
With regards to it jumping back to command mode, you might be interested to
learn that there are two shortcuts for the Command Window:

    Ctrl+Alt+A -- Go to Command Window and put it in command mode
    Ctrl+Alt+I -- Go to Command Window and put it in immediate mode

HTH,
Paul


Quote:
> Just a correction: the command is "immed" (you'll see "Command Window -
> Imediate).
> To get back to command mode, type ">cmd". You can also type "temporary"
> commands by prefixing them with ">". This will execute a command as if in
> "command" mode and then leave you in immediate mode.

> Also, make sure you leave a space between the question mark and the first
> character.
> One last note, I haven't been able to print anything while in design
mode -
> I have to run a dummy app, press ctrl-alt-a (which I'm 2 seconds away from
> redefining to the old Ctrl-G), and then switching to immediate mode (it
> always seems to jump back to command mode).

> -Pickle



> > First thing you have to do is switch it out of command mode (indicated
by
> > the '>' prompt). To do this, I believe you have to type Immediate.
Having
> > done this, it will stop printing a prompt.

> > --
> > Jonathan Allen



> > > I have Immediate window, how can i execute immediate commands?
> > > Tried ? 3+1 but no result
> > > Better start with 1+1? :-)

> > > Corrado



Sun, 08 Jun 2003 07:58:06 GMT  
 Execute an immediate command.
If the command window doesn't say "Immediate" in it, type immed, then try ?
1 + 1


Quote:
> My VBNet project is in break mode, I'm on immediate window, type ? 3+1
> ,answer is "Unable to evaluate expression"
> tried also 3+1, print 3+1 got same result.
> How to i get that operation result?

> Corrado



Tue, 10 Jun 2003 00:25:36 GMT  
 
 [ 14 post ] 

 Relevant Pages 

1. command.execute didn't get executed sometimes

2. command.execute vs. connection.execute

3. NEED HELP DISABLING QB COMMANDS:IMMEDIATE REP. NEE

4. NEED HELP DISABLING QB COMMANDS:IMMEDIATE REP. NEEDED

5. How to execute a command line command from a *.HTA

6. Using the ADO Command Object to send an Execute command

7. Executing command to command line from VB App

8. Executing a command line using code

9. Acc97: Executing a string variable as a command

10. How execute commands stored in variables ?

11. Command button doesn't execute macro when added via code

12. Executing command line function from VBA (Excel)

 

 
Powered by phpBB® Forum Software