8,298 Topics

Member Avatar for
Member Avatar for dennysimon

hello all I try to open my datagridview's content in excell the problem is it's change the string value to numeric. so if in datagridview the content is "0001" in excell it become "1"; how to correct this problem ? any help ? thanks denny

Member Avatar for ddanbe
0
95
Member Avatar for VasquezPL

Hi guys..I try to automate outlook..it works great ..the problem is that I use office14 at home, and my company (where I need my program to work) uses office12... I was told that to make it possible to run on office12 and later, I need to get msoutl.olb from office12. …

Member Avatar for VasquezPL
0
316
Member Avatar for boot-baby-boot

I want to write a simple c++ program that allows me to edit my database tables.Each table stands on its own(no table is related to another).The UI i want is simple.I want my tables to be shown as follows: [LIST=1] [*]Table-One [*]Table-Two [*]Table-Three [*]Table-Four [*]Table-Five [*]Table-Six [*]Table-Seven [*]Table-Eight [*]And-So-Forth [/LIST] …

Member Avatar for Ancient Dragon
0
453
Member Avatar for VasquezPL

Hi guys..I try to automate outlook..it works great ..the problem is that I use office14 at home, and my company (where I need my program to work) uses office12... I was told that to make it possible to run on office12 and later, I need to get msoutl.olb from office12. …

0
110
Member Avatar for fadi_1234

how can i make table like this : For example: Fadi recommendattion ----- ---------------- 1212 you must at least gain :1kg if fadi>1212 you must at least gain 1 kg how to make a table like that in c++ and i want to put the result of if in recommendation …

Member Avatar for fadi_1234
0
314
Member Avatar for VasquezPL

I have a big problem. Wheb I try to automate Outlook, I need to make a wrapper...My outlook version is 14. Unfortunatelly I need my proggy to work on all versions of Outlook. how to do that? My code to send email is: [CODE]string allbody; System.Diagnostics.Process.Start("outlook"); Outlook._Application oApp = new …

0
71
Member Avatar for Khoanyneosr

So, I need to find a way to create a way for the computer to ask for input, for this example lets make it 1 and 2. 1 for yes and 2 for no. [CODE] int yes; int no; cout << Do you like orange chicken?" << endl; cout << …

Member Avatar for Khoanyneosr
0
427
Member Avatar for yncee_11

ERRORS: 8 C:\Documents and Settings\csc182\Desktop\devc++\ellipse.cpp `main' must return `int' C:\Documents and Settings\csc182\Desktop\devc++\Makefile.win [Build Error] [ellipse.o] Error 1 what does this errors mean?? here is the code.. #include<stdlib.h> #include<conio.h> #include<graphics.h> #include<dos.h> void main() { int x,y,i; int g=DETECT,d; initgraph(&g,&d,"\tc\bgi"); cleardevice(); x=getmaxx()/2; y=getmaxy()/2; settextstyle(TRIPLEX_FONT, HORIZ_DIR, 3); setbkcolor(rand()); setcolor(4); outtextxy(30,100,"Press"); outtextxy(30,130,"any"); outtextxy(30,160,"key"); outtextxy(30,190, …

Member Avatar for Caligulaminus
0
188
Member Avatar for VasquezPL

Hi guys... I have small problem with my code [CODE]// WYSYLAMY DO HD Outlook.Application oApp = new Outlook.Application(); //Create the new message by using the simplest approach. Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem); //Add a recipient. // TODO: Change the following recipient where appropriate. Outlook.Recipient oRecip = (Outlook.Recipient)oMsg.Recipients.Add("aaa@bb.pl"); oRecip.Resolve(); //Set the basic …

Member Avatar for VasquezPL
0
296
Member Avatar for victortiago

Hello Guys, I'm in need of aid, what I'm needing is a page with login and password made ​​in C # with. net the only thing I can not do is make the page validate pulling information from the database, can I help? If someone has a very simple model …

0
37
Member Avatar for Arjun_Sarankulu

Below is my code [code] SW = File.CreateText("D:\\PNB\\" + System.DateTime.Now.Date.ToString("ddMMyyyy") + "_" + bn + ".txt"); [/code] Here the file is create in d:/Pnb which is hard coded But i want to save it where the user want it to Can any one Help me for the same

Member Avatar for RobbertKeesing
0
213
Member Avatar for hery

Hello, How to run command SQLLoader Oracle in c#. I try my sourcode for run this SQLLoader, but nothing happen and error "No process is associated with this object.". Please tell me how i fix it. Thanks. This is my code: [CODE] System.Diagnostics.Process process1; process1 = new System.Diagnostics.Process(); process1.EnableRaisingEvents = …

Member Avatar for kvprajapati
0
1K
Member Avatar for VladoBG

Hey guys, i`m experiencing weird problem with an visual activeX control. I`ve created simple test winforms application on .NET 3.5 using that 3rd party activeX control. It works fine on my dev PC having VS 2008 installed... But when copy it on a machine without having VS installed on it, …

Member Avatar for VladoBG
0
184
Member Avatar for krigsmaskin

