132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jeevsmyd

hi,I am an amateur c programmer.I am using turbo c++ v3.1 compiler. here is a simple program to input and display name and address.. There are two problems in my program 1) telephone number is too long for int and it displays some weird value.. so i tried long int, …

Software Development c
Member Avatar for Adak
0
113
Member Avatar for renoua

Hello, I have a xml file which has 106 books.. I xsl tranformed it and here: [CODE]<xsl:value-of select=" bioghist/bioghist/chronlist/chronitem/date"/> [/CODE] is the date every book was created with that format: ddmmyyyy how can i add slashes? and make it like that dd/mm/yyyy ?? thanks in advance :)

Software Development xml
Member Avatar for awofesof
0
3K
Member Avatar for perfectedhost

Hello, Im creating a programme in access. Its not going to be so i need a license software. Can you build them in vb? Like. If the user enters in a key it checks the server and if it allowed then it activates the software if not then it says …

Software Development visual-basic
Member Avatar for kinwang2009
0
90
Member Avatar for kreig12

currently i am creating a project with LAN based connection. Please show me some sample codes for the winsock control in Visual Basic 6[code][/code]

Software Development visual-basic
Member Avatar for kinwang2009
0
234
Member Avatar for shirmaster

I made this code and i dont know what to do with my warning in calling function calc() inside the function getOption(). What should i do? need some little help here. [CODE]#include<stdio.h> void getOption(); void getData(int *num1, int *num2); void calc(int option, int num1, int num2); float add(int num1, int …

Software Development c
Member Avatar for shirmaster
0
103
Member Avatar for atifjatt
Member Avatar for atifjatt
0
141
Member Avatar for laptop545

hello all, Can any please help me in this : I have a form , in a website which has : year : text box Photo : type ="file" Submit button. Now, if any user enters the year, and uses the browse button to select any photo, and then clicks …

Software Development image vb.net
Member Avatar for prashantchalise
0
104
Member Avatar for rahilameen

hi i am a new memeber of this group. i am developing a web application which inserts customers details into databse when customer inserts his details on the web page. i need help regarding code to connect MSAccess database in ASP.NET.means if user inserts the details the details should get …

Software Development asp asp.net
Member Avatar for msubash78
0
1K
Member Avatar for jonniebl

I have created a vb application that uses "shell" to run another vb application that uses a webbrowser to navigate to a web site and then sign in to the site and collect information for use in the original application. I built the browser application to execute the navigation automatically …

Software Development vb.net web-browser
Member Avatar for GeekByChoiCe
0
178
Member Avatar for litlemaster

[CODE]SqlConnection connection = new SqlConnection(); connection.ConnectionString = "Data Source = kumar\\SQLEXPRESS; Initial Catalog = phonebook; Integrated Security = TRUE"; connection.Open(); SqlCommand cmd = new SqlCommand("Select * From contacts", connection); SqlDataAdapter adp = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); adp.Fill(ds, "contacts"); comboBox1.DataSource = ds.Tables["contacts"]; comboBox1.ValueMember = "phone"; comboBox1.DisplayMember = "name"; …

Software Development dataset open-source
Member Avatar for litlemaster
0
273
Member Avatar for LevyDee

So I guess I'm curious, what are DLL's(Dynamically linked libraries right?), and what are they used for and why? And what exactly is a kernal? Its a program that communicates between software and hardware right, and would a regular programmer ever right a kernal program?? I'm just looking for a …

Software Development c++
Member Avatar for Ancient Dragon
0
207
Member Avatar for khiawyen

My project currently takes 16 minutes to compile. Is there anyway that I can reduce the compilation time significantly?

Software Development c++
Member Avatar for Ancient Dragon
0
222
Member Avatar for seanvitalaim

Hello everyone. I am very embarrassed to post my code cause some might think it is horrible since my experience level is low. But I am having a problem. First I want to add that i have tried placing [CODE]import java.lang.String[/CODE] in the code but no go. Thanks in advance …

