|
hi..
i have a problem with my listbox,
it doesn't allow me to display turkish characters like "ü, ı, etc,.."
my editbox displays whatever i type in it but my listbox not!...
although i've changed listbox font settings (script=turkish, or font=Arial TR)
nothing changed...
All my religional settings works fine. i have no problem with displaying except from my listbox.
What should i do?
any help will be appreciated...
Thanks ,
Atilla Selem
just listening to you...
|
|
|
|
|
hi,
this is more a question on working with vs.net;
back in the c++-vs6-days there was an easy way to get a list of all virtual (or base-class) functions and have an overwrite-corpus in your code with one click.
i wouldn't know about things like WndProc or IsInputKey if i wouldn't have this forum here. is there any way in vs.net to easily get a list of the available virtual functions and say "i want to overwrite this" with one mouse-click?
thx.
:wq
|
|
|
|
|
Hi!
If you higlight a class then there is a button on the properties window that lets you override base class virtual functions with one click!
Cheers
HTH
Martin
"Situation normal - all fu***d up"
Illuminatus!
|
|
|
|
|
i didn't find that button, but i found something else. if you walk the class-view tree into the base classes, there's an option "add-override" to each virtual methods contextmenu.
thx for your help.
:wq
|
|
|
|
|
O I didn't know that one! Thanks! But at least with c++ there's a button at the top of the properties window (when displayed while a class is highlited in class view) labelled ovveride (I have the german version of VS .NET) or similiar. It's next to the button where you create message overrides.
Cheers
Martin
"Situation normal - all fu***d up"
Illuminatus!
|
|
|
|
|
I have a computer with below minimum specifications for VS .NET (450MHz/128RAM + XP Pro). An upgrade is planned at the beginning of the next year.
Do you think I could run VS .NET somehow on this machine? (All I plan to do is to learn the .NET Framework)
Any tips are appreciated, thank you!
|
|
|
|
|
Visual Studio.NET requirements:
450Mhz
64Mb RAMM
No 9x system
and bla bla... is that enough?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
I run a PII 300 with VS.NET and it's fine.
Granted, it's got 192MB of memory, but I'm sure 64MB would be OK on a non-server and just running the framework.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
So the VS.NET don't say "You don't have enough with mhz"?
But you need a WinNT system! I tried ínstalled it on a WinME computer...
It didn't allowed me to do that!
But WinME sucks anyway!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
what version of windows are you running
|
|
|
|
|
Make sure you have lot of time to waste.
May the Source be with you
Sonork ID 100.9997 sijinjoseph
|
|
|
|
|
If you can afford VS.NET, I would urge you to at least get the memory up to 384 - 512MB, more if possible
MYrc : A .NET IRC client with C# Plugin Capabilities. See
http://sourceforge.net/projects/myrc for more info.
|
|
|
|
|
I have 128MB RAM, and VS.NET, and my hard drive is swapping all the time.
My VS.NET experience is slowed. Often windows open in 5 seconds.
Plan to upgrade to 256MB.
MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site. Support for development will ship at the same time as the Windows XP Service Pack 1 (SP1) release.
|
|
|
|
|
|
Though I don't understand a sh*t who calls who in what you tell, you may look further with either of these :
- add a marshal attribute before the safearray param :
[Out, MarshalAs( UnmanagedType.SafeArray,
SafeArraySubType = VarEnum.VT_RECORD )] out Object[] Items
See here[^]
- you may also implement a custom marshaler (ICustomMarshaler)
MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site. Support for development will ship at the same time as the Windows XP Service Pack 1 (SP1) release.
|
|
|
|
|
Is there an equivalent to MFC grid control for C#? has anyone made it?
I needed a list control that would allow word wrap. Can this be done?
|
|
|
|
|
I believe the the DataGrid is what your are looking for.
|
|
|
|
|
Okay, I'm really confused. I have a foreach loop that looks roughly like this:
foreach(MyNamespace.MyDataSetType.MyRow row in MyDataSet.MyTableName)
Somehow the program is trying to retrieve one record past the end of the DataTable. That shouldn't happen, ever... right???
Has anyone else ever seen anything like this happen?
Paul
|
|
|
|
|
STL iterators do this - a container has a begin and an end position and then can be stepped through by incrementing the iterator while it is < end. In other words, end is not a valid position. I'd say your dataset is doing the same.
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002
|
|
|
|
|
Christian Graus wrote:
STL iterators do this
Thanks Christian, it wasn't anything like that in the end, it was me being stupid.
While the loop appeared to continue, it was just escaping from the exception which was caused by the function WITHIN the loop. If it hadn't happened on the last record every time, I'd have noticed that sooner.
DOH!
Paul
|
|
|
|
|
try
foreach(MyNamespace.MyDataSetType.MyRow row in MyDataSet.MyTableName.Rows)
|
|
|
|
|
Hi all,
Im REALLY new to all this and want to start programming. I want to start on either C++ or C#. My friends have told me to go for C# as it will be used more often in afew years and its easier to get started on and has good support.
The main question I have is C# good for gaming or any other program. As we all know chances of getting into the gaming field is low at the start. So what kind of job could I get in the begining using C# as my primary? Thats the biggest issue I have. I dont know what kind of job C# can offer me and if it is possible to code an game engine in it =) I mainly want to work on advanced AI code for games.
If C# is good then is it okay I get C# Standard? I really cant afford the 799 buck studio and it seems alittle stupid to get vb,c++,j when I want to start with C#. Also I noticed there is a book called C#, How to program is it any good?
Thanks in advance!
(im still new so if AI coding and such work on game engines with DX all work on any code dont laugh)
|
|
|
|
|
Vipermmx wrote:
My friends have told me to go for C# as it will be used more often in afew years
Bollocks.
Vipermmx wrote:
and its easier to get started on
That much is true.
Vipermmx wrote:
has good support.
I'd say C++ still has more 'support' in terms of online info, etc. But C# is certainly supported.
Vipermmx wrote:
The main question I have is C# good for gaming or any other program.
No. It's too slow. I'm told that the next DX will be supported in C#, which may change that somewhat, but C++ will always be faster, even if it becomes possible to write games in C#.
Vipermmx wrote:
So what kind of job could I get in the begining using C# as my primary?
Not a damn thing and I doubt that will change anytime soon.
Vipermmx wrote:
I dont know what kind of job C# can offer me and if it is possible to code an game engine in it =) I mainly want to work on advanced AI code for games.
You want to learn C++. C# will offer you a web/database centric position. That's not bad, it's what I do, but it's got nothing to do with gaming.
Vipermmx wrote:
Also I noticed there is a book called C#, How to program is it any good?
If you want a C# book, buy Inside C# by Tom Archer. C# syntax is similar enough to C++ that if you've never coded, I'd recommend downloading the .NET framework, and one of the free IDE's, buying Tom's book and having a shot at it. It will help ease you into C++ if you want to get into gaming, and learning more than one language is never a bad thing.
But don't expect commercial games in C# from anyone but Microsoft in the immediate future.
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002
|
|
|
|
|
Gotta be honest with you... you are almost certainly never going to get a serious job writing AI in C#/VB/Java, probably not in C++ and likely not even in C. This kind of thing is usually done at the assembler level for the sake of speed. This is one of the reasons the games industry is so hard to get into.
C#, for several years at least, will probably largely be used in Rapid Application Development environments. This is where customers come in with a specific idea in mind and you need to develop it quickly.
It will probably come in big in network transmission and internet programming as well.
You'll certainly be able to write a nice game in C# and when the DirectX Development Kit comes out, that will become even more true. But I don't see the games industry being even remotely interested.
Sorry to be a pessimist and all that, but I think you might be a bit hopeful. Certainly use C# as a way to learn programming, certainly expect to be able to get a job in it if you're any good (or from some of the programmers I've worked with, even if you're not ) but don't expect to learn programming in 5 weeks and be able to move into a job writing AI.
Paul
|
|
|
|
|
The short answer is yes, get C# standard and learn C# in preference to C++. Arm yourself with a good book on object orientation, then a second dedicated to UML. Then you can decide where you want to go next.
If you want to write true AI (neural nets etc) then you want to use a dedicated language. Look around, do your research, you may even find a language that has a version which can run on .NET framework. Who knows, it might even run in the IDE!
I'm writing an exceptionally ambitious AI designed to analyze human actions, pinpointing weaknesses in their skill levels, coordination etc.. I'll have to leave you to guess exactly what it is! The current state of AI development for games is exceptionally weak so you are entering a market where, if you have the maths, you could do well.
For low level AI I have to recommend C# because it has less overhead than C++, is more object oriented than C++, and is much easier to learn. An additional problem with C++ is that it does not, in any way, force you to write object oriented programs. So if you are starting out you can pick up far too many bad habits with C++. C# is much better suited as a starter language for object oriented thinking.
People argue about the best object oriented language, but for my money the best of breed is either Smalltalk or Eiffel. Search on the web and you can find free downloads for both. Even IBM is giving away a download version of Smalltalk. For prototyping the most productive tool I've ever seen or used in Smalltalk for VisualAge.
I was brought up on C then C++. After Pascal I thought that C was great, and C++ was even better. But now I program in C# I get far more enjoyment out of writing creative code, and I am orders of magnitude more efficient.
C# is not perfect, but it offers a viable compromise between the speed of C++ and the power and purity of Smalltalk or Eiffel. I imagine that like Cobol, C++ is going to linger for a long time, principally in applications where real-time is critical (eg. games) however the writing is very clearly on the wall.
For telecommunications I write in C++ but never use dynamic memory allocation, because we cannot afford any memory leakage whatsoever. We also have several dedicated languages, especially for database manipulation where realtime is critical.
For banking, financials, and models which change on a daily basis (stocks and shares for instance) I prefer to use Smalltalk for VisualAge or similar.
For many business applications I use a work flow package with a nice visual designer, and something like Oracle for database.
But the one I try to avoid is C++ because like assembler it is labor intensive. The mechanisms it provides are also very weak, especially in regard to object orientation, so I find myself relying on infrastructure (code), patterns and templates. None of which are especially friendly to the newcomer like yourself.
Only change is constant
|
|
|
|