- 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
44 Posted Topics
Re: [QUOTE=requimrar;1261025]I can't read tamil. Besides, I cannot use external libraries, external including system.media[/QUOTE] Ok, why can't you use the built in support for what you're trying to accomplish? | |
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: Personally, I wouldn't stress over what "flavor of the month" to learn first ... Learn the language you want to know, and will make you money. Two years from now (ok, maybe 5), something completely different will be the hot programming language and we'll all be talking about how we … | |
Re: [QUOTE=new_programmer;1303585]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: [QUOTE=virusisfound;1299383]Hi, How to globlize the form.[/QUOTE] Ok, before all the Gods here jump on you (someone has already dinged your post's rating, and it wasn't me) ... you need to explain why you would want to make a form global? There is a rule in C# that is golden and … | |
Re: [QUOTE=Nitin Daphale;1305864]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 … | |
Re: [QUOTE=johndoe444;1306093]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: [QUOTE=buster2209;1299007]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?[/QUOTE] It is adding it to your combobox drop down options, but you won't see it … | |
Re: [QUOTE=Jaydenn;1299701]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: Lusiphur is correct ... in that this is something that is a programming "concept" not just a one page "here it is." But here it is ... when you pass a variable (like int, string, bool, or an object) to another method by value, nothing done in that method is … | |
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: [QUOTE=daniel955;1292550]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: [QUOTE=Buizenamp;1292683]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: [QUOTE=Suzie999;1288938]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: [QUOTE=BhuvanRam;1292800]Hai friends what is the difference between sealed class and private constructor any way both doesnt allow inheritance? If any difference please tell me?[/QUOTE] Let me takes a shot at this ... A sealed class doesn't allow inheritance. That is, you can't derive from it. A private constructor doesn't allow … | |
Re: [QUOTE=paeez;1293457]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: [QUOTE=jackabascal;1292973]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.[/QUOTE] [B]From MSDN:[/B] … | |
Re: [QUOTE=54uydf;1293459]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: [QUOTE=jackabascal;1293538][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?[/QUOTE] Try ... [CODE] private Bitmap _picture = new Bitmap(@"C:\Users\Jack\Documents\Visual Studio 2010\Projects\Animotion1.0\DefaultCharPic.jpg", true); [/CODE] Note the added [B]true[/B] argument, and that I dropped the "<" and ">". | |
Re: Everyone's eyes crossed and pulsated when they learned their first computer language. Just like with spoken languages, its a matter of exposure, repetition, and continued growth until you are aren't thinking [I]about[/I] the language, but rather thinking [I]in[/I] the language. That's the difference between a programmer and a coder, to … | |
Re: [QUOTE=virusisfound;1292976]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: [QUOTE=IDC_Sharp;1289062]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[/QUOTE] If I understand your question correctly, there is an AutoScroll property for the panel component, but it is set to false (off) … | |
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: Does textBox11 have text in it? Usually when I have this problem its because the text box is empty, and the Convert call has nothing to operate on. You should be trapping for empty text boxes anyway, and text that isn't a number. You never know what some crazy user … | |
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 … | |
Re: [QUOTE=judithSampathwa;1278025]Hi I am trying to get information from two tables in the database but it gives an argument exception saying "Column 'SubContratorID' does not belong to table .” Which 'SubContratorID' is it referring to …?? [CODE]String query = @"Select ps.PSubContractID,s.SubContractorID,s.FirstName,s.LastName,s.Position,s.Email,s.TelNo,s.Agency From PSubContract as ps, SubContractor as s Where ps.ID=@id and … | |
I'm learning C# on my own (I know C, Pascal, and about 8 proprietary languages) ... I'm stuck with VS2005 Pro (no budget) so I can't upgrade and I can't use Linq. I'm using Access just for simplicity at this point. What I'm trying to do, is what I've done … | |
Re: I've been a programmer since 1979 ... I used em all; FORTRAN, COBOL, BASIC, and even LISP and Fourth. The mainstay of my career tho has been C and Delphi (PASCAL). I have struggled with C# for quite sometime. While I want to learn it ... I haven't HAD TO … | |
C# noob. Ok, here's what I'm trying to do ... I have a dbUtilities class I've made. And its my desire to have methods in it like "FillListBoxFromDB" .... I want to pass the listBox that will be the target, and the sql query command. I will have multiple places … | |
Re: [QUOTE=alex9292;1268270]hi im trying to write a program that will create a class to store info on books (title, author, number of pages and price) and that will trow a custom exception when the price entered for a book is higher than 10 cents per page. I got the class working … | |
My apologies if there is a more appropriate place to ask this... Right now (July 2010) is .Net Reflector the better open-source .NET Class Browser? I should qualify that I'm still stuck in VS 2005 Pro. I'm not trying to start any class browser wars, I'm just looking for the … | |
Re: I'm confused ... you just want an open SMS type system that all the students on campus can subscribe to? I don't think the problem is going to be the SMS system. Its going to be the logistics of people getting tired of seeing a question come down, and then … | |
Re: [QUOTE=emcyroyale;1268113]Hey everyone, I'm interested in the software engineering field (The kind of software engineer I would gear most towards is making and maintaining computer software.), but when ever I search for colleges most of them only have the major that says Computer Engineering, General. Only a few that I have … | |
Re: [QUOTE=beeattitude;1261016]I've been hosting websites for quite awhile now (since 1998) and one of the biggest time-takers has always been email. So, you can imagine my delight when Google began offering their apps for free. I tested and re-tested, then I painstakingly moved all of my hosted customers to Google Apps … | |
Re: [QUOTE=bbman;1267439]Hey, How would I go about finding the amount of values, say "DaniWeb" in a List<string>? I just need a number, not their index. Cheers[/QUOTE] What do you mean "amount of values"? I don't understand the question. Nevermind, BBman obviously understood. :) | |
Re: [QUOTE=Mikey12345;1267415]Hi im new to c#.. just wondering how to convert this vba code:- Sub AddUP() x = 1 For i = 2 To 100 x = x + i Next i ActiveCell.Value = x End Sub Best Regards[/QUOTE] Here is how I got it to work (learning for myself) ... … | |
So, a single user application, all data is local, no remote access .... If a go with an Access file (DB), from the user's perspective, they simply install the app and they are good to go. Is it the same if I go with a SQL DB, or do they … | |
I am still learning C#. I come from a Delphi and C past. I am used to being to create flat data files of of records. Example: [CODE] // Sample Delphi code... type SectorRecord = Record iIdx : integer; iCoordX : integer; iCoordY : integer; sName : String[60]; end; ..... … | |
I know you guys MUST be tired of scope questions ... but I need some help getting through this fog ... The following code works ([I]notice where I instanced 'cp'[/I]) .... [CODE] public partial class frmMain : Form { ConnectParams cp = new ConnectParams(); public frmMain() { // Fires up … |
The End.