Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Reinout

    Load XML (Firefox)

    It's ok :)
  2. Reinout

    Load XML (Firefox)

    That's incorrect Dan. If I put this : function loadXML(file) { var moz = (typeof document.implementation != 'undefined') && (typeof document.implementation.createDocument != 'undefined'); var ie = (typeof window.ActiveXObject != 'undefined'); var xmlDoc; if (moz)...
  3. Reinout

    Load XML (Firefox)

    It appears the error is in the xmlDoc.load(file) line?
  4. Reinout

    Load XML (Firefox)

    Any idea why it still isn't working in Opera?
  5. Reinout

    Load XML (Firefox)

    Thanks a lot, it's like you say, .text was guilty !
  6. Reinout

    Load XML (Firefox)

    I changed bouwNieuws into buildTablerows to make it easier to understand. I'll try the .firstchild.nodeValue :-)
  7. Reinout

    Load XML (Firefox)

    Hi, I got a question about loading an XML file in javascript. I'm using it to create a table dynamically. Everything's working fine using I.E., the structure file of the XML file has been loaded correctly into firefox as well, since I can see the names of the nodes. It's only the data that seems...
  8. Reinout

    RaiseEvent skipped

    I didn't find an article about it yet, but as we have 2 similar examples now of raise events not working while creating the instance of a (different) class, while the same events are working correctly on another place in the code, it seems very likely.
  9. Reinout

    RaiseEvent skipped

    I will give this thread a high rating, cause it's important to see (not only for me) you can't raise an event while creating an instance of a class. One of my colleague had the same problem on a page, where multiple other raise-events were working correctly, but one failed. Thanks a lot Jubble...
  10. Reinout

    RaiseEvent skipped

    That's it jubble ! It works like you say it, you have to create a new instance of the class, afterwards declare addhandlers and then initialize the class. So : Private WithEvents ucAnamnese As mlaMaaltijd.Anamnese Private Sub frmMaaltijd_uTreeMouseUp(ByVal sender As Object, ByVal e As...
  11. Reinout

    RaiseEvent skipped

    Sorry, something must have gone wrong while deleting the comment-lines :) I put the AddHandler before the declaration for testing, as the raiseEvent should have been executed when the line "ucAnamnese = New mlaMaaltijd.Anamnese(logGebruiker, sCurrentPatient, "R")" was executed, when I put the...
  12. Reinout

    RaiseEvent skipped

    Public Class Anamnese Inherits System.Windows.Forms.UserControl Public Event VolgendePatient(ByVal OpnNr As String) Public Event VorigePatient(ByVal OpnNr As String) Private WithEvents ucDieetopvolging_A As mlaMaaltijd.Dieetopvolging_A Private WithEvents ucDieetopvolging As...
  13. Reinout

    RaiseEvent skipped

    Public Class frmMaaltijd Inherits MedLucasNet.frmBase Private WithEvents ucHistoriek As mlaMaaltijd.Dieethistoriek Private WithEvents ucAnamnese As mlaMaaltijd.Anamnese Private WithEvents ucBevraging As mlaMaaltijd.Bevraging Private logGebruiker As udtLogGebruiker Private sCurrentPatient As...
  14. Reinout

    RaiseEvent skipped

    The If-statement is working correctly, it's the most important if-statement on this page and deciding which of 2 data-subjects is loaded ( and that part is working correct ;-) ). I can try to add a printscreen if I find how to add an image. ... Can't find it. With or without addhandler, the...
  15. Reinout

    RaiseEvent skipped

    ucAnamnese = New mlaMaaltijd.Anamnese(logGebruiker, sCurrentPatient, "R") AddHandler ucAnamnese.VeranderNode, AddressOf ucAnamnese_VeranderNode Private Sub ucAnamnese_VeranderNode() MsgBox("Verander node") End Sub I guess you mean this? I still don't enter the sub...
  16. Reinout

    RaiseEvent skipped

    A '0' in this case. The actual if-statement is a bit more complicated and before the "if" I call for a sub filling the dataset, but I left that out to make it a little easier to see the problem.
  17. Reinout

    RaiseEvent skipped

    It works kinda different. ucTest = new Test(some parameters) This is called when someone's clicking on a treeview (and changes the selected node). When I click a node, another user control is showing on another part of this base-form. When a certain node is clicked, the selected node has to...
  18. Reinout

    RaiseEvent skipped

    Anyone any idea what could be the mistake? To make it all clear I'll repaste the code : Public Class Test Inherits System.Windows.Forms.UserControl Public Event ChangeNode() Private sub initPage() RaiseEvent ChangeNode() End sub End Class Public Class frmFood Inherits frmBase...
  19. Reinout

    RaiseEvent skipped

    Private Sub ucTest_ChangeNode() Handles ucTest.ChangeNode MsgBox("Change node") End Sub Should be this way. I guess I could use an Edit-button on fridays...

Part and Inventory Search

Back
Top