132,726 Archived Topics
Remove Filter ![]() | |
hi I found from the net that COM exe(OutOfProc server) is used to convert the existing exe. is it means that we can change our apllication's exe to COM exe. is it possible to change our application's exe into COM exe? Also can we use databases while using ATL COM … Software Development windows-server | |
First if I choose A it take the qty and the only number and shows it as the largest. I believe the smallest works correctly but not sure since I get a warning message about it. The warning messages I get are: [code] loop.cpp(67) : warning C4700: uninitialized local variable … Software Development c++ | |
How to execute sound codes in C++ by using external speaker? Could someone please give example code for me(The basic one) | |
Okay what i want to is make a program that when you input text into the textbox and click submit it inputs that same text into a textbox on the website. For example i want the text from my program to put the text into my web proxy so that … Software Development | |
ok, I have a list of numbers and i want to return values in a range that are not in the list of numbers... I'm thinking of something like this: [ number for number in range(1, 10) if != nums ] However, This always prints all the numbers in that … Software Development python | |
I have to take my current code which displays a menu and repeats until the option 'c' is chosen which quits the program. Now I have to modify that same code to include a function for both A and B. The function for A should have the quantity of numbers … Software Development c++ | |
I really need to do this program, so I need ALOT of help. I want the program to output a question asking "Enter John Smith's Bowling Score: ", and that repeated abotu 20 times with Different names. (DO I need to store the names? if so, how?) What the user … | |
Greetings. I'm currently doing a project on Traveling Salesman Problem. But I'm not asking for answers for the whole project. I just started my programming lessons so I hope can get some help from all of you. About this project: Initially you have to read 2 input files, Input1.txt and … Software Development c++ file-stream file-system ![]() | |
I would like to return a connection to a Bean to make statements to mysql database "ccdb" I'm really not sure of [code] public static Connection getConnection(){ if(connection==null){ try{ Class.forName("org.gjt.mm.mysql.Driver"); connection=DriverManager.getConnection("jdbc:mysql://localhost:8084","root","ceyesuma"); }catch(Exception exc){ connection=null;} } return connection; } [/code] Here is the bean to get connected. Should this work? [code] … | |
Hello all, I wondering if anyone could tell me how to go about extracting a single field from a text file. The file is all follows: Jeff 8.00 8.9900 hadk Kim 234.0 234 hak Him 444.8 1.11 john... How would I extract only the first column without using tokenizer or … Software Development java | |
Im trying to figure out how to compute a product of ordered pairs. So if I have two sets (1,3) and (2,4), I want to generate the following tuples (1,2), (1,4), (3,2), (3,4). Now I wrote the following [INLINECODE]def orderedproduct(set1, set2): op=[set()] for x in set1: for y in set2: … Software Development python | |
I have a single line text box, that is wide enough to hold 20 characters and I was wondering how do I make it so that you can keep typing even though it's got 20 characters in it without making it longer and without a vertical scrollbar? I'm sure it's … Software Development api c++ windows-api | |
(I'm not even close to being sure that this is even a valid approach to what I want to accomplish. Still, all input is welcome. What I was trying to do was create an applet that reads): "Please pass the butter." A quote by jack padron ------------------------------------------- Can you think … Software Development java | |
Please can anyone help me out of this problem? I want to know that how can we reboot computer (any OS) using C language? Software Development c | |
Hi, I have a doubt, in the following program, it prints the string returned by throwstring()function. Is the string which the function is returning is local to the function or outside of the function? Can somebody throw light on underlying mechanism.. [code=c] main() { char* throwstring(); printf("%s\n", throwstring()); } char … Software Development c | |
I am trying to read source code of a webpage in C++. I haven't gone too much of a way. Can I read it as a text File?? Software Development c++ | |
Can someone tell me why my data is not printing to my file. It will create the text file but it will not write to it. Here is a snippett: out = new PrintWriter("completeAuto.txt"); while ((car = br.readLine()) != null && (van = br1.readLine())!=null && (truck = br2.readLine()) != null) … Software Development java | |
I'm not entirely new to Visual Basic--I took a class with vb6 a few years ago. What would be the best (and hopefully cheapest!) way to get up to date and learn some new stuff? What books/websites would you guys recommend? Software Development vb.net visual-basic | |
Hi all, I have been struggling with time/date in perl for several hours now and for some reason i get a quirky error. I have an array called "date" 44 elements in length and "time" 44 elements in length. I created this code to convert UTC to localtime (Alaska). But … Software Development perl | |
/*Please help. I'm trying to throw an IllegalArgumentException. *If any test score in the array is negative or greater than 100 *using a try block, but am having little if any progress after 9 hours of work. * I am still getting an error mesage saying illegal start of expression … Software Development java | |
Hi, I am writing a desktop application. It would make my life easier if the application can save all it's data in a database software. Do typical desktop applications come packaged with 3rd party database software or do they rely on internal serialized data structure? If 3rd party database applications … Software Development data-structure java | |
I have another problem. Same dataset as before. I have a huge collection of floats. I have a multi-dimensional list. About 37 per list, and over 60,000 lists. So something like: [[16166.00, 4123.15, ...], [761.1364, ...]]. I'm trying to find the [url=http://en.wikipedia.org/wiki/Euclidean_distance]Euclidean distance[/url] between one list with each of the … | |
I have a simple program with a button and an entry field, and I'm wondering how can I organize them (like they were in a table) so that they don't overlap? I'm using the windows api. I tried searching but I'm not sure what to call this. Software Development api c++ windows-api | |
Hi all, I am in a situation where I don't know much PERL/CGI, but am frantically reading through the learn Perl/learnCGI in 24 hour books. I just got done programing in dbase for some climatology work and now have to switch gears quickly. My mission: to read in a (comma-delimited)web … Software Development perl | |
Hey guys! CAn u tell me if my program is right? First, I need to get a Pkg and validate; Second,get month and validate; Third, determinate max hours; *If FEB; Fourth, get year and validate(1990-2020) check for leap yr. Fifth, get hours and validate against maxhours; and calculate the bill … Software Development c++ ![]() | |
How to write these file datas in the new file...It should be done by wrting bytes into characters import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileNotFoundException; import java.io.IOException; public class fileread { public static void main(String[] args) { File file = new File("E:\\ir_Proj estimate_out.txt"); byte[] b = new byte[(int) file.length()]; … Software Development file-system java | |
Yes, this is homework, but I am trying. The problem is: Simulate coin tossing Program must print Heads or Tails. Toss 100 times and count the number of times each side of the coin appears. Call a function "flip" that takes no arguments and returns 0 for tails and 1 … Software Development c++ | |
Hi guys, I've got troubles with a conversion. My function: void stringFormat (char *input, int nums) receives a string like this: "name;3,45,5,6,77;" and a number indicating how many numbers in the String (in this case 5) I've got to tokenize the string in order to obtain: 1) a string named … Software Development c | |
hi anyone can help me. My problem is when i compile my graphic program using turbo or borland c it does not show any error nor any output the screen show blank. my computer configuration is dual core processor AMD MSI K9n moter board sata hardisk N-VIDIA geforce chip set … Software Development c | |
I am serching referance books or pubs to get into electronic device handling fundementals with c++. Any heads up message would help me out. Thanx for attention. Software Development c++ | |
hi, i have 1 prob. i created 1 desktop database application. which i wanted to deploy on the client machine. my client machine dosent have sql server installed on it , neither .net framework is there. so i used setup and deployment project for creating the setup for my application. … Software Development client-server sql visual-studio | |
I want to develope a project in java . How companies developes projects. What are the different stages in development a project from initial stage to product delivery stage. For example SRS,UML Diagrams(please tell me the articales which are good to know these). Is there any sites which gives sample … Software Development java | |
Hi, I am trying to create a solution in VB.Net (ver 2005). I have created two frames on top of each other and 2 command buttons which will be used to make visible the respective frames when clicked. I have placed the frames exactly on top of each other. The … Software Development vb.net ![]() | |
import java.sql.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class DisplayQueryResults extends JFrame { private Connection connection; private Statement statement; private ResultSet resultSet; private ResultSetMetaData rsMetaData; private JTable table; private JTextArea inputQuery; private JButton submitQuery; public DisplayQueryResults() { super( "Enter Query.Click Submit to See Results." ); String url … Software Development gui java java-swing ![]() | |
So far is what I've got: [CODE] #include<fstream> #include<iomanip> #include<string> #include<iostream> #include<cmath> using namespace std; int main() { float matric = 47.60;//matriculation fee int hrz;//semester hours float regroom = 387.29;//rate for regular room float acroom = 496.49;//rate for AC room float dip = 38.00;//diploma fee float food = 619.66;//rate for … ![]() | |
We're discussing constructors. My problem is this: Define a class called Month that is an ADT for a month with one variable as int to represent a month. Include all of the following member functions: a constructor to set the month using the first three letters in the name of … Software Development c++ | |
I am trying to read a line from a file, then print only the first word in the line. It needs to do this until the end of the file. The file is as follows: Bib 0.9898 .iuiu k.kljlkj .98908 Joel .0909 .iuou k.iopi .jlkj ... I need it to … Software Development java | |
is it possible to find the available logical drives? if so...how? Software Development java | |
Experts we are final year electronic students we are doing a project involving carbidec++ but we have no idea about it we only know about turbo c++.so please guide us fromthebasics of carbide c++ Software Development c++ | |
I'm getting a the error "passing arg1 of 'strcpy' makes pointer from integer without a cast.... [code] #include<stdio.h> #include <stdlib.h> struct node { char make; char model; int year; char color; char plate; struct node* next; }; void menu(); void insert(struct node** head, char make, char , int, char, char); … Software Development c | |
Hi, I'm trying to figure out how to do this assignment, but I don't even know where to begin. This is a beginning project, all I know is arrays are not allowed. Can somebody get me started? The assignment is.. In cryptarithmetic puzzles, mathematical equations are written using letters. Each … ![]() | |
I'm writing a simple program that would assign each letter and several symbols to a randomly generated 8bit binary pattern. I want to take a rand() #, convert it to a 1 byte binary number, and store that number as a string in one row of a two dimensional array/vector. … Software Development c++ | |
I made a macro to sort a form and it works fine as long as every thing that it searches for is there to find. If not it times out waiting for an event. I do not know VB, The only reason I put the [ ] around [rcEnterPos, "30", … Software Development session visual-basic windows-10 | |
Hello everyone. This if my first post on the forum, and hopefully my last asking for help on an assignment. I've picked and picked at this, and now I'm going insane. I've edited this one too many times, so now I figure its one of three things. My entire approach … Software Development java | |
hi guys, i know this might look like a n00b's homework assignment - but it aint, im studying VB for myself. Im trying to do this tutorial over here, cuz everybody said it's good [URL="http://www.profsr.com/vb/vbless04.htm"]http://www.profsr.com/vb/vbless04.htm[/URL] Prob is when i try to press the confirm button, error message pops up saying … Software Development visual-basic | |
So i have an assignment to take two input files and combine into one output file in alphabetical order. Example File1.txt Adam B Exam 80 Jane D Exam 87 Tom G Exam 77 File2.txt George S Exam 99 Bob C Exam 67 Output.txt Adam B Bob C George S Jane … Software Development c++ | |
I have been asked to create a system where that can rate colleagues with colours the colours are as follows starting with the highest first Gold Silver Bronze Blue Orange Black the colleagues all will start on Orange. now the tricky part. If the colleague sells a quantity of 4 … Software Development vb.net | |
Hi, I hope to find the solution here.... I want my app to minimize to tray and to use tooltip icon (in systray) for some info for the user. I've tried to find some source code for this but it seams that no one wants to share "the secret". I … |
The End.