There is no manual that's the problem. The sendLine method is part of LineReceiver which is part of twisted. It's used to send a message over the transport link. I can get it working by overriding twisted's methods for example linereceived() or connectionmade(). But how do I get it to send a message over the transport to the server by clicking a tkinter button? There are no examples or documents on the internet that can help, I've searched for hours.
-- http://mail.python.org/mailman/listinfo/python-list From [EMAIL PROTECTED] Thu Apr 27 12:36:57 2006 Return-path: <[EMAIL PROTECTED]> Envelope-to: archive@mail-archive.com Delivery-date: Thu, 27 Apr 2006 12:36:57 -0700 Received: from exprod5mx117.postini.com ([64.18.0.89] helo=psmtp.com) by mail-archive.com with smtp (Exim 4.50) id 1FZCII-0007CS-Ij for archive@mail-archive.com; Thu, 27 Apr 2006 12:36:57 -0700 Received: from source ([64.118.74.249]) by exprod5mx117.postini.com ([64.18.4.10]) with SMTP; Thu, 27 Apr 2006 12:36:35 PDT Received: from LOCALHOST by LOCALHOST with ESMTP id 145E1A6DBD14F540809F1E914C809743 Thu, 27 Apr 2006 15:37:42 -0400 Subject: RE: Running CF7 SQL Server 2000 and SQL Server 2005 on same machi ne. From: "Scott Stewart" <[EMAIL PROTECTED]> Content-Type: text/plain Precedence: bulk Reply-To: cf-talk@houseoffusion.com To: CF-Talk <cf-talk@houseoffusion.com> Date: Thu, 27 Apr 2006 15:36:19 -0400 References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> X-pstn-levels: (S:99.90000/99.90000 R:95.9108 P:95.9108 M:96.4339 C:98.7678 ) X-pstn-settings: 3 (1.0000:1.0000) s gt3 gt2 gt1 r p m c X-pstn-addresses: from <[EMAIL PROTECTED]> forward (good recip) [294/10] Shouldn't he have to change the port setting from one of the servers to something other than 1433? Thanks Scott Scott A. Stewart Webmaster/ Developer GlobalNet Services, Inc http://www.gnsi.com 11820 Parklawn Dr Rockville, MD 20852 Voice: (301) 770-9610 x 335 Fax: (301) 770-9611 The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 2:58 PM To: CF-Talk Subject: RE: Running CF7 SQL Server 2000 and SQL Server 2005 on same machi ne. > On one of my development boxes, I am running CF 7 (on windows > XP) I installed SQL Server 2005 with no issues. I then > realized that for one client, I will need to have SQL Server > 2000. I installed 2000 as a separate instance. > > I am unable to connect to the new instance with CF (I was > able to create a Windows DSN and connect viz ODBC socket). I > can connect to both SQL Server instances in SQL Studio, and I > can connect to the SQL 2000 instance from Enterprise Manager. > > The instances are: > > {serverName} > {serverName}\sql2000 The names are irrelevant. You'll have to see what port each is listening on, and specify that in your datasource. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238953 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54