以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  打开狐表项目弹出错误框  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=10921)

--  作者:fyj0326
--  发布时间:2011/6/29 20:55:00
--  打开狐表项目弹出错误框
每次要按CTRT才能进入,是什么问题呢,如何解决呢
图片点击可在新窗口打开查看此主题相关图片如下:20110629-截图 1.png
图片点击可在新窗口打开查看
[此贴子已经被作者于2011-6-29 20:57:46编辑过]

--  作者:狐狸爸爸
--  发布时间:2011/6/29 21:01:00
--  
将你的项目发上来看看
--  作者:fyj0326
--  发布时间:2011/6/29 21:24:00
--  

许多重要数据,不知如何加密发给你


--  作者:fyj0326
--  发布时间:2011/6/29 21:27:00
--  

经检查,是这个代码按钮出问题

 

 

Dim t As Table = Tables("原材料进销存按日明细帐")
Dim g As Subtotalgroup
t.SubtotalGroups.Clear()
t.GroupAboveData = False
t.TreeVisible = False
t.SpillNode = True

g = New Subtotalgroup
g.Aggregate = AggregateEnum.Sum
g.GroupOn = "出入库日期"
g.TotalOn = "期初_数量,期初_金额,入库_数量,入库_金额,出库_数量,出库_金额,库存_数量,库存_金额"
g.Caption = "{0}月 小计"
g.DateGroup = DateGroupEnum.Month
t.SubtotalGroups.Add(g)

g = New Subtotalgroup
g.Aggregate = AggregateEnum.Sum
g.GroupOn = "出入库日期"
g.TotalOn = "期初_数量,期初_金额,入库_数量,入库_金额,出库_数量,出库_金额,库存_数量,库存_金额"
g.Caption = "{0}月 累计"
g.DateGroup = DateGroupEnum.Month
g.upto = True
t.SubtotalGroups.Add(g)

t.Subtotal()

Dim Sum1 As Double
Dim Sum2 As Double
For i As Double= 0 To CurrentTable.Rows.Count(True) - 1
    Dim r As Row = CurrentTable.Rows(i,True)
    If r.IsGroup
        If r("出入库日期").EndsWith("小计") Then
            sum1 = sum1 +r("期初_数量")+ r("入库_数量")- r("出库_数量")
            sum2 = sum2 +r("期初_金额")+ r("入库_金额")- r("出库_金额")
        End If
        r("库存_数量") = sum1
        r("库存_金额") = sum2
       
    End If
Next


--  作者:狐狸爸爸
--  发布时间:2011/6/29 21:28:00
--  
你可以加上密码,密码通过论坛短信给我
--  作者:fyj0326
--  发布时间:2011/6/29 21:28:00
--  
如果删除此代码就能正常打开,是升级到最新版才出现这个问题,之前未升级是无问题的
--  作者:fyj0326
--  发布时间:2011/6/29 21:29:00
--  

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: Bad class token.
   at Foxtable.WinForm.Form.O1ll1O10lO0l(ControlCollection O11OlO0l, DataRow O0Ol1Ol01, Int32 Ol01)
   at Foxtable.WinForm.Form.Create()
   at Foxtable.WinForm.Form.Ol1l(C1MainPage O0l0Ol11, Int32 O, Int32 O)
   at Foxtable.WinForm.Form.Open(Int32 O, Int32 O)
   at Foxtable.WinForm.Form.Show(Int32 O, Int32 O)
   at Foxtable.FormsManager.Ol11Ol10011Oll(Object Ol1l01, EventArgs O)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Foxtable
    Assembly Version: 2011.7.5.1
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/foxtable.exe
----------------------------------------
Foxtable.Lib
    Assembly Version: 2011.7.5.1
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/Foxtable.Lib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
C1.Win.C1Ribbon.2
    Assembly Version: 2.0.20102.279
    Win32 Version: 2.0.20102.279
    CodeBase: file:///F:/foxtable/Trial/C1.Win.C1Ribbon.2.DLL
----------------------------------------
C1.Win.C1Command.2
    Assembly Version: 2.0.20102.19458
    Win32 Version: 2.0.20102.19458
    CodeBase: file:///F:/foxtable/Trial/C1.Win.C1Command.2.DLL
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
C1.Win.C1FlexGrid.2
    Assembly Version: 2.6.20102.554
    Win32 Version: 2.6.20102.554
    CodeBase: file:///F:/foxtable/Trial/C1.Win.C1FlexGrid.2.DLL
----------------------------------------
Foxtable.Blank
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///F:/foxtable/Trial/Catch/Foxtable.Blank.dll
----------------------------------------
eec0b210.DataTable.原材料入库明细表
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/foxtable.exe
----------------------------------------
eec0b210.DataTable.原材料出库明细表
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/foxtable.exe
----------------------------------------
eec0b210.DataTable.原材料进销存按日明细帐
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/foxtable.exe
----------------------------------------
eec0b210.DataTable.新进销存
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/foxtable.exe
----------------------------------------
Interop.ADOX
    Assembly Version: 2.8.0.0
    Win32 Version: 2.8.0.0
    CodeBase: file:///F:/foxtable/Trial/Interop.ADOX.DLL
----------------------------------------
Interop.ADODB
    Assembly Version: 2.8.0.0
    Win32 Version: 2.8.0.0
    CodeBase: file:///F:/foxtable/Trial/Interop.ADODB.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
Interop.MSScriptControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///F:/foxtable/Trial/Interop.MSScriptControl.DLL
----------------------------------------
eec0b210.Form
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/foxtable.exe
----------------------------------------
C1.Win.C1Input.2
    Assembly Version: 2.0.20102.33248
    Win32 Version: 2.0.20102.33248
    CodeBase: file:///F:/foxtable/Trial/C1.Win.C1Input.2.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Foxtable.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/foxtable.exe
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Neodynamic.WinControls.BarcodeProfessional
    Assembly Version: 6.0.2000.0
    Win32 Version: 6.0.2000.15
    CodeBase: file:///F:/foxtable/Trial/Neodynamic.WinControls.BarcodeProfessional.DLL
----------------------------------------
i8fsdfme
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
eec0b210.Form
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///F:/foxtable/Trial/foxtable.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 

 

 

 


--  作者:fyj0326
--  发布时间:2011/6/29 21:32:00
--  
在窗口管理点应用按钮就弹出上述提示
--  作者:狐狸爸爸
--  发布时间:2011/6/29 21:32:00
--  

删除大部分数据,保留少量虚假数据发上来测试。


--  作者:fyj0326
--  发布时间:2011/6/29 21:43:00
--  

现发上附件,已删除相关的重要数据了,请狐狸爸爸帮我看看,谢谢

 

 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:进销存.rar

[此贴子已经被作者于2011-6-29 21:44:36编辑过]