!!! Remove Variables !!! 
Author Message
 !!! Remove Variables !!!

Hi there!

I'd like to do this:
Remove all the variables I have declared but have not used anywhere in VB.

Thanx any help!!



Sat, 24 Jan 2004 16:56:48 GMT  
 !!! Remove Variables !!!
Go through each one manually is my suggestion....


Quote:
> Hi there!

> I'd like to do this:
> Remove all the variables I have declared but have not used anywhere in VB.

> Thanx any help!!



Sat, 24 Jan 2004 21:54:25 GMT  
 !!! Remove Variables !!!
I posted an answer in another group... try to avoid posting seperately to
multiple groups. Post to all target groups at once if possible. That way,
all answers show up in all groups you posted to.

Project Analyzer
http://www.aivosto.com/project/project.html


Quote:
> Hi there!

> I'd like to do this:
> Remove all the variables I have declared but have not used anywhere in VB.

> Thanx any help!!



Sat, 24 Jan 2004 22:43:26 GMT  
 !!! Remove Variables !!!

Hi,
Try commenting each variable and then try doing a full compile with CTRL+F5. If you get an error then you have used the var. Else that code can remain commented. Later on after compiling your code you can remove the unwanted declaration and then recompile it.

Sometimes when working with large projects VB does not recognize undeclared variables even when using option explicit. But the error throws up when compiling. This commenting and compiling is just to be on the safer side.

      Trevor Benedict R

      Software Consultant
      Western Digital Malaysia Sdn Bhd
      Off : +60-03-78705860
      Res : +60-0122927795


  Hi there!

  I'd like to do this:
  Remove all the variables I have declared but have not used anywhere in VB.

  Thanx any help!!



Sun, 25 Jan 2004 17:23:01 GMT  
 !!! Remove Variables !!!

This is because of compile on demand when running the application.  Use Shift - F5 for start with full compile when running your app to catch these types of things

  Hi,
  Try commenting each variable and then try doing a full compile with CTRL+F5. If you get an error then you have used the var. Else that code can remain commented. Later on after compiling your code you can remove the unwanted declaration and then recompile it.

  Sometimes when working with large projects VB does not recognize undeclared variables even when using option explicit. But the error throws up when compiling. This commenting and compiling is just to be on the safer side.

        Trevor Benedict R

        Software Consultant
        Western Digital Malaysia Sdn Bhd
        Off : +60-03-78705860
        Res : +60-0122927795


    Hi there!

    I'd like to do this:
    Remove all the variables I have declared but have not used anywhere in VB.

    Thanx any help!!



Sun, 25 Jan 2004 21:14:40 GMT  
 !!! Remove Variables !!!

HTML... yuck... but anyway, I went so far as to replace the default "Run" button with a custom button that does a full compile (Shft-F5) every time... plus clicked on VB's Tools/Options menu, general tab and cleared the check out of the checkbox labeled "Compile on Demand" (which also greys out the checkbox labeled "Background Compile".. Every time I run it doesn't start until it's fully compiled.. seems that any CPU over about 133mhz should just go ahead and do a full compile... and "Compile on demand" just seems scary.. .02 cents spent..

  This is because of compile on demand when running the application.  Use Shift - F5 for start with full compile when running your app to catch these types of things

    Hi,
    Try commenting each variable and then try doing a full compile with CTRL+F5. If you get an error then you have used the var. Else that code can remain commented. Later on after compiling your code you can remove the unwanted declaration and then recompile it.

    Sometimes when working with large projects VB does not recognize undeclared variables even when using option explicit. But the error throws up when compiling. This commenting and compiling is just to be on the safer side.

          Trevor Benedict R

          Software Consultant
          Western Digital Malaysia Sdn Bhd
          Off : +60-03-78705860
          Res : +60-0122927795



Sun, 25 Jan 2004 22:26:01 GMT  
 !!! Remove Variables !!!

I would have to agree.. I have thought of doing that but the problem is my laziness...  It might prevent me from getting peed off when I finally go to compile my application and i find errors that never were apparent when running my application and testing (as much as possible)...

What.. So the Kenster doesn't like my new HTML format of my messages.. Sorry I was just tired of looking at my normal type standard font messages.   Arial is always better than Times New Roman.....

Now I can use lots of COLOR...  And type my text on a really hard to read backround.

He he he.. Can you tell I am bored today...


  HTML... yuck... but anyway, I went so far as to replace the default "Run" button with a custom button that does a full compile (Shft-F5) every time... plus clicked on VB's Tools/Options menu, general tab and cleared the check out of the checkbox labeled "Compile on Demand" (which also greys out the checkbox labeled "Background Compile".. Every time I run it doesn't start until it's fully compiled.. seems that any CPU over about 133mhz should just go ahead and do a full compile... and "Compile on demand" just seems scary.. .02 cents spent..

    This is because of compile on demand when running the application.  Use Shift - F5 for start with full compile when running your app to catch these types of things

      Hi,
      Try commenting each variable and then try doing a full compile with CTRL+F5. If you get an error then you have used the var. Else that code can remain commented. Later on after compiling your code you can remove the unwanted declaration and then recompile it.

      Sometimes when working with large projects VB does not recognize undeclared variables even when using option explicit. But the error throws up when compiling. This commenting and compiling is just to be on the safer side.

            Trevor Benedict R

            Software Consultant
            Western Digital Malaysia Sdn Bhd
            Off : +60-03-78705860
            Res : +60-0122927795



