8,298 Topics

Member Avatar for
Member Avatar for krishnisilva

hi, how to i get the data i the dategrid view and save it in the SQL database in C#. and also how to aloow the user to enter details from the grid view. thankxxxx

Member Avatar for krishnisilva
0
85
Member Avatar for 00 freedom

hi all, i would like to ask if do you know how to Embed the Remote Desktop ActiveX Control in a Web Page using C#? any help would be greatly appreciated!! thanks!

Member Avatar for murugavel84
0
233
Member Avatar for DumbProgrammer

Ok I've spent more time than you would believe on this one. I built the program, started from scratch. Over the course of the last week I've spent no shit about 30 hours on this and still cant get it to work right. What is suppose to happen is the …

Member Avatar for CanYouHandstand
0
129
Member Avatar for bondzerg

HTML files use tags enclosed in angle brackets to denote formatting instructions. For example, <B> indicates bold and <I> indicates italic. If a web browser is displaying an HTML document that contain < or >, it may mistake these symbols for tags. This is a common problem with C++ files, …

Member Avatar for bondzerg
0
385
Member Avatar for BobC22

Hi, I have been working on a Reversi/Othello game using QT and have got stuck when trying to implement a new game function which will return the game state back to its original state. reversigame.cpp [CODE]/** @file reversigame.cpp @author Rob Charrett @brief ReversiGame implementation. */ #include "reversigame.h" ReversiGame::ReversiGame(QWidget *parent, Qt::WFlags …

Member Avatar for BobC22
0
183
Member Avatar for sachintha81

I have a service (say BS.exe) written using C# of which the installer is created using Wix and C# (which means it has a Custom Action program associated with the Wix installer program as well). Now, after the program in installed there is a need to go to Windows Firewall …

Member Avatar for privatevoid
0
520
Member Avatar for "ICode"

These days, as we all know, graphics is probably the most important thing. I made a program using C# and the only graphics im using is that of WFA, but i want to apply EXTREME graphics to it, like that of windows media center, or something like that. What would …

Member Avatar for "ICode"
0
321
Member Avatar for Dinglish

I am new to programming and i am teaching myself. (my teachers are not very good) I am attempting an old assignment that a colleage had completed in school. He told me it was pretty basic in terms of c++ programming. UELS is a company selling bicycles; Customers may opt …

Member Avatar for NathanOliver
0
118
Member Avatar for summey

The code below is for my assignment it works i just want to make sure i did this correct any advice is wanted. Also one thing that is bugging me see basepay well if the base pay is 133.20 it chops off the 0 and only displays 133.2 why iv …

Member Avatar for summey
0
132
Member Avatar for sanam2010

hello, I want to make a Report in C# Projetc, but I'm not intrested in using Crystal Report, I want to make it by MSReportViewer. PLS Help me, thanx.

Member Avatar for sanam2010
0
63
Member Avatar for krishnisilva

hi, Question 1 i am developing a project in C#.Net, and when a form loads data from the SQL client database is added to four combo boxes in the form, i need to change the data in the combo box when the check box is ticked. I wrote a code …

Member Avatar for gusano79
0
172
Member Avatar for Mattan360

Hi! (This is my first post on the forum) I'm trying to capture the desktop of the "not showing" desktop. I got two users, both logged in. I start the program on the first users desktop (to capture), and then the second one on the other user, which is supposed …

Member Avatar for Mattan360
0
234
Member Avatar for JwhateverJ

I have this program where I'm trying to find the file size with the boost library. I find the files fine, but it won't get the file's size, where am I wrong? Thanx for your help... Here's my code so far. It compiles fine, but won't return the file size. …

Member Avatar for JwhateverJ
0
4K
Member Avatar for krishnisilva

hi, i am doing a project in C#.NET desktop application. how can I make a upload, retrieve functionality in C#.NET desktop application for pdf documents, I am using a sql client for the moment, so i need to upload the file(file path, content, title in to the database) how can …

Member Avatar for kvprajapati
0
129
Member Avatar for loadload

