INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: External Events  (Read 1846 times)

Cephlen

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 98
  • someday I will find a pic that looks good...
External Events
« on: August 16, 2002, 01:57:17 pm »

I am having some more problems..

The control i am creating is still displaying in the top left corner of the window, just under the title bar.  it is covering up the File drop down menu, the tree control, and everywhere else it can.

Now for my new problem --

I have a mscomm ocx on my control, and it has an event that fires when it detects data on the serial port.  The problem is that when I put the control into the jukebox, the event never fires.  If I put the control into a form or a web page, the event fires normally.

Is there something within the jukebox that is preventing my event from firing?
Logged
All ICQ's are ignored unless I have added you.

Nikolay

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1681
  • Former CTO, JRiver, Inc.
RE:External Events
« Reply #1 on: August 19, 2002, 07:01:26 am »

Cephlen,

I don't really know how to solve the problem or what causes it.

Is there somebody with knowledge of VB in the forum???

Nikolay
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!
RE:External Events
« Reply #2 on: August 19, 2002, 07:12:43 am »

Sounds like it's set as a popup or something instead of a child control.  Is there a setting like that for your control?

Anybody else?

-Matt
Logged
Matt Ashland, JRiver Media Center

Cephlen

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 98
  • someday I will find a pic that looks good...
RE:External Events
« Reply #3 on: August 19, 2002, 10:19:14 am »

Ok guys,

I figured it out.

I originally created the control using VB.NET.  I also tried using C#.NET.  It seems as if the Jukebox doesnt like .NET's controls :)

I ported the bulk of the code into VB6 (took me a while to find a copy of it on the intranet), and it is working fine now.

The timer control for vb6 is very different from the .NET timer, and I got some bugs to fix.. so I might have something decent by midweek.

Wish work wasnt keeping me so busy :)

I have noticed that the Jukebox doesnt keep my control's state when I navigate elsewhere in the Jukebox.  If I load up my control, press a few buttons, then goto my playlists and such, then go back to my control, none of the items I selected are still selected.

Actually, it seems that the jukebox terminates the control from memory.

How do I make it so the jukebox keeps the control in memory/active from the point where the jukebox loads to the point where the jukebox terminates?

Would be nice to do things like look at visualizations while being able to use my control at the same time.
Logged
All ICQ's are ignored unless I have added you.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!
RE:External Events
« Reply #4 on: August 19, 2002, 12:20:08 pm »

You need to set your control as a "server" type in the registry to have it run all the time.

It would be better if you made it save and load it's state though, because then there'd be zero overhead when people weren't using it.

Take care.

-Matt
Logged
Matt Ashland, JRiver Media Center

Cephlen

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 98
  • someday I will find a pic that looks good...
RE:External Events
« Reply #5 on: August 20, 2002, 10:11:02 am »

Thanks Matt,

What is the registry entry to make it a server type?

I would want this thing to run all the time as it would be nice to have MJ display full screen visuals while still being able to use buttons to navigate.
Logged
All ICQ's are ignored unless I have added you.
Pages: [1]   Go Up