Ying8292
May 9th, 2001, 03:55 PM
It seems I can only comment the code line by line by using " ' ". Does anybody know how can I comment a block of vb code?
thanks
thanks
|
Click to See Complete Forum and Search --> : How can I comment a block of vb code? Ying8292 May 9th, 2001, 03:55 PM It seems I can only comment the code line by line by using " ' ". Does anybody know how can I comment a block of vb code? thanks Kdev May 9th, 2001, 04:17 PM As far as I know you can only comment vb code with either a "'" or "REM". Either way you have to actually put that in front of EVERY line that you want commented. There is no nice way like /* */ or anything. A fast way of doing this is to highlight the block of code that you want commented then go to View on the toolbar and select Edit under Toolbars and there is an item on that toolbar for commenting a block of code. -K Ying8292 May 9th, 2001, 04:40 PM I found it. It makes me feel much better. Cool, thanks. Iouri May 10th, 2001, 07:20 AM View->Toolbars->Customize Choose Toolbars tab Shortcut Menus->Code Window->Code Window Command tab Edit->Drag and drop Comment, Uncomment Iouri Boutchkine iouri@hotsheet.com codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |