473,387 Members | 1,705 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,387 software developers and data experts.

Couple of newbe questions



New to C# - previous use of C++/MFC

OK - there apears to be no similar construct to the ASSERT( ) that MFC
used to use - TRUE or FALSE ( sorry - true or false ).

Also I create a derrived component ( assembly ? ) and use it on a form
- OK so far.

Component and form are part of the same project - If I change the code
in the component ( say the default background colour ) compile it and
then insert a new instance of the component the new code does not
seem to get used in the form unless I close the environment and
re-start it.

Must have missed the plot somewhere ? It is almost as though the
component assembly ( dll ) is not being unloaded?

Regards

Paul.
Nov 15 '05 #1
1 1014
Paul R Carre <pa********@polarinstruments.com> wrote:
New to C# - previous use of C++/MFC

OK - there apears to be no similar construct to the ASSERT( ) that MFC
used to use - TRUE or FALSE ( sorry - true or false ).


Look at Debug.Assert and Trace.Assert. I don't know about your other
question, I'm afraid.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #2

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

Similar topics

2
by: Daniel Schüle | last post by:
Hi all i am new to python but not to programming in general i tryed the code below i would write in C++ in particular the nested classes and creation of objects in constr my questions are...
0
by: ampeloso | last post by:
Hello, Can someone answer a few questions: Some background: Host table has 0 entries User table has: +-----------+------+ | Host | User | +-----------+------+
9
by: Yaro | last post by:
Hello DB2/NT 8.1.3 Sorry for stupid questions. I am newbe in DB2. 1. How can I read *.sql script (with table and function definitions) into a database? Tool, command... 2. In Project Center...
5
by: ranjeet.gupta | last post by:
Dear All As I was going through the Recent replies on the realloc(), I got some question and my annalysis on that, so regarding on these please guide me where I fail on the theoritical and...
3
by: Kostas Kousinovalis | last post by:
Hello Is it so difficult to make a databound form or am I somewhere wrong? First I create a SQL DataAdapter with a connection to Northwid Products VB creates a SQLConnection1 Then I'm...
5
by: ken | last post by:
Hi, I have two questions the first is: in the example below how can I call an event from within a statement, such as replace Stop1 with cmdStop1 which is a button on my form? My second question...
19
by: AMP | last post by:
I have a simple question. If i have a button on form1 that creates : Form2 newform = new Form2(); newform.Show(); As I click the button a new form shows,but acording to my code each one has...
17
by: Eric_Dexter | last post by:
def simplecsdtoorc(filename): file = open(filename,"r") alllines = file.read_until("</CsInstruments>") pattern1 = re.compile("</") orcfilename = filename + "orc" for line in alllines: if not...
1
by: Snaggy | last post by:
1. Why arent't default parameters accepted? Why do I have to use polymorphism everywhere? This makes my code redundant. Example: public string showStuff (string whatToShow, int limit = 0){...} ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
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...

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.