|
yea it would be, i'll look into that and see how i go, my font is 'Lucida Console, 9pt'
which makes each letter the same width part.
thanks for that
|
|
|
|
|
I added both the convert and revert in title for completness. I am using the ArrayList.ToArray(typeof(byte)) now to return the byte array.
now I need to convert it back to an Arraylist. Cannot seem to figure that one out for some reason.
Any help would be appreciated.
Steve Welborn
Software Engineer
BitWise Solutions
|
|
|
|
|
Try this:
public ArrayList ToArrayList(byte[] buffer)
{
if (buffer == null || buffer.Length == 0)
return null;
ArrayList list = new ArrayList();
list.AddRange(buffer);
return list;
}
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.
|
|
|
|
|
Easy enough. thank you Pete
Steve Welborn
Software Engineer
BitWise Solutions
|
|
|
|
|
Not a problem.
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.
|
|
|
|
|
How can I retrieve information about the devices attached to the IDE.
|
|
|
|
|
Where do you want to retrieve this ? How do devices attach to the IDE, do you mean database servers ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I want read what drives, CD and HD are attached to primary master, primary slave, secondary master, and secondary slave.
|
|
|
|
|
|
This reports information on the drives but does not tell which IDE port it is attached to. I need something similar to the bios report on the post screen.
Primary Master = <descriptive string="">
Primary Slave = <descriptive string="">
Secondary Master = <descriptive string="">
Secondary Slave = <descriptive string="">
|
|
|
|
|
Take a look at using WMI to do this, before you ask I have no idea, never had a need to use WMI.
|
|
|
|
|
Hye Guyz
I really need some help in finding out how to develop simulation of memory paging in C Sharp. Its my class project. It need not be based on http://cs.gmu.edu/cne/workbenches/vmsim/vm.html[^]
Rather something which just does calculations based on input and generates a simulation. I will really appreciate any help.
powersyndrome@yahoo.com
|
|
|
|
|
usmanali123 wrote: Its my class project.
Don't you have classmates you can ask?
Marc
Thyme In The CountryPeople are just notoriously impossible. --DavidCrow There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith
|
|
|
|
|
Oh Sire ,
I wish world was less competitive . I personally am sure they do not know much but even if they knew they would not prefer sitting with me for some tips. I hope someone is magnanimous enough out there to listen to the plea of this student.
Thank you for reply by they way.
Usman
|
|
|
|
|
Can someone tell me how to make a simple chat program.
C#
|
|
|
|
|
Ten people can tell you ten ways.
|
|
|
|
|
I want the simpliest way.
C#
|
|
|
|
|
Google[^], and what da ya know, the first result says it's the simplest
|
|
|
|
|
Does anyone know how to set the position of the horizontal scrollbar for a datagrid?
Thanks
RABB17
"Nothing fancy needed, please just solve all our problems as quickly as possible."
|
|
|
|
|
i guess thats the most challenging part when using scrollbars to a grid, what position you want to set?
for more info: www.dnzone.com/ShowDetail.asp?NewsId=564
http://datawebcontrols.com/faqs/CustomizingApperance/ScrollableDataGridWithFixedHeader.shtml
Gautham
|
|
|
|
|
I am not using a web control. I am using the default datagrid settings, so a scrollbar is automatic when larger than the panel it is controlled in. Any idea how to set the position?
Thanks!
RABB17
"Nothing fancy needed, please just solve all our problems as quickly as possible."
|
|
|
|
|
Hello,
I am try to create some chort-cuts for my player. In order to set the short-cut to "P" i used the following code and it works fine.
if (e.KeyCode == Keys.P)
{ menuPbackPlay_Click(null, null); return; }
How can I change this to a combination key such as "Ctrl" and "P"? I tried the following and it didn't work. I don't get error bbut nothing really happens too! )
if (e.KeyCode == (Keys.Z & Keys.ControlKey))
{ menuPbackPlay_Click(null, null); return; }
Khoramdin
|
|
|
|
|
Hello again,
Shortly after posting, my google search lead me to the answer.
This is the answer for those with the similar problem.
if (e.KeyCode == Keys.P && e.Control == true)
{ menuPbackPlay_Click(null, null); return; }
Khoramdin
|
|
|
|
|
I want to get the difference between two dates by days as integer
Thanks for help
Dad
|
|
|
|
|
int differenceInDays = latestDate.Subtract(newerDate).TotalDays;
|
|
|
|