Jump to content

zhenxin

Members
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zhenxin

  • Rank
    Newbie
  1. hi. im getting this error called "Index was out of range. Must be non-negative and less than the size of the collection."i was doing up a simple forum using vs2005. i was trying to link the respective threads to respective topics and from the topics to its respective messages.For the linking of the threads to respective topics it succeed. But when i wanted to link the topics to its respective messages, it return mi the above error.May i know how to solve this error??
  2. Let take this forum for example.i gt a source code which will link the topic to respective messages (eg. http://w3schools.invisionzone.com/index.php?showtopic=19885)But then how can i link the thread to respective topics as in this casehttp://w3schools.invisionzone.com/index.php?s=06ff120f6151fd81a2ba49abba3b9172&showforum=28 how to get the code to pass in the parameter as shown above in blue?
  3. hi. im getting this error called "Index was out of range. Must be non-negative and less than the size of the collection."i was doing up a simple forum using vs2005. i was trying to link the respective threads to respective topics and from the topics to its respective messages.For the linking of the threads to respective topics it succeed. But when i wanted to link the topics to its respective messages, it return mi the above error.May i know how to solve this error??
  4. That means. when i add web reference to another .aspx page. that page can consume the webservice that i created.
  5. But i can get various countries' time back in another website when i add web reference to it.
  6. Public Function TimeConverter(ByVal time As Integer) As String Dim times As String Dim hour As Double = Date.Now.Hour Dim h As String = " " Dim min As Double = Date.Now.Minute Dim m As String = " " Dim sec As Double = Date.Now.Second Dim s As String = " " Dim ap As String hour += time If (hour < 10) And (hour > 0) Then hour = "0" + hour h = hour ElseIf (hour < 0) Then hour = hour + 12 h = hour Else h = hour End If If (min < 10) The
  7. i have 2 textbox. What is the code like inside the .asmx file to get the result of these 2 textbox and display in 2 lines?
  8. i need a textbox to enter the address i wanted and it will display the map of it. i need to consume from pages ending with .asmx extension(I need a Singapore map)i also need to consume from the .asmx file where i can translate the whole page from english to chinese.Anybody have any idea where i can find it?
  9. zhenxin

    interpret codes

    myDay = Day(dateandtime) If Len(myDay) = 1 Then myDay = "0" & myDayWhat does this code mean? wad is Len?
  10. Thanks for your help.. ITs done.. I got another problemI need to delete the thread(parent class) which it will auto delete all messages(child class).How to modify the delete statement?
  11. I want to select all threads even though the count(Messages.TitleID) is zero.. Is like when u start a new thread with no messages currently posted. How can i modify the codes to do it?SELECT Thread.ThreadTitle, COUNT(Messages.TitleID) AS NoOfMessage, Thread.ThreadID FROM (Thread INNER JOIN Messages ON Thread.ThreadID = Messages.ThreadID) GROUP BY Thread.ThreadTitle, Thread.ThreadID
  12. i mean.. You see when i reply to tis thread, it will appear below ur reply. need add wad code then can enable tis
  13. When you press submit a new thread, how to enable the thread to appear in the next row?
  14. zhenxin

    Creating a forum

    thanks.. Maybe i too anxious liao.. Cos got alot of tests and other modules de projects.. so got a bit rush.. Time not enuff.. Hai..
×
×
  • Create New...