Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
Question.Net remoting's Http Channel. Pin
dhami_naresh12-Oct-07 8:34
dhami_naresh12-Oct-07 8:34 
AnswerRe: .Net remoting's Http Channel. Pin
led mike12-Oct-07 9:45
led mike12-Oct-07 9:45 
GeneralRe: .Net remoting's Http Channel. Pin
dhami_naresh12-Oct-07 21:58
dhami_naresh12-Oct-07 21:58 
GeneralRe: .Net remoting's Http Channel. Pin
led mike13-Oct-07 5:35
led mike13-Oct-07 5:35 
GeneralRe: .Net remoting's Http Channel. Pin
dhami_naresh13-Oct-07 7:43
dhami_naresh13-Oct-07 7:43 
QuestionLogon form problem Pin
MumbleB12-Oct-07 7:38
MumbleB12-Oct-07 7:38 
AnswerRe: Logon form problem Pin
led mike12-Oct-07 9:49
led mike12-Oct-07 9:49 
GeneralRe: Logon form problem Pin
MumbleB12-Oct-07 10:46
MumbleB12-Oct-07 10:46 
Sorry mate. The db connection works fine when I remove the logon form code. When I add the logon form code in I can't see anything in the DB, nor can I save anything back in. It is almost as if the logon form is not releasing focus to the main form. However it opens the main form OK but I guess it might be that it loops somewhere or doing something silly like that which I just can't seem to figure out.

Anyway, here is more code from the main form.

Login login = new Login();
if (login.ShowDialog() == DialogResult.OK)
{
    return;
}
else this.Close();
login.Close();
login.Dispose();


try
{
    DateTime dtCurrentTime = DateTime.Now;
    tlstrlblTime.Text = dtCurrentTime.ToShortTimeString();
    DateTime dtCurrentDate = DateTime.Today;
    tlstrlblDate.Text = dtCurrentDate.ToShortDateString();
    m_cnADONetConnection.ConnectionString =
        @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\CallCentre.mdb";
    m_cnADONetConnection.Open();
    m_daDataAdapter =
        new OleDbDataAdapter("Select * From [CallCentre]", m_cnADONetConnection);
    OleDbCommandBuilder m_cbCommandbuilder =
        new OleDbCommandBuilder(m_daDataAdapter);
    m_daDataAdapter.Fill(m_dtCallCentre);
    this.ShowCurrentRecord();


If you can point me to some of the posts I would greatly appreciate it. I have been searching here and on Google but none of the topics i find actauly refers to what I'm doing. Most of them are for web development.
GeneralRe: Logon form problem Pin
led mike12-Oct-07 10:52
led mike12-Oct-07 10:52 
GeneralRe: Logon form problem Pin
MumbleB12-Oct-07 11:05
MumbleB12-Oct-07 11:05 
GeneralRe: Logon form problem Pin
Paul Conrad12-Oct-07 11:59
professionalPaul Conrad12-Oct-07 11:59 
GeneralRe: Logon form problem Pin
MumbleB12-Oct-07 20:31
MumbleB12-Oct-07 20:31 
GeneralRe: Logon form problem Pin
MumbleB12-Oct-07 21:02
MumbleB12-Oct-07 21:02 
GeneralRe: Logon form problem Pin
Paul Conrad13-Oct-07 4:48
professionalPaul Conrad13-Oct-07 4:48 
QuestionCapture how many times a page has been called Pin
d546412-Oct-07 7:14
d546412-Oct-07 7:14 
AnswerRe: Capture how many times a page has been called Pin
led mike12-Oct-07 7:26
led mike12-Oct-07 7:26 
GeneralRe: Capture how many times a page has been called Pin
d546413-Oct-07 15:43
d546413-Oct-07 15:43 
QuestionMovement... sigh Pin
MasterSharp12-Oct-07 6:52
MasterSharp12-Oct-07 6:52 
AnswerRe: Movement... sigh Pin
Luc Pattyn12-Oct-07 7:05
sitebuilderLuc Pattyn12-Oct-07 7:05 
GeneralRe: Movement... sigh Pin
MasterSharp12-Oct-07 7:08
MasterSharp12-Oct-07 7:08 
GeneralRe: Movement... sigh Pin
led mike12-Oct-07 7:20
led mike12-Oct-07 7:20 
GeneralRe: Movement... sigh Pin
Luc Pattyn12-Oct-07 7:23
sitebuilderLuc Pattyn12-Oct-07 7:23 
GeneralRe: Movement... sigh Pin
MasterSharp12-Oct-07 16:39
MasterSharp12-Oct-07 16:39 
GeneralRe: Movement... sigh Pin
Luc Pattyn12-Oct-07 16:53
sitebuilderLuc Pattyn12-Oct-07 16:53 
AnswerRe: Movement... sigh Pin
Guffa12-Oct-07 7:10
Guffa12-Oct-07 7:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.