Software Development java
Member Avatar for NP-complete
0
151
Member Avatar for shankarz

while scanning string we won't use ambers '&' why??

Software Development c
Member Avatar for kings_mitra
0
105
Member Avatar for kheyzee

how can i move images? and then if the image i move is not equal to the other image it returns back to its place?thanks.!

Software Development visual-basic
Member Avatar for vb5prgrmr
0
118
Member Avatar for Buffalo101

Hello, everyone. I'm trying to learn MFC so I can create GUI's for a few projects I have in mind. I could really use your help with a few basic problems. I'm attaching a screenshot of my appointment book main window and the other dialog that shows after the ADD …

Software Development c++ gui linked-list
Member Avatar for LevyDee
0
102
Member Avatar for Member 785440

I Want the Sum of column in textbox using vb6 and access After Entering Dates in FromDate And To Date The Sum Of Column BalanceAmount Between These Dates Should Appear in Textbox2

Software Development visual-basic
Member Avatar for vb5prgrmr
0
80
Member Avatar for Member 785694

On click of the following button it is suppose to call a sub function (either searchdepartment or searchname) the issue is: When searchname is called it returns the following error [B][COLOR="Green"]-2147467259 (80004005)[/COLOR][/B]) Private Sub cmdcheck_Click() button = "cmdcheck" If cbodepartment.Text <> "" And cbodepartment.Enabled = True Then searchdepartment ElseIf cboname.Text …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
503
Member Avatar for Denjoy

I am trying to install Visual Basic 6.0 Enhanced Edition on Windows Vista Home. I keep getting and error that reads: "This software is not compatible with this version of Windows" I beleive the Visual 6.0 is compatible with 32 bit windows operating system and my windows vista is a …

Member Avatar for vb5prgrmr
0
626
Member Avatar for maira74

hi i have a question about C++. if anybody could pplease help me out id highly appreciate it. this is what i am trying to do and honestly I have no idea how to do it or how to go about it: Write a C++ program that does the following. …

Software Development c++
Member Avatar for p@rse
0
122
Member Avatar for chris con

Hi All, First let me tell you my scenario. I am a technician at a secondary school. We have a medium sized network with AD, running server 2003 and XP clients I am trying to create a very simple VB6 executable that will reset a students password and force a …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
505
Member Avatar for Codname47

node &getNode(int index) { //NOT TESTED if (index <= getLength() || index >= 1){ temp = new node; temp = head; for (int i=index-1; i>0; i--){ temp = temp->next; } return &temp; } } Hi everyone, I receive this error msg: invalid initialization of non-const reference of type 'node&' from …

Software Development c++
Member Avatar for mrnutty
0
116
Member Avatar for jrayborn66

How would I write this? I am new to C++ and am trying to write this but don't really have any idea how? I tried to outline it first so I could do it step by step, but now that I have outlined it I am stuck one how to …

Software Development c c# c++
Member Avatar for LevyDee
0
208
Member Avatar for Angelaa

Hello, I have a program I am writing to count the number of integers (as well as the individual digits) in a file. I feel I'm close but I'm not quite there so any insight would be helpful. I'll only post the segments of code relevant to where I need …

Software Development c++
Member Avatar for Angelaa
0
113
Member Avatar for BLKelsey

Hello all, Got a small problem I'm trying to figure out an obscure error (to me). What I'm trying to do is implement error handling with a loop count within a while statement for two sets of Menus in my Hangman game. Perhaps you all can lend me hand in …

Software Development c++
Member Avatar for BLKelsey
0
184
Member Avatar for hudasntpay

hi...can anyone give advice, tips, on how will i come up in developing the antivirus software coz i dont have any idea. im kinda new with assembly language and i haven't tried using the it. i have a hard time learning it. please give me some guide, advice or tips …

Software Development assembly
Member Avatar for MosaicFuneral
0
235
Member Avatar for empror9

hello guys and hope you are fine :) please take a look to this code [CODE]#include <iostream> using namespace std; int sum(int num1,int num2, int sum1){ cout <<"Please enter two numbers:"; cin >> num1 >> num2; sum1 = num1 + num2; cout << sum1; return 0; } int div(int num3,int …

