132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
[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 | |
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++ | |
My project currently takes 16 minutes to compile. Is there anyway that I can reduce the compilation time significantly? Software Development c++ | |
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 | |
while scanning string we won't use ambers '&' why?? Software Development c | |
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 | |
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 | |
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 | |
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 | |
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 … Software Development operating-system visual-basic windows-vista | |
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++ | |
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 | |
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++ | |
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 … | |
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++ | |
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++ | |
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 | |
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++ | |
[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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 … Software Development c++ data-structure file-stream linked-list xml | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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 | |
[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 | |
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 |
The End.