8,298 Topics
![]() | |
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 … | |
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 … | |
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# | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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) … | |
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, … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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) … | |
[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"; … | |
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 … | |
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 | |
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 … | |
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 … | |
in C++ Builder we have SpeedButtonAdd and SpeedButtonDel, what are the same things in Visual C# Studio 2008? Thanks in advanced! | |
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... | |
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<='" + … | |
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 … | |
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. | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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! | |
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. … | |
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 … | |
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 … | |
sir i want to lock with password protection to my '.c' files.how i can do that. please suggest sir. thanks | |
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 | |
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++: … | |
Hello , Question is how to get People Editor Values in Sharepoint, C# ? | |
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 … | |
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 … | |
| |
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 … | |
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 … | |
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> … | |
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 … |
The End.