Hi. Got some newbee questions for the masters of C# =P Im trying to build a small ROV. iv used Python and the joystick sketches u can find on the internet. But i want a GUI that shows feedback from the ROV and output info like "lights on/off" and thruster …

0
68
Member Avatar for Piya27

Hi All, I am developing an Excel Add-in using Visual Studio Tools for Office using C#. However, the problem is that i want to use the SOLVER add-in that is available in Excel in my code. I cannot find any way or documentation anywhere for doing the same. However i …

0
266
Member Avatar for Razzo1

Well I am coding a small intermediate program to help me with learning c++ , and i am wondering how to check for blank input to cin >> string heres what i have [CODE]string name; cout << "Enter You're Name: "; getline(cin, name); [/CODE] and if i just hit enter …

Member Avatar for mike_2000_17
0
2K
Member Avatar for Blaine Tuisee

I'm trying to close and application using C# and ASP.NET. I've tried system.windows.forms.application.exit() but it just refreshes the screen. I tried Environment.Exit(0) but that just ended the application and returned an error in the browser. Please help anyway you can!! Thanks!

Member Avatar for RogR
0
4K
Member Avatar for francisp94

3 months ago me and my classmates played with visual c++ 6.0. We made a infinite loop of numbers that kinda looks like the matrix thing. We changed the font of the cmd of c++ to green. Now the problem is I can't turn it back to normal. I tried …

Member Avatar for tkud
0
193
Member Avatar for ChrisHunter

Hi i keep getting an exception when i'm trying to update table values within a database. the exception is below but i dont change from datetime to varchar it always stay as datetime. is there any other reasons why this is happening ? "The conversion of a varchar data type …

Member Avatar for ChrisHunter
0
181
Member Avatar for pandukal21

Hi, I'm developing a Notepad Application using C#/Windows Form Application. I've implemented all the basic features of a windows notepad. Now I'm trying to add "Find" and "FindNext" feature, and nowhere able to find source for the same...Kindly Help..!!:) Thanks in advance, pandukal21

Member Avatar for Momerath
0
62
Member Avatar for iustitia

I need to make calculator with buttons for each digit and so on. My question is, if there is any way to make one function that will handle with all events for all digits? Now I have: [CODE] private void addDigit(char i) { // some calculation with 'i' } private …

Member Avatar for shootermac
0
160
Member Avatar for Jessurider

hey this is my final year project........the project is that.........we are controlling a car using this software,.........i've made a code for video streaming too.........but when while capturing when i press the numberpad1 and numberpad3 for left right turn i finds a little delay in printing the counts in their corresponding …

Member Avatar for Jessurider
0
143
Member Avatar for judithSampathwa

Hi there, i have a question in C#.NET report viewer. i save the phone number in the database as (234) 233-1346 . so if the use doesn't type in a phone number it will be saved as [() - ] which is show in side the squared brackets, without the …

Member Avatar for judithSampathwa
0
158
Member Avatar for Harley_Quinn

Allrite so I'm writing this program - and I've been having some trouble with it - there are three parts to it 1. Write a function [CODE]void tolower(char* s)[/CODE] that replaces all uppercase characters in the C-style string s with lower case letter. - Two helper functions to use a)[CODE]bool …

Member Avatar for jonsca
0
183
Member Avatar for judithSampathwa

Hi there can some one provide me with a tutorial to create a login in C#.NET MVC. i am using visual studio 2010 and i am new to this. I have a little bit of idea on MVC but when i try to come to create a login page (web …

Member Avatar for judithSampathwa
0
171
Member Avatar for terdie

Hi!Good day.this is my first time to post here. Iam using visual c# 2008 and Im new to it.Im developing a system,Ordering/Sales Monitoring and Inventory system as a part of my requirement in school(my thesis). The system that Im working will be used by a company for REAL so Im …

Member Avatar for ddanbe
0
263
Member Avatar for xxxtian

