473,406 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

EndRegion

I am getting a "endregion directive expected compile error. Sounds easy
enough, but I can' locate where it says the directive is missing. I have
gone in and disabled all of the "region/endregion" directives except the
"Windows Form Designer generated code" generated by windows, but still no
luck, I get the same error. I double click on the error and I get a beep,
but it does not take me anyplace. I have compared where my "Windows Form
Designer generated code", start and ends with other programs to ensure that
I did not move it, but I don't see anything wrong.

Any ideas as to how to find out what/where it is complaining about?

Thanks in advance for your assistance!!!!!!!!!!
Nov 15 '05 #1
2 10094
Close and Open the IDE.

That happened to me too.

It happend when you cut&paste and into the cut text are #region-#endregion,
I don't know if it is a IDE bug's but close and reopen the IDE, it willl fix
the problem.

Gustavo.

"Jim Heavey" <Ji*******@nospam.com> wrote in message
news:Xn*********************************@207.46.24 8.16...
I am getting a "endregion directive expected compile error. Sounds easy
enough, but I can' locate where it says the directive is missing. I have
gone in and disabled all of the "region/endregion" directives except the
"Windows Form Designer generated code" generated by windows, but still no
luck, I get the same error. I double click on the error and I get a beep,
but it does not take me anyplace. I have compared where my "Windows Form
Designer generated code", start and ends with other programs to ensure that I did not move it, but I don't see anything wrong.

Any ideas as to how to find out what/where it is complaining about?

Thanks in advance for your assistance!!!!!!!!!!

Nov 15 '05 #2
That solved my problem...Thanks....
Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: AndreB | last post by:
Hello, I think it would be so useful to be able to expand or collapse the "#endregion" in the same way it is possible with "-" and "+" in front of "#region". It will be easy to shorten a region...
7
by: Russell Mangel | last post by:
I was thinking about what IDE feature I would want the most in the next version of VC++? I would definately ask for the C# feature: #region / #endregion. In my opinion this feature was a...
8
by: a | last post by:
I'm trying to save data from a custom object into the profile object, but it is not structured the way that I want. I'm trying to get the custom object to serialize as xml to a Profile object...
0
by: a | last post by:
I need to create an instance of a custom object 'School.Teacher' and use it in a Profile object. I'm developing a bad case of "Pretzel Logic" thinking about this. Filling the custom object ...
4
by: a | last post by:
I'm having trouble testing a custom object. I've tried many different approaches. One is shown below. The XML below shows the state of the object and I'm trying to test for that state, ie there...
2
by: keithb | last post by:
What is the meaning of #region #endregion
2
by: =?Utf-8?B?U2VlU2hhcnA=?= | last post by:
It seems I cannot use #region and #endregion to hide those auto generated windows form control declarations. They are available in VC# 2003 though. Is it true that VC 2003 doesn't support #region...
2
by: Tony | last post by:
Hello! I just wonder if VS has some sort of suitable command that might help when I want to add region respective endregion sections to the code. //Tony
1
by: yuvi | last post by:
Hi experts, Is There any Tool to insert the code inside the #region #endregion in c#,suppose if we are passing file name.please let me know ASAP
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.