132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abhey_1998

Hi, I am in need of writing a shell script to read, database table and email the results to a list of users. Please let me know if I could provide further info. Please assist. Thanks, -Abhey

Software Development shell-scripting unix
Member Avatar for abhey_1998
0
126
Member Avatar for crabs_crab

I Want To Make Programme Such That I Make The Programme In Two Sockets One For Client Other For Server, A Server Establish A Connection With The Client, Then Client Has To Enter Username Either John Or Jammi Then The Password For The Username Any Of The Above, Please Tell …

Software Development client-server java
Member Avatar for jwenting
0
102
Member Avatar for Noliving

Alright basically I have an assignment due at 11:59 pm tonight and so I would appreciate all the help I can get. I have code that I wish for those to look over and see if its correct I also have a question about some of the questions and whether …

Software Development java
Member Avatar for Noliving
0
229
Member Avatar for roelandt

Hi I'm new in python and i'm do not understand why my code is not working. I want to generated random figures with this code: import random import division a1 = '' a2 = '' def zufallsZahl(a1,a2): a1 = random.randint(1,10) a2 = random.randint(1,10) print a1, a2 s1 = [a1, a2] …

Software Development python
Member Avatar for woooee
0
102
Member Avatar for Jboy05

Write a function that takes one argument of type double and that function returns the character value ā€˜P’ if its argument is positive and return ā€˜N’ if its argument is zero or negative? Help please Thank you Much :)

Software Development c++
Member Avatar for kemkizal
0
88
Member Avatar for wollacott

can anyone help me? Write functions to: int isprime(int); /* Returns a true value if a is a prime number */ int nextFib(); /* Returns the next fibonacci value (use static variables to track which one was used last call) */ The fibonacci sequence is defined as: Fib(0)=1 Fib(1)=1 Fib(2)=Fib(1)+Fib(0) …

Software Development c
Member Avatar for DangerDev
0
78
Member Avatar for cosmos22

Hello, I was wondering how I could go about hiding the command window during the execution of an application. If this is not possible, then how could I prevent the closing of the command window when the application is running again. For example, clicking on the close window button in …

Software Development c++
Member Avatar for Duoas
0
1K
Member Avatar for Somerville

