|
I have my collection displayed as property in PropertyGrid.
How can I prevent the collection from being editable by .NET Framework's Collection Editor Dialog Box?
Thanks.
|
|
|
|
|
if i understand correctly
[Browsable(false)]<br />
public CollectionType Collection<br />
{<br />
get{;}<br />
set{;}<br />
}
|
|
|
|
|
No, this is not what I mean...
"[Browsable(false)]" on my collection tells the property grid not to display the collection in the grid.
Whereas I _need_ the collection to be displayed; at the same time the collection is expected to be in "read-only" mode.
Thanks.
|
|
|
|
|
Oh sorry man.
You define only the get function.
Now if you want the property to be read/write but only readonly in the designer i realy haven't used it but i think there might be a readonly attribute like browsable.
Let me know. Thank you.
|
|
|
|
|
I have a managed dll that captures webcam video with Directshow. I could easily display the video in .NET 2.0 by drawing on the background of the panel. There is just an abstract Panel in .NET 3.0, other Panels (Dockable,..) have no Graphic object I could draw with nor any background I could set my images to.
I tried the following:
BitmapSource bitmap = BitmapSource.Create(320, 240,
96, 96, PixelFormats.Rgb24, null,
Streaming.samplePointer, 357480, 320 * 3);
dockPanel1.Background = new ImageBrush(bitmap);
dockPanel1.InvalidateVisual();
It didn't work. It just fills my memory periodically if I observe Task Manager, but it displays nothing. And streaming works perfectly well under 2.0 by drawing on a Panel. What should I do? How is this situation supposed to be handled in 3.0?
|
|
|
|
|
Hi All,
How can I change the build version of the generated DLL file in Visual Studio 2005 webproject??
I want it to be changed automatically each time I build the project.
Thanks all
|
|
|
|
|
In your AssemblyInfo file, there is a section that looks like this:
<br />
[assembly: AssemblyVersion("1.2.1.*")]
This controls the assembly version. The asterisk at the end shows that the revision will be autoincremented. If you want to autoincrement the build number, place a * there as well.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi all,
what are differences between Local, Global and Satellite assemblies. And which should be used in which scenarios. Can anybody please tell me in detail. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: Can anybody please tell me in detail. Thank you.
Yes. Lots of people. And lots of them can be found through Google.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Yes, I tried with google. But I couldnt find it in nice way(may be my query was in incorrect matching, because google works on it only), if you have any link please provide it to me, no. Please. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Have a look at this resource then. Clickety[^]
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi all,
In which component of .Net framework, the basic data types are defined. Means from which component we are able to get all the basic datatypes. And how. Please tell me in detail. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
First of all, have you googled for this information.
Second, stop asking people to tell you in detail. I sometimes think you are asking to get flamed.
Third, learn a bit about how .NET works. Buy some books, or read the MSDN or something. Try to show that you have done a bit of research beforehand.
Finally, if you want to know where something exists learn to use the Object Browser. Open it up and have a look around the different namespaces. The big hint here, is that it isn't where you would expect it to be (i.e. the System DLL). If you know anything about the compile cycle in C#, then you will know that there is a certain DLL that gets linked in regardless of anything else and that does not appear in the references. A bit of thinking would deduce that this is the logical place for the basic types (i.e. System.String). Open it up in the browser and there you go.
I'm not going to tell you which DLL this is. There is enough information there for you to find it yourself.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Yes sir, I got it. But why are you so angry. I am sorry. I know that its very basic, but I didnt observe. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: Yes sir, I got it. But why are you so angry. I am sorry. I know that its very basic, but I didnt observe. Thank you
I'm not angry. I'm trying to help you here. You are in serious danger of people ignoring your posts because they think you are trying to get them to do your work for them. You have made lots of postings where pretty much the first reply is look it up in google. This is known as RTFW. It's pretty much becoming the standard response to you.
Plus, you have to stop asking people to give you detailed replies. This is a volunteer forum where people give their time freely - they don't have time for handholding. Most of the time, you will get pointers, hints and suggested areas to take you further if you are asking for something that takes a little bit longer to understand. The forums are not the place for detailed replies or article length conversations.
Before you post a question here, take a look at Google. Find out what other people have to say and read up on it. Then, if you don't understand something post here with a question that shows that you have read up on a subject and that there is a specific area that you are having a problem with. This gets you respect, and people will be far more willing to help you.
Take the following two hypothetical questions, and ask yourself which is likely to get you an answer.
"How do I load an assembly?"
"I understand that I can load an assembly using a method like Assembly.LoadFrom, but I can't really get my head around how to load it into a separate Application Domain. I've looked it up but opinion seems to be divided about what the best method is, and what the performance hits are going to be. Has anybody done this before and, if so, what were the tradeoffs that you had to cope with."
Think about it. That's all we're asking.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Ok. Thank you my dear Pete, I will try to change it my attitude. But still I say sorry. Thanks for your advise.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
*grin* Yep, that's what I've been saying for a while now.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Whats meant by "Yep".
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Yep means yes.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi
I m developing a web portal in c# asp.net web application .i want to built an email client.My email client will include the functionalty as
Making new account
sending e mail with attachments
receiving email with inbox maintaing facility. etc
but i have not any idea about it. Can any one guide us first of all about the email server that which server should b used 2ndly how it can be used n from where v can get help regading its builtin methods to b used in email client.
v want help in C# not in HTML codin
Thanx
|
|
|
|
|
|
Hi dear,
I do have a query about it. Can we send and recieve emails by using this component and is it .Net made component or activeX such as CDONTS. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Well gosh, looky here. By clicking on the link helpfully provided in the answer to the question, I have navigated to a page where the second line down answers your question for you. Where was your research?
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi all,
This is an urgent requirment for me..I have a page consisting of datatgrid where i have to get the data from database.and bind to it..That dataset shuld remain global as after getting there are some operations where inserting the row..adding the row and all these get happens where, again retreival from database and loading in thedataset is nota correct choice so i used the concept of state managent using sessions which is working properly but using sessions is not a gud choice and there are some situations where session timeout is not working properly ..so i want a dataset to be come global for each user instance..I made use of static declaration which is a worst choice as the users specifice dataset is getting mixed up with all..Can anyone give mea code or help to resolve this solution..i am new to .net Plz i need help
your
peter
|
|
|
|
|
Could someone please help me understand how the decryption is done in the article posted by Andrey Dryazgov called Strong and Fast Data Encryption with the CAST-128 Algorithm
My assumption is that the key is needed to decrypt a file. How does this code/application come up with the right key? Seems like it is passing all 0's for the keys. It that not correct? Can someone please help me understand the decryption process, basically the part about the key?
|
|
|
|