8,298 Topics

Member Avatar for
Member Avatar for j4jawaid

I want to know that how to get attribute "class" of an html element using webbrowser component in C# .. Normally i am able to get any attribute (except class attribute) of any html tag. but this time i want to get attribute of "class" here is a sample html …

Member Avatar for Hallupa
0
871
Member Avatar for DrueY

Hi Everyone, I'm working on a project in Visual C# that requires multiple tabs (similar to an internet browser). I was easy to implement the tabs, however Im unable to use the tab pages with a text box. The textbox is textBox1 and Ive got a lot of code connected …

Member Avatar for kvprajapati
0
2K
Member Avatar for brit116

what is top- down approach and bottom -up approach. y c is called top- down approach , c++ called as bottom -up approach.

Member Avatar for Ancient Dragon
0
37
Member Avatar for ryn6

hi all i know that to be able to bakckup with mysqldump i need to type mysqldump -u [username] -p [password] [databasename] > [backupfile.sql] i was just wondering how can i pass that command from a windows app using c#

Member Avatar for ryn6
0
90
Member Avatar for rohitmanhas_12

hi i want to convert this jsp code to c#... JSP CODE--------------- [code] ResultSet resultset4; try { Statement statement1 = connection.createStatement(); String strSQL = ("SELECT * FROM IllnessMaster"); resultset4 = statement1.executeQuery(strSQL); while(resultset4.next()) { str2 = resultset4.getString("IllnessId");//Here getting illness ID dd = str2.length();//taking IllnessID length str5 = str2.substring(1,dd);//here making IllnessId into …

Member Avatar for kvprajapati
0
375
Member Avatar for karanniyan

Hi, I want to know the coding and the design for the Text Editor TextBox in C# Web Application. Please reply me as soon as possible. With Regards, V S Karanniyan

Member Avatar for kvprajapati
0
37
Member Avatar for mark88211

I have a homework problem that i am stuck on. I have to create a triangle (using classes) that a user inputs the height and width. It then translates 3 times and prints the coordinates each time it translates. This is what i have so far but am stuck. #include …

Member Avatar for mark88211
0
144
Member Avatar for Kelba

Hello I'm a newbie to C# and I'm looking forward to learning it. I know the best way to learn something is to practice, but I can't think of anything to make. I'm most interested in developing applications that interact witht he web, but I have also had an idea …

Member Avatar for peter_budo
0
3K
Member Avatar for Olah92

Hi, I'm working on a c++ homework assignment and I cannot get it to work. Here is the assignment: Write a program that reads a student's name together with his or her test scores. The program shouuld then computer the average test score for each student and assign the appropriate …

Member Avatar for Ancient Dragon
0
236
Member Avatar for tinchektinc

Hi everyone. First I would like to apologize if I didn't post this correctly, so please don't take it hard on me if I did. Here is my problem: I have to print out a system filled form, including text styles. For example (I have already solved the styling issue) …

Member Avatar for tinchektinc
0
3K
Member Avatar for ironstove

Hello, I am a non-cs student who has not really had any prior experience with C++ besides coding up a few simple programs on my own time. I am trying to implement the A* pathfinding algorithm and I have all of the logic figured out and written down in pseudo-code, …

Member Avatar for VernonDozier
0
216
Member Avatar for krishnisilva

hi, i am developing a desktop application in VS 2008 standard edition, i have a form with a text box with a button and a grid view. when i type a part of the file name in the text box and then click on the button all the files which …

Member Avatar for Szpilona
0
250
Member Avatar for sanam2010

