132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chait_anya

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
Member Avatar for chait_anya
0
105
Member Avatar for AllenN

Just finished going through C in easy steps and reading C in Jensens and now I am going on to C++ and as I am a slow learner and I need to understand before I can learn or do things, it suddenly hit me while reading and doing Schildt C++ …

Software Development c++
Member Avatar for AllenN
0
209
Member Avatar for wicked357

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++
Member Avatar for Rashakil Fol
0
125
Member Avatar for mujahid_zfr

How to execute sound codes in C++ by using external speaker? Could someone please give example code for me(The basic one)

Software Development c c# c++
Member Avatar for Sturm
0
56
Member Avatar for SiPexTBC

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
Member Avatar for SiPexTBC
0
72
Member Avatar for rjmiller

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
Member Avatar for rjmiller
0
102
Member Avatar for wicked357

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++
Member Avatar for wicked357
0
123
Member Avatar for annagraphicart

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 …

Software Development c c# c++
Member Avatar for Sturm
0
149
Member Avatar for sycc2172

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
Member Avatar for iamthwee
0
944
Member Avatar for ceyesuma

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] …

Software Development java mysql
Member Avatar for ceyesuma
0
185
Member Avatar for KimJack

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
Member Avatar for ~s.o.s~
0
122
Member Avatar for OLer94

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
Member Avatar for OLer94
0
143
Member Avatar for curt22

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
Member Avatar for curt22
0
90
Member Avatar for Notsogood.java

(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
Member Avatar for lookof2day
0
129
Member Avatar for jainam2209

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
Member Avatar for Ramy Mahrous
0
125
Member Avatar for gplkrsna

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
Member Avatar for Narue
0
150
Member Avatar for yassar

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++
Member Avatar for vijayan121
0
214
Member Avatar for KimJack

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
Member Avatar for peter_budo
0
190
Member Avatar for thatsmystapler

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
Member Avatar for thatsmystapler
0
82
Member Avatar for DaveHammer

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
Member Avatar for KevinADC
0
94
Member Avatar for CurtisBridges

/*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
Member Avatar for peter_budo
0
441
Member Avatar for ryy705

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
Member Avatar for ryy705
0
197
Member Avatar for grahhh

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 …

Software Development dataset python
Member Avatar for grahhh
0
149
Member Avatar for curt22

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
Member Avatar for curt22
0
122
Member Avatar for DaveHammer

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
Member Avatar for DaveHammer
0
142
Member Avatar for leolima

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++
Member Avatar for iamthwee
0
118
Member Avatar for abar_sow

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
Member Avatar for abar_sow
0
140
Member Avatar for rdanda

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++
Member Avatar for rdanda
0
357
Member Avatar for BigFormat

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
Member Avatar for BigFormat
0
159
Member Avatar for siddharthrainit

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
Member Avatar for Colin Mac
0
165
Member Avatar for Journey:Start

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++
Member Avatar for Journey:Start
0
89
Member Avatar for chait_anya

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
Member Avatar for JerryShaw
0
85
Member Avatar for sasidhar1229

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
Member Avatar for sasidharnet
0
171
Member Avatar for mohanme_2001

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
Member Avatar for iamthwee
0
170
Member Avatar for Renzokouken_22

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
Member Avatar for iamthwee
0
222
Member Avatar for zandiago

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 …

Software Development c c# c++
Member Avatar for iamthwee
0
2K
Member Avatar for Duki

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++
Member Avatar for Duki
0
141
Member Avatar for KimJack

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
Member Avatar for KimJack
0
86
Member Avatar for claudiu_is

is it possible to find the available logical drives? if so...how?

Software Development java
Member Avatar for Ezzaral
0
127
Member Avatar for pmahalakshmi

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++
Member Avatar for vijayan121
0
98
Member Avatar for Ballar32

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
Member Avatar for Ballar32
0
267
Member Avatar for jessemr

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 …

Software Development c++ puzzle
Member Avatar for iamthwee
0
256
Member Avatar for SurviBee

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++
Member Avatar for SurviBee
0
88
Member Avatar for countryboyz

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
Member Avatar for Prozeen
0
251
Member Avatar for DeadJustice

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
Member Avatar for DeadJustice
0
105
Member Avatar for nobody2ph

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
Member Avatar for Dell XPS
0
573
Member Avatar for cspivey

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++
Member Avatar for jusakman
0
150
Member Avatar for mnoory

hello guys i want to run asp code in my xp home edition i dont have any iis sever what should i do ?

Software Development asp vb.net
Member Avatar for hollystyles
0
115
Member Avatar for partyanimal

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
Member Avatar for preetham.saroja
0
107
Member Avatar for badMF

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 …

Software Development delphi pascal
Member Avatar for delphidabbler
0
431

The End.