程序太大错误

编程入门 行业动态 更新时间:2024-10-27 10:28:13
本文介绍了程序太大错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你可以告诉我如何解决我的程序太大错误,我的代码太大了......我该如何解决呢。

Hi can somebody tell me how can i resolve my "PROCEDURE TOO LARGE ERROR",,, my code is too large.. how can i resolve it.

推荐答案

我从未听说过这个错误。这是什么版本的Visual Basic? 当然,明显的答案是让它变小。如果一个过程太大,你可能需要把它分解成更小的例程。 I''ve never heard of that error. What version of Visual Basic is this? Of course, the obvious answer is "make it smaller". If a procedure is too large, you probably need to break it up into smaller routines.

你可以告诉我如何解决我的程序太大错误,,,我的代码太大了......我怎么解决它。 Hi can somebody tell me how can i resolve my "PROCEDURE TOO LARGE ERROR",,, my code is too large.. how can i resolve it.

听他说话,今天一点一点地分解。我之前遇到过这个问题,假设您使用的是VB 6.0。您使用的代码行太大,即使您构建模块来处理某些例程,VB也会考虑代码太长。 一个选项可能是添加一个aditional按钮和插入剩下的代码,这是解决这个问题的一种丑陋方式,但是如果你在一个程序中有许多调用,那么VB会不高兴并会对你大喊大叫。必须有一个更简单的方法,我以原始方式解决后停在那里:-) 抱歉你的麻烦,不好玩......

Listen to him darrel, break it down today, bit by bit. I have had this problem before, assuming you are using VB 6.0. The line of code you are using is too large, even if you build modules to handle some routines, VB will consider the code too long. One option could be to add an aditional button and plug in the remaining code there, an ugly way of solving this but if you have a number of calls to make in one procedure, VB will be unhappy and will yell at you. There''s gotta be an easier way, I stopped there after solving in my primitive fashion:-) Sorry for your troubles, not fun...

是的,我知道解决问题的唯一方法就是打破它!但我不知道怎么做!我想我需要在模块中创建一个函数,但我不知道如何?你能给我一些关于我如何实现它的细节..它就像我要创建一个函数,然后每次我需要它时都会在我的表单中调用它...希望你能帮忙,我不能在这里发布我的代码因为我将是太长了...... yah i know the only way to solve it is to break it up!!! but i dont know how! i think i need to create a function in a module but i dont know how?? can you give me some details on how can i achieve it.. its like am going to create a function and then calll it in my form everytime i need it.. hope you can help, i cant post my code here coz i will be too long...

更多推荐

程序太大错误

本文发布于:2023-06-01 10:53:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/413450.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:太大   错误   程序

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!