Software Development c++
Member Avatar for empror9
0
133
Member Avatar for Orion2k

[CODE] #include <iostream> using std::endl; using std::cout; using std::cin; int main() { long long i=0, j=0,k=0,m=0; cout << "which primary number you want to get .? " << endl; cin >> k; bool isPrime = false; cout << "Prime Number : " << endl; for(i = 2 ; i<= 999999 …

Software Development c++
Member Avatar for mrnutty
0
120
Member Avatar for PythonNewbie2

I need a function which can take in a variety of time formats like "05/26/1999" and "02/14/2010 12:44" and convert them into this format: May-26 or Feb-14. I've tried to do this, but without success. Here's the code I tried (with some prints included for debugging purposes): [CODE] #Function for …

Software Development python
Member Avatar for snippsat
0
176
Member Avatar for PythonNewbie2

I need to do CSV parsing and I was wondering if this is possible with python and where I should go to learn how to code this script or get help. Let's say I have a CSV file with 20 rows and 4 columns. I need to: -Strip out the …

Software Development python
Member Avatar for PythonNewbie2
0
141
Member Avatar for Duki

Hey everyone, I have a label that gets data from a database and uses that as the .Text field. I want to compare this .Text field with an integer value, but I can't convert the text. The value I'm trying to convert to integer is "25,000". Here's what I've tried: …

Software Development
Member Avatar for Lusiphur
0
441
Member Avatar for cableguy31

I am trying to write a script that can accept multiple options. The issue that I'm having is some of the potential input will be search criteria. The syntax would be: script [list of patterns] [-t seconds] [-n count] All of the arguments are optional. So far, my thoughts were …

Software Development shell-scripting
Member Avatar for edup_pt
0
235
Member Avatar for 404

Hi , I need help because I would lik a timer of 1 minute in one of my forms, and when that timer reaches zero, it would automaticly resume to the next form. Any help would be greatly appreciated!

Software Development vb.net
Member Avatar for dghervas
0
3K
Member Avatar for johndoe77

Hi, Long time lurker, first time poster! Basically here is my assignment, number 3 [url]http://books.google.com/books?id=20xVrpISzoYC&lpg=PA27&ots=llLlOPBIRL&dq=cout%20%3C%3C%20%22this%20is%20Exercise%2016.%22%3C%3C%20endl%3B%20%20%20%20cout%20%3C%3C%20%22In%20C%2B%2B%2C%20the%20multiplication&pg=PA638#v=onepage&q&f=false[/url] and so far here is what I got, and I really am stuck on this, if you can help would be great: [CODE]#include <iostream> #include <string> #include <iomanip> #include <list> using namespace std; struct menuItemType …

Software Development c++
Member Avatar for Fbody
0
123
Member Avatar for dczen

I have an application that loops through files and moves them to their respective folder. if a file already exists in a folder, I need to append a letter to the filename: myfilehere.txt will become myfilehere_a.txt and if it comes in again, myfilehere_b.txt the error is on the increment. nothing …

Software Development
Member Avatar for Lusiphur
0
96
Member Avatar for yasin.mr

hey guys how do i change the value in a JLabel when a value in the JComboBox changes, example when i change a combo box value from airplanes to cars, the value in jlabel changes from $100k to $10k. thanks.

Software Development java
Member Avatar for JamesCherrill
0
99
Member Avatar for seanvitalaim

Is there a way to create a certain number of double variables based on user input. For example a user has three cars so when asked by the software how many vehicles he has and he enters the number 3 my software will create 3 double variables named car01, car02, …

Software Development java
Member Avatar for JamesCherrill
0
221
Member Avatar for Mr Programmer

I made a form with only 1 Button. I want that when i click that button, 2 more buttons should be appeared. Example: Button1 is clicked. Button2 and Button3 are displayed. I have named Button1 as Scan. When i click on Scan, the Button2(Pause) and Button3(Stop) should be displayed. When …

