8,298 Topics

Member Avatar for
Member Avatar for S2009

Hi I have created a project using C# and SQL SERVER 2005. I want to deploy the project so that I can create .msi file. Can anyone help me with the steps I should follow to create the setup file? Also in which editor I should add then database and …

Member Avatar for mac1546
0
464
Member Avatar for jdub69420

#include <iostream> using namespace std; class Fraction { public: Fraction() : num(0), denom(1) {} Fraction(int num, int denom) { setNum(num); setDenom(denom); } int getNum() const { return num; } int getDenom() const { return denom; } void setNum(int num) { this->num = num; } void setDenom(int denom) { if (denom) …

Member Avatar for StuXYZ
0
128
Member Avatar for serkan sendur

the following escape sequences cause [] in listview. Is there any way to fix it? Form1.cs : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace newLineInListView { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, …

Member Avatar for kvprajapati
1
389
Member Avatar for MxDev

hi guys, Is there any tool for C# that shows the running fragments of source code at runtime or at least facilitate the navigation into source code I mean reading the source code.

Member Avatar for papanyquiL
0
137
Member Avatar for calleriq

Info :Compiling C:\tmp\lab2.cpp Warn : lab2.cpp(56,16):Possible use of 'choice' before definition Error: lab2.cpp(60,5):Type mismatch in redeclaration of 'mainProgram()' Error: lab2.cpp(60,5):Declaration syntax error Hi everone, I am new to C++, please help. After I compile (using borland V5.02), I got these above prolem, please let me know what's wrong and this …

Member Avatar for Nick Evan
0
151
Member Avatar for KillerOfDN

Hey kind people! How do I remove duplicate Rectangles from my List<Rectangle> in C#? Thank you

Member Avatar for KillerOfDN
0
928
Member Avatar for Peter_APIIT

Hello to all of you, does anyway know any free trial limited SMS gateway. Anyone expose to SMPPLib available at code project ? [url]http://www.codeproject.com/KB/library/smpplib.aspx[/url] Please share. Thanks.

0
66
Member Avatar for DC257209

Hey everyone, i'm new to the site and i'm lookin for some help on this program i have to write. I am 100 percent a beginner and don't really know what i'm doing. I need to write a short program that reads in the height at which the ball is …

Member Avatar for vmanes
0
292
Member Avatar for kele1

i'm supposed to write a program that simulates cointoss. for each toss the program should print heads or tails and it would toss 100 times and counts the number off times each side of the coin appears. it should also call a seperate function 'flip' that takes no argument and …

Member Avatar for NathanOliver
0
234
Member Avatar for Shaitan00

My system has 2 accounts (USER and ADMIN), the user is always logged on as USER but at some specific times a process (Tool.exe) is launched under the ADMIN account (by a LocalSystem Service using CreateProcessAsUser(...)), almost everything works fine except for the fact that the process (Tool.exe) is supposed …

0
80
Member Avatar for ashok90

How can we [B]give[/B] [B]permissions[/B] or [B]revoke permissions [/B]on applications(i.e installed softwares) for a user via [B]c#.net[/B]. i have get the all uers list on the computer and also [B]installed programs[/B] list but how can i [B]change a user permissions [/B]in a way that he may [B]not able to use …

Member Avatar for kvprajapati
0
150
Member Avatar for arelius

Hello all, I am taking a course in C++ and in Ada. Our professor has given us the choice to be tested in language profficiency in either C++ or Ada. The test format will be of simpler programming problems and more geared towards shortanswer concepts. I was wondering if anyone …

Member Avatar for dgr231
0
240
Member Avatar for Kombat

p1a.c: In function `main': p1a.c:20: parse error before `char' p1a.c:46: parse error before `char' p1a.c:47: `result' undeclared (first use in this function) p1a.c:47: (Each undeclared identifier is reported only once p1a.c:47: for each function it appears in.) p1a.c:47: `basechars' undeclared (first use in this function)

Member Avatar for Kombat
0
148
Member Avatar for AceiferMaximus

Is it possible to call a .dll I made in C#, and use it in my unmanaged C++ code? If so, can someone show me an example of how this is done, or a link to go about doing it. I wasn't able to find much on google, and most …

Member Avatar for AceiferMaximus
1
2K
Member Avatar for Shaitan00

I have a service running as LocalSytem (Service.exe) which is is responsible for launching an interactive application as the logged-on user (USER), to accomplish this I do the following within the Service itself: - CreateEnvironmentBlock() for the USER - CreateProcessAsUser(app.exe, USER, password, EnvBlock) as the USER with the corresponding EnvBlock …

0
82
Member Avatar for BullzEyezz

I'm making a project that gets folder and file names in a specific path and I want to edit the folder or file names? (e.g: folder name is X.Men.DVDrip I want to change it to X Men DVDrip) I have the path of the folder, but I dont know how …

Member Avatar for BullzEyezz
0
221
Member Avatar for mduduDan

I am trying to incorporate a biometric fingerprint reader into a c# application. The dll's associated with the reader hardware are Microsoft.VC80.CRT.manifest, msvcp80.dll, msvcr80.dll and id3CertisImage.dll. I think to be able to use the reader I need to add these files as references on the project, but this fails with …

Member Avatar for sknake
0
197
Member Avatar for priyabalu87
Member Avatar for dkalita
-1
142
Member Avatar for gerbanzo129

Hey i have this homework problem that i can't seem to solve. i have already did the rest of the program but i have to change the output of this program but i can't seem to make it work. the output they want is.. Home Owner Price of Home Seller's …

Member Avatar for necrolin
0
95
Member Avatar for rajesh.hck

Hey guys, I am new to C++ coding. Can anyone help me and tell me how can I get a C++ Compiler free for study purpose.

Member Avatar for dgr231
0
102
Member Avatar for husna_

[B]Hello. I have a gridview which takes in data from 3 tables. And this gridview also have an additional column called "Role" which is not included in the database. Currently, without adding any logic but simply using the findcontrol to the label, "Role", i can show out "ML" But, when …

Member Avatar for husna_
0
191
Member Avatar for suutukil

please do help me the program goes like this; #include<iostream.h> void main() { int x; int no[10]; cout<<"input 10 numbers"<<endl; for(x=0;x<=9;x++) cin>>no[x]; for(x=0;x<=9;x++) cout<<no[x]<<endl; } but i have to get the sum 0f the 10 numbers in ascending order this the outtput example: 1+1=2 2+2=4 3+3=6 5+5=10 4+4=8 i have …

Member Avatar for mrnutty
-1
156
Member Avatar for suutukil

Please help me with my assignment in c++! Write a program that will input 10 numbers and display the sum in a ASCENDING ORDER. please help me i really need this badly...

Member Avatar for suutukil
0
623
Member Avatar for pfkdesign

Hi! I am working in a project on window base C sharp and i successfully create resizable, moveable multiple rectangles by mouse dragging on a PictureBox but i cant distinguish between them! ex i want to delete the selected rectangle (first select then click on the delete button) . " …

0
38
Member Avatar for Elektrikz

Hello guys. After some time searching around the forums for a thread about an e-book for crash course from C++ to Java and no luck I decided to post a thread about it. So my question is,does anyone has or knows such book? Thanks in advance.

Member Avatar for tux4life
0
283
Member Avatar for serkan sendur

guys i need an error-free way of keeping name value pairs in a regular c# string. i am quite busy, i dont think i am able to come up with the best algorithm now. what i want is two methods one to add a name-value pair to the string, the …

Member Avatar for kvprajapati
1
1K
Member Avatar for S2009

Hi all, I have a login form and ChangePassword form. I want to retrieve the value of username entered in the Login form at the time of logging. I have created a property named as RetUserName as follows: [code] public partial class frmLogin : Form { private string UseNam; public …

Member Avatar for DdoubleD
0
222
Member Avatar for wewehalim

Hi, i need help in building a program about automata cellular. So, there is 4 state of cells, `0 = space, 1 = ".", 2 = "+", 3 = "#"` This state is continuous from 0 - 3, after 3, it will be back to 0. we need to compare …

Member Avatar for wewehalim
0
532
Member Avatar for sudharani

Hello Friends, What is the code i have to write on Button click event to perform signout from a web page using C#. I have just wriitten the code Response.Redirect.But if I use back Button it is coming back to the page again. Please help me . thank U.

Member Avatar for serkan sendur
0
56
Member Avatar for Smoking Bros

Well.. It's actually pretty simple.. I just created this real quick project to try out a new (and better ;)) way of loading images in XNA Game Studio 3.0 Visual Studio C# 2008 Express Edition but when I run & debug (F5) I get a warning telling me that I …

Member Avatar for serkan sendur
0
226
Member Avatar for Evs.NiceGuy

Hi , I want to show exisiting excel file. I want when I press button on form, then my existing excel file open in excel application.

Member Avatar for sknake
0
42
Member Avatar for igalep132

hello, which event is fired when i close form with X button ? i want event that fired only with X button pressed, i know that there is a FormClosing event, but the problem is that it fires each time when form is closed... also with frm.close() and i don't …

Member Avatar for Diamonddrake
0
213
Member Avatar for ANNICO

Hello, I am new the the C++ scene and to this website. Can someone assist in Pseudocode for take-home pay? Thank you.

Member Avatar for vmanes
0
25
Member Avatar for C#Beginner

I m a beginner trying to learn Visual C#(Visual Studio 2008). I was able to run a simple Visual C# program without errors. I was trying to look at the values of the variables in the DATA TIP in Break Mode.. by hovering over the variable. I have not been …

Member Avatar for C#Beginner
0
112
Member Avatar for pymatio

I have this code: [icode] #include <unistd.h> #include <iostream> #include <string> #include <fstream> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace std; void add(char todo[], string priority, string home){ FILE *file; file = fopen(home.c_str(), "a"); fprintf(file, "%-50s| %-6s\n", todo, priority.c_str()); fclose(file); } void list(string home){ string line; fstream file(home.c_str(),ios::in); int …

Member Avatar for Ancient Dragon
0
236
Member Avatar for Nathan Campos

Hello, At this times i need to decide something that will chage my life forever, it is: Continue with C++ and the possibility to compile my programs at my HP Jornada 720(Handheld PC) and in my [b]PC only and NOT for my j720[/b], or learn C and start my mobile …

Member Avatar for Frederick2
0
344
Member Avatar for terdie

I recently posted a thread here but have different subject so I decided to make another. I have two questions 1.[B]]how can I deploy my application?[/B]there is a function Publish in visual studio but that didnt do the job(of maybe Im just doing it wrong).I have a database in my …

Member Avatar for DdoubleD
0
132
Member Avatar for Mongz

Im passing a query string from 1 page to many pages, the second page accepts the query string and pass it to the next page and so on. On the second page i accept the query string and it appear's on the url bar, that shows that the second page …

Member Avatar for sknake
0
189
Member Avatar for engg_mahesh_knl

hii All, I wants to Create XML File DYnamically Using ASP.Net C# which retrieves data from sql server database. Also I wants that To delete / Create Xml files on server Just By Clicking a button... Thankyou....

Member Avatar for IdanS
0
818
Member Avatar for littlewonder

hi, i get an error - 'incompatible types in assignment' for the following code [CODE] #include<stdio.h> int main() { char name[10]; name="Hello"; printf("%s",name); } [/CODE] Any help will be greatly appreciated...

Member Avatar for littlewonder
0
59
Member Avatar for niyasc

Hai, I'm a higher secondary student in kerala. As our project I have to create a simple car racing program in c++. I implemented the following code fragment. May I get some instructions to improve it? Especially the method of accessing input to controll movement of object? [code=c++]#include<iostream.h> #include<conio.h> #include<dos.h> …

Member Avatar for mrnutty
0
193
Member Avatar for EvilLinux

Hi, I've been working on this project I'm doing and its killing me because I can't figure why my array\formula's don't want to get along. Here is the general overview of what the project requires: Here the project: Operation • The user enters a score and clicks the Add button …

Member Avatar for EvilLinux
0
2K
Member Avatar for dzruptz

i am currently starting on a project that requires to load a flash movie from a remote website (which keeps track of the user authentication) and edit the variables inside them. in other words, something like a flash game bot. i have figured out how to embed the flash swf …

Member Avatar for Diamonddrake
0
153
Member Avatar for sophie_kiu

Question1 : how to use c++ to read/write excel file without changing it into CSV file? Question2 : How to use CSV parser in c++? Are there any examples?

Member Avatar for Protuberance
0
334
Member Avatar for JETFUSION

Hi there all, Could anybody please help me, as to why my program is not adding the right quantity's? [CODE]// Question 2a #include <iostream> using namespace std; int main ( ) { const int NR_SESSIONS = 3; int nrAttend; int votesForS, votesForR, votesForO; char vote; // Initialise totals votesForS = …

Member Avatar for tux4life
0
127
Member Avatar for husna_

Hello, My question is: Can I add in new column(S) in the gridview if the column is not found in the database? - E.g. An indicator if a certain lecturer is a ML/Lec (roles). I have a gridview that is "extracted" out from the database. But I want to add …

Member Avatar for serkan sendur
1
213
Member Avatar for moorcroft

Hi I use the following code to connect to an orace database in Visual Studio 2008 and it is falling over with the exception of ServerVersion threw an invalid operation exception at line 3: [CODE=C#]m_strConnectionString = Settings.GetMandatoryConfig("databases", "SourceDB"); m_strQueryTerminator = Settings.GetConfig("databases", "QueryTerminator"); m_odbConn = new OleDbConnection(m_strConnectionString); m_sql = new SQL(DatabaseType.AnsiSQL, …

Member Avatar for cgyrob
0
113
Member Avatar for diogoc.pinheiro

Hello guys, I need help here. I´m new to C# and asp.net, i'm doing a program that shows a list box with the users in the DB. A user has a group or a schedule. What i want to do is, when the user selects a user i want to …

Member Avatar for lenj
0
162
Member Avatar for littlewonder
Member Avatar for sardonic

I am using Microsoft visual c# express 2008 ide. I want to cycle thru my open files - I know there are a couple ways to do this but I want to be able to click on the name of the open file on the tab that is above the …

Member Avatar for sardonic
0
100

The End.