8,298 Topics
![]() | |
Hi all! In my Windows Forms Application (C# 2005), I am using ListBox but it have a problem when I remove item. listBox.Items.RemoveAt(1); ---> [I]Items collection cannot be modified when the DataSource property is set.[/I] [U][B]Note:[/B][/U] It have just appeared when I used [B]listbox.DataSource = dataTable[/B]; If I dont use … | |
Can anyone offer C# code to read Excel chart data (e.g. Type, Title...) from an existing spreadsheet with charts contained? Thanks :-) | |
I want to Print report of the content that is displayed in DataGrid in Visual C# 2003 (its a Web Application) On my page there is one buttton called Print Report,so after clilking on that btn report should generate(or it shld give some option for printer selection ) Plz help … | |
I am working on project (ASP.Net C# 2003) in which I am displaying data in DataGrid. When User cliks on "Export report to Excel" button, data diplayed in DataGrid shld exported to Excel. can any one tell me how to print the report in excel from DataGrid Plz help me............ … | |
HI friends i am interested in finding out what will be the code for my problem if any one finds it plz help me out. whwn i click a component and place it on my webform in the property window it says as component1.text (for example whwn considering a textbox … | |
Hi Experts - I have created a edit web form. It does get populated with the appropriate record by using DataReader.... but I would like to modify/edit data and save it so it is updated in the access database. I have created a SaveIssueButton button and put update sql statement … | |
Hey, basically im trying to create a Kill/Death ratio program where the user types x number of kills and y number of deaths and this creates an answer for ratio " :1" for example " how many kills ? 3388 " "How many deaths? 1237" "Your ratio is 12.129:1" the … | |
Im sorry if my game code is long, but, the save feature wont work. Their are no errors, but when I load the game and buy weapons the stats are correct, but when I save and load It the stats are not there. Can you please help me? Yes I … | |
i started making a game using c++ and allegro, but i keep getting a error can some one please help me out this is the code [code] #include <iostream> #include <allegro.h> #include "PlayerClass.h" #include "Global.h" using namespace std; #define LEFT 4 #define RIGHT 6 #define UP 8 #define DOWN 2 … | |
I have a C++ dll that I am trying to call in another section of code (happens to be C#) currently I am getting the following error: [COLOR="Red"]Additional information: Unable to load DLL 'MATLABThreadLibrary.dll': The specified module could not be found. [/COLOR] even though I believe I've got all the … | |
Hey guys, I would like to create a chatting application with C++ or C#(preferably C++) that would run on a local computer network ( and internet if possible) ie enable users on a local computer network to chat. I'm kinda new to programming and I have only done the basics … | |
I have a recursive function squares that receives a positive integer n and prints out the first n perfect squares in descending order. Can anyone tell me if this is correct and if not please help. [ICODE]squares(int n) { if( n== 1 ) return 1; else return squares ) n … | |
I am new to both c#.net and sql server. I am working on a project in which I have to 2-3 users using their application and connecting to common database in lan. I decided to use c# as my programming language. when coming to database i m very confused. microsoft … | |
hi every one Im still new to programming i have downloaded borland compiler and was writing the following code: [code]#include<iostream> using namespace std; int main() { for (int x = 0; x < 10000000000; x++ ){ cout<< x << endl; }cin.get(); }[/code] the problem is that when it is done … | |
Hi I am having great trouble with making my bitmap fit properly on a 1024x768 full screen window. The length is correct but the vertical is too long. I have searched the net and it has said that the size goes up in squares eg 2, 4, 8, 16, 32, … | |
Hi everyone! I have a program written in C++ which already exports some data to Excel, on the other hand, I have another program written in VBA to analyse the data. I used to run them independent but now I would like to simplify them. Is there a chance to … | |
Hey i have a few random questions that i can't seem to get my head around at the moment. Any help would be appreciated 1) What criteria would you apply in deciding which of the three forms of loop to use in a program? 2) What does this function prototype … | |
Hi, this is my first time doing this, I would like to know if there is a way of printing multiple Images on the client side. I am printing barcodes. I put the barcode as a image into a <div> and then use javascript to print the entire <div>. The … | |
Hi, I was wondering with the menu bar how to open, save and make a new file on the menu bar [code] case MENU_FILE_ID_OPEN: { //something to open the file } break; [/code] i have no idea at all how to do this, i have searched the net but it … | |
how to develop custom vertical scrollbar using 3 images like uparrow image, thumb(middle) image, down arrow image. plz help me | |
Hi, Please help me with this one as it's driving me crazy for some days now. I want to send some data to to web form in this page [url]http://www.belestrane.nadlanu.com/site/default.asp?lang=en[/url] probably through a HTTP POST method and then read the response and use that in my c# windows application. With … | |
Well I am going to try and make an anonymous emailer using C++... I would like to use this to learn how to send commands to a command prompt or something like it because the normal way to do it through the the command prompt then telnet or netcat into … | |
I have 8.5 million combinations which are then put through 30 if statements. Then final output. Now I havent tried this yet BUT I dont think php will let me make a 8.5 million length array nor will C++. So what else can I do? Are there any other lanuages … | |
Thank you Vernon, the money does decrease, but when I buy a pistol for $200 and go to stats it says I have $0 and 50 pistol ammo witch is correct. When I save it though It basicaly erases everything. I opened the file. It said this: 0 0 0 … | |
I've been googling this topic for a while, but I haven't found a very clear tutorial. I have created a GUI in C# (it's so easy!) and now I want to implement a C++ backend that I've got that is already created (also the C++ backend uses Microsoft Foundation Classes … | |
hi!! i just started programming some stuff in c++. i made a simple program that compares a number given by the user to 0 n say if its cero, positive or negative. [code=cplusplus] // num_positivo_negativo.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <math.h> #include … | |
I'm writing a GUI for a C++ program I have already written. Currently I need to either port a section of C++ code using MFC to the C# program, or use a wrapper and call the functions from C#. I'd like to be able to create cWinThreads to do some … | |
Hi, Im new to this C#. So I have learned VB.NET and also ASP.NET, So now im also thinking to learn C#.NET. but i donno C#. So im confused that whether i have to learn first C#. and then start C#.NET ??? can anyone please enlighten me? | |
hi, i have been given a question asking to produce pseudo code for a game. here is the question: Zombie Island. 1. This is a simple turn based game. Set up a 2d grid. Onto the grid randomly position holes, zombies and a man (each represented by a simple character … | |
Hey, I decided I should probably read a book to learn about C++ considering there are so many and etc :P. My parents said they would buy it for me, but I just wanna make sure it is gunna actually be a book that will teach me alot and hopefully … | |
Hello everyone, I am having a problem with a function I am working on. It has to do the following: [quote]Outputs the null-terminated string pointed to by s starting at row row and column column, in a field of length characters. As with dtioCursor(), the row value 0 refers to … | |
the program below is what i have...it compiles and runs but the problem is when it runs it asks Enter the number of employees which is fine but then it asks Enter days missed which is also find but it should calculate the average days missed but it keeps returning … | |
[code=PHP] Name: <?php print $_POST['nameField']; ?> <br/> Age: <?php print $_POST['ageField']; ?> <br/> Comment: <?php print $_POST['commentField']; ?> <br/> [/code] [B]How do I do the same thing in C#?[/B] Thanks :icon_question: | |
When I build my project, I didn't receive any errors but when running and entering in data, I get this error: [COLOR="Red"]Invalid Login, please try again! System.InvalidOperationException: ExecuteNonQuery: Connection property has not been initialized. at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Login.DBConnection(String … | |
Hi all, Can u plz tell me as how to upload images. I am developing an web application similar to picasaweb album. I need to know as where the images to be saved(is it in database directly each image or just image path in database and files in application folder) … | |
Try to access the environment variables of a current running proces? The following is close but no cigar. Any help to go further. I know it has to do with the PROCES_PARAMETERS contained within the Process Environment Block PEB. But I am completely lost at this point. the following returns … | |
How to use multiple forms and UserControls in c# windows application? Where i have one toolStrip in UserControl1 (say UserControl1.cs) and onClick of ToolStripButton1 i need to open on Form1 (say Form1.cs) and Form1.cs contain only One RichTextbox control. now i need to fetch Form1.cs richtextbox control value (text) onClick … | |
hai friend's i want to create dll , so want to know about full details ... please help me out .... | |
[code=PHP] Name: <?php print $_POST['nameField']; ?> br/> Age: <?php print $_POST['ageField']; ?> <br/> Comment: <?php print $_POST['commentField']; ?> <br/> [/code] [B]How do I do the same thing in C#?[/B] Thanks:?: | |
Hello everyone, I am brand new to programing.... NO EXPERIENCE AT ALL! I really want to learn C# and be able to write code, but can not afford to pay for classes, and want to know if there is somewhere I can go to read or watch video tutorials for … | |
How to use multiple forms and UserControls in c# windows application? Where i have one toolStrip in UserControl1 (say UserControl1.cs) and onClick of ToolStripButton1 i need to open on Form1 (say Form1.cs) and Form1.cs contain only One RichTextbox control. now i need to fetch Form1.cs richtextbox control value (text) onClick … | |
Hi I'm a 15 years old student from Serbia. I have a problem.I wanna use C# to send some informations to php.PHP manages those informations.And later i wanna that some other person with the same application recives those informations.And the problem is i don't know how to do this. [B]Please … | |
Hey, My want to make creation this time is a program where you would ask the user for a website and then they would input it and then IE/FF would open up and your done!. Just I'm not sure how I would achieve this. Just point me in the right … | |
Dear All, Kindly help me regarding this questoin of C++(OOP). Write a template function that returns the average of all the elements of an array. The arguments to the function should be the array name and the size of the array (type int). In main(), exercise the function with arrays … | |
Friends i have the problem in plotting the graphs using c++ or Visual C Plz Help Me and Send me the Comlete code of programs | |
Hi guys, I hope you can help. I want to start work as a trainee developer and to do this I plan to train myself up in C# and .NET. In order to prove to employers that I have done this work, I plan to take the Microsoft exam 70-536: … | |
Hello! All Well its a problem i have no idea about it ... check dis : i created a small graphics program.. like which draw a circle on screen.. it works very fine.. on other hand when i shift that code into my bigger program where i have used structers … |
The End.