132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dilansankalpa

Hi, I need that user to type a date in a text box in yyyy/MM/dd format and then popup a calendar from the typed date. But to parse the date into calendar the whole date should be typed.otherwise it gives date conversion error. I need as an example;- * if …

Software Development
Member Avatar for Mitja Bonca
0
249
Member Avatar for bonzo2008

Thanks for all help. My friend have a little problem with a text file. as follows Monday Thuesday Wednesday Thursday Friday Saturday Sunday He have it to load as folows Dim namneng As String, Fnumeng As Long, strLeneng As Long ' för England Dim iDag As String Fnumeng = FreeFile …

Software Development visual-basic
Member Avatar for hkdani
0
178
Member Avatar for keylord1013

It's some sort of a project at school . . i was required to make a basketball game clock. The clock will start from 10:00 (10 minutes) then counting downward. . so 10:00, 9:59, 9:58 and so on . .The clock must contain a START Button, RESET Button, PAUSE Button …

Software Development visual-basic
Member Avatar for hkdani
0
212
Member Avatar for vedro-compota

hi there) guys , please tell me - is there any way to check that the standart input is empty or no. big thanks in advance)

Software Development c
Member Avatar for hkdani
0
6K
Member Avatar for Goyle

Hi, for the life of me I can't solve this problem. I've solved problems far harder, but this is just baffling me. The problem: [I]Write a program which reads a sequence of integers from the standard input (the keyboard) and prints the largest value read to the standard output (the …

Software Development java
Member Avatar for Goyle
0
189
Member Avatar for moshe12007

hi all i try to send data into Thread function - the data is : string[][] DataTimes but i get eror!!! this my function that Start the Thread: [CODE] Thread newThread = new Thread(Form1.PlayTheClock); newThread.Start(DataTimes); [/CODE] that the Thread Function: [CODE] public static void PlayTheClock(string[][] DataTimes) { ...... } [/CODE] …

Software Development
Member Avatar for Mitja Bonca
0
443
Member Avatar for mrjillberth

[CODE] package semBreak; import java.io.*; public class YLingaw { public static void main (String [] args) throws IOException { BufferedReader jill = new BufferedReader (new InputStreamReader (System.in)); char[][] board = { {' ','1','2','3',' '}, {'1',' ',' ',' ','1'}, {'2',' ',' ',' ','2'}, {'3',' ',' ',' ','3'}, {' ','1','2','3',' '}}; YLingaw.ehem(board); …

Software Development java
Member Avatar for JamesCherrill
0
157
Member Avatar for Aman6o

Came across this showbits() function in the book im using to learn C. None of the compilers recognize it. The actual code for the function is given in the book as well. I tried to combine the two by putting function's code in header file. I have been unsucessful so …

Software Development c
Member Avatar for cse.avinash
0
1K
Member Avatar for earth_observer

Hello everybody! I build a string for a system call (Matlab) like: [CODE]std::string command = "matlab -nosplash -r MyMatlabScript(" + arg1 + " " + arg2 + ");";[/CODE] The system call is: [CODE]system(command.c_str());[/CODE] However, i get an error, pointing to the first parentheses in my command string. How can i …

Software Development c++
Member Avatar for Ancient Dragon
0
157
Member Avatar for vegaseat

If a word or sentence reads the same way forward and backward, then it is a palindrome. A small admonition is in place, whitespaces and punctuation marks can be ignored. Also, all the letters should be in one case, lower or upper, your choice. Ideal for Python to show off …

Software Development python
Member Avatar for Gribouillis
0
1K
Member Avatar for Boeing

How would I write a program that writes the text in a textbox to a List Box when a button is pressed, kind of like an address book?

Software Development c++
Member Avatar for Boeing
0
165
Member Avatar for Vreality

How would you create a basic search engine? Could this search engine also search based upon tags? (Not searching a site or database but just a .txt document) Thanks in advance!

Software Development java seo
Member Avatar for Vreality
0
240
Member Avatar for novie1

Can anyone tell me whats wrong with this code? [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static int CelsiusTillFarenheit(double Celsius, double Farenheit, string Text) { Celsius = double.Parse(Text); Celsius / 5.0 * 9 + 32 = Farenheit; int Farenheit2; Farenheit2 = Convert.ToInt32(Farenheit); return …

Software Development
Member Avatar for ddanbe
0
147
Member Avatar for Knar

Ey all. Im folowing a c++ course and im stuck writing string or char arrays to matrices. The problem is i have a matrix of size [i][j] with random values from 0 to 3. Each of these values have to correspond to either a string or char array. 0=EMPTY 1=RES …

Software Development c++ matrix-multiplication
Member Avatar for Greywolf333
0
422
Member Avatar for AquaNut

Hi All, Been trying to use the BindingSource.Filter on my program and everytime I fire it nothing is happening i.e. the text boxes I have setup and are not populated even though I can navigate through all the records inthe dataset using the respective navigation buttons... Code.. Private Sub ButFind_Click(ByVal …

Software Development dataset vb.net
0
95
Member Avatar for alsatan

Hello to all, sorry if my english is not so good, I will try to explain the problem. I need to copy all data from a Table of a Acces mdb (connected with OleDB) to a Table of a MySql DB (connected with ODBC) I made a working solution, but …

Software Development dataset vb.net
0
200
Member Avatar for rajeshredy

the problem im faceing here in my code is The events that i want to happen are not occuring after i select an item from the combobox,and also all other components are showing the same faulty behaviour. the faulty behaviour that they are showing is they are not firing the …

Software Development java java-swing oracle
Member Avatar for JamesCherrill
0
485
Member Avatar for minimi

I'm trying to call two methods from main but I'm not sure how to do it. I know the program isn't completed but I want to get this done first so I can test whether it's working correctly. Could anyone help me out? [CODE] #include <stdio.h> #include <stdlib.h> void print_triangle_info(int …

Software Development c
Member Avatar for D33wakar
0
154
Member Avatar for k_arjun

Hi, I am a newbie to coding. I am trying to implement a graph in the following format. User input: v1 v2 edge_cost 1 3 10 1 2 20 2 3 40 3 1 30 I am storing the graph as an adjacency list, so that the output should be …

Software Development c++ linked-list
Member Avatar for k_arjun
0
874
Member Avatar for friendskhaled

Please Help me I can't start with this project ! Implement a city 'database' using unordered lists. Each record contains the name of the city (a character string of variable length), the mayor of the city and the co:ordinates of the city as integer x and y, Your system should …

Software Development java linked-list
Member Avatar for masijade
0
270
Member Avatar for TheComputerGuy

So when I compile, everything will compile just fine. When I go to run the program, I get this error [CODE]Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at ClientForNoDupCollection.main(ClientForNoDupCollection.java:20)[/CODE] I go to look at line 20(actually 19-21) [CODE]public static void main(String args[]) { File file = new File(args[0]); Scanner cReader = …

Software Development java
Member Avatar for masijade
0
197
Member Avatar for nchy13

i have included just insert function in redblacktree class. there are[U] no compilation errors but it shows [COLOR="Red"]segmentation fault[/COLOR] [/U]on running. when i am calling insert function [B]it's not even entering into it as it's not printing the cout statement [/B]at first line of insert body. i am using g++ …

Software Development c++ ubuntu
Member Avatar for Moschops
0
170
Member Avatar for shanwise101

Hi all, I've got my xml displaying correctly using php and the xsl template below, but I only want to display properties with a type of either apartment or unit, and have more than 2 bedrooms. I can't for the life of me work this out. I've tried using <xsl:choose>, …

Software Development xml
Member Avatar for mrame
0
211
Member Avatar for SI THU

anybody help me please, how can i change system date format in vb6. thanks for reading this post, thanks i want to change system date format is "dd-mm-yyyy"

Software Development visual-basic
Member Avatar for hkdani
0
123
Member Avatar for dennysimon

hello all I found a problem which I cannot find way to solve I hope some body give a clue how to solve the problem thank you denny the problem------ table1 has 2 fields 1.id int (primary key) 2.datastrings (varchar) datastrings field has 3 rows string1="-1,1,1,-1,1,1" string2="1,1,-1,1,-1,-1"; string3="-1,-1,1,1,1,1" how to …

Software Development
Member Avatar for arunkumars
0
101
Member Avatar for Warhead88

Hi, Can anyone show me or point toward a link with a decent example of a hash table using linked list. Thank you ,

Software Development algorithm c++ linked-list
Member Avatar for Warhead88
0
337
Member Avatar for ao_py

I am trying to draw circle in the upper left corner of a graphics window, and then move that circle at a diagonal to the bottom right corner, and then bounce it back to the upper left, and so on until my loop is exhausted. I can't get my moving …

Software Development python
Member Avatar for woooee
0
1K
Member Avatar for challarao

I wrote this program for insertion sort.I compiled the source file in xubuntu terminal.But when I try to run a.out executable....terminal showing "segmentation fault".I don't about segmentation fault..when segmentation fault occurs...what is the thing in the source file that is causing segmentation fault... Thanks in advance...... [CODE]#include<stdio.h> main(){ int i,j,n,key; …

Software Development c
Member Avatar for challarao
0
374
Member Avatar for aaje

Hi, i have problem on inserting multiple images. i found in internet, many examples are regarding insert only one image. but now i want it to have multiple uploaded images that we can delete and view it first before we save it on database. how to store the images uploaded? …

Software Development dataset image vb.net
Member Avatar for aaje
0
1K
Member Avatar for mikej39

I have this code i compile it and it ran but nothing came up can someone help with this? [code]import java.util.Arrays; import java.util.Comparator; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.text.DecimalFormat; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import …

Software Development java java-swing
Member Avatar for Zaad
0
180
Member Avatar for danethepain83

Hi! I'm just working on a small problem in Scheme. I am passing to the function a list, such as '(1 2 3), and I need the function to return seperate lists, such as '(1)'(1 2)'(1 2 3). I have already experiemented with many different appends and cons, and I …

Software Development
Member Avatar for danethepain83
0
2K
Member Avatar for beck4456

I'm trying to write a program that takes a string and prints one letter per line. I need to use a while loop based on string length. I googled, so sorry for the newbie question. Thanks!

Software Development python
Member Avatar for JoshuaBurleson
0
1K
Member Avatar for yurigagarin

Hi guys, I have this input.txt file and I have to scan it to get information for my project. the input.txt file has format as: 33 56 34.8 N 118 24 30.1 W 37 40 23.5 S 144 50 54.1 E So I used fscanf_s to scan the file. Here …

Software Development c++ visual-studio
Member Avatar for yurigagarin
0
1K
Member Avatar for ads248

Hi Can you change the alignment of text ion a datagridview column programmatically ? i.e. Columns(0).?????????????????.MiddleCenter as I dont want to centre align all of the columns in the datagrid. Thanks Andrew

Software Development vb.net
Member Avatar for jayacer
0
8K
Member Avatar for cutterpillow20

Good day sir, can you help me where can i download JDK in java. i have already download JCREATOR pro but i can't download the JDK. i already ssearch JDK but when i download it, it is always interrupted. and i don't know what kind of JDK i download.. can …

Software Development java
Member Avatar for cutterpillow20
0
155
Member Avatar for bonyjohn

I am a Btech Computer Science students, Guyz please give me some project ideas for my main project..i have one idea in mind it's a garbage collector in c..it's an old idea i want to add new features...plz help....

Software Development c
Member Avatar for carljohn
0
230
Member Avatar for rutwvu

I am currently working on a project where we must read in a file and then print it back type justified. There must also be a specific number of characters per line based upon user Input with the extra characters being distributed spaces. I am reading in each character from …

Software Development c data-structure linked-list
Member Avatar for Ancient Dragon
0
190
Member Avatar for babyhuyx

[CODE]#include <iostream> #include <Windows.h> #include <time.h> #include <iomanip> #include <string> #include <cctype> #include <algorithm> using namespace std; /*********Wallet*****************/ void blingstack(double& wallet, double& winnings, double& payoff) { if(payoff > 0) cout<< "You won $ " << winnings * payoff <<endl; wallet = wallet + (winnings * payoff); cout<<"\nYour current balance is …

Software Development algorithm c++
Member Avatar for WaltP
0
172
Member Avatar for caswimmer2011

Hello, I am confused between the differences between a key logger and key listener in Java....i looked online but I couldn't find a straight-up answer. Thanks in advance!

Software Development java
Member Avatar for Vreality
0
446
Member Avatar for Awais Ali

I want to create a key in the [B]Registry Editor[/B] of Windows XP using c++ program. After this i am to write the Name and the Data(e.g value) of that particular key using c++ program. And i am to read the Name and Data(Value) of that particular key using c++ …

Software Development c++
Member Avatar for Awais Ali
0
163
Member Avatar for eman 22

[CODE]#include <stdio.h> #include <iostream> #include <string.h> using namespace std; int main() { string str1; char* str; cout<<" enter your command "<<endl; cin>>str1; str=(char*)str1.c_str(); char* str2="exit"; int status; while(strcmp(str,str2)!=0){ // createChildProcess(str); cout<<str<<endl; cout<<str1<<endl; cout<<strlen(str)<<endl; cout<<" enter your command "<<endl; cin>>str; } return 0; } [/CODE] try to run this program and …

Software Development c++
Member Avatar for Tumlee
0
153
Member Avatar for slygoth

Hey guys i am interested in knowing how to let my C++ open images. Like set the location on the image in C++ and when i click it, it opens image viewer. Also would like to know if i can do the same thing with music. Like put a list …

Software Development c++
Member Avatar for slygoth
0
2K
Member Avatar for Sunshine2011

[CODE] #include <iostream> #include <vector> #include <string> using namespace std; class Member { public: string Name,Vorname; //prototypes vector<Member>*generateAVector(); void SaveElementsInTheVector(vector<Member>*pAVec,Member *obj); void DisplayTheVector(vector<Member>*pTheVec); void test(); }; int main() { Member Neu; //new object //creates a vector on the heap, here with no sense,only experimentally vector<Member>*pAVec=Neu.generateAVector(); //puts data in the elements …

Software Development c++
Member Avatar for Sunshine2011
0
123
Member Avatar for Oscariuz

Hi guys im trying to make a program that will work as " Slot Machine " and im stuck in one part that i can not resolve. Im trying to verify predetermined char in random array so i can know if some of the three char appear three times or …

Software Development c++
Member Avatar for mrnutty
0
210
Member Avatar for cecsFTL

I'm writing a program to ask the user for 6 points for a triangle and then calculate the length of the 3 sides, the perimeter, and the area. Then the tester will have to display the properties of the triangle, length of sides, the area, the perimeter, and if the …

Software Development java
Member Avatar for hiddepolen
0
1K
Member Avatar for master dogs

The following code is for a programming class I'm taking. The program is supposed to prompt for a number, then prompt for a second number. Then it should use a while loop to multiply the first number by the second number. The second number does not change - the first …

Software Development c++
Member Avatar for Clinton Portis
0
160
Member Avatar for sonicx

I'm trying to find max and min values from a text file which contains data in rows and columns. But I want to create a script which will skip the first couple of lines and calculate the max and min from there on. I am aware for the max and …

Software Development python
Member Avatar for woooee
0
14K
Member Avatar for technopup

Hello, I have a PHP file that lists a Post Code variable ($thisPostcode). Using simpleXML I need to compare the value of the Post Code variable to the Post Code attribute in an xml document, if there is a match I need it to echo the statement below if not …

Software Development xml
0
103
Member Avatar for Oscariuz

Hi guys im trying to make a program that will work as " Slot Machine " and im stuck in one part that i can not resolve. Im trying to verify predetermined char in random array so i can know if some of char appear three times or more. I …

Software Development algorithm c++
Member Avatar for mzimmers
0
184
Member Avatar for squizzel

Hey Guys, I am new here but looking to come here often and obtain some leet skills in java. I am new to programming but do enjoy it. I was just assigned some homework that has me stumped. I would go talk to someone at my school but they are …

Software Development java
Member Avatar for Anyday
0
185

The End.