43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Aurax

Hi all.. Please help me how to clear all textbox in form. It really hard to set each of it. Thank you Aura

Software Development visual-basic
Member Avatar for Aurax
0
193
Member Avatar for zaphoenix

Hi, I have been trying to solve a problem,i need to write code to an existing projectile class to calculate the maximum height reached by a projectile ,i have tried all possible solutions but seem stuck,here is the code below # Canonball in form of a class # projectile.py from …

Software Development python
Member Avatar for zaphoenix
0
2K
Member Avatar for wilen

i'm helping a friend and i'm almost done with the program what i can't figure out is i need to sort the number of votes from lowest to highest my database is just ms access and i'm trying to display the photos of the candidates who got the highest votes …

Software Development
Member Avatar for wilen
0
188
Member Avatar for archangel1177

I was having a discussion with a co worker just now and we discussed the idea of a message box coming up as part of a search and displaying a JPG picture as part of the results. Is that even possible? If so then how difficult would it be to …

Software Development visual-basic
Member Avatar for AndreRet
0
291
Member Avatar for joshl_1995

Hello Community, I need to shortern a really long string then when it's in my program the string will expand back to it's normal length ready to be used in the program. I don't care what kind of method i need to use. Please help...

Software Development vb.net
Member Avatar for tinstaafl
0
360
Member Avatar for sonyj

Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.GiveFeedbackEventArgs'. This is an Error while loading a page . Page loading Contains functions for filling combobox and grid . I can't able to Traise where the error occurs.Please help

Software Development vb.net
Member Avatar for tinstaafl
0
346
Member Avatar for fx.eko

hi .. I use visual basic 6, I opened a new project, when I create a data report using Crystal Report 8.5 which already include the current Visual Basic will add a new report by way of Add -> Crystal report 8.5, the error message "Visual Basic has stopped working …

Software Development visual-basic
Member Avatar for AndreRet
0
2K
Member Avatar for ronnel09_1

#include<stdio.h> #include<conio.h> #include<dos.h> void main() { int minutes,seconds,timeremaining,input=1; char cAns,cAnswer; clrscr(); gotoxy(35,15); printf("Press S to start the game: "); cAns=getche(); if(cAns=='S'||cAns=='s') { clrscr(); printf("\nAre you a human? Y or N: "); scanf(" %c",&cAnswer); timeremaining=input; do { input=timeremaining; minutes=input/60; input=input-(minutes*60); seconds=input; gotoxy(1,1); printf("%02d:%02d",minutes,seconds); timeremaining++; delay(1000); }while(timeremaining<=90); if(timeremaining>=90) { clrscr(); gotoxy(33,12); printf("TIME'S …

Software Development c
Member Avatar for ronnel09_1
0
533
Member Avatar for G_Waddell

Hi All, I have a problem with a treeview class in my windows form. Specifically I'm try to detect when a user has expanded or contracted a node verses if they have clicked/selected the actual node. When the user clicks on the node, I want to expand / contract the …

Software Development vb.net
Member Avatar for G_Waddell
1
270
Member Avatar for tony75

Hi Im working with a python Odd numbers and my question is?. > An integer can either be odd (like 1,3,5,7,. . . ) or even (2,4,6,8,. . . ). > > 1. Write a python code which takes as input two numbers and displays all odd numbers between them …

Software Development python
Member Avatar for tony75
0
275
Member Avatar for mkweska

Hello all! I am sorry to have to waste your time with such an easy problem but I am stuck with some coders block on this one. I know it is definitely an easy fix I just cannot seem to wrap my head around it at the moment... I do …

Software Development mathematics python
Member Avatar for mkweska
0
272
Member Avatar for triumphost

Assuming a simple class like below and the main like below, will the class variable be stack/heap allocated depending on how the class is instantiated? OR will the class variable be allocated depending on how it is implemented? class Foo { private: std::string Bar; public: Foo() : Bar(std::string()) {} }; …

Software Development c++
Member Avatar for mike_2000_17
0
17K
Member Avatar for Papa_Don

Group, I'm trying to change the "sa" password to my SQL Server Database via the 2008 SQL Server Manager Express. I have followed every instruction dillegently and can't seem to "complete" the change. Each time when trying to login with the SQL Server Authentication, I get the error message that …

