|
Member 4664921 wrote: I'm assuming you mean creating a class that defines an object (the core object in the shape of a generic list of files) and all the dictionaries within that same object.
Correct
An object ( a class ) is really just a combination of properties and methods that work on those properties, that work together to define a single concept, such as a database record, a file entry, or whatever.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Sometimes I surprise myself!
Coming from a FoxPro background (ie: not true OOP as I understand it) I had a vague concept in my mind that you could draw a direct comparison to a computer programming based "Object" as something akin to an object in the real world. Every distinct "thing" in the real world is an object and each have properties (such as size, colour, smell etc ...). However, I guess through lack of reading, that the lines between my understanding of what exactly were/are the differences between a class and an Object were still fuzzy. Your brief clarification has been extremely helpful.
Also getting "into" something like .NET and C# at this stage is no mean feat. I'm still reeling in terms of learning just how BIG the .NET framework is.
Anyway, thank you for this great input. Lots of thinking to do!
Regards,
James.
|
|
|
|
|
np - glad to help
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I'm currently making a game (as always) and can't seem to make a Projectile class work right. Can someone just explain the concept of it. I really just don't understand how you get a sprite from the class. (?)
- I love D-flat!
- Need. More. Code.
modified on Saturday, February 23, 2008 5:26 PM
|
|
|
|
|
MasterSharp wrote: I really just don't understand how you get a sprite from the class. (?)
However you like. You either store an image ( or sequence of images ) statically in the class ( and an image index if you're using a sequence ), or whatever. Are you using DirectX ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Oh sorry, XNA.
- I love D-flat!
- Need. More. Code.
|
|
|
|
|
I see...
- I love D-flat!
- Need. More. Code.
|
|
|
|
|
Hi all,
i was wandering, if it is possible to create a picture of a loaded Form ?
Janko
|
|
|
|
|
You mean a Screen Capture? Click the button on your keyboard that says PrtScn, or something that would mean Print Screen. Then open up your favorite image editing software and paste it in. MSPaint works well.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
I mean doing it programaticaly (in code)
|
|
|
|
|
There are a number of articles on this site on screen capture, I know Nish has one.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Well what i am looking for, is the possibility to draw a form into image without displaying it...
|
|
|
|
|
Yes, the form class apears to have a 'DrawToBitmap' method that you could use.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
OMG i must have been blind :P
TY
|
|
|
|
|
Use the DrawToBitmap method of the form.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
I need a free obfuscator so no one can see my C# code.
any recommendations?
Thanks
|
|
|
|
|
|
|
If you've got Visual Studio Professional or above then you've got a Community Edition obfuscator in there.
|
|
|
|
|
Hi evrybody,
I want to create a program to play a sound or video stream by windows media player com object (= wmp) .
I have a wmp in my windows form.
I have a stream from that file(sound or video) not a path(file address on HD) .
I wery tried to find out some thing about this problem in internet.
----------------------------
hope to your help.
?
---------------------
Areff Bahrami(KAVEH)
Areff.HB@Gmail.com
---------------------
|
|
|
|
|
I read it 5 times and I still don't understand what your problem is, or how you think we have enough information to try and help you. What have you done ? What is the code ? What is the error message ? Wat goes wrong ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
tanx Christian Graus,
my problem in my programm is that i have a stream containig video or sound and i want to play it in my windows app via windows media player control .
this code can tell windows media player (=wmp) to play a file in internet
AxWindowsMediaPlayer1.Url = "some address";
this code meaning that wmp can play a video or sound streamly .
and my question is how can i play my stream when it is in memory ?
i find something about creating protocols to do something like the url passing to wmp
hope to your help.
---------------------
Areff Bahrami(KAVEH)
Areff.HB@Gmail.com
---------------------
|
|
|
|
|
|
Hello every one,
I am working on TCPClient and TCPServer software, I am using c# .net 2005 for writing this software,It works fine only for text messages if i am sending structure via tcp client then i need to convert the message to bytes and i have to send it via tcp client, in my application its working fine only for the first time, then after that neither Server side application nor Client side application is able to send or receive any byte and even its not giving any error message, can any one help me out for this, Thanks in advance.
|
|
|
|
|
hi there,
I have written a code using C# 2003 in the past I need to run it on the 2005 environment , I changed every thing but I still got this :
var q =
from device in _manager.DiscoverAllDevices() select device.Name;
device and _manager are objects for bluetooth connection ,
the var q should contain every thing returned by the select,
but I do not know what should I change !
I think that the problem is from the statement, but I do not know how
Please help!
Note:the error was about missing (;) after device , _manager,..
There is always something to learn
|
|
|
|