Hey, im new to programming and i am using Teach Yourself C++ in 21 Days ([url]http://newdata.box.sk/bx/c/[/url]) to help me, but when i make the code for the "hello world" i dont no how to compile it and link it, im using crimson editor and i downloaded Borland C++ compiler and …

Software Development c++
Member Avatar for wamuti
0
105
Member Avatar for pbosek

I am using VBA to work with excel files. The code allows the user to select files, processes them and gives the req data from input files in Excel workbook. After ptocessing, the excel file will be set visible for the user and the objects are also set to Nothing. …

Software Development visual-basic
Member Avatar for techniner
0
191
Member Avatar for torbecire

I am supposed to write a program to show all possible color combinations, but I am having problems. It will give me all 256 colors, but not in all possible combinations. Here is me code. [ICODE] include irvine32.inc .data colors byte 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 .code main PROC mov ecx, 16 mov esi, …

Software Development assembly
Member Avatar for Duoas
0
187
Member Avatar for kux

hello, does anyone know if I can write a macro that takes a number as argument and according to that number declares a variable number of functions ? ex: DEFINE_FUNC( 4 ); is replaced with void func_1(); void func_2(); void func_3(); void func_4(); thx

Software Development c++
Member Avatar for vijayan121
0
185
Member Avatar for jaffo

I am trying to read data from a sequential file into an array. Here we are again at the old mortgage program. I have been doing some searching and can't seem to find the correct syntax to read the data into an array that can later be used. So the …

Software Development c c# c++
Member Avatar for jaffo
0
224
Member Avatar for rohit83.ken

hello frnds is there any way or any software available to produce c/c++ code from the flowcharts or, pseudocodes or ,algorithims can any one provide the links or any information prethanks to helper

Software Development c++
Member Avatar for ithelp
0
108
Member Avatar for srinivasrk

I am developing one intranet application. i want to get the windows login username to log into my application. because i want to check whether the same user is logging into the application or not. i worked on using req.getRemoteUser() but it is returning null. i am using the server …

Software Development java windows-server
Member Avatar for stultuske
0
395
Member Avatar for Ankita B

Hi,I wish to make a configuration file for db connection parameters. I read about properties file.I have made a properties file that contains the following info--- String jdbcDriver="oracle.jdbc.driver.OracleDriver"; String connectionURLThin="jdbc:oracle:thin:@ hostname:AIPUAT1"; String DbUserId="abc"; String DbUserpassword="abc"; and saved it as DbConnection.properties. i have also made a java file that uses these …

Software Development file-system java java-jsp oracle
Member Avatar for Ankita B
0
141
Member Avatar for Nyx18

i am creating a program where im trying to read in a data from a file into 4 different arrays by using a class but im having trouble with the syntax of it. does anyone know some good sites that can help?

Software Development c++
Member Avatar for mitrmkar
0
116
Member Avatar for Sawamura

there are a way to clean all file with vb? Best regards.

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
147
Member Avatar for Ankita B

Hi, I have written a piece of code to add site for my web based application.If the site entered is already present then flag should be false and it should exit from function. If new site id is not present in db then flag should be true and addtion must …

Software Development java
Member Avatar for stultuske
0
145
Member Avatar for stkarnivor

I just started learning C++ for a computer class at my highschool. I started learning about "if" and "else" statements so i wrote a program around that. It calculates the average GPA for the semester or total (if you want it to). It also factors in AP and Honors points …

Software Development c c# c++ ios
Member Avatar for stkarnivor
0
115
Member Avatar for Jboy05

What kind of function do I need to used to change an employee's salary when given the old salary of the employee and the amount of increase for that employee (parameters). (i.e. function with no return value and no parameter, function with no return value and call-by-value parameters, function with …

Software Development c++
Member Avatar for VernonDozier
0
81
Member Avatar for pythoxine

what is the best language-related python library, with support for spell checking (aspell?)?

Software Development python
Member Avatar for vegaseat
0
79
Member Avatar for Raju5725

Hi All, How can I Change Local Machine IP Address without rebooting the machine using VB.Net. As I want to shift from one IP address to another IP address with application the effect should take place without rebooting the system. Thanks in advance. Raju

Software Development vb.net
Member Avatar for SolTec
0
100
Member Avatar for defaultAZN

hey, I'm trying to code a program that will accept a text file input for the dimension and elements of a matrix and store that to an array. Then the program will calculate the determinate of the matrix and output it to both the console and a file. I'm having …

Software Development c++ ios visual-studio
Member Avatar for vmanes
0
146
Member Avatar for rhinocort23

i am in severe need of help right now, anyone who has an idea, throw it out. i have visual studio .net 2003 just in canse it makes a difference. i am still working on my classes special project and am a lot closer. right now i have it look …

Software Development vb.net visual-studio
Member Avatar for SolTec
0
104
Member Avatar for Xooku

Hello there, I have a ā€œloadā€ event on a startup form with a notifyicon that starts a timer on another form to execute code at a given time from settings in My.Settings. This works well. Then I make use of a login form to stop the timer and load the …

Software Development vb.net
Member Avatar for SolTec
0
125
Member Avatar for successalways

Private Sub cmdLogin_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles cmdLogin.Click 'Declare connection string and assign 'a value to it. Dim str1 As String = "Data Source=PROSERVER;" & _ "Initial Catalog=SqlMagMemberApp;" & _ "Integrated Security=SSPI" 'Instantiate a connection. Dim cnn1 As SqlClient.SqlConnection = _ New SqlClient.SqlConnection(str1) cnn1.Open() 'Declare …

Software Development open-source session vb.net
Member Avatar for SolTec
0
556
Member Avatar for nowitzk

How would you disable the ctrl, alt, delete, windows, and tab keys? Thanks

Software Development vb.net
Member Avatar for SolTec
0
369
Member Avatar for neelunova

I am using itext to create a pdf file for slovakia in java ,and after the pdf is created some characters are not displayed properly.I am using cp 1250 as charecter set and ARIALUNI.TTF file for font.How do i resolve the problem?

Software Development java pdf
Member Avatar for neelunova
0
81
Member Avatar for dexter1984

[CODE= cpp] #include <iostream> #include <ctime> #include <cstdlib> #include <iomanip> #include <fstream> using namespace std; const int MAX = 51; const int setArray = 5; float initialArray[MAX][setArray]; void createRationalNo (int, int); float RationalInfo (float[][setArray], int); void printArray (float[][setArray], int); int main() { cout << "No\tP\tQ\tQuo\tRem\tValue\n\n"; srand(time(NULL)); int setPQ = 2; …

Software Development c++ file-system ios
Member Avatar for dougy83
0
115
Member Avatar for chocl8drop

I need some assistance in getting this program to perform correctly. It's suppose to take a sentence, break it up and return each word in pig latin. Right now, the program takes a sentence such as Jump start your morning and it returns Jumpay startay youray morningay. It should return …

Software Development c++
Member Avatar for John A
0
116
Member Avatar for G-Do

Hi all, I added a new script to the code snippets page. This time, it's a logic puzzle called "Petals Around the Rose." The goal is for you to infer what algorithm is being used to "score" rolls of five colored dice without peeking at the code. The snippet is …

Software Development algorithm puzzle python tkinter
Member Avatar for jrcagle
0
198
Member Avatar for griproller

I am making a cd key replacer that will input the new cd key, change the key into base 24 then hex, and put the key into the registry. I am trying to figure out how to go from decimal to base 24 (I go to binary along the way). …

Software Development c++
Member Avatar for griproller
0
105
Member Avatar for Jennifer84

I have 2 strings, Text1 and Text2 below. What I am trying to do is to put these to a new string(Text1and2) so that string will contain this: "One,Two" I have began on some code and wonder if I am on the right track here. Later I will push_back it …

Software Development c++
Member Avatar for Jennifer84
0
140
Member Avatar for rowdy12

hi ..i am also new in this field how to improve my C++ skill ..give some test ..i wanna impvrov my skill.......... Regards Raju

Software Development c++
Member Avatar for technogeek_42
0
114
Member Avatar for Markp87

My VB code needs to copy a file from one location to another, and I can do this with FILECOPY just fine. What I'd like to do though, is invoke the Windows copy function, so that the user gets the whole 'transfers in progress' experience. Is there a way to …

Software Development visual-basic
Member Avatar for Markp87
0
94
Member Avatar for stlmac

I have to do a birthday project for by c++ class that allows the user to enter a birthay and dislay information about that birhday including the birhstone, astrological sign and the season which the birthday occurs. The main menu of the program should allow you to enter a persons …

Software Development c++ ruby
Member Avatar for stlmac
0
119
Member Avatar for muppetjones

I have tried debugging and optimizing this code, yet I cannot find the source of this error to save my life. I am getting a 'floating point exception' when I run the code pasted below. I am running with 'use strict' and 'use warnings'. My program takes a sequence and …

Software Development open-source perl
Member Avatar for muppetjones
0
105
Member Avatar for Jugortha

I developed a C# application that treats text files like a block note or word within Visual Studio 2005 and I want to add it to the right click event of the mouse so that if I set a focus uppon a text file in the desktop for example and …

Software Development visual-studio
Member Avatar for Jugortha
0
105
Member Avatar for jimJohnson

I have a problem with a lab. I need to write different set of programs with strings. The different things I need to figure out for ouput are the capital letters, what each word starts with, the punctuation, etc. Can anyone at least help me get started?

Software Development c++
Member Avatar for Dave Sinkula
0
124
Member Avatar for cosmos22

Hello, I am creating a program that opens and closes your CD drive repeatedly, and fixes your mouse position. I have created an initial while condition that loops the opening and closing of the drive. I was wondering how I can introduce a second infinate loop, fixing the position of …

Software Development c++
Member Avatar for cosmos22
0
85
Member Avatar for winky

Hey all, I am currently learning about socket programming in my Networking class. Our teacher gave us an example of a server class for it, and while I was trying to build it I came across the error of it not being able to identify socklen_t. I am guessing that …

Member Avatar for fida hussain
0
159
Member Avatar for AMARJEET DUA

I Am Working On A Project Related To Data Compression Using Huffmann Algorithm In C Language..........i Have Generated The Huffmann Codes Using Huffmann Tree.........but The Project Is Yet To Be Completed As I Don`t Know How To Store The Codes In Bits.............i Have Just Learned C. We Have To Submit …

Software Development algorithm c
Member Avatar for Narue
0
147
Member Avatar for yashwanta

I have to write a programme. Whic is like this: You are write a program whcih uses the quadratic equation to solve second-order polynominal. wchich is a x**2 + b x + c =0 and use the quadratic equation, when given value for the coefficient a, b and c, to …

Software Development perl
Member Avatar for KevinADC
0
94
Member Avatar for nish88

hi..... i want to make a simulation where it start with 1 dot and its continues to propagate like the figure below. [B] . inital dot ... ...... ........ [/B] can anyone please tel me how to do it or give me the pieces of codes needed to do this …

Software Development python tkinter
Member Avatar for BearofNH
0
109
Member Avatar for cosmos22

Hello, I have downloaded some coding off the internet and modified it to suit my needs. It opens and closes the CD drive ONCE. And I would like to make it do so an infinate amount of times. [CODE]#include "windows.h" #include "winioctl.h" #include <string> using std::string; int main(int argc, char* …

Software Development c++
Member Avatar for Agni
0
240
Member Avatar for roselaiza

Please help me in resolving my problem, I'm doing this in Crystal Report. I want to make a total field for each page that mean for one page. It has one total field for it but I can not formula to reset my running total field with it go to …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
69
Member Avatar for Mikhail508

I'm trying to program a PIC16F886 as a I2C slave device using the code from Microchip application note AN734. I've compiled this example source code using MPLab 7.6 and flashed my PICmicro with the image. Now I am trying to talk to the chip using the AARDVARK I2C/SPI TOTAL PHASE …

Software Development assembly gui
0
100
Member Avatar for avadhut_ekal

I want play media file through visual basic 6.0 I don't know about that controls for playing any media file

Software Development visual-basic
Member Avatar for Jx_Man
0
46
Member Avatar for markx_018

hi.. i am a newbie programmer taking up computer science and a freshmen...and i don't know on how to make an autocomplete codes in a combo box..in where u can easily type down the letters or words, and the combo box will automatically find that letters or word even if …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
113
Member Avatar for iced98lx

Hi All- I've been browsing for a while but finally had to sign up to ask a question. I'm working on a little project that pulls data from a few places, Active Directory, ADAM, and an Informix Database. I've got my ODBC drivers installed and I've got my Data source …

Software Development c c# c++
Member Avatar for iced98lx
0
122

The End.