|
what we are looking for is sample applications for our users , code samples using our free controls.
so we are not looking for huge binary demos of any sort , just easy to follow code samples.
//Roger
|
|
|
|
|
I started to write my own and I found this on the net for FREE. http://architag.com/xray/ I use it all the time and find it very useful. If you still want to pursue developing your own I would enjoy the chance to work on an open source project if you need help.
Kevin
|
|
|
|
|
Yeah, thanks for the link again.
I want to develop for myself. Anything that is written with c# and work with .net framework 1.1?
Just wonder, intellisense is something free to download and add into my system or what? Just assume i write a xml editor which i require intellisense.
Any help? Thanks.
|
|
|
|
|
I wrote an article for Windows Developer Journal on an XML wrapper in C#, with a friend called 'Matt Cole' ( google his name and mine to find it ) and the code came with a simple editor that does what you want, albiet in a brute force manner.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
why im always getting a format exception when am tryin to convert a string to int using Convert.ToInt32() ??
however, the string only contains "5" .
thanx
|
|
|
|
|
It should work (and does work in all other cases), so it begs the question: are you sure the string only contains "5" (by debugging your code and checking the string going into Convert.ToInt32 ), or do you only think it does? Remember that strings are immutable, so that if you originally had a string like "asdf5" and called someString.Remove(0, 4) , it doesn't modify the original string but returns a new one instead (which you could assign to the same variable if you wanted).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
heres my code.
<br />
nLevels = Convert.ToInt32(Levels.ToString(),16);<br />
where Levels is a textbox and contains a number !
is there any errors ?
thanx for reply
|
|
|
|
|
Try
nLevels = Convert.ToInt32(Levels.Text, 10);
I've never tried a TextBox.ToString() but I suspect it won't give you what you want. Also the 16 you've got in your line of code tells it to expect a Hexadecimal value rather than a decimal value. Are you sure that is what you wanted also?
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
Right, he definitely wants 10 for the radix. Also, System.Windows.Forms.TextBox.ToString always returns the Type, "System.Windows.Forms.TextBox", as do most classes (well, their own Type, which is inherited functionality from Object.ToString ).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
ALso try explicitly defining the number base.
leppie::AllocCPArticle("Zee blog"); Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.
|
|
|
|
|
int x = int.Parse(str);
Don't forget, that's Persian Gulf not Arabian gulf!
|
|
|
|
|
Is .net supported with OLE?
If it is have you sample of it
Abdul
|
|
|
|
|
Abdulghani Sabbagh wrote:
Is .net supported with OLE?
This makes absolutely no sense. .NET supports COM (what OLE evolved into) and COM supports .NET through RCW's and CCW's, respectively. There is lots of information about COM Interop in the .NET SDK Framework that you should read because it's not a quick topic to answer - especially in the forums.
You can also read more about it from Nick Parker's article, Creating a CCW for COM enabled non .NET applications[^]. For more advanced articles, see mine, Embedding .NET Controls in Java[^], which deals with some of the late- and early-bound issues of CCWs.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Hi all
I want to use the Open document managment API but I can't find any infomation about it.
Can any body help?
Abdul
|
|
|
|
|
Amazing! I simply typed "open document management" into google[^] (with quotes) and found many links!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Hi All,
How do I create a custom paint treeview control or an owner drawn treeview control ?
Any tutorials on this anywhere? not in Asp.net please.
Thanks,
JJ
|
|
|
|
|
usually trying a google search FIRST... helps alot.
/\ |_ E X E GG
|
|
|
|
|
LOL. You are so right. There are so many people that don't even bother to spend a minute looking for anything.
I think there needs to be a message added to this board advising people to search the message board before posting and trying msdn or google.
|
|
|
|
|
|
Hi,
I hosted a C# control in an ActiveX control, but now the tabbing between the controls doesn't work anymore.
Any ideas?
Thanks
|
|
|
|
|
This might actually be better to ask in the COM forum, but basically your C# control (via a CCW) must be UIActive - if memory serves me correctly - to receive the focus. This is specific to the container (which would be a native COM container), not the control itself.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
I have run into a problem when updating a ListView object with hundreds or thousands of records at a time.
I do a listView1.BeginUpdate before I start and an EndUpdate when I am done, but even though the contents of the listview are not updating, it still takes an inordinate amount of time to update the object (15 seconds for 2000 items).
If the listview is not visible (i.e. the tab the object is on in a tab control is not the selected tab), then it updates in a 10th of the time.
I know there is a LockWindowUpdate available as an API call but either I am calling it wrong or it has no effect on the listview object.
Can anyone out there help me out?
Darryl Borden
Principal IT Analyst
darryl.borden@elpaso.com
|
|
|
|
|
This is happening because, while the control is not visible, the Windows handle is not created. When the Windows handle is not created, no sorting (and a few other things) is done. If the control is visible - even if it isn't currently painting items - it sorts with each addition to the Items collection!
Even using the LockWindowsUpdate API won't do anything to resolve this issue. The BeginUpdate and EndUpdate methods essentially do the same thing. They disable and enable drawing (respectively) by using the WM_SETREDRAW message. While it isn't documented, LockWindowsUpdate probably does this very same thing.
So, you'll either have to bite the bullet and accept the lag, or hide your control and reshow it when you're finished, but that might be annoying to the user. If nothing else, show a progress bar (so add the items in a separate thread, but be sure to use InvokeRequired and Invoke to actually add the items!) while you're adding items to the user knows that something's happening and that they should way. You should also use a try-finally block to show the wait cursor (Cursor.Current = Cursors.WaitCursor ) and, in the finally block, set it back to the default (Cursor.Current = Cursors.Default ).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Hey
I'm looking for at control like the slidemenu in MS Outlook. Is it an existing component ready for use or where do i find information?
Best regards
Rasmus
|
|
|
|
|
Search[^] this site or try google. Being such a popular control, you'll definitely find lots of commercial libraries and probably quite a bit of sample code.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|