Carrier detect event on form2
I am trying to use the modem from form2 (form1 allows you to select from a number of options to be used for the connection) the only problem is the cd event never seems to fire. if I break the execution of the code it always ends up on the "Form1.Designer.vb" page on the first line, which reads....
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> Partial Class Form1
with Form1 highlighted green.
Can anyone advise me of what I am missing?
Re: Carrier detect event on form2
What code are you using to open/close or hide/show form1 and form2?, perhaps you could post that part of your source.
Re: Carrier detect event on form2
I am using hide/show.
Unfortunately the code is on my work computer and I am now at home. This is a second attempt at controling the modem as the first worked OK in debug mode but failed miserably when published. So this time I decided to use an example piece of code rather than write from scratch as I did with the first attempt. I had earlier played with reading a database which had all the dial up numbers I needed and I had managed to get that to work. So I decided to tag this on to that but I am not really succeeding. I would like to keep using this version as a lot of learning went into writing the lookup form I am now building on but if push comes to shove I will have to start from scratch again.