8,298 Topics

Member Avatar for
Member Avatar for oren.turgeman.9_1

hy when i run this command to open excel and i get error (on 2007 excel it was fine) //Excel.ApplicationClass xlApp; Excel.Application xlApp; Excel.Workbook xlWorkBook; Excel.Worksheet xlWorkSheet; object misValue = System.Reflection.Missing.Value; SaveFileDialog oDialog = new SaveFileDialog(); xlApp = new Excel.ApplicationClass(); ** xlWorkBook = xlApp.Workbooks.Add(misValue);** xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1); int i = …

Member Avatar for JOSheaIV
0
310
Member Avatar for Computer Savy
Member Avatar for TekknoDraykko
0
274
Member Avatar for smartjugal

I want to learn C# using in windows forms from the begaining..... can anyone tell me some C# windows forms text book and the author's name? or pdf books link..????

Member Avatar for TekknoDraykko
0
331
Member Avatar for Akhila_1

Hey all, I want to learn C programming . Can you please guide me? (From where the software to be downloaded, Tutorials etc.) Thanks Akhila

Member Avatar for vegaseat
0
154
Member Avatar for NoobCoder85

The tools Hal’s sells are: Hammers: $10.99 Wrenches: $10.99 Levels: $19.99 Tape Measures: $4.99 Screwdrivers: $8.99 In order to make things easier in the long run you have decided to make a c++ program that takes in all the orders for each register and tallies them at the end of …

Member Avatar for NoobCoder85
0
1K
Member Avatar for TObannion

So I was given a stack program to convert from int to char. I converted it but the output is...not expected. Wanting someone to point me in the right direction. I will post the header and driver program of the int stack and then the header and driver of the …

Member Avatar for NathanOliver
0
329
Member Avatar for negru

Can someone explain this code step by step: #include <stdio.h> #define MAX 10 int main() { char niz[MAX][MAX], c = 0; int d = 1, x = 0, i, j; do scanf("%s", niz[x]); while (niz[x++][0] != '0'); { float* pf; int xx, *pi = (int*)&niz[0][7]; xx = ((*pi) & 0x41000000); …

Member Avatar for rubberman
0
195
Member Avatar for chimagreat