[code] private void btnBackup_Click(object sender, EventArgs e) { Backup bkp = new Backup(); this.Cursor = Cursors.WaitCursor; this.dataGridView1.DataSource = string.Empty; try { string fileName = this.txtFileName.Text; string databaseName = this.ddlDatabase.SelectedItem.ToString(); bkp.Action = BackupActionType.Database; bkp.Database = databaseName; bkp.Devices.AddDevice(fileName, DeviceType.File); bkp.Incremental = chkIncremental.Checked; this.progressBar1.Value = 0; this.progressBar1.Maximum = 100; this.progressBar1.Value = 10; bkp.PercentCompleteNotification …

Member Avatar for akshintlakalyan
0
137
Member Avatar for xxxtian

[CODE] Restore res = new Restore(); this.Cursor = Cursors.WaitCursor; this.dataGridView1.DataSource = string.Empty; try { string fileName = this.txtFileName.Text; string databaseName = this.ddlDatabase.SelectedItem.ToString(); res.Database = databaseName; res.Action = RestoreActionType.Database; res.Devices.AddDevice(fileName, DeviceType.File); this.progressBar1.Value = 0; this.progressBar1.Maximum = 100; this.progressBar1.Value = 10; res.PercentCompleteNotification = 10; res.ReplaceDatabase = true; res.PercentComplete += new PercentCompleteEventHandler(ProgressEventHandler); res.SqlRestore(srv); …

Member Avatar for Momerath
0
399
Member Avatar for lianpiau

I have made a system, when use select Model,then the F.Grade dropdownlist will show the F.Grade belong to user select Model. So I put display F.Grade code into Model dropdownlist. But it is very slow when user use down arrow button to find model. This is because when down to …

0
76
Member Avatar for cheers07

HELP!! can someone please help me, because i need to create a game in which i have to count how many times i've pressed enter in a matter of 1 minute.

Member Avatar for cheers07
0
250
Member Avatar for honeythigh

hello, i'm a newbie. [U]are c and c++ really similar?[/U] some people say that they are extremely similar, and taking the path of learning c first is better. i'd like to learn both c and c++. [U]which one is better to start with?[/U] and as i mentioned before, i don't …

Member Avatar for peter_budo
0
287
Member Avatar for gnyderek

it's a very simple program: payroll calculations for 5 employees. but how to do the count?

Member Avatar for Stefano Mtangoo
-1
84
Member Avatar for vegaseat

I am afraid, I am starting to like C#, despite the somewhat bloated .Net Framework requirements. Mister Bill's Microsoft is very supportive though. The language has a nice flow compared to GUI programming in C++. Here we are looking at a standard ListBox, add some items, sort them and select …

Member Avatar for anucom
0
714
Member Avatar for rogba

Does anybody know if C++ programming:program Design including Data Structures, by D.S. MALIK has an Instructor's edition??

Member Avatar for JamieLynnSEO
0
75
Member Avatar for vjackcon
Member Avatar for murtazanaqvi

c#.net Program to run comparisons on old and new .csv files and displaying the unmatched items with their column header. 1 - Shows items that are not on old sheet but is on new sheet. 2 - Shows items that are not on new sheet but is on old sheet)

0
50
Member Avatar for Arief_H.Naif
Member Avatar for Fbody
-2
37
Member Avatar for falcon eyes

Hi every body i have devoloped a custom MessageBox Class to use it in other application,as below [code] # public partial class MessageBoxCustomized : Window # { # # static MessageBoxResult _msgboxresult; # public MessageBoxCustomized() # { # InitializeComponent(); # _msgboxresult = MessageBoxResult.None; # Owner = Application.Current.MainWindow; # # # …

Member Avatar for falcon eyes
0
323
Member Avatar for stan2000

I'm trying to write a program which allows a person to enter the number of days they have worked. Their hypothetical salary is 0.01$ per day and doubles everyday (0.02$ on the 2nd and 0.04$ on the 3rd day etc...). For each day, the day number, pay for the day, …

Member Avatar for Arbus
0
154
Member Avatar for evilmarksman

im really stuck with this program as i was sick when this unit was covered and havent a clue on how to write it *crys* and i dont get it done iv been told i cant do the course for next year dispite passing everything else. level 1 1. get …

Member Avatar for zachattack05
0
102
Member Avatar for zachcoenen4

I am trying to learn C++ by myself using a book and want to work through everything it says. I am on a program that you have to write kinda like a cash register program that tells you how many 5's, 1's, quarters, dimes, nickles, and pennies you should get …

Member Avatar for WaltP
0
391
Member Avatar for Arjun_Sarankulu

There are nearly 150-200 char in the line from a file which i am reading but while writing to another file i want to make it 1000 chars padding spaces after few char from a file which i am reading. Can any one help me for the same

Member Avatar for Momerath
0
106
Member Avatar for ibdatx

Hi, Can anyone get the translation of this xaml code to c# code? In order words, I am trying to set listbox items to be displayed in the textblock encapsulated by stackpanel, datatemplate and within listbox.itemtemplate. I am trying to do this from the back end and not using databinding. …

0
93
Member Avatar for aeinstein

Hi All, Just starting my online C programming class and my textbook states "In a computer language, a token is the smallest unit of the language that has a unique meaning. Thus, the reserved words, programmer-created identifiers, and all special mathematical symbols, such as + and -, are considered tokens …

Member Avatar for aeinstein
0
191
Member Avatar for kimmi_baby

Hi there, I'm new to C# and I have to admit it feels very overwhelming. I was wondering if anyone could help me and explain it to me so that I can understand. Here's my code... [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Counter1 { public class Counter …

Member Avatar for lianpiau
0
109
Member Avatar for Jessurider

Hey can anyone tell me how to give an icon image to the project...............the icon image is also attached below

Member Avatar for lianpiau
0
90
Member Avatar for hopefree
Member Avatar for plang007

I got the first function tagReader to work, but how do I get the program to read the other functions such as getEmployee, paycheck, repeater, valid, and header. Here is all I get for the output: Results from tags1.txt : Cylinder: bsharkdata 1782 12.00 82.90 Cylinder: ftmyersfeb 7150 11.00 32.89 …

Member Avatar for WaltP
0
207
Member Avatar for Jessurider

hey i've made a project...........in that form1 is the main page............can anyone tell me how to make form2 as the main page.............

Member Avatar for Jessurider
0
60

The End.