hi, I make a rdlc. report, and now when I save it as pdf. file, it saved in 2 pages, one is full of data, and the second page is empty! How can i remove the second one? it is not needed! please help me, thanx. :D (i mean that …

Member Avatar for thines01
0
56
Member Avatar for kapiercy07

I am in a basic programming class and am having difficulty figuring out how to account for a non-numeric value being placed in for a binary number that will be converted to decimal form. If there is to be say a P typed into the binary input number, I want …

Member Avatar for kapiercy07
0
134
Member Avatar for jeffcruz

[CODE] #include <iostream> #include <cstring> #include <string> #include <cstdlib> #include <iomanip> #include <stdlib.h> #include <conio.h> #include <stdio.h> using namespace std; class Fraction { private: double numerator; double denominator; public: Fraction (); // Fraction (double numerator, double denominator); //Fraction (Fraction &); //double operatorMultiply (fraction a, fraction b); //double operatorSum (); //double …

Member Avatar for jeffcruz
0
68
Member Avatar for kizilelma

when you enter a,b,c,d,e numbers by keyword COUNTING A. Sum of numbers B. Multiply numbers C. Greatest number D. descending of numbers PRINTING ON SCREEN A- Sum of numbers B- Sum of multiplication C- The greatest number D- descenging of numbers [CODE]using System; class Program { static void Main(string[] args) …

Member Avatar for Szpilona
0
121
Member Avatar for yigster

[CODE] #include <cstdlib> #include <iostream> #include <cmath> #define width 5 using namespace std; void SelectionSort(double array[][5], int height); int main() { int height; int i,j,lab,midterm,final,number; float avglab,avgmid,avgfinal,totallab,totalmid,totalfinal; cout<<"Number of students: "; cin>>height; cout<<"\n"; double array[height][5]; for(i=0;i<height;i++) { cout<<"Please enter student number: "; cin>>number; array[i][0]=number; } cout<<"\n"; cout<<"Please enter Lab scores.\n"; …

Member Avatar for yigster
0
262
Member Avatar for deadelgabar

The program imitates a gambling card game. The program shows you three cards, then the program interchange them, and if you can guess correctly where a particular card is, you win. Here is some sample interaction with the program: Card 1 is the 7 of clubs Card 2 is the …

Member Avatar for caut_baia
0
268
Member Avatar for krishnisilva

hi, how do u make a text box uneditable at runtime, the value is shown in the textbox but the value cannot be changed, how can i do this,?? thanxxxxxxxx

Member Avatar for Szpilona
-1
148
Member Avatar for Stivdion

This program is suppose to read a line of text and find out if its a palindrome or not(a palindrome is a line of text that has the same sequence of letters both forward and backward. but so far its only reading one line. and its not getting it right …

Member Avatar for Stivdion
0
83
Member Avatar for radhikakh

For my project , I have to find which version of Microsoft Exchange server is installed on my machine using C# code. One solution I know is to read Registry entry HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall and get the subkey. But this is a bit difficult as I have to store array of subkeys …

0
27
Member Avatar for -DLS-

Hi guys, I need some help for a homework I have due in 8 hours. I was assigned to write a recursive sorting algorithm that works with iterators :mad: After googling, and putting code together I got this. [CODE]#include <algorithm> template<class IT> void quicksort(IT begin,IT end) { \\begin and end …

Member Avatar for -DLS-
0
192
Member Avatar for phabion

in C++ Builder we have SpeedButtonAdd and SpeedButtonDel, what are the same things in Visual C# Studio 2008? Thanks in advanced!

Member Avatar for kvprajapati
0
66
Member Avatar for krishnisilva

hi there, how can i add a date time picker in the datagrid view in C# VS 2008 standard edition, there is not datetime picker in the column type in the datagrid view. how can i do this please help me thanx...

Member Avatar for ddanbe
0
94
Member Avatar for Syeda.farwa

hi all, i have some dates in my dataset n i want to filter it with 'between' keyword like this: [code] dataset.Tables[Table_Name].DefaultView.RowFilter = "DATE BETWEEN '"+startDate.ToShortDateString() +"' AND '"+endDate.ToShortDateString()+"'"; [/code] But rowfilter doesnot support between keyword.. so i tried this: [code] dataset.Tables[Table_Name].DefaultView.RowFilter = "'" +startDate.ToShortDateString() + "'<=DATE AND DATE<='" + …

Member Avatar for Syeda.farwa
0
133
Member Avatar for 3cats

I have an if stmt which checks to see if a char value (upper or Lower) is equal to a value input by end user. My understanding was if you are using a char value in a conditional stmt you need to put single quotes around the char value. If …

Member Avatar for Salem
0
3K
Member Avatar for phabion

I've just write a very simple console application in Visual C# stdudio 2008 and got a message. But I really don't understand what the hell is that? So please let me know what is that and how to solve that problem. Thanks in advanced.

Member Avatar for progcomputeach
0
145
Member Avatar for mbrodie

Hi, kinda new to the whole C# thing and trying to make a small app for myself in C# in Visual Studio. Basically i have 2 combo boxes, 1 had Classes the other has Spec's in it. When you select the class it populates the second combo box with the …

Member Avatar for kvprajapati
0
170
Member Avatar for goback

I have got a homework named greatest common divisor of two integers write in C++ in MS visual c++ 2008 in windows form. Using listbox, textbox... I don't know how write this programme. Please help me thank you. Sorry for my English.

Member Avatar for goback
0
310
Member Avatar for 3cats

We are just learning user defined functions. Instructor has us taking a prev assignment and pulling the calculations into functions. I thought I understood how to do the function, but guess not I''m getting the "error term does not evaluate to a function taking 0 arguments." I have been working …

Member Avatar for chiwawa10
0
159
Member Avatar for CodeField

Hi everybody, I was given a free choice for a project to complete for my class. We have been working in HTML, 3D Max, Flash and C# / SQL Databases this year, so I chose C#, which is by far my favourite thing to work in. However, due to numerous …

Member Avatar for Gospp
0
139
Member Avatar for callagga

Hi, Does anyone know of a solid C# library / approach to manage a hierarchy/web type collection? This would be a library that would basic consist of the concept of nodes & relationships, for example to model web pages/files linked under a URL, or modeling IT infrastructure. It would have …

0
100
Member Avatar for dylank

Hey DaniWeb, I'm having a tough time with this piece of code: [CODE]string encrypt(string e) { for( int i=0; e[i] != '\0'; ++i ){ ++e[i]; if(e[i] == "{") { e[i] = "0"; } if(e[i] == ":") { e[i] = "a" } return e; }[/CODE] It should "encrypt" the string, using …

Member Avatar for dylank
0
229
Member Avatar for Pawello

Hello, I have a problem. In my program i use structure: [CODE]struct pole { pole *pole1; pole *pole2; pole *pole3; pole *pole4; pole *pole5; pole *pole6; pole *pole7; pole *pole8; };[/CODE] I want to make a function which would use correct pole(pole1, pole2...pole8) depending on parametres

Member Avatar for mrnutty
0
115
Member Avatar for karthi_selva

hi , i have an doubt in c#. i have not much knowledge in C#, i do't know how create the dynamic object for the class using C#. i have two class member class Operation class different member are have same operations. so i do't know how to create the …

Member Avatar for mhorton
0
101
Member Avatar for phabion

In the main form I have a button. The thing is how can I put a small image to that button? Any help is appreciated. Thanks in advanced!

Member Avatar for ddanbe
0
39
Member Avatar for phabion

I have to creat two forms (Form1 and Form2). Here Form1 is the main form (that was created when you created the project). The thing is: when you click on the Form2, the size of Form1 need to be random changed. How can I do this? Any help is appreciated. …

Member Avatar for ddanbe
0
53
Member Avatar for iammfa

Hi, The following is an exercise in c++, I solved it but I doubt my solve is not right ..can someone tell me is my solve right or wrong especially the compiler didn't give me any errors [I][B]The exercise:[/B][/I] first look the attached image, The acceleration of a sleigh sliding …

Member Avatar for jonsca
0
1K
Member Avatar for brettbed

This is an example from an assignment I'm working on in which we need to validate that the user enters at least 1 Like for the temp.like[3] array and 1 Dislike for the temp.dislike[3] array. I tried using a while statement that said " while (temp.like == "") " or …

Member Avatar for brettbed
0
581
Member Avatar for ayushky

sir i want to lock with password protection to my '.c' files.how i can do that. please suggest sir. thanks

Member Avatar for Ancient Dragon
0
284
Member Avatar for shallug

Hi, I want to create a program which can count a function as many times it runs. eg. if i sold some tickets then at the end of the day i have to count how many tickets i have sold. Thanks

Member Avatar for jbrock31
0
53
Member Avatar for invisal

I have recently started to write my own tiny little electronic-book. This e-book is not about teaching C++ from ground up, but it is a collection of C++ pieces that I have learnt during these past few years that I want to share with everyone. I call this e-book "[B][I]C++: …

Member Avatar for invisal
3
211
Member Avatar for gptArun
Member Avatar for complete

Declaring an array of linked list in C# How do I declare an array of some class in C#? I wonder if it is even allowed or possible. I got the compile error message "Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)" when …

Member Avatar for RicardoE
0
682
Member Avatar for tbohon

All: I am trying, without much success, to append files in a C#.Net application. The code below shows my most recent attempt, unfortunately it doesn't work (this is iteration 5296.5 - approximately). Coming into this case statement there are two arguments, tokens[0] and tokens[1], which I have read and parsed …

Member Avatar for tonymuilenburg
0
322
Member Avatar for tomtetlaw
0
54
Member Avatar for MJaske

Hey guys. I have a two part homework assignment. It involves reading a text file, creating a structure, and writing the results into a new text file. I have completed the first program and according to my TA it is 100%. My issue is I ran into a mental block …

Member Avatar for MJaske
0
163
Member Avatar for slider212

Hi, Although I have done a reasonable amount of coding I have very little training (self taught) so apologies if this is a stupid question. I have written a basic Defect Management app which allows developers to create a release and assign defects to it. The release object has the …

Member Avatar for Antenka
0
196
Member Avatar for fugnut

What stupid basic thing am I missing? we are to read in from a file that contains 10 lines.....name, age, etc....I can read in the file ok and print out the first line....I am having problems printing subsequent lines....HELP!! lol [CODE]//Acme Personel Report //by PAtrick Nealey #include <iostream> #include <iomanip> …

Member Avatar for fugnut
0
180
Member Avatar for krishnisilva

in the below quote i took from Devasya i implemented in SQL MS VS 2008, and there is an error coming any idea about it???? The code is : [code] db.openConnection(); int j = 0; int k = 0; string[,] a = new string[100, 100]; string data = "\""; for …

Member Avatar for kvprajapati
0
143

The End.