Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
~58.9K People Reached

44 Posted Topics

Member Avatar for requimrar

[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?

Member Avatar for asad_dani
0
40K
Member Avatar for Zinderin

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 …

Member Avatar for Geekitygeek
0
186
Member Avatar for aliskov

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 …

Member Avatar for ddanbe
0
298
Member Avatar for new_programmer

[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 …

Member Avatar for Shilpakmthn
1
201
Member Avatar for virusisfound

[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 …

Member Avatar for virusisfound
-1
531
Member Avatar for Nitin Daphale

[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 …

Member Avatar for Nitin Daphale
0
142
Member Avatar for johndoe444

[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 …

Member Avatar for Zinderin
0
168
Member Avatar for buster2209

[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 …

Member Avatar for buster2209
0
1K
Member Avatar for Jaydenn

[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 …

Member Avatar for Jaydenn
0
123
Member Avatar for .Mido

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 …

Member Avatar for Zinderin
-1
133
Member Avatar for Zinderin

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 …

Member Avatar for nick.crane
0
169
Member Avatar for daniel955

[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 …

Member Avatar for octavia
0
107
Member Avatar for Zinderin

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 …

Member Avatar for Geekitygeek
0
957
Member Avatar for Buizenamp

[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 …

Member Avatar for Buizenamp
0
342
Member Avatar for Suzie999

[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[] …

Member Avatar for Suzie999
0
164
Member Avatar for BhuvanRam

[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 …

Member Avatar for BhuvanRam
0
3K
Member Avatar for paeez

[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 …

Member Avatar for Geekitygeek
0
117
Member Avatar for jackabascal

[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] …

Member Avatar for Geekitygeek
0
186
Member Avatar for 54uydf

[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 …

Member Avatar for Ketsuekiame
0
120
Member Avatar for jackabascal

[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 ">".

Member Avatar for Zinderin
0
219
Member Avatar for kavisg1

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 …

Member Avatar for finito
0
1K
Member Avatar for virusisfound

[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 …

Member Avatar for Zinderin
0
85
Member Avatar for Zinderin

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 …

Member Avatar for ghimangi
0
6K
Member Avatar for IDC_Sharp

[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) …

Member Avatar for Suzie999
0
69
Member Avatar for Zinderin
Member Avatar for Zinderin

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 …

Member Avatar for Zinderin
0
169
Member Avatar for Zinderin

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 = …

Member Avatar for Zinderin
0
479
Member Avatar for Zinderin

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 …

Member Avatar for Lusiphur
0
149
Member Avatar for virusisfound

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 …

Member Avatar for Geekitygeek
0
136
Member Avatar for Zinderin

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 …

Member Avatar for Geekitygeek
0
143
Member Avatar for judithSampathwa

[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 …

Member Avatar for Zinderin
0
176
Member Avatar for Zinderin

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 …

Member Avatar for nick.crane
1
96
Member Avatar for gidireich

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 …

Member Avatar for Zinderin
0
163
Member Avatar for Zinderin

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 …

Member Avatar for Zinderin
0
122
Member Avatar for alex9292

[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 …

Member Avatar for wisaacs
0
137
Member Avatar for Zinderin

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 …

Member Avatar for Member 785348
0
67
Member Avatar for koen7

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 …

Member Avatar for Zinderin
-1
90
Member Avatar for emcyroyale

[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 …

Member Avatar for Zinderin
0
83
Member Avatar for beeattitude

[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 …

Member Avatar for Zinderin
0
195
Member Avatar for bbman

[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. :)

Member Avatar for bbman
0
133
Member Avatar for Mikey12345

[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) ... …

Member Avatar for Zinderin
0
170
Member Avatar for Zinderin

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 …

Member Avatar for Zinderin
0
167
Member Avatar for Zinderin

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; ..... …

Member Avatar for Zinderin
0
276
Member Avatar for Zinderin

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 …

Member Avatar for Zinderin
0
153

The End.