- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hello, I want to ask if there is any way to play an mp3 file in C# without the use of P/Invoke or winmp dll and the like. I can use external libraries too. It would also be nice if I could "include" the mp3 in the C# project, as … |
|
Below is working code from my application. All I'm pulling back from the table is is IDX and an associated string. [B]ls[/B] is a List<T> of the same class [B]tmpINC[/B] is an instance of. When I test tmpINC before adding it to the list, the data in IDX and Name … |
|
Re:
Hello everyone, I'm a high school student highly interested in computer science in general. I've already taken two Computer Science AP classes, both in Java. I took the Computer Science AP exam last year and got a 5 on it, so I'm OK when it comes to Java. Not too … |
|
Re:
Hi all, I have no idea about C#. I know that its a good language +****************************************************+ | I DON'T NEED ANY HYPERLINKS( EXCEPT:Good Sites) | +*****************************************************+ My questions are the following ------------------------------- 1. What is the difference between C#, C++,VB.NEt? 2. What is .Net , is C# and C++ .Net … |
|
Re:
Hi all, I am executing query for SQL Server 2008 like that , [CODE]myQuery= Insert into Employee(id,name)values(' 99 ' ,' Nitin Daphale ');Insert into Employee(id,name)values('77' ,'XYZ');Insert into Employee(id,name)values(' 88 ' ,'ABC');[/CODE] Here am Inserting 3 Records in an Employee table but the problem is, if any statement fails I can't … |
|
Re:
If class A has a virtual method and then class B which is subclasses A, overrides that method. Then class C subclasses B. So now C is supposed to inherit B's overriden method, and not A's virtual method. Then if C wants to override B's one it can't because B's … |
|
Re:
I can't items to my combobox I am under the impression the code is; [CODE]comboBox1.Items.Add("NAME");[/CODE] but this doesn't work. The program compiles correctly but nothing is displayed in the box. What am I doing wrong? |
|
Re:
I'm making an application which searches all the lines of my text files in a directory, and writes the specific search match to my output box. The only problem is I need to split a string like this: [CODE]character-item = 0 996 1500000[/CODE] How it works: You search for the … |
|
Re:
[B][COLOR="Red"]What's The difference between Call by Value and Call by Reference ? and plz give me a clear example thanks in advance [/COLOR][/B] |
|
Now before we start, please don't send me off on XML Serialization, I want binary for a reason. :) In the following code (and I don't even know if its correct ... it does compile), I'm trying to serialize and write a list of my class to a file and … |
|
Re:
Hi everyone, Creating a software with C#, does it require many forms? because I want to create a elementary grade 4 math courseware, but I only know how to create a basic calculator with C# >_<. I just started 3rd year computer science and, our group's thesis proposal has been … |
|
So I have this two dimensional array in my class, and I'm trying to create an accessor group for it. But the compiler doesn't like what I'm trying to do at all. [CODE] private int[,] _resource = new int[5, 2]; public int Resource[int idx1, int idx2] { get { return … |
|
Re:
Hello, We have make a program to log out a rs232 comport,all the data that we read out is in asci. But now on newer version there is also a keep in live string on the rs232 port with that string we keep open the comport to send and receive … |
|
Re:
Hi. I am new to C# and a little stuck on arguments to pass to an external function. The intelisense tells me the function has these parameters [code]void LPP.XRS_Search(int x, int y, int w, int z, int cl, int vr, int sp, int[] PointResult)[/code] here is my call [code] int[] … |
|
Re:
Hai friends what is the difference between sealed class and private constructor any way both doesnt allow inheritance? If any difference please tell me? |
|
Re:
Hello I am writing a class Test. I considered a field “int age” to see how long each instance of this class has been created. In other words i want to know the age of each instantiated object of this class. I assumed i should use the Timer class. I … |
|
Re:
It may seem like a simple answer, but how do I pass an image to a bitmaps constructor. for example: [CODE]Bitmap bmp = new Bitmap(########);[/CODE] what would I put in place of the pound signs If i wanted the default image to be C://Users/Me/Documents/Visual Studio 2010/Projects/MyProject/Image.jpg Please help. |
|
Re:
Hey everybody! :) I decided to learn C# by myself..YAY :icon_mrgreen: So I downloaded some book, I'm not sure when it was written, the author suggest to download Microsoft Visual C# 2005 Express Edition. I think there's 2010 and 2008 also, so what would u recommend I get? I know … |
|
Re:
[CODE]private Bitmap _picture = new Bitmap(@"<C:\Users\Jack\Documents\Visual Studio 2010\Projects\Animotion1.0\DefaultCharPic.jpg>");[/CODE] as a datamember to a class? Can I just not assign Bitmaps as members? |
|
Re:
Hello again everyone, working on another assignment for class. My professor teaches us the long way of writing code instead of making it simplified and shorter. Here is the actual assignment and what I have attempted so far. Any help and advice is most GREATLY APPRECIATED. 1. A two-dimensional array … |
|
Re:
Hi, If u know please tell me how can I make my project to run for some speacific period. I mean to say that I want to make my project as trial version it should run for specific period. I don know how to do it.I tried to search on … |
|
So I have this program that involves the user using FolderBrowserDialog. And it works fine ... but the rub is, when the user comes back around and uses the dialog again, the directory is highlighted, but not expanded, and he's asking that it be expanded. LOL! For the life of … |
|
Re:
how can i make vScrollBar that will scroll panel?? cus i made a program and its realy important there ScrollBar without ScrollBar its won't be the same thanks |
|
Never mind, my bad, I figured it out. :P |
|
I'm using VS2005 ... when you set a button image, is that image stored in the app's resources like the icon is, or do I have to do that manually. Now, don't think I'm crazy for asking this... :P I was a long time Delphi user, and in Delphi when … |
|
Still learning here... this is my method to get the record count of a table ... it works, but it seems like a lot of coding for something so simple. Is there an easier way? [CODE] public int GetTableRecCount(string table) { //Set up the connection and adapters... OleDbConnection myConn = … |
|
I'm trying to learn about statics ... let's say in the code below, I just need these 30 dogs to be available throughout my program. What am I doing wrong here? It builds fine, but I'm getting the runtime error at line 15: [B][COLOR="Red"]An unhandled exception of type System.NullReferenceException occurred … |
|
Re:
Hi, I have create a program for multiplication of two numbers. when i run the proram it give me an error message that [B]input string was not in correct format[/B]. But whatever data i enterd its saved in database properly. Here is my code. private void textBox11_TextChanged(object sender, EventArgs e) … |
|
Let's say I'm writing a space game (just as an example, I'm not). Let's say that in this game I want to have the ability to create 300 different kinds of ships, 500 different crew members and a 100 different planets. When I start out, there's 0 of any of … |