Jump to content

zhenxin

Members
  • Content count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zhenxin

  • Rank
    Newbie
  1. errors in linking to respective pages

    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. vb codes error

    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. vb codes error

    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. Anaylze codes for time converter

    That means. when i add web reference to another .aspx page. that page can consume the webservice that i created.
  5. Anaylze codes for time converter

    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) Then m = "0" + min Else m = min End If If (sec < 10) Then s = "0" + sec Else s = sec End If If (h <= 11) Then ap = "AM" Else ap = "PM" End If If (h > 12) Then h -= 12 End If times = h + ":" + m + ":" + s + " " + ap Return times End FunctionCan i know where is the place which the server will return the times for different countries like CHina and Malaysia?
  7. Get textbox values and display

    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. interpret codes

    thx so much..
  10. interpret codes

    myDay = Day(dateandtime) If Len(myDay) = 1 Then myDay = "0" & myDayWhat does this code mean? wad is Len?
  11. Show threads where there is no messages inside

    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?
  12. 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
  13. How to post a new thread

    i mean.. You see when i reply to tis thread, it will appear below ur reply. need add wad code then can enable tis
  14. How to post a new thread

    When you press submit a new thread, how to enable the thread to appear in the next row?
  15. 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..
×