[CODE] using namespace std; int main(int argc, char *argv[]) { int item_weight; // ITEM WEIGHT IN GRAMS double item_unit_price; //ITEM UNIT PRICE ($) int quantity_required; // QUANTITY REQUIRED //ENTER ITEM WEIGHT IN GRAMS----------------------------------------------------- cout << "ENTER ITEM WEIGHT IN GRAMS: "; // prompt for input item_weight cin >> item_weight; // …

Member Avatar for loadload
0
133
Member Avatar for ushineon

Hi All, Awesome site. Thank You !! Just a few quickies , is the C language here to stay ? Does anyone know of a language that may replace it in the future? What compiler do you all recommend for compiling C? What languages should I learn to help me …

Member Avatar for jwenting
0
215
Member Avatar for ppotter3

I am currently writing a program called Encoding and Decoding strings with the Enigma Class. This was a class assignment, but it already has been turned in, and I would like help (I am not looking for the work to be done for me) so I may learn from my …

Member Avatar for ppotter3
0
2K
Member Avatar for koki55

Can someone tell me is there any difference between code in C# from .NET1 and .NET4 so can i use examples from visual studio 6 for istance into visual studio 2010?

Member Avatar for powerbox
0
69
Member Avatar for davidcrossan

hi there i am building a one page website that i need query data from an access database (visual studio 2008 c# xml). I need to do a sql query displaying customers with possible bookings if any. I have been able to display all customers details but i am finding …

Member Avatar for Mohtshm
0
156
Member Avatar for emeryDan

I am looking for a C# grid component (not for database). I found GridView on the net but it seems buggy since it only supports four columns and crashes when I use more than four columns.

Member Avatar for kvprajapati
0
70
Member Avatar for complete

What is the magic that makes components cling to the edges of a form? I had thought that one must use the resize event of the form and them force each element in the form to resize. But then I saw some sample code which, even when I am editing …

Member Avatar for kvprajapati
0
125
Member Avatar for Exaktor

Hi, I have 4 searchbox and with them i can search in a Datagridview. But the problem is that they are not connected to each other. So what I want is that they are connected to each other. If i search in 'firstname' then the firstname displays but when I …

Member Avatar for phoenix911
0
270
Member Avatar for saggy_rudra

Hey!! I gotten the hang of C programming, logic design n all.. But am having real trouble understanding C++ concepts... My sems are up in a month! Any suggestions on how do i get it done before that???

Member Avatar for WaltP
0
149
Member Avatar for zeke188

Hi Ijust started learning c# windows forms and when i set soe data open a new form and get the data into the label the label dissappears.can some one help me please [code] private string greeting; public string Greeting { get { return greeting; } set { greeting = value; …

Member Avatar for zeke188
0
133
Member Avatar for sheery_1

Hi dears, I have build an application using C# to send and receive sms, my application works fine for sending sms but when i try to read sms from my mobile through my application i get following error "Error: Phone reports generic communication error or syntax error." can any one …

0
25
Member Avatar for basma.lm

hi, i'm working on a windows application with database sqlserverCE and my question is how connect to the database without writing where it locates in the connectionstring ( i mean auto connection ). i hope you can help me. thanks.

Member Avatar for kvprajapati
0
55
Member Avatar for firstimer

Hi all, still relatively new to c# and asp.net. Can anyone tell me what I'm doing wrong here: [CODE]string updateSql = "UPDATE FirstData " + "SET numplay=numplay+1 " + "WHERE PlayerNum = @PlayerNum"; SqlCommand UpdateCmd = new SqlCommand(updateSql, thisConnection); UpdateCmd.Parameters.Add("@PlayerNum", SqlDbType.Int,10, "PlayerNum"); //UpdateCmd.Parameters.Add("@numaddval", SqlDbType.Int,10, "[numplay]"); UpdateCmd.Parameters["@PlayerNum"].Value = "2"; UpdateCmd.Transaction = …

Member Avatar for kvprajapati
0
87
Member Avatar for vladdy19

I'm having trouble running C in eclipse. It first gives me weird syntax errors or tells me that # include <stdio.h> is an "Unresolved inclusion" It also will not let me build, saying "(Cannot run program "make": Launching failed)" Am I missing something? please help. Thanks

Member Avatar for lmpmbernardo
-1
814
Member Avatar for angel19

hi, I have a simple monopoly style board game ready (in c++). I would like to ask you how can I add additional features to the game play such as ‘chance’ cards and ‘shake again’ squares. Is it possible to create a GUI interface for this game too? At the …

Member Avatar for angel19
0
113
Member Avatar for nahmartin

Hello Most of my C++ is self taught so please excuse me In my code I am writing a large amount of data to file [CODE] for(int i=0; i<itr_atoms; i++) file_out << i+1 << " 1 " << atoms[i][0] + origin_x << " " << atoms[i][1] + origin_y << " …

Member Avatar for nahmartin
0
195
Member Avatar for 3cats

I posted last night with this question and I didn't include the coding (DUH). I am getting the error " error C2143: syntax error : missing ';' before '{' 1>c:\documents and settings\user\desktop\c++ programming\midterm2invoice\midterm2invoice\midterm2_invoice.cpp(68) : error C3861: 'While': identifier not found" Here is the code, everything works until it gets to …

Member Avatar for 3cats
-2
152
Member Avatar for hkBattousai

A most basic TCT connection is established with the code below: [CODE]// Initialization IPEndPoint m_IpEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.71"), 5000); Socket m_Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); NetworkStream m_Stream = new NetworkStream(m_Socket); // Read/write operations m_Stream.Write(System.Text.Encoding.ASCII.GetBytes("Hello world!"), 0, 12); byte[] read_buffer = new byte[4096]; m_Stream.Read(read_buffer, 0, 4096); // Closing open resources …

Member Avatar for mcriscolo
0
349
Member Avatar for real_victoria

[code] using System; using System.Reflection; using System.Diagnostics; using System.IO; namespace VersionExe { class Program { public static void Main(string[] args) { int i; // Get the file version for the notepad. FileVersionInfo.GetVersionInfo(Path.Combine(Environment.SystemDirectory, "notepad.exe")); FileVersionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo(Environment.SystemDirectory + "\\notepad.exe"); // Print the file name and version number. Console.WriteLine("File: " + …

Member Avatar for kvprajapati
0
1K
Member Avatar for shanprab
Member Avatar for mitulmodi.rcc
0
101
Member Avatar for chandruswami

Hi, i have one XML file,... in that i am maintaining the server name and database name,.../ Now i want to delete one set of server name and database name and insert those element into the first position of the same xml document,... for getting the recently accessed element,... [code] …

Member Avatar for chandruswami
-1
123
Member Avatar for chec13

Hello, I just started trying to learn c++ a few days ago. Right now I have run into probems, which, has always happened when I try to learn a programming language. Can anyone help me fix this simple multiplication program? [CODE]#include <iostream> int Multiply27( first, second) { cout << "in …

Member Avatar for chec13
0
167
Member Avatar for mixelplik

I'm still very new to C#, but have some experience with scripting languages such as javaScript, PHP, and VB.Net. My question is how do I call a method from another method? Below is a chunk of code from my program. I want this method to evaluate a value and two …

Member Avatar for Geekitygeek
0
117
Member Avatar for Sparky89

Hy everyone, I got a problem with doin a sum of a column where are only "int" datas, I get those data from Sql Db with a Sql Data Source and use that sds with a nested gridview. I tried with select sum() but it for each employer i get …

Member Avatar for Sparky89
0
205
Member Avatar for suranga_kas

Hi, Following is the issue im having.... Im working on a checkers game using c#. ive decided to set each checker within a picturebox that will be displayed inside a panel (gameboard) however the problem comes when I have to move the checkers. I could write code to move the …

Member Avatar for Geekitygeek
0
158
Member Avatar for dhanamsara
Member Avatar for avazim

I want know if there any way to write command to cli by using c#. That because I want to write simple GUI program wich writes command like "ping" "telnet" to the CLI of windows. thanks alot

Member Avatar for kvprajapati
0
80
Member Avatar for coder19

[CODE] void MatchWord(Match temp, int duplicatedoc, int originaldoc, string * words) { Idea is to send in a match and then call the binary search on the matching words and see if they are found. If they are found, give them a higher weight and if not found, give it …

Member Avatar for vmanes
0
131
Member Avatar for bigdawgg

I am attempting to write some code that will open a sequintal file into arrays and will then can use the data to calculate monthly payment. the text file is as follows 1 5 10 20 50 2.5 4.1 5.3 7.1 8.3 With the top row being yrs and bottom …

Member Avatar for jwenting
0
191
Member Avatar for buddy1

I'm having some trouble translating the following C++ program to Pep/8 assembly language. Can anyone help me solve this. This is what I have come up with. [code=cplusplus] #include <iostream> using namespace std; int list[16]; int i, numItems; int temp; int main() { cin >> numItems; for (i = 0; …

Member Avatar for mjmakl
0
2K
Member Avatar for d3hartm1

Hello, I am looking for some code that would help me understand how to use SPSS in C#. Basically, what I need to do is open an SPSS file and save it in another format. If anyone could help me out with this, I'd greatly appreciate it. Thanks,

Member Avatar for ddanbe
0
119
Member Avatar for fullyarmed

I have this Lab for a class that I am taking.. It works as it suppose to... The problem I am having is that if I enter more than 11 char it goes all crazy.. I don't want it to do that... [CODE] #include <iostream> #include <cstring> using namespace std; …

Member Avatar for fullyarmed
0
209
Member Avatar for galaris

Hello everybody! I have a game server (WoW). I want my players to download my custom patches to the game. I've done a program that checks for update/downloading things. I want my program to send a packet to my game server if player have all my patches. I dont need …

Member Avatar for mcriscolo
0
213
Member Avatar for LostnC

Hello everyone, I am trying to understand composition versus inheritance in C++. I have looked at many web pages, but I haven't found anything that makes sense to me. Can someone please tell me where I can find some examples of programs that might make sense to me? I am …

Member Avatar for mrnutty
0
206
Member Avatar for teomurgi

Hi all, in a piece of code like this: [CODE] void Logger::logMsg( int msgLevel,const char* msg) { char input[strlen(msg)]; ... } [/CODE] is the input array dynamically allocated? In this case, do I have to use the delete [] in order not to have a memory leak? thank you!

Member Avatar for vmanes
0
342
Member Avatar for FinalDecap

This is probably a really stupid thing to ask considering the development I'm doing (effectivly creating a virus scanner), but how do I link classes/cpp files? I have 3 applications/sections that I can compile/combine with a makefile, that's fine, but I need them to run 1, 2, 3 once the …

Member Avatar for FinalDecap
0
221

The End.