Software Development sql vb.net
Member Avatar for Papa_Don
0
370
Member Avatar for mical700

I am getting wrong output. My Code is following, in which I have to use function unsigned long powerof2(int n); #include <stdio.h> #include <stdlib.h> #include <math.h> //int powerof2(int n); unsigned long powerof2(int n); int main(void) { printf(" n 2^n\n"); printf("-- ---\n"); for (int n=0; n<65 ;n++) { //printf(" n 2^n\n"); …

Software Development c c# c++
Member Avatar for mical700
0
232
Member Avatar for mical700

I am trying to print: 0 1 1 2 2 4 3 8 4 16 5 32 6 64 7 128 8 256 9 512 10 1024 11 2048 12 4096 13 8192 14 16384 15 32768 16 65536 17 131072 18 262144 19 524288 20 1048576 21 2097152 22 …

Software Development c c# c++ motherboards-cpu-ram
Member Avatar for mical700
0
395
Member Avatar for paku_dnj

How to read a specific value from a text file and then save the value in another text file. Example: in data.txt file there is some values. Item Name : m-01 Item Brand : One Man Item size : XXL Item Price : 1000 Item vat : 15% these are …

Software Development file-system java
Member Avatar for paku_dnj
0
486
Member Avatar for Violet_82

HI all, I was wondering if anybody can help me to understand this exercise: "A small airline has just purchased a computer for its new automated reservation system. Write an application to assign seas on each flight of the airline's only plane (capacity: 10 seats). Your application should display the …

Software Development java java-swing
Member Avatar for Violet_82
0
7K
Member Avatar for Robert Storm

The Class will create a program to store the name and the grid position of 6 common minibeasts. The Students from Calibre Academy will write a program to store the position of each common minibeast. The Software will. Allow one of six minibeasts to be selected from a menu. Enter …

Software Development visual-basic
Member Avatar for Ancient Dragon
0
208
Member Avatar for hwoarang69

i created a game in applet and i want to put it on a site. the problem is that my games has alot of classes. how can i use applet tag to up it online? java.php <html> ... <applet code = "Main.class" width = 900 height = 400> </applet> ... …

Software Development html-css java
Member Avatar for hwoarang69
0
190
Member Avatar for fedaa91

hi i have this small problem in my code which is that when i run the code it enters to the wrong condition i mean in the if clause where i enter "download" it executes the body of the upload even though the first if clause condition meet and the …

Software Development c
Member Avatar for fedaa91
0
153
Member Avatar for tony75

Hi I’m working with an old python exercise is to implement the caesar cipher, a simple encryption technique. Description of the methods can be found on the web (wikipedia) http://en.wikipedia.org/wiki/Caeser_cipher and the additional document. In short, each letter is replaced by another letter (like a is replaced by b, b …

Software Development encryption python
Member Avatar for tony75
0
443
Member Avatar for vizz

I need help to create **Process monitoring program.** (services, system, and user-run processes) If any **software/Process** wants to run, this program display it's details and ask user to **allow or block software/Process.** Also display List of All Running Processes with it's address(process related with perticular software) with **stop/block process** option. …

Software Development c++ monitoring-software visual-basic
Member Avatar for NathanOliver
1
394
Member Avatar for dustin.mcalister.58

Hello, it's me again, and I'm stuck again. I need to enter the highest and lowest temperatures for seven days, which the program will then store in two columns, with the average of each column stored in the bottom row. I got it working and everything, except that it'll only …

Software Development c++
Member Avatar for RvSon
0
202
Member Avatar for delta_frost

I have this simple first multiprocessing code in pyton,but I encounter a BSOD when running it.Can anyone please point out what is wrong with it ? import multiprocessing def cracker(): print "Hello" return procs = [] for i in range(8): p = multiprocessing.Process(target = cracker) procs.append(p) p.start() for p in …

Software Development python
Member Avatar for delta_frost
0
597
Member Avatar for gyno

Is it possible to install two IDE like say Netbean and Eclipse on same system without the two disturbing each other?

Software Development ide java
Member Avatar for jwenting
0
232
Member Avatar for mical700

