Main diff between c and c++, is c++ is an object-oriented language. You can have inheritance, and overload methods and all the good OO stuff. Grant @ Loki
Loki
Posts
-
Is c++ really best? -
String questionusing the @ means you don't have to escape the \ character eg. string s = "\\\\Server\\folder"; it the same as string s = @"\\Server\folder"; Grant @ Loki
-
SmtpMail.Send(msg) problemIts probably can't find an SMTP Server to communicate with. Try setting the SmtpMail.SmtpServer to the name of your smtp server, eg. SmtpMail.SmtpServer = "mailserver"; Grant @ Loki
-
ASP DLL PROBLEM....HELP!!!!DanielLopez wrote: Public Function GetTeam(TeamID As Integer) As String Dim sql As String sql = "SELECT Name FROM Teams WHERE TeamID = " & TeamID GetTeam = ExecuteQuery(sql, True)(0) End Function Rewrite the above function as ... Public Function GetTeam(TeamID As Integer) As String Dim sql As String Dim rs as ADODB.Recordset sql = "SELECT Name FROM Teams WHERE TeamID = " & TeamID set rs = ExecuteQuery(sql, True) GetTeam = rs.Fields(0) End Function :) Grant @ Loki