473,395 Members | 2,443 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,395 software developers and data experts.

Odd program behaviour

Unfortunately, this question will be very vague, because the problem is
very vague.
I have two projects doing the same job, one works doing drag and drop
and the other doesnt. Have followed the program flow, and variables were
showing in the debugger as having a text value, but the logical test of
text resulted in false.
In sheer frustration I copied all the code from the working project to
the other and still the same result!
Checked the events and all concur between projects and events are
working correctly.

What the problem is that when I start a drag in treeview the move shows
as a invalid drop icon (and drop is impossible). Whereas the other
program correctly displays the box icon, or in cases where a program
icon, the icon, and drops correctly.

Anyone suggest any tips that might help me figure out what the heck is
going wrong?
Thank you.
Alistair.
Oct 4 '07 #1
2 1090
there are some properties like allow drag and drop. u need to set it true.
plz check each propert care fully

"Alistair George" wrote:
Unfortunately, this question will be very vague, because the problem is
very vague.
I have two projects doing the same job, one works doing drag and drop
and the other doesnt. Have followed the program flow, and variables were
showing in the debugger as having a text value, but the logical test of
text resulted in false.
In sheer frustration I copied all the code from the working project to
the other and still the same result!
Checked the events and all concur between projects and events are
working correctly.

What the problem is that when I start a drag in treeview the move shows
as a invalid drop icon (and drop is impossible). Whereas the other
program correctly displays the box icon, or in cases where a program
icon, the icon, and drops correctly.

Anyone suggest any tips that might help me figure out what the heck is
going wrong?
Thank you.
Alistair.
Oct 4 '07 #2
Som Nath Shukla wrote:
there are some properties like allow drag and drop. u need to set it true.
plz check each propert care fully

"Alistair George" wrote:
>Unfortunately, this question will be very vague, because the problem is
very vague.
I have two projects doing the same job, one works doing drag and drop
and the other doesnt. Have followed the program flow, and variables were
showing in the debugger as having a text value, but the logical test of
text resulted in false.
In sheer frustration I copied all the code from the working project to
the other and still the same result!
Checked the events and all concur between projects and events are
working correctly.

What the problem is that when I start a drag in treeview the move shows
as a invalid drop icon (and drop is impossible). Whereas the other
program correctly displays the box icon, or in cases where a program
icon, the icon, and drops correctly.

Anyone suggest any tips that might help me figure out what the heck is
going wrong?
Thank you.
Alistair.
Yes, I have done this, and other usual program checks before putting my
hand up here.

I also had a version of this program where I wanted to use multiple
tabs, so I cut all the components off a panel, then placed them on a
tabcontrol. This caused a pasted graphic on the tab control to stop
working for no apparent reason. The graphic was updated in code, the
picture control was in front and visible and so on.
Also in another C# program, the IDE crashes, with no warning when I
delete a menu item. This could be replicated by others working on the
same project.
Some would say, what do you expect for freeware (visual C# Express), but
after coming from reliable Borland products, this product is disappointing.
Alistair.
Oct 4 '07 #3

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

Similar topics

10
by: Cam | last post by:
Hi all, The code below is a practical exercise and works well running in the debug environment but fails when being compiled for a release build. I believe this is because the debug environment...
4
by: Denise Mills | last post by:
Hi, On my previous Windows 98 machine, I wrote a simple C program that takes two text files as input, performs some calculations, then produces a text file that contains the results. It worked...
54
by: bnp | last post by:
Hi, I took a test on C. there was an objective question for program output type. following is the program: main() { char ch; int i =2;
20
by: ghyott | last post by:
hello, In my opinion the following code should crash when run with *(argv+1)="1234567890" and *(argv+2)="1234567890" . int main(int argc,char **argv) { char buf1; char buf2; char buf3;...
10
by: Steven | last post by:
The following program runs alright until the return statement, where it crashes, and consequently, Dr. Watson (drwtsn32.exe) also crashes. Deleting the call to fgets() and everything runs fine. I...
18
by: ben.carbery | last post by:
Hi, I have just written a simple program to get me started in C that calculates the number of days since your birthdate. One thing that confuses me about the program (even though it works) is...
9
by: kaushalgoa | last post by:
int sum(int a, int b) { int c = a + b; } int main() { int p = 5, q = 10; printf("%d, %d, %d\n", p,q,sum(p,q));
73
by: Rajeet Dalawal | last post by:
Good day group. I was asked in an interview to explain the behavior of this program. void main() { char *s = "abc"; int *i = (int *) s; printf("%x", *i); }
1
by: sewid | last post by:
Hi there! I've got a problem with no solution, I hope you might help me. I am writing a small tool with many buttons. Every button starts a thread and this thread starts something else, in the...
46
by: Kenny O'Clock | last post by:
This came up in a job interview, what is the output of the program below? I tried to compile and run it myself, but my compiler (lcc-win32) aborts with this errors.... Warning test2.c: 3 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
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,...

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.