Search results

  1. P

    Mysql Notification service??

    Hi all, I've a quick question for you, I want to write an application which will monitor my mysql db and detect any changes to it, such as a new table has been created or an update was preformed on table x. Would anyone happen to know a way to do this? Thanks in advance Phil
  2. P

    Displaying a list of Databases in a combo box

    Bump :S Any ideas??
  3. P

    Displaying a list of Databases in a combo box

    Hi all, Just a quick question for ya all, Is there a way that i can List all Databases on a Mysql server within a combo box? Basically I want to build an application which will allow the user to select which database he/she wants to connect to. Any help at all would be great :) Thanks in advance,
  4. P

    Question about Objects

    Ok this was my bad, i got the queue working now, what seems to be the problem is that when i pass the byte array to the queue the array contains nothing. Im sooo sorry for draging this topic out. I really appricate all the help you've given me!
  5. P

    Question about Objects

    Just for my information would it matter if my createPacket was a structure not a class?
  6. P

    Question about Objects

    Indeed it is :S Well i think im going to give up, nothing seems to be working. Ive tried pushing a string i.e. a file name to the queue but when i pop it off its doesnt contain a string :( Cheers for all your help tho!
  7. P

    Question about Objects

    Ok so it turns out that in VS2005 for me, i have to import system.collections.queue
  8. P

    Question about Objects

    Im using VS2005, even if i remove the imports i still get the same error, would it help if i actually sent u my code?
  9. P

    Question about Objects

    Ok when i do the above queue creation i get the following error " 'System.Collections.Queue' has no type parameters and so cannot have type arguments." I have included the import "System.Collections.Generic.Queue(Of Object)" I have tried it also with "System.collections.Queue" Does it matter...
  10. P

    Question about Objects

    Thnaks man, so in my class which tries to take the buffer from the queue should be as follows yes? However when i run this i get the following error "Object reference not set to an instance of an object." pointing to Dim cp As CreatePacket = DirectCast(x1, CreatePacket), I know its something...
  11. P

    Question about Objects

    Cool, Yeah the array issue was an oversight on my attention to code. One question tho, When i use Dim cp as CreatePacket = DirectCast(myobject, createpacket) what should "myobject" refer to? and how would i apply it to my code in the above? I know it seems like im out of depts here, and you...
  12. P

    Question about Objects

    Oh, ok can you please explain what u mean by Also Im not sure what you mean by bear in mind im prettty new to this stuff I created this class as it will be used (later) by mulitple forms, i just thought this was the way to do it?
  13. P

    Question about Objects

    Ok i think i may have solved my own problem, please correct me if i have done this incorrectly. I declaired the Queue as Public shared TEST as Queue In my test class i can read the object fine :) however if there is another way I'd love to hear it because I'm trying to learn as much as possible...
  14. P

    Question about Objects

    Ok so I know what was happening! In the main class where the pop was happing i made the following declaration Dim ForwardQueue = new ForwardQueue, so by my understanding it was making a new Object refrence and hence the queue would be empty, so if I'm correct, how can i make a call to pop...
  15. P

    Question about Objects

    Ok, so Ive changed the data type would recieve as in from a Object to a string, however im still getting a message saying its empty is there any reason why this could be happening? the way i declaired the instance of the class, Is because the queue is located in a diffrent class? etc Please Help :s
  16. P

    Question about Objects

    cheers Paszt!
  17. P

    Question about Objects

    mmm.. I must have accendentally created a new thread for this problem the orignal thread is located here http://www.vbdotnetforums.com/showthread.php?t=15399 Is there any reason why it would say the queue was empty even though i called the push method on the object?
  18. P

    Question about Objects

    Now i have a queue problem! Ok so thanks to your help Ive managed to make the object with the required data, Im able to Enqueue but however when i try and remove it from the queue I get an error telling me the queue is empty :s Below is how i tried to implement it. So in my Main Forum I have...
  19. P

    Question about Objects

    Ah I now (Kind of) understand, sorry i didnt know what you ment by member etc, I'l try and implement this in the morning as its 4 am where Iam, I will let you know how i get on, chances are ill have more issues :S thanks for help!
  20. P

    Question about Objects

    Thanks Cheers for the speedy reply :) Sorry to ask a stupid question but could you explain or give an example of class memeber/properites? How will the other class be able to extract the diffrent data types? is there an example you could link me to if not no worries Again thanks for your help :)
Top Bottom