[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


limit to number of args in vb.net application call?

Posted on 2011-02-14
Medium Priority
Last Modified: 2012-08-13
There a limit to the number of members of the args array passed in a vb.net application call?
I have to call from vb.net another vb.net application,
but the number of args could be something like 200-300
because I will pass as args the ID number of records that I want to print.
There is some limitation about args[] use?
Question by:bobdylan75
  • 3
  • 3
LVL 52

Accepted Solution

Carl Tawn earned 2000 total points
ID: 34888969
The only limit should be the available amount of stack space.

Author Comment

ID: 34889015
how can I do to evaluate that one?
It's large as system memory?
because if it is so, I have no issue
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 2000 total points
ID: 34889257
The default stack size is 1Mb. Although it shouldn't really be an issue as the array itself will be on the heap and only the method pointer and pointer to the array itself will be on the stack.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 34889296
Ok, so I go happy?
LVL 52

Expert Comment

by:Carl Tawn
ID: 34889316
Yes :)

Author Closing Comment

ID: 34889338

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month19 days, 13 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question