Community
Please show more of your code.
Joe ...
"C Witt" <cwitt_AT_trkeng.com> wrote in message
news:5985846@discussion.autodesk.com...
ok,
I only used that method as that is what is used in the labs (that you
seem to think i should be following).
Tony Tanzillo wrote:
Spend some time learning the .NET framework, rather than
treating VB.NET as an incremental upgrade to legacy VB.
See the MessageBox.Show() method in the docs.
There really isn't "any other
code".. even when i strip it down to
just the box, it still happens..
public sub test()
msgbox("hi")
end sub
---------------------------------------------
Imports System.Windows.Forms
public sub test()
messagebox.show("hi")
end sub
Both result in security errors.. Now I don't remember having this
problem at the start of the year.. so I'm thinking it could be a recent
windows security patch for vista? (I'm using .Net Express 2005)
Work: VISTA
Ultimate x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs Ram,
color="#666666">GeForce 6800GS 256MB
Home: VISTA Ultimate x64 - AMD 64
Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB
Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150
Joe Sutphin wrote:
Please show more of your code.
Joe ...
"C Witt" <cwitt_AT_trkeng.com> wrote in message
href="news:5985846@discussion.autodesk.com">news:5985846@discussion.autodesk.com...
ok,
I only used that method as that is what is used in the labs (that you
seem to think i should be following).
Tony Tanzillo wrote:
Spend some time learning the .NET framework, rather than
treating VB.NET as an incremental upgrade to legacy VB.
See the MessageBox.Show() method in the docs.
Copy and paste into a reply, the the entire contents of the detail shown in the error dialog.
Also, is this a standard Windows .exe or dll loaded into AutoCAD?
Lastly, how did you create the project?
The 2 commands..
<CommandMethod("Box1")> _
Public Sub testbox1()
MsgBox("hi")
End Sub
<CommandMethod("Box2")> _
Public Sub testbox2()
MessageBox.Show("hi")
End Sub
Attached are the txt files with the errors
It is a dll loaded into AutoCAD (2009)
The original project was created in 2005 Express from the "AutoCAD
VB.NET Applicatio
n" template (installed with a program from
href="http://www.vbcad.com">www.vbcad.com).
Work: VISTA
Ultimate x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs Ram,
color="#666666">GeForce 6800GS 256MB
Home: VISTA Ultimate x64 - AMD 64
Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB<
/font>
Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150
Tony Tanzillo wrote:
color="#000000">
Copy and paste into a reply, the the entire contents of the detail shown in the error dialog.
Also, is this a standard Windows .exe or dll l
oaded into AutoCAD?
Lastly, how did you create the project?