|
int iValue = 500;
byte byte0 = iValue; // byte0 is 0xF4
byte byte1 = iValue >> 8; // byte1 is 0x01
byte byte2 = iValue >> 16; // byte2 is 0x00
byte byte3 = iValue >> 24; // byte3 is 0x00
|
|
|
|
|
Anybody know how can I make a Custom Controls for a ProgressBar to add these functionnalities : SetBkColor, SetBarColor, FlatStyle ?
Thanks
|
|
|
|
|
You can update the enabled/disabled status of menu items using the Popup event for the menu, but how do you update the status for toolbar buttons?
|
|
|
|
|
A toolbar is displayed at all times so you should update it when you need to (ie the button should change state when the button's representive action has changed state).
It makes sense to update a menu in the popup event because the menu isn't always displayed.
HTH,
James
Sonork ID: 100.11138 - Hasaki
"Smile your little smile, take some tea with me awhile.
And every day we'll turn another page.
Behind our glass we'll sit and look at our ever-open book,
One brown mouse sitting in a cage."
"One Brown Mouse" from Heavy Horses, Jethro Tull 1978
|
|
|
|
|
Not that I'm a C# programmer or even interested in C#, but I was just wondering how C# would be pronounced in real life. I always thought it was said "C NET."
First Programmer: "How many bits are in a bite?"
Second Programmer: "You spelled bytes wrong."
First Programmer: *stares* "It's a joke, moron."
Second Programmer: "Joke...?"
|
|
|
|
|
|
|
If I understand the discussion of "Deploying a C# App" correctly, you can use the C# compiler to generate an executable that can run on any of the Win OS systems (95/98/ME/NT/2000/XP)...
I am right?
|
|
|
|
|
Windows 95 is not supported
Minimum Configuration Requirements
This section describes the minimum configuration requirements for a computer where the .NET Framework redistributable package is to be installed. If the minimum requirements are not met, Dotnetfx.exe setup will block the installation of the redistributable package. Specifically, note that you cannot install the .NET Framework redistributable package on a computer running the Microsoft Windows 95 operating system.
Andres Manggini.
Buenos Aires - Argentina.
|
|
|
|
|
But can you make an exe that doesn't need the .NET dlls and stuff...one that would use existing MFC/VB stuff?
|
|
|
|
|
No.
I vote pro drink
|
|
|
|
|
Hi, Im a newbie starting in the C# world and I was wondering what to do to make an executable on C# (using .NET) so it can be run on computers with a different OS than the one it was made on. Whenever I test out my programs on my computer with Windows 98 it gives an error in the windows version, I make the programs on Windows XP. Id really appriciate any help.
Thanks.
|
|
|
|
|
Simon Krynine wrote:
Whenever I test out my programs on my computer with Windows 98 it gives an error
Have you install .net platform on your win98?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
|
Simon Krynine wrote:
No I havent...
So that's the problem,you can use your .net applications(C# or VB.NET) only in OS that have .net platform.I think some new version of xp have .net platform so you can run your applications without any problem.I think you can dl .net platform here in CP or you can do it in MS site.
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
I got the same problem.
you need to have .NET on target machine.
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/829/msdncompositedoc.xml.
try to download this and have fun.
- Anand
|
|
|
|
|
Just to share with you guys,
Hotmail is not accepting CAB file as an attachment. Anybody tried?
-Anand
|
|
|
|
|
M$ does not accept M$
Are you sure?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
I tried (5 times)to attach CAB file, but no luck..
Its not giving any error, but simply ignores what you doing..
|
|
|
|
|
What was the size of the attachment? Hotmail has a limit of a 1mb I think. It may be lower now.
Michael
|
|
|
|
|
How can I specify standard Icon IDs for Imagelist such as STD_COPY ( for Copy ). I could not find any way to specify such IDs to non-standard icons too. Is it possible at all to load icon using IDs in .Net?
|
|
|
|
|
After you add ImageList,click the button to the right of Images property.A dialog box will open.
At this path you can find some icons:
<drive>:\program files\visual studio.net\common7\graghics\icons.....
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
I want to specify IDs, not file path.
|
|
|
|
|
Hi,
I am trying to run my C# application on different machine by copying executable.
I am getting this error. " A required, MSCOREE.DLL, was not found".
Can some one guide me how to deploy.?(FYI: I am creating Cab Project and set up project)
Any restrictions on target machine for deployment.?
Thanks,
Anand.
|
|
|
|
|
How did you create setup project? what attributes you specified in setup prg? Did you look at "WalkThrough" doc on MSDN? Send me some more detail, I hope I'll be able to help you.
|
|
|
|