473,587 Members | 2,463 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Field token out of range

6 New Member
I converted a large VB6 program (15 .frm forms) + 20 other modules(.bas) to VB.NET 2005 from VB6. (It used a lot of control arrays).

After spending almost a week fixed the errors I find that it will not run.
Field token out of range
at \My Project\ Application.Des igner.vb:line 35
Protected Overrides Sub OnCreateMainFor m()
>>>>> Me.MainForm = Global.POSeInte grator.frmMain
End Sub

I have no idea what this really means or how to fix it.

What I can tell you is that it starts up. Some of the main forms changed events are invoked and then dies.

This fails with the Application framework either on or off.

HELP!!!!!
Mar 2 '08 #1
0 969

Sign in to post your reply or Sign up for a free account.

Similar topics

5
7224
by: Mads Petersen | last post by:
Hi, and thanks for previous help. I use following code to export from excel to access. It is executed in excel. I have an excel spreadsheet with one sheet pr. week. this code is therefore executed on every sheet, and is supposed to be it on comming sheets as well. Therefore I would very much like if I could check if the value in A98 (excel) matches a record in the access table TimeReview, field "Uge". And if it does the export should be...
19
3210
by: Arthur J. O'Dwyer | last post by:
Request for comments on the following program: http://www.contrib.andrew.cmu.edu/~ajo/workshop/tokens.c It's a token counter for the C programming language, following the outline kind-of-described here: http://www.kochandreas.com/home/language/tests/TOKENS.HTM Basically, it's supposed to give a reasonable approximation of the number of "atomic tokens" present in a C source file. To those reading in c.l.c: Are there any glaring...
14
6315
by: Simon Morgan | last post by:
I'm trying to write a function to parse a Reverse Polish Notation string from stdin and return 1 token at a time. For those of you who are unaware an RPN string looks like this: 1 2 + 4 * 3 + With each number being read and pushed onto a stack and, when an operator is encountered, each number on the stack is popped off and calculated using that operator and the result pushed onto the stack.
4
4475
by: Roger Aikin | last post by:
I've converted a VB6 project to VB.Net 2005. (Actually using vstudio pro 2005). I'm on a machine that also has VB6 and Vstudio.net 2003 on it. The project uses Word, Excel, MapPoint and SqlClient (database is SqlServer 2000). OS is WinXP SP2. When I run the project, it opens the MDI form (MdiMain.vb) fine, but when I open one of the child forms and try to select something in a combo box (cboFilter2) it stops on a line of the...
6
3511
by: Richard | last post by:
Which way would you guys recommened to best parse a multiline file which contains two fields seperated by a tab. In this case its the linux/proc/filesystems file a sample of which I have included below: nodev usbfs ext3 nodev fuse vfat ntfs nodev binfmt_misc
1
1625
by: Adam Sandler | last post by:
Hello, I'm reusing a method here which sends a query to the database and returns the results formatted as XML. In the codebehind, I call the method we reuse here (and have successfully many times before) and then shove the results in LoadXml: Dim d As New XmlDocument d.LoadXml(qXML)
0
1068
by: QuickBooksDev | last post by:
I converted a large VB6 program (15 .frm forms) + 20 other modules(.bas) to VB.NET 2005 from VB6. (It used a lot of control arrays). After spending almost a week fixed the errors I find that it will not run. Field token out of range at \My Project\ Application.Designer.vb:line 35 Protected Overrides Sub OnCreateMainForm() >>>>> Me.MainForm = Global.POSeIntegrator.frmMain End Sub I have no idea what this really means or how...
10
1214
by: Andy B | last post by:
If I have the following text in a dataset table column: "This agreement establishes that {BandName} will play on {EventDate} between {StartTime} and {EndTime}..." How would I then take the field names {BandName}, {StartTime}, {EndTime} and {EventDate}, match them up with actual dataset table column names, and show the actual values instead of the placeholders on the final page output? I know this would probably require some string parsing...
4
3813
by: Joerg Battermann | last post by:
Hello there, does anyone know the precise naming conventions used for internal backing fields for automatic properties? Something official besides looking at the compiled assemblies that might let you 'assume' a certain schema... Cheers and thanks, -jB
0
7924
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8221
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.