8,298 Topics
![]() | |
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 = … | |
How to make a tool to remove temporary files using C#.net? From where, we have to start..Please help.. | |
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..???? | |
Hey all, I want to learn C programming . Can you please guide me? (From where the software to be downloaded, Tutorials etc.) Thanks Akhila | |
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 … | |
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 … | |
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); … | |
![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 … | |
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 … | |
[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` … | |
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 … | |
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); } | |
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 … | |
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 … | |
**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 :) … ![]() | |
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 … | |
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, … ![]() | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
Hello. I would like to learn the C# programming language. Can somebody reccomend a good source? | |
How to copy Table1 data from client to server database in LAN connection? | |
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, | |
if a function recives 3 pass-by-value parameters, how many actual parameters should be in call statement? | |
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 = … | |
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 … | |
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.** |
The End.