Can anyone enlighten me?On 10/14/06, jeff sacksteder <[EMAIL PROTECTED]> wrote:
On 10/13/06, Martin Maly <
[EMAIL PROTECTED]> wrote:
Int16 is a type: System.Int16 and I am calling its constructor,
passing "output" as the value: System.Int16(output), just like
On 10/13/06, Martin Maly <[EMAIL PROTECTED]> wrote:
Int16 is a type: System.Int16 and I am calling its constructor,
passing "output" as the value: System.Int16(output), just like in Python you
can call: int(3.5), this is very similar, except constructing .NET System.Int16
type.An ex
t the int to whichever type you want to use:
board.AIn(channel, mode, Int16(output))
Hope this helps
Martin
From:
[EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On Behalf Of jeff sacksteder
Sent: Wednesday, July 19, 2006
9:54 PM
To: users@lists.ironpython.com
Subject: [IronPyt
I'm preparing an unofficial msi package for my own use using the Wix toolkit. Anyone knowledgeable in this area who is willing to assist, contact me directly and we can collaborate off-line until we have something useful.
___
users mailing list
users@li
If a form has one of it's properties changed(i.e. Text or ReadOnly) and that change is not immediately reflected in the visual representation of the control onscreen, is that automatically a bug?Is it rather that some controls require that additional methods be called- for example, layout or refres
I can't post an example, as my controls are bound to datasources and do not lend themselves to distribution. My DataGridView contains rows representing records previously entered into the database. The objective is to allow the user to add rows, but not alter the contents of existing rows. It seems
I haven't heard any discussion about how the final release will be packaged. Will it be similar to the existing releases or a more polished msi? I'd like to see an installer with that drops the binaries into a known location and adds it to the system path, add itself to add/remove programs, etc- at
What's the favored way of handling fixed-point datatypes? Should I be using decimal from the standard library, or a .net datatype of some sort?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
I have compiled my application to an exe.Must I distribute the .pdb files along with my app or can I just delete them?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
If I make exe's like this-ipyw.exe -X:SaveAssemblies myscript.pyI still get the console window. Is this correct?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
I'd like to change the text of my button column based on some criteria. If I handle the CellFormatting event, I can get a reference to the Cell, but how do I then get to the Button Control within?
___
users mailing list
users@lists.ironpython.com
http://l
Could someone please try the following code? By every piece of documentation I can find, this SHOULD create two button columns with the text provided displayed on them. All I am getting is blank buttons and I'm beginning to suspect that there is something wrong with my workstation.
import clrclr.Ad
I note that ipy.exe has a new icon.The titlebar icon reflects this new icon if the Forms.FormBorderStyle.FixedDialog property is set. If not, the icon is the previous, colored squares one. An oversight?
___
users mailing list
users@lists.ironpython.com
Do you call DataBind ?No, Call it on what? The Datagridview?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
In my __init__ method, I create a DataGridview and set it's datasource to a BindingSource previously created. If the very last line of my __init__ gets the 'Rows' property of the DGV, it is an empty collection. I can get other attributes( like 'Name') without any problem. If I get 'Rows' from outsi
DataGridViewCheckBoxColumns seem to return (True|None) instead of (True|False) even if The ThreeState and FalseValue attributes are set to 'False'. One of us is in error...
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/lis
I think.Columns['ButtonCol'] not working may be a bug. .Columns.Item['ButtonCol']
shouldn't work. The interesting question is if the bound columns should show
up as well – that's probably not our bug but I won't know w/o doing some more
research into how the columns are supposed to work. Intere
I have a data-acquisition device whose vendor provides a dotnet library for software integration. The dynamic nature of IP is giving me a bit of a problem. To record data from the unit, I make a method call like this:
errorlevel = board.AIn(channel,mode,output)It seems that the library wants to put
Can you access the DataGridViewColumnCollection via indexers (eg
myDataGridCollection[0] ? ) Yes.dgv = DataGridView(AutoGenerateColumns = True,DataSource = myBindingSource)myCol = DataGridViewButtonColumn(Text="Spaminate",Name="ButtonCol",UseColumnTextForButtonValue = True)
dgv.Columns.Add(myCol)
If Count is zero then presumably there's no items in the
collection. Is that possible?In this instance, I have three columns bound to a DataSet, and a button column that I Add()-ed. "Count" only says I have 1 Column. The bound columns do not appear to count.
I even tried moving the count statemen
I have a DataGridViewCollumnCollection that appears to not have an "Item" attribute. The "Count" attribute = 0, which I don't understand either. Is this missing functionallity or am I missing something?
Excepting this, everything in my app works correctly.
_
Let me show a more specific example. How does the saveChanges method find a reference to the correct DataAdapter to call Update() upon?dataConn = OleDbConnection('provider=microsoft.jet.oledb.4.0;data source=cheeseshop.mdb
;')cheese_sql = 'select * from cheese'my_DA = OleDbDataAdapter(cheese_sql,da
So how do I propagate my changes back, then?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Another tutorial opportunity for Michael.I have a DataGridView control containing data that needs to be flushed back into the original data source. I believe the following to be true:The DataGridView control is bound to the DataSet Object, which is bound to the DataAdapter, which connects to the Da
I'm have trouble mentally translating the Vb and C# examples I found online. Could someone finish this trivial example of calling a modal dialog and returning the choice that was selected?import clrclr.AddReference
('System.Windows.Forms')from System.Windows import Formsclass MyMainForm(Forms.Form)
The TabPages attribute of the TabControl class contains a collection of TabPage objects. I was under the impression that individual tabs would be accessable by index or key. That is apparently not the case.Is this a bug or a misunderstanding on my part?
>>> for p in tab_book.TabPages:... print
For the sake of those reading this later-The trouble with my previous example is that the ReadLines() method of a serial port expects a simple newline(\n), while the return key in Windows Hyperterminal sends a carriage return(\r) only. I'm not sure if this behaviour is because of the CLR or of Iron
I'm having trouble reading data from a serial port. I'm connected with a null modem to another pc- I can send text fine with the Write() method, so I know the cable and bits are all correct. I'm trying something like
from System.IO.Ports import SerialPorts = SerialPort(PortName='COM1',BaudRate=960
To clarify my earlier message-If I want to create a non-trivial application, I will have several forms and dialogs. My(apparently broken) understanding is that I would create a class representing the application and pass that to the
Application.Run(method). For example, the tiny app here:import c
Given the general lack of IP example code, could someone post a simple example of an application that contains multiple forms or dialogs?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
On 6/16/06, jeff sacksteder <[EMAIL PROTECTED]> wrote:
Does anyone have an example of how
to use System.IO.Ports.SerialPort from IronPython?I don't know if this will tell you anything new, but there's some sample vb that might be useful.
http://www.devx.com/dotn
Does anyone have an example of how
to use System.IO.Ports.SerialPort from IronPython?I don't know if this will tell you anything new, but there's some sample vb that might be useful.
___
users mailing list
users@lists.ironpython.com
http://lists.ironpyth
And this will produce a source.exe file. The executable, however, willstill need the
IronPython.dll reference.That appears to still create a console window at runtime. Can that be disabled? I know that Py2exe can create 'console' or 'windows' applications optionally.
___
So what is the status of compiling to standalone IL programs? Last thing I heard was that it was rather experimental.
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Are you using ip.bat or ironpythonconsole.exe?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
MSI packaging has been very low on our
list since my impression is that most IronPython users are happier with the zip
file style of installation where you can know exactly where everything came
from and went. If there's interest in an MSI installer we can prioritize
it higher. We expect to spli
Will MSI packaging happen in the beta timeframe or is that planned for just before 1.0-final?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
In the demo video, it appears that Jim H. is using tab completion in
the interpreter. If so, how does that feature operate? The tab key
itself does nothing, and the keyboard is not visable in the video.
___
users mailing list
users@lists.ironpython.com
ht
I was unclear on the nature of Anchor & Dock. Mistakes were made.On 12/28/05, Keith J. Farmer <[EMAIL PROTECTED]
> wrote:
Perhaps he intends Anchor instead of Dock?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.co
The code in this snippet fails, claiming the bitwise operator '|' is
unsupported for for DockStyles. Is this an unimplemented item, bug, or
misunderstanding on my part?
import sys
sys.LoadAssemblyByName('System.Windows.Forms')
from System.Windows.Forms import *
my_control = RichTextBox()
my_cont
I'm sorry, I meant in Python.
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Can someone point me to an example of using a DataGridView control?
More generally, Are there any public repositories of example code?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
42 matches
Mail list logo