Author |
Message |
KimC #1 / 17
|
 !!! 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 |
|
 |
Kip Fryma #2 / 17
|
 !!! 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 |
|
 |
Ken Halte #3 / 17
|
 !!! 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 |
|
 |
Trevor Benedict #4 / 17
|
 !!! 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 |
|
 |
Kip Fryma #5 / 17
|
 !!! 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 |
|
 |
Ken Halte #6 / 17
|
 !!! 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 |
|
 |
Kip Fryma #7 / 17
|
 !!! 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 |
|
 |
Bob Butle #8 / 17
|
 !!! 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 |
|
 |
Ken Halte #9 / 17
|
 !!! 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 |
|
 |
Kip Fryma #10 / 17
|
 !!! 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 |
|
 |
Ken Halte #11 / 17
|
 !!! 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? What is the different accept for the fact that they are = slightly=20 easier to read?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Kip</FONT></DIV> <DIV> </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 |
|
 |
Bob Butle #12 / 17
|
 !!! 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 |
|
 |
Kip Fryma #13 / 17
|
 !!! 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 |
|
 |
Kip Fryma #14 / 17
|
 !!! 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? What is the different accept for the fact that they are = slightly=20 easier to read?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Kip</FONT></DIV> <DIV> </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 |
|
 |
Hercules Gunte #15 / 17
|
 !!! 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 |
|
|