|
I'm writting .Net dll using Hashtables.
When i debug the Dll blank lines and Commented Lines gets debugged.
When i change the Source Code it executes with the previous source code.
(i.e) New Changes are not getting reflected while debugging. It is debugging with the old code.
I tried Clean and Rebuild option but their no effect.
--------------------------------
bharath. k
-- modified at 8:40 Monday 26th September, 2005
|
|
|
|
|
Make sure your exe file matches its pdb file and that they are in the same directory.
Also make sure that your application is not in the GAC. Or else you will use the assembly from the GAC the and the new pdb, which cause the same symptom you descibed.
Good luck,
Ami Bar
|
|
|
|
|
Yeah it is working.
Thanx alot Ami Bar.
|
|
|
|
|
Hi,
I'm wondering if there is any COM object form Microsoft Office Picture manager or MS Picture Viewer that one can use? I want to be able to clik on a picture and open either one of the above mention item the same way it's possible to open Word or Excel.
Thanks for your help
|
|
|
|
|
Hi all.
I'm trying to read a stream to string but seem to be having some trouble.
string _content = "";
System.IO.MemoryStream _stream = new System.IO.MemoryStream();
SoapFormatter _Formatter = new SoapFormatter();
_Formatter.Serialize(_stream, _element); // Serialize object
_stream.Flush();
System.IO.StreamReader sr = new System.IO.StreamReader(_stream);
_content = sr.ReadToEnd();
return _content;
The _stream's buffer isn't empty at all but yet the streamreader returns an empty string.
|
|
|
|
|
That is probably because you are reading from the current position in the stream (the end) to the end of the stream. Reset the position before you read the stream.
---
b { font-weight: normal; }
|
|
|
|
|
|
Hi,
I'm having this problem of changing the back color of a multiline textbox I have which is also a read only textbox. Its back color turn grey when I set readonly = true and I just can't find anyway to change it.I'd been searching the Internet for the whole day but just can't find any solution. By the way, I'm doing a pocket pc project.
Thanks for any ideas on this
|
|
|
|
|
As far as I know, it can't be done with the standard textbox. Possibily you could derive your own TextBox control and override OnPaint?
|
|
|
|
|
That's not good...I can change the color with ASP.NET easily by changing the color in the property window, why C# have to be different, oh well, I guess I just have to sort things out now, thanks
|
|
|
|
|
I've done this a number of times.
Just change the textbox's background color in the properties window.
Darryl Borden
Principal IT Analyst
dborden@eprod.com
|
|
|
|
|
I'd tried that, but it is still grey when I deploy the project,that's why I post this question,it's really giving me a headache
|
|
|
|
|
Try these steps...
Create the textbox
Set Multiline to true
Set Word Wrap to true
Set Readonly to true (at this point it turns gray and back color is still white)
Change the back ground color to some other color (does not matter) and it should visibly change from gray to the new color.
Change it back to white.
I just performed these steps and it worked fine for me.
dpb
Darryl Borden
Principal IT Analyst
dborden@eprod.com
|
|
|
|
|
Thanks for the help, I'd tried your steps, it's not working, that is so strange, it happens just as you said, the changes to gray when set to read only and everything, only the end result is different, the back color is still grey when I run it. I really have no idea what to do now
|
|
|
|
|
You can optionally set "enabled" to false and change the background color, but then the user would not be able to select and copy text or use the scroll bars.
Darryl Borden
Principal IT Analyst
dborden@eprod.com
|
|
|
|
|
Hello,
How can I add columns, rows to the ReportDocument. Any help will be appreciated. Thank you.
|
|
|
|
|
Hi all,
I have two difficult situation while developing tree view control in winforms which are explained below.
1. The tree view control should show a rectangle over the node when i hover the mouse on that.(Just like codeproject.com left menu.while hovering mouse on that you can see the rectangle)
2. The tree node text should be appended with three dots if the width of the node text exceeds the width of the control.
3. For the above scenario, if i hover the mouse on the node,full text of the node should appear inside the rectangle.
I need a solution for any of these, I know it is very difficult to find out, but i need ideas for any of the above, Please it is very urgent
|
|
|
|
|
I'm building a Tabs control (MS TabControl style)
and I'm having a problem pressing a button of the user control(for switching tabs)
within the IDE without running the entire windows application(just like MS TabControl).
When I run the winApplication its works perfectly but it's not the effect I want.
Can someone tell me how to "Enable" the button, so that it will work from withing the IDE ?
Never put more than one leg at atime on the wall.
|
|
|
|
|
Can somebody guide me as to what "pattern" to follow for a C# Quiz Application.I was thinking of a single WinForm for the whole application as the Questions will be mostly in one standard defined in XML Format.Load the question from the XML File and save Status/State to XML File.I guess I have to come up with a couple of XML methods to handle the state/status of Quiz questions.Any suggestions ?
Thanks in Advance
|
|
|
|
|
Yes it could be a better idea to have a question with XML format. Go ahead.
|
|
|
|
|
Hi,
Does any body know how to adjust Datagrid column height by coding. (For wrap printing use).
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
Hi,
I want to show hierarchical data in grid like shown below.
Group NT MT KT <--- Column names
----- --- -- --
GroupA
Usr1 S N N
Usr2 N N N
GroupB
Usr3 S S S
Use4 N N N
in first colom i want to show data according to groups. when i click on the group i should expand with all detailns of users in data grid.
can any body give me some suggestions to do this.
Thanks in advance
Satz
|
|
|
|
|
Is there a way to know if an udp port on a remote host is open. I am trying to make an aplication to detect if there are running some multiplayer games on the lan. I am connected to a huge lan and I want to find what games are played at a certain moment by scanning game specific ports.
|
|
|
|
|
I want to compile my application as a Framework 1.0 app on Framework 1.1. This is not because I'm too lazy to install 1.1, but Windows MCE requires it.
I guess I need some command line options, but can't find it in MSDE.
Please help me out.
Theo
|
|
|
|
|
I don't think you can do that without a copy of VS 2002
|
|
|
|