|
plzzzzzzzzzz
|
|
|
|
|
hi.. guys.. currently i'm doing a project in C#.. i gt some prob..
can anyone be able to help me.. please.. thanks! can u reply to my email:a_cole23@yahoo.com
-- modified at 3:06 Wednesday 25th April, 2007
|
|
|
|
|
Mate, do *not* repost, esp. within a day.
Cheers,
Vikram.
"But nowadays, it means nothing. Features are never frozen, development keeps happening, bugs never get fixed, and documentation is something you might find on wikipedia."
- Marc Clifton on betas. Join the CP group at NationStates. Password: byalmightybob
|
|
|
|
|
You do realise that you have to tell us what your problem is in order for us to help you?
|
|
|
|
|
Hey, Colin, did you notice how my post's subject is different from the OP's? I do it myself in the Lounge very often, but I swear I didn't do it here.
Is this a more virulent variant of the bug that screws up where replies end up?
Cheers,
Vikram.
"But nowadays, it means nothing. Features are never frozen, development keeps happening, bugs never get fixed, and documentation is something you might find on wikipedia."
- Marc Clifton on betas. Join the CP group at NationStates. Password: byalmightybob
|
|
|
|
|
hi colin.. i need someone to check my codings, coz there r some errors and also i'm new to C#, i dun really understand how to explain the prob. if u are willing to help me,can i have ur email so dat i can send u my prog or u can also email me a_cole23@yahoo.com.. thanks!!!
|
|
|
|
|
cole23 wrote: can i have ur email so dat i can send u my prog or u can also email me a_cole23@yahoo.com..
I don't give out my email. I used to, but it just got abused by people who thought I was there to solve their every problem.
If you want private help then can I suggest you log a support call with Microsoft or any one of a number of other support companies that will be very willing to help.
Also, I find it very difficult to understand text speak. #
cole23 wrote: i dun really understand how to explain the prob.
If you can't explain it here, then how do you expect to explain it in an email?
|
|
|
|
|
Can anyone help me with any information on how to access the gameport in C#.I need to see what the values are when the joystick is in different positions.Thanks.
Lyle
|
|
|
|
|
Usually if you're using the game port you've probably writing a game, and so will have DirectX SDK - if not then have a look at it.
In DirectX there is a name space called DirectInput in the DirectX SDK that allows direct access to any Joystick/Mouse/Keyboard etc.
The code is pretty easy, if you look at the samples, but it does mean that running you app will need everybody to have directX installed
Haven't tried to access directly but you probably will have some difficulty - as C# is supposed to hide you from accessing the H/W directly.
|
|
|
|
|
I want to open and stop the Video files in the WindowsMediaPlayer through Windows application. I am using a third party GUI software, so I wont be able to add WMPlayer control on to my application. I just need to control the WMPlayer by the code.
The below mentioned sample code is able to open the player and play the Video file. But the stop and close functionalities are not working in this.
Can U please tell me how to control the mediaplayer through code. I want to implement functionalities like 'Pause', 'Fullscreen' etc..
public partial class Form1 : Form
{
private WindowsMediaPlayerClass wmPlayer = new WindowsMediaPlayerClass();
//private WindowsMediaPlayer wmPlayer = new WindowsMediaPlayer();
public Form1()
{
InitializeComponent();
}
private void Play_Click(object sender, EventArgs e)
{
wmPlayer.openPlayer(@"C:\SampleVideo.wmv");
}
private void Stop_Click(object sender, EventArgs e)
{
wmPlayer.close();
//wmPlayer.controls.stop();
}
}
Thanks
|
|
|
|
|
Hello,
I am receiving data from network. The C# application is able to get correct data by BinaryReader and some methods like ReadByte() or ReadUint16(). Only the ReadString() method do not stop reading if in the byte stream is a zero. What could be the reason?
Thanks
|
|
|
|
|
I want to open and stop the Video files in the WindowsMediaPlayer through Windows application. I am using a third party GUI software, so I wont be able to add WMPlayer control on to my application. I just need to control the WMPlayer by the code.
The below mentioned sample code is able to open the player and play the Video file. But the stop and close functionalities are not working in this.
Can U please tell me how to control the mediaplayer through code. I want to implement functionalities like 'Pause', 'Fullscreen' etc..
public partial class Form1 : Form
{
private WindowsMediaPlayerClass wmPlayer = new WindowsMediaPlayerClass();
//private WindowsMediaPlayer wmPlayer = new WindowsMediaPlayer();
public Form1()
{
InitializeComponent();
}
private void Play_Click(object sender, EventArgs e)
{
wmPlayer.openPlayer(@"C:\SampleVideo.wmv");
}
private void Stop_Click(object sender, EventArgs e)
{
wmPlayer.close();
//wmPlayer.controls.stop();
}
}
thanks
|
|
|
|
|
Hello,
In the editor program i am making, i have a menu where u can insert symbol such ©
I use this code to add the symbol to the RichTextBox
private void toolStripMenuItem2_Click(object sender, EventArgs e)
{
EditingArea.Text += "©";
}
The problem with that, if even if position my IBeam somwhere and press the insert button, the © gets added to the end of the last editted spot.
How can i get the position of the IBean and then place the © there ?
|
|
|
|
|
please help.... i really need this to work...
|
|
|
|
|
Hi.. guys.. after changing to this: i still have error.. Error1: A namespace does not directly contain members such as fields or methods,
Error2: Identifier expected, Error3: Expected class, delegate, enum, interface, or struct, Error4: Type or namespace definition, or end-of-file expected,Error5: The namespace '<global namespace="">' already contains a definition for '?' this is the error i have.. can someone help me solve it.. thanks!
string[] tx_data = new string[]{"13"};
string[] rx_data = new string[]{"9"};
public int i;
|
|
|
|
|
Are you try a hello world program?
namespace test
{
public class HelloWorld
{
string[] tx_data = new string[]{"13"};
string[] rx_data = new string[]{"9"};
public int i;
}
}
|
|
|
|
|
You haven't posted all of the relevant code. For starters, where have you defined these variables? Do you have them in a class? If you're trying them outside of a class, directly in a namespace, you're out of luck. Variables and methods MUST be inside a class. Except for delegates, I think, but that is a different story....
Cheers,
Vikram.
"But nowadays, it means nothing. Features are never frozen, development keeps happening, bugs never get fixed, and documentation is something you might find on wikipedia."
- Marc Clifton on betas. Join the CP group at NationStates. Password: byalmightybob
|
|
|
|
|
Hi there.
I have loaded a picture into a DB. Now when i take it out again, I save it as a Byte[] variable. What i want to do, is to use that Byte[] variable with the information and display it in an imageBox.
Can anyone help me with this?
Thanks
|
|
|
|
|
Save the byte array to a stream.Then use Image.FromStream(ms) to create a Image object.
MemoryStream ms=new MemoryStream(bytes);
Image img=Image.FromStream(ms);
|
|
|
|
|
Thanks, it works.
But do you how i can use that Image in an imagebox? i am getting a cannot implicitle convert type 'System.Drawing.Image' to 'System.web.UI.Webcontrol.Image'
|
|
|
|
|
Hi,
I had created one desktop application in C#. I am providing that application to download from a web application.But i need to download some data from webapplication,while downloading the C# application.Do i need scripting for that?
What cam i do for that?
My small attempt...
|
|
|
|
|
i need some help for using c# wiht clusters.
i want to know Is there any support available in c# for cluster programming?
|
|
|
|
|
well I think there's a lot to offer in C# for cluster programming as well.
I didnt know it till just now after googling it out u know.
|
|
|
|
|
ok thanx for informing me .
|
|
|
|
|