Sun, 25 Jan 2004 23:26:52 GMT  
 !!! Remove Variables !!!

Posting in HTML is obnoxious

What.. So the Kenster doesn't like my new HTML format of my messages.. Sorry I was just tired of looking at my normal type standard font messages.   Arial is always better than Times New Roman.....

Now I can use lots of COLOR...  And type my text on a really hard to read backround.

He he he.. Can you tell I am bored today...



Mon, 26 Jan 2004 00:19:38 GMT  
 !!! Remove Variables !!!

Good point

  Posting in HTML is obnoxious


  What.. So the Kenster doesn't like my new HTML format of my messages.. Sorry I was just tired of looking at my normal type standard font messages.   Arial is always better than Times New Roman.....

  Now I can use lots of COLOR...  And type my text on a really hard to read backround.

  He he he.. Can you tell I am bored today...



Mon, 26 Jan 2004 01:32:14 GMT  
 !!! Remove Variables !!!

Could you guys explain what is so obnoxious about my posts?  What is the different accept for the fact that they are slightly easier to read?

Kip



Mon, 26 Jan 2004 04:08:04 GMT  
 !!! Remove Variables !!!

The following is what it looks like to someone that has either no html support or it's disabled...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY background=3D"">
<DIV><FONT face=3DArial size=3D2>Could you guys explain what is so =
obnoxious about=20
my posts?&nbsp; What is the different accept for the fact that they are =
slightly=20
easier to read?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Kip</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>


  Could you guys explain what is so obnoxious about my posts?  What is the different accept for the fact that they are slightly easier to read?

  Kip



Mon, 26 Jan 2004 04:35:34 GMT  
 !!! Remove Variables !!!

Quote:
>Could you guys explain what is so obnoxious about my posts?  What is the

different accept for the fact that they are >slightly easier to read?

"Slightly easier to read" is an opinion.  Personally I find the font you use
isn't as easy to read as the font I've selected to view all other newsgroup
postings in.  You are forcing me to use your choice of fonts/colors/etc and
that's obnoxious IMO.  HTML posts are also larger for little gain - don't
forget that these groups are international and not everybody everywhere has
unlimited free download time and high-speed connections.  Finally, while
yours haven't made use of colors I've seen many that are virtually
unreadable; in one mailing list I'm on there's one user who insists on using
a blue/gray background which has limited contrast to the black text and it's
just plain irritating.



Mon, 26 Jan 2004 05:31:39 GMT  
 !!! Remove Variables !!!
Ok that is fair enough.  Your opinions have been accepted.  Tomorrow at work
the transition will be made...................

back to plain text for me....


Quote:


> >Could you guys explain what is so obnoxious about my posts?  What is the
> different accept for the fact that they are >slightly easier to read?

> "Slightly easier to read" is an opinion.  Personally I find the font you
use
> isn't as easy to read as the font I've selected to view all other
newsgroup
> postings in.  You are forcing me to use your choice of fonts/colors/etc
and
> that's obnoxious IMO.  HTML posts are also larger for little gain - don't
> forget that these groups are international and not everybody everywhere
has
> unlimited free download time and high-speed connections.  Finally, while
> yours haven't made use of colors I've seen many that are virtually
> unreadable; in one mailing list I'm on there's one user who insists on
using
> a blue/gray background which has limited contrast to the black text and
it's
> just plain irritating.



Mon, 26 Jan 2004 09:21:47 GMT  
 !!! Remove Variables !!!

Now I fully understand your pain... LOL

I will change it tomorrow at work.. I thought it would be cool, but I ended up a fool

  The following is what it looks like to someone that has either no html support or it's disabled...

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  <HTML><HEAD>
  <META content=3D"text/html; charset=3Diso-8859-1" =
  http-equiv=3DContent-Type>
  <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
  <STYLE></STYLE>
  </HEAD>
  <BODY background=3D"">
  <DIV><FONT face=3DArial size=3D2>Could you guys explain what is so =
  obnoxious about=20
  my posts?&nbsp; What is the different accept for the fact that they are =
  slightly=20
  easier to read?</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Kip</FONT></DIV>
  <DIV>&nbsp;</DIV></BODY></HTML>


    Could you guys explain what is so obnoxious about my posts?  What is the different accept for the fact that they are slightly easier to read?

    Kip



Mon, 26 Jan 2004 09:20:59 GMT  
 !!! Remove Variables !!!

Quote:

> I posted an answer in another group... try to avoid posting seperately to
> multiple groups. Post to all target groups at once if possible. That way,
> all answers show up in all groups you posted to.

Bad advice.  Better to pick one group, and post to that!  Multi-postings stand a
lower chance of geting a response.


Mon, 26 Jan 2004 22:29:44 GMT  
 
 [ 17 post ]  Go to page: [1] [2]

 Relevant Pages 

1. (Q) Removing spaces at end of variable (MS Qbasic)

2. removing multiple space characters from a string variable

3. How to remove spaces from a variable?

4. Variables and ADD/Remove List

5. !! Remove variables !!

6. Attachments.remove is not removing attachment

7. Remove Datasource (remove all merge info)

8. Removing entries from Add/Remove list in control panel

9. print variable, variable, variable etc

10. Referencing Global Variable from a variable

11. Error msg: Object variable or With block variable not set

12. Expanding a variable or referencing a field within variable

 

 
Powered by phpBB® Forum Software