Histo.java import java.util.*; // Scanner import java.io.*; // PrintStream class Histo extends Object { static PrintStream theScreen = new PrintStream(System.out); static Scanner theKeyboard = new Scanner(System.in); public static void main(String args[]) throws FileNotFoundException { final int MAX_SCORES = 5000; // define nameArr as an array of String objects String[] nameArr …

Software Development java
Member Avatar for peter_budo
0
326
Member Avatar for somjit{}

i want to sort a list of two dimensional points based on their polar angles with respect to a particular point. this will a part of a bigger code to find collinear objects from a set of points. the method i thought of for doing this is is: 1. create …

Software Development java
Member Avatar for somjit{}
0
544
Member Avatar for anukavi

Hi , Working on VC++ 2012. "error LNK2005: "class std::basic_ofstream<char,struct std::char_traits<char> > Createonly_logs" (?Createonly_logs@@3V?$basic_ofstream@DU?$char_traits@D@std@@@std@@A) already defined in UtilityFunctions.obj I have defined a text file (for writing the output) under LogFiles.h #include <fstream> using namespace std; ofstream Createonly_logs("E:\\MyProj\\MTEST\\CreateFile_logs.txt"); I have created three .cpp under the project and all these cpp uses …

Software Development c++
Member Avatar for anukavi
0
120
Member Avatar for Papa_Don

Hello Group, I'm beginning to understand the connections required to return information from your database. I'm now trying to return multiple lines from the database that have the same "prefix" within the part number. As my example, I have two records within my database that both start with "AO0025". I …

Software Development open-source sql vb.net
Member Avatar for Papa_Don
0
221
Member Avatar for solomon_13000

I am attempting to load an 3 icon image but my code doesn't do so: package com.proxy; import java.awt.Component; import java.awt.Graphics; import javax.swing.ImageIcon; import javax.swing.JFrame; public class ImageIconProxy extends ImageIcon implements Runnable{ static final ImageIcon ONE = new ImageIcon("/IFDesign/images/green.jpg"); static final ImageIcon TWO = new ImageIcon("/IFDesign/images/yellow.jpg"); ImageIcon CURRENT = ONE; …

Software Development java router-proxy-firewall web-design
Member Avatar for solomon_13000
0
363
Member Avatar for Qazinix

I am working on my first Client server program. The client will have to connect to the server however there is no way to know what the server ip will be so this needs to happen dinamically, at least the first time the program runs. The clients will receive strings …

Software Development client-server pascal
Member Avatar for Qazinix
0
324
Member Avatar for rc_new

im trying to convert my date from MySQL to a textbox.text and its giving the msg unable to convert MySQL date/time value to system.datetime dim tempdate as date TempDate = dr.Item("dob").ToString txtDate.Text = TempDate.ToString someone please help

Software Development mysql vb.net
Member Avatar for rc_new
0
530
Member Avatar for Jake.20

Greetings can someone give me tips on how to solve this? When i'm searching for a data on the datagrid to edit it doesn't display the data to the corresponding text boxes. The textboxes is bound on the datafields I have these fields Combobox - Searchbox textfields Student ID Student …

Software Development open-source visual-basic
Member Avatar for Jx_Man
0
218
Member Avatar for krutikasharma

There are a 10 words in statement.i want program in 'C' to find out how many words have the same number of letters

Software Development c c# c++
Member Avatar for Moschops
0
106
Member Avatar for dirtydit27

Hello, I'm currently working a project for class and I've gotten stuck. I am suppose to write a program that will read a csv file and create a text file with information from this csv file. So, far I have code that prompts for the file name and gives a …

Software Development python
Member Avatar for dirtydit27
0
467
Member Avatar for siaosituimoloaublood

Okay, here is my problem. The instructions are I would have to store the minimum points and grades in a five row two column array. The procedure should display the grade corresponding to the number of points entered by the user. Minimum Points Maximum Points Grades 0 299 F 300 …

Software Development vb.net
Member Avatar for siaosituimoloaublood
0
110
Member Avatar for ImZick

Hi guys can you help me out. i want to display the item in my textbox but how can i do that i tried to search tru web but nothings working for me. it is something like this "SELECT Department FROM Table1 WHERE Department = " & .Textbox1.Text & "" …

Software Development display vb.net
Member Avatar for Reverend Jim
0
161
Member Avatar for dirtydit27