![Please I need a help on this. I am working on a C# bible projection application like easyworship (www.easyworship.com). I have a challenge, I want to be able to create a replica of their bible search textbox. It can search bible book, chapter and verse in a single textbox. When …

Member Avatar for ddanbe
0
296
Member Avatar for pdk123

I have a approximate following class class ClassA : public ClassB { void HandleMessages(const u8 *pP, const u16 nMsgBodyLen); static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId; }; When trying to access the map from the HandleMessage, I am getting the linker error, saying the undefined reference to m_mSessionId2CCRNum2DefaultBearerId; Could some c++ experts …

Member Avatar for NathanOliver
0
315
Member Avatar for lewashby

[Linux] I have had a hard time understanding pointers beyond a simple array step through and modifying one address at a time. When I get into pointers to C-structures, C++-objects and classes my head starts to hurt. And that's just to name a few. I find the C syntax `*++p` …

Member Avatar for mike_2000_17
0
434
Member Avatar for dandrews517

Hi all, I'm beginner developer and I want to develop a software telephone in .NET. I prefer C#. After some googling, I started to code in C# using the prewritten VoIP components of [Ozeki's VoIP SIP SDK](http://www.voip-sip-sdk.com). Now I have a simple softphone that is able to make and receive …

Member Avatar for theophil1901
0
672
Member Avatar for Jasdeep11

i was wondering how i would get the total for the numbers of 5-25 and print it out; so it would print out 315; im blanking out for (int a = 5; a <= 25; a++) { int total = 0; total= a + a; Console.WriteLine("total= " + a); }

Member Avatar for ddanbe
0
119
Member Avatar for frisky

I'm using c# on vs2012. I wanna split to video file for a custom time arrange. For Example; my video file length 30 minutes and i want to watching just selection time arrange. (like between 10th second and 45th second.) I dont want to physical new file. My steps for …

Member Avatar for gusano79
0
200
Member Avatar for Nak Machine

can you help me with my program, actually its already ok but my prof.said that me need to put a rendered money and give the the total change,but when you enter a character just like (a,b,c,d,e,f,g etc..) the change will be higher amount i want it to know how to …

Member Avatar for rubberman
0
114
Member Avatar for Bonnie_2

**I want to make some Operating systems like dos in C# but how?** I have Cosmos, but i dont know how to use it. i make some program with C# (I'm already pro) , But with COSMOS i dont know how to do. ( sorry if my english bad :) …

Member Avatar for iamthwee
0
119
Member Avatar for somjit{}

My Program is about Directed Graphs. It reads a list of edges like : `25 589` , and puts 589 into the adjacency list (a linked list) of 25. My input file has about 5 Million such `v w` edges, with about 800K nodes/vertices, for each of which there will …

Member Avatar for somjit{}
0
472
Member Avatar for negru

Hi. I have a question about one function in my program. Write a function that will replace players in a tim. New player gets in the game, and takes the place of one that leaves. Prototype of function is: void replace(TEAM *p,PLAYER newplayer,int num) where second parameter is new player, …

Member Avatar for iamthwee
0
139
Member Avatar for negru

Hi. How to find index of first letter in every word in a string? For example, input string is: Programming Languages. Output should be: 0 12, those are the indexes of letters "P" and "L". I tried different approach, to print those numbers but that didn work. Thanks for the …

Member Avatar for TalhaMoazSarwar
0
184
Member Avatar for negru

Hi. I need help finding the longest word in a string. How to return last longest word if there are two or more words with the same (longest) length? My code: #include <stdio.h> #include <string.h> int main() { char string[100], word[20], max[20], min[20], c; int i = 0, j = …

Member Avatar for deceptikon
0
10K
Member Avatar for sam ss
Member Avatar for zandiago

Good day: My infile contains the following: [CODE] U Apple Pie 1.29 A Bacon Burger 3.45 V Burrito 2.09 S Cheeseburger, Double 3.59 W Cheeseburger, Regular 2.95 Y Chicken Nuggets 1.87 H Chicken Sandwich 3.33 C Chili, Bowl 2.12 X Chili Dog 2.29 N Chocolate Milk 0.98 D Coffee 1.09 …

Member Avatar for NathanOliver
0
9K
Member Avatar for jitendralenka

Hi, Thanks for DaniWeb for its contribution. I was looking for a understandable example to the problem "How marshalling happens when it comes C# from C++ specially for structure", And i am glad that i got a nice example in this forum. However, i am in problem when it comes …

Member Avatar for ddanbe
0
197
Member Avatar for syedarslanrizvi_1

A programmer has no control over data submitted as input to his/her program but does have control over the format of output display. Explain, with brief coding examples, how the precise positioning of data output is possible on the screen for different types of data. State the language and version …

Member Avatar for syedarslanrizvi_1
0
235
Member Avatar for Derorim

So can anyone tell me how to make this I was sick for a long time so Im far behind in school. So: First the customer NEEDS to fill in his first and last name. Then he needs to tell with how many people he comes. Then he has to …

Member Avatar for ddanbe
0
184
Member Avatar for phexee

Okay guys, I have been working on this project for about 2days now and it appears i can't do it as i keep getting errors when i try tp compile the program. Please can anyone help? Sunshine.com is an online children clothing store exclusively for baby and toddler. The store …

Member Avatar for Moschops
0
133
Member Avatar for iainiow

Hi I have some code to re-encode uniface text files in to ANSII for use by a 3rd party application. This code works fine if I create a new text file using notepad, save it as Unicode and run my script. I get a lovely output file in ANSII. When …

Member Avatar for Roshdy_1
0
1K
Member Avatar for TObannion

So here is my WORKING code. My problem lies in the output when I enter "0" or "00" for the hour in 12 midnight. No matter what it still outputs a 0 for midnight. (I want it to convert it to standard time.) I know it is something easy that …

Member Avatar for TObannion
0
236
Member Avatar for latrodectuss.imvu

Hello, I made a program that finds all the words in my .txt file and shows them to the screen, but now I want to make it so that I can pick a word from the .txt file and replace it with something else. For example : teksts.txt has the …

Member Avatar for Moschops
0
11K
Member Avatar for markdean1989

Guys is there any other solution (other than reinstalling my entire Visual Studio) to this component loading problem that I am having. I have just finished reading my C++ book and I am getting ready to start graphics-based C++ programming when I run into this problem. This is the message …

0
71
Member Avatar for markdean1989

I wonder why this program does not do any changes to the text file that I am trying to modify. Scenario: My program uses the Fstream header file, I declared infile as IFSTREAM and outfile as OFSTREAM. I simply want to transfer data from infile to outfile. The data is …

Member Avatar for markdean1989
0
365
Member Avatar for Sune

I have taken an introduction course in C++ programming and I'm now looking for some C++ code example's which I could study before the course final test. I will try to follow the rule: If you would like to be an good authour, read a lot of books by excellent …

Member Avatar for shafiqkuidad
0
390
Member Avatar for nwankpa.daniel.3
Member Avatar for hamza.muzaffar.96

An ATM allows a customer to withdraw a maximum of $2000 per day. If a customer withdraws more than $700, the service charge is 4% of the amount over $700. If the customer does not have sufficient money in the account, the ATM informs the customer about the insufficient fund …

Member Avatar for ddanbe
-1
189
Member Avatar for TObannion

So here is another assignment I am working on. I can't get to my schools computer lab due to family, job, etc. Here is the assignment: Structs file name: lab2.cpp 1. (3 points) Define a struct, named FullName, that contains the following fields: lastname - a string firstname - a …

Member Avatar for rubberman
0
364
Member Avatar for gangsta gama

I have an rpg game that I have been working on for a while, and I cannot seem to get lists set up. I had different classes for different equipment I wanted to use, and I found it hard to set up the lists in those classes, then call it …

Member Avatar for ddanbe
0
178
Member Avatar for Faissalelbarhami

Hii All, i am a begginer at c programming in the first semetser of study, and i am trying to doing my project what is: Diff — The program should compare two text files and list the differences, i.e. lines and columns of the beginning and the end of a …

Member Avatar for Faissalelbarhami
0
392
Member Avatar for GGGraham

This tutorial is meant to be a helpful guide in order to successfully **create a tripwire application in C# which can be used for security purposes.** At the beginning you can find the background information to be fully familiar of the subject of this implementation. After this, we will put …

0
291
Member Avatar for tatendamiriam.mungombe

how to write a c program that allows the user to input grade and get the mark range using the switch statement,and the program only terminates when the user presses the esc key

Member Avatar for Arshad_2
0
124
Member Avatar for 35nando

Hi, I'm looking for a library which provides edge detecion on color image. For example i have an 200x200 color image and i need to a table form it: bool is_edge [200][200]; Where is_edge[x][y] == true when there is edge in pixel [x,y] Sorry form my english, waiting for some …

Member Avatar for Abheek88
0
2K
Member Avatar for jasonjr.hill

I'm working on a SIP softphone but I got the following problem and I have no idea how to solve it: During an audio call, PMCA codec is used primarily. How to setup codec priority to achieve PCMU will be used during the call? I use Windows 7, C# (Visual …

0
56
Member Avatar for PerpyProgrammer

Hello. I would like to learn the C# programming language. Can somebody reccomend a good source?

Member Avatar for abhiT123
-2
198
Member Avatar for mark261511
Member Avatar for Khan2014

Hi, I have some experience in c# and would like to get more experience of C# with sql, because alot of jobs look for databases. Can anyone me recommend any good books or online tutorials for begineers. Thanks alot,

Member Avatar for James E
0
136
Member Avatar for sammis

How to Add a search button in C# after that how to link the searched information to further. for example: if i search name then how can i link the name to photo and other specfic information in new popup box or new form?

Member Avatar for Mr.M
0
127
Member Avatar for doris_3

A variable of type double named area holds the area of a circle. Write a statement to output on the screen the area in two decimal places

Member Avatar for rubberman
-1
134
Member Avatar for fasihahshaharil
Member Avatar for rubberman
0
107
Member Avatar for dvamshi0608

if a function recives 3 pass-by-value parameters, how many actual parameters should be in call statement?

Member Avatar for rubberman
0
176
Member Avatar for brandon66

Hey guys, seems like im doing something wrong here 2 occurs 4198861 times* in an array of size 100, i need another set of eyes if anyone can point me in the right direction #include <stdio.h> //proto void printOccurrence(int countArray[], int countSize); //main int main(void) { //variables int arraySize = …

Member Avatar for Moschops
0
200
Member Avatar for Johnson Antony

Hi I am developing a c# Winforms application using VS 2008 and DevExpress. In one form, I need the some data to be added both in English and Chinese Language. So I placed separate textboxes for both Chinese and English and two buttons on form. one Button click shows Chinese …

Member Avatar for clairestreb
0
497
Member Avatar for Smn

Beginner's question : How is c different from c++? what are the differences? Which one shoul i go for , if i know basic oops (just basics)? **plz provide some genuine answers rather than simply "google"ing ..... I have searched a bit and not yet satisfied.**

Member Avatar for rubberman
0
141

The End.