|
Hi
I am looking for component or some solution how to write databound list which allows:
1. enter SQL query as source
2. paging (datasource may contain more than 100000 records...)
3. master-detail view
4. customising filter (on almost every field)
5. filtering master rows based on some detail elements
6. storing filter settings (serializable) to file or db
7. filtering on database not in dataset
Do I really need to write it on my own?
ooops... I forget to say - WinForms of course
|
|
|
|
|
I've a problem that I've been struggaling with for a couple of weeks. I've made a client sever application which transfer files between the server and the client. The link between the server and the client only allows multicast so this has been done with UDP/IP. The applications that uses this connection needs TCP/IP. The solution to the problem must be a TCP/IP packet encasulated in a UDP/IP packet. I'm trying to do this in C# and hopefully have someone can help me out.
Thanks in a million
Eric
|
|
|
|
|
C# is too high a level programming language for something like this. Your talking about writing a comm driver and that is best suited to C++.
Now, you're going to have a bit of problem transmitting TCP in a UDP packet. UDP doesn't guarantee delivery of packets and does not even guarantee delivery of packets in the correct order, whereas TCP does guarantee this. You'll have to devise a mechanism to reassemble that TCP packets and then request a retransmission of the missing packets.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hey friends,
I am working on the isobar(contour Line) i have a collection of X axis and Y axis and Some Pressure
values, in which some of them may same. can some give me a contouring algorithm and some idea so that i can draw the isobar
thanks
beolijza
|
|
|
|
|
I have just started with C# and porting a C++ application. In C++, I can augment a derived class function like the code below:
void DerivedClass::Foo ()
{
/*
Do some processing…
*/
BaseClass::Foo ();
}
How can I achieve this in C#? I found the below idea as a working solution, but then it does not allow me to override the Foo() function, it advices to have a ‘new’ implementation.
public new string Foo()
{
BaseClass oBaseClass = this as BaseClass;
return oBaseClass.Foo();
}
Can somebody explain the theory to me please...
|
|
|
|
|
To call the base implementation from a derived class use: base.Foo()
The as keyword is a type of cast operator, where null is returned if the case fails. The other type of cast operator (class_name_here) will throw an exception if the cast fails.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
Do you mean to say, I need to *instantiate* a base class object and then call the foo() method on it? That is too much of a trouble as compared to base::foo() way of C++
|
|
|
|
|
|
_l_Salil_l_ wrote:
Do you mean to say, I need to *instantiate* a base class object and then call the foo() method on it?
No.
class A
{
virtual void Foo(){}
}
class B:A
{
override void Foo()
{
base.Foo();
}
}
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
Thanks... It took a while to make out that 'base' is a C# keyword.
|
|
|
|
|
Hi,
I have 5 years experience in VC++, MFC and C++. Now I want to do programming in .Net framework. Which is best among C#, VB.Net and VC++ 7.
Which books should I refer for C#?
Thanks,
Vicky
|
|
|
|
|
Vicks wrote:
Which is best among C#, VB.Net and VC++ 7
That's a difficuly question without more information.
Since you've got a C++ background, I'd drop VB.NET from the list and concentrate on examining C# Vs. Managed C++ (I'm assuming you actually meant Managed C++ and not "normal" VC++)
If you are going to do a lot of interop work the MC++ is probably better. If not then I'd go with C#. C# is fairly close to C++ syntax. There are some differences (like the struct keyword has different meanings)
Vicks wrote:
Which books should I refer for C#?
Looks like you've already chosen C# anyway. There are lots of good books on the subject. I bought mine 2+ years ago so there are probably better introductory books by now. However I found "Applied Microsoft .NET Framework programming" by Jeffrey Richter to be a good source of information.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
There is not a declared ‘best’ and people tend to rate them based on their own likings. In .net code written in any language ultimately gets executed in an IL on the CLR. So one should choose ‘his’ language of choice in .Net based on
a. The past experience
b. The nature of applications to be developed
I come with a similar tech background as yours and I found C# to be a more natural progression of my skill set. C++.net was also an alternative, but it will be best suited if I'm into lot of unmanaged code and/or want a quicker port of the older code. For fresh projects, C# is recommended.
|
|
|
|
|
hi,
Professional C# 2 nd Edition by Wrox is good.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
|
I was in your boat a couple of years back. If you have 5 solid years of C++ (meaning using it everyday), then C# is going to be a piece of cake. Like you, I'm a book learner and immediately thought about getting several books. I did pick up a few here and there, but most were specialized in areas that I wanted to learn (remoting, GUI, etc). I think someone with your skill set should start with the help files & Intellisense, you'll get bored with the books. What I did was come up with a project to write (in my case, it was a code snippet manager) and went for it. Just like any project, you'll come up against problems to solve and this will solidify your knowledge and allow you to begin building a code base/libraries for yourself. You really know more about C# than you think because it is so similar to C++ and you know most of the framework because of your MFC knowledge. It's just like MFC, only better and easier.
Just my opinion.
Custom Software, Custom Solutions. Yye Software.
http://www.yyesoftware.com
|
|
|
|
|
|
Hi,
can any one please help me how to update the VC++ Directories in the Options Dialog->Projects Using the EnvDTE namespace or by anyother method...using the programming interface exposed by Studio.NET
thankx in advance
waiting!
|
|
|
|
|
|
Thanks but i couldnt find this information (i.e include paths) in the vcproj or sln files, by the way i need to have it done through C# and i want it to be globally set that is the directories i add should be permenantly added to the Visual Studio.NET IDE.......
anyone please help.....
thankx in advance
|
|
|
|
|
As with most things, this is actually stored in the registry. Take a look at the HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\Version\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories key. You may need to restart the environment (the IDE) after changing that, however.
To access this programmatically, if you look in the MSDN Online Library[^] you will find the VCPlatform object, which exposes those directories as properties. This is not in the EnvDTE.dll assembly, however. You must reference Microsoft.VisualStudio.VCProjectEngine.dll. IIRC, you should be able to cast (performs a QueryInterface on the COM component) from a Project object defined in the EnvDTE.dll assembly.
Software Design Engineer
Developer Division Sustained Engineering, Microsoft
My Articles
|
|
|
|
|
For Tools->Options->Projects it's actually stored in the registry.
Software Design Engineer
Developer Division Sustained Engineering, Microsoft
My Articles
|
|
|
|
|
If you've seen programs like "Ad Aware," or even many other programs, do you know how they make buttons that are not the typical boring box-type button. I have heard this is done using skins. But I'm not really sure how to do this, as I'm kind of a newbie to programming with c sharp. Any help or suggestions as to how I can create a more eye-pleasing button. Any help would be great. Thanks.
Stephen
|
|
|
|
|
For starting, check
http://www.nemhauser.com/presentation.aspx?id=nmi322
Sanjay Sansanwal
www.sansanwal.com
|
|
|
|
|
I've searched all my books and the Internet and cannot find a good example to read a text file into a hashtable. My text file is tab delimited as such below)and I need to load them into a hashtable as a DNS cashe...... Help.........
123.123.123.123 www.mywebsite.com
111.222.333.444 www.nowebsite.com
|
|
|
|