Hello, I'm a newbie to python and I am having a very hard time trying to solve a homework question that I have. Here it is: Given a list of items, write a program that generates a list of lists of the following form: [a,b,c,…,z] → [[z], [y,z], [x,y,z], … …

Software Development python
Member Avatar for Lucaci Andrew
0
297
Member Avatar for kingk110

I was trying this sample found in the website: [Custom Checkbox](http://www.daniweb.com/software-development/csharp/code/217338/custom-checkbox) when I add the CustomCheckbox from the toolbox to the form directly and build the project it take lot of time to be build and cause the visual studio to not respond. Do anybody have an idea about the …

Software Development visual-studio
Member Avatar for kingk110
0
453
Member Avatar for dendenny01

My Program contains 4 arrays and I want to sort the array in such a way that if one array is sorted the other array should follow it Example: unsorted array name code salary date John 52 6500 15 Suzzy 10 1500 20 Mike 20 1451 16 Sorted array(according to …

Software Development c
Member Avatar for Adak
0
233
Member Avatar for dualzNZ

hi all i am developing a small application that will allow the user to paste in admin logs which will then be converted into xml data. The code works fine in VB.net but i am trying to convert it into C# as the application is written in c# i am …

Software Development regex xml
Member Avatar for dualzNZ
0
178
Member Avatar for reedone816

I have limited knowledge in coding. can anyone tell me what is worng with my code? the firstrow result in the database is not updated, but it is updated in datagridview. For i As Integer = 0 To DataGridView1.RowCount - 1 DataGridView1.Rows(i).Cells(11).Value = "true" Next SmsdDataSet.AcceptChanges()

Software Development dataset mysql vb.net
Member Avatar for reedone816
0
433
Member Avatar for dustin.mcalister.58

This is a bit of homework I have to do for my C++ class. I was suppose to add 11 as the pay code and 23 as the pay rate, but during the debug test when I type in 11 it doesn't display $23 like it's suppose to. What am …

Software Development c++
Member Avatar for dustin.mcalister.58
0
129
Member Avatar for nova4005

Hello everyone, I am sure the dice game has been discussed numerous times on here. I am hoping to get some feedback on my take of the dice game. This was a homework assignment and I have completed the requirements. I am just wanting to see where I could have …

Software Development java
Member Avatar for JamesCherrill
1
238
Member Avatar for Counterpartz

Hello, I'm writing an application that computes the variance and average from a list of integers. Here is the assignment info: Create a function that accepts a list of integers and computes the average and variance of the list. The variance is computed using the following formula. The list of …

Software Development c c# c++
Member Avatar for Counterpartz
0
310
Member Avatar for mical700

Write a program that (using an array) analyzes student performance on an exam using the information from such a file. The program should input the name of the text file, and then display the worst score, the best score, the average score, the standard deviation, and a histogram -- a …

Software Development java
Member Avatar for JamesCherrill
0
124
Member Avatar for UKnod

I have a problem with retrieving data from access databse. I make the connection and retrieve the data no problem. But when the data changes from another use of the database, I cannot get the new changed data without reloading the complete programme. Even repeating the load functions does not …

Member Avatar for UKnod
1
189
Member Avatar for Djmann1013

Hi, I am trying to store individual lines of a .txt file in a ComboBox, here is my code: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim FILE_NAME As String = "history.txt" If System.IO.File.Exists(FILE_NAME) = True Then Dim objReader As New System.IO.StreamReader(FILE_NAME) Dim Line As String = …

Software Development vb.net
Member Avatar for Djmann1013
0
153
Member Avatar for sirlink99

Hello Everyone. I am making a sudoku solver for an assignment, and I ran into a problem of my 2D Integer array not updating. The input consists of a 9x9 puzzle with 0s for the missing values. I read this input and then place it into the 2D array. during …

Software Development java puzzle
Member Avatar for sirlink99
0
276
Member Avatar for mariozeph

Hello I'm new here and have been searching for a while but haven't came up with any results that satisfies my question. Basaically I'm making a tool that is sort of an account manager and needs to read some usernames from sample text file for example Sample.txt: username1:password1 Username2:password2 I …

Software Development vb.net
Member Avatar for mariozeph
1
454

The End.