It's oh so fun to be a troll! [:D]
cm5400
@cm5400
Best posts made by cm5400
Latest posts made by cm5400
-
RE: Try without Catch
@Cyresse said:
Erm, if you wanted to handle the exception at a higher level,can VB do this?
(Python stz)try:
foo()
except:
raise
finally:
bob()
Yep, you can throw a new exception in the catch.
Try
TestSub()
Catch
Throw New (What ever exception you want.)
Finally
Do something
End Try
-
RE: Too much of a good thing?
When I write code, I rarely comment the majority of the code. I just write a comment for the function as to its purpose, the prerequisites of the function and the expected output. I only comment the actual code when I need to remind myself why I did some "magical" programming, or where a bug/catch 22 may occur in certain situations. It is absolutly absurd to code each and every line or every other line. Commenting should be kept to a minimum and where needed.
-
RE: FTP? Yeah, F it!
@starfox said:
FTP = Fedex Transport Protocol :)
Bwahahahahahahaha!!!! Cough, Cough, Muahahahahahahahaha!! I love it! [:D][:D]
-
RE: Help: Asp loading time
@human said:
Ok, stop with the Erk now, this is sample code.
<FONT size=+0>I guess fld2 is shorthand for field2 so couldn't you just do
</FONT><FONT size=+0>"SELECT fld2 FROM table" instead? That'll give a speed improvement.
Or, you even change your if/elseif to
SELECT FldID FROM table1 WHERE Fld2 = 1</FONT><FONT size=+0>Fld2 is either 1 or 2. I need all the fields from the table thats why i use "SELECT *" but only the ones with value 1 are displayed with a record count corresponding to the field Id of the fields with value 2. Its a complicated process.
recordsArray is supporsed to work as temp storage for easier sorting, like a query in MS ACCESS, so it is again looped for the display with the sorted records and corresponding counts.</FONT>
Allways avoid the "Select * from blah" whenever possible. Try to pinpoint exactly what you need inorder to keep overhead down. so the SELECT FldID FROM table1 WHERE Fld2 = 1 is a good idea to start with. Only select the columns that you need data from and always include a where clause when possible to minimize the processing you do on the client.
-
RE: Jacko innocent????
I agree. He should have been convicted but as said the prosecution did not have enough hard evidence against him. I think that the jury wanted to convict him but just could not based on the laws. Maybe the family will sue him in cival court and win a huge sum of money and Jackson will never pay it, just like OJ.[:P]
-
RE: Does VB 6.0 offer data structures
@icelava said:
Consider this: i used to be using ASP.NET Forums v1.0
I am a much happier person now ;-)phpBB rules! [:P]
-
RE: All the Money in the World
I hope they have a miles advantage card. They could fly around the world quite a few times!!!
-
RE: Unknown error logged
@AJR said:
@Mike R said:
"Something went wrong, the world will implode on itself in 5 minutes"
How about "Arithmetic error: 1=0. Fact: There is 1 planet Earth. Therefore there are 0 Earths. Therefore you do not exist. Goodbye." :-)[:D] Me likes!!!