Software Development gui vb.net
Member Avatar for Mr Programmer
0
240
Member Avatar for litlemaster

Dear friends. hello i have to select multiple contacts from database. How should I retrieve data so that the user can select any contact with the help of checkboxes? DataGrid is not the right choice I guess..! Is there any other way...? Please please reply...!

Software Development
Member Avatar for litlemaster
0
76
Member Avatar for oneml

Hi I am getting a Runtime error when I debug this code. Could someone lend a helping hand? It will be very much appreciated.[code]#include "stdafx.h" #include<iostream> using namespace std; void main(int argc, char* argv[]) { const int SIZE = 9; int numbers[SIZE]; int counter; int temp_swap=0; counter=0; cout << "This …

Software Development algorithm c++
Member Avatar for mrnutty
0
261
Member Avatar for appunu

I new to python . I created the one console application in python for that i used two data bases IBM_DBI and POSTGRESQL8.4. I converted the console application into windows exe for that i used py2exe. It is created, while running the exe it coudn't connect with DB2 data base …

Software Development python
Member Avatar for TrustyTony
0
995
Member Avatar for johnnyturbo3

Hello all, I'm having a problem with my program when I try to compile it. It shows the message in the thread title along with a method it doesn't like: extensionRemover(). I've Googled the problem but they were all related to the header file and use of multiple classes. Where …

Member Avatar for johnnyturbo3
0
703
Member Avatar for pyguy25

I have another string dilemma. I am asked to write a program that counts the number of words in a sentence entered by the user. This is what I have right now, although I don't think that it is anywhere near being correct: [code] import string def main(): print "This …

Software Development python
Member Avatar for j6m8
0
274
Member Avatar for Duki

Hey everyone, I'm not sure where I should be posting this - if a mod finds a more appropriate form, feel free to move it. I'm trying to figure out how to not only require .Net 4.0 with my installation package, but in the case 4.0 isn't installed already have …

Software Development asp.net
Member Avatar for Duki
0
152
Member Avatar for jeevsmyd

Here is a program to find the sum of n numbers entered .. I have done this programme in c++ but now I was asked to do it using c.. there is some error with the program.The basic array input ,display thing itself is not working.. Kindly help me .. …

Software Development c
Member Avatar for jeevsmyd
0
117
Member Avatar for heinzw

Hi, I am using a FILE to write a protocol of the program execution which I will be using in case of crashes. Whenever I write a message to the file I open it [CODE] if ((mfdprot = fopen(protfile, "a")) == NULL) { [/CODE] after that I close it: [CODE] …

Software Development c
Member Avatar for heinzw
0
290
Member Avatar for doomas10

Hello all, I have a question. You see i have a file which contains data in this format: index 388.315813 index 311.214286 syndrome 289.708333 factor 184.246753 loss 168.578313 index 451.123455 factor 321.676544 What i want to do is to read every line and print it. However if i encounter the …

Software Development python
Member Avatar for TrustyTony
0
420
Member Avatar for anerchy

[CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication8 { public partial class Form1 : Form { double deger1; double deger2; char isaret; public Form1() { InitializeComponent(); } private void button_1_Click(object sender, EventArgs e) { string a = ("1"); textBox1.AppendText(a); } …

Software Development
Member Avatar for nick.crane
0
246
Member Avatar for mastermoo420

[url]http://paste.pocoo.org/show/234632/[/url] The error's in there and I explain what my thoughts are. Extra information: There is definitely enough RAM. I watched the RAM go down as the program ran (lol), but there was still 2.3GB of RAM before the program crashed, giving the MemoryError. Here is an example of what …

Software Development python
Member Avatar for mastermoo420
0
101
Member Avatar for azfarhus

I am trying to convert a string into integer which contain a mathematical operator e.g "1+1" but I am always getting "Input string was not in a correct format." error during execution.

Software Development
Member Avatar for arunkumars
0
213

The End.