8,298 Topics

Member Avatar for
Member Avatar for vietnamese

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 …

Member Avatar for camilojvarona
0
103
Member Avatar for MoikleC

Can anyone offer C# code to read Excel chart data (e.g. Type, Title...) from an existing spreadsheet with charts contained? Thanks :-)

0
55
Member Avatar for Mahadikprajakta

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 …

Member Avatar for greeny_1984
0
28
Member Avatar for Mahadikprajakta

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

0
56
Member Avatar for raghavan2004

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 …

Member Avatar for greeny_1984
0
127
Member Avatar for sayso36

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 …

0
65
Member Avatar for xxjinseruxx

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 …

Member Avatar for xxjinseruxx
0
999
Member Avatar for gangsta gama

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 …

Member Avatar for dwks
0
220
Member Avatar for rtwister

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 …

Member Avatar for CoolGamer48
0
75
Member Avatar for ninjaneer

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 …

Member Avatar for ninjaneer
0
236
Member Avatar for andrew13d

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 …

Member Avatar for VernonDozier
0
2K
Member Avatar for buddy1

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 …

Member Avatar for buddy1
0
100
Member Avatar for almon

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 …

Member Avatar for Ramy Mahrous
0
104
Member Avatar for shariff089

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 …

Member Avatar for VernonDozier
0
128
Member Avatar for 11silversurfer1

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

Member Avatar for 11silversurfer1
0
474
Member Avatar for carlos_lopez_m

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 …

Member Avatar for carlos_lopez_m
0
160
Member Avatar for Fault

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 …

Member Avatar for tecktalk
0
124
Member Avatar for Frikkie

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 …

Member Avatar for vashokvlr
0
542
Member Avatar for farooqaaa
Member Avatar for 11silversurfer1

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 …

Member Avatar for 11silversurfer1
0
157
Member Avatar for Renukavani

how to develop custom vertical scrollbar using 3 images like uparrow image, thumb(middle) image, down arrow image. plz help me

0
38
Member Avatar for KoXaR

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 …

0
49
Member Avatar for KenTheFurry

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 …

Member Avatar for Nick Evan
0
56
Member Avatar for OmniX

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 …

Member Avatar for Nick Evan
0
154
Member Avatar for gangsta gama

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 …

Member Avatar for gangsta gama
0
175
Member Avatar for ninjaneer

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 …

0
71
Member Avatar for gispe

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 …

Member Avatar for ArkM
0
609
Member Avatar for ninjaneer

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 …

Member Avatar for ninjaneer
0
208
Member Avatar for preethi_ga

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?

Member Avatar for camilojvarona
0
175
Member Avatar for redrum237

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 …

Member Avatar for ArkM
0
121
Member Avatar for fmwyso

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 …

Member Avatar for Dave Sinkula
0
146
Member Avatar for edouard89

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 …

Member Avatar for edouard89
0
113
Member Avatar for winterx

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 …

Member Avatar for HarryGabriel91
0
1K
Member Avatar for Leena das
Member Avatar for ArkM
0
76
Member Avatar for tazquebec

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

Member Avatar for tazquebec
0
82
Member Avatar for mdubose

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 …

Member Avatar for ema005
0
242
Member Avatar for sireesha.c

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

0
84
Member Avatar for zzmgd6

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 …

Member Avatar for vijayan121
0
2K
Member Avatar for chiragwebmyne

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 …

Member Avatar for camilojvarona
0
182
Member Avatar for dskumar_85

hai friend's i want to create dll , so want to know about full details ... please help me out ....

Member Avatar for Ramy Mahrous
0
52
Member Avatar for tazquebec

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

Member Avatar for tazquebec
0
114
Member Avatar for rtperformance

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 …

Member Avatar for rtperformance
0
127
Member Avatar for chiragwebmyne

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 …

0
72
Member Avatar for dimitrijejankov

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 …

0
50
Member Avatar for Black Magic

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 …

Member Avatar for Ancient Dragon
0
106
Member Avatar for faisaly

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 …

Member Avatar for RenjithVR
0
263
Member Avatar for danishbutt

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

Member Avatar for Nick Evan
-1
29
Member Avatar for Dan301978

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

Member Avatar for sierrainfo
0
171
Member Avatar for sarehu

What do you think of this? [url]http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml[/url]

Member Avatar for Nick Evan
1
147
Member Avatar for butt_usman

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 …

Member Avatar for Salem
0
168

The End.