132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pilipino93

Hi there. I was wondering how on earth do I transfer information from Form1 to Form2. For example, like, I type in form1 textbox "hello there" and in form2, if it is open, it will dis play ''hello there'' in its textbox or in a message box, something like that. …

Software Development
Member Avatar for sknake
0
153
Member Avatar for ctrl-alt-del

Hi all! Well, this time I have a... funny problem. One that in my logic should not exist. I'm trying a very simple thing, centering a PictureBox in the middle of my form, both horizontally and vertically. The PictureBox is called "CP_PB_Main" [CODE] CP_PB_Main = new PictureBox(); CP_PB_Main.Height = 150; …

Software Development
Member Avatar for sknake
0
136
Member Avatar for ItecKid

Hello, I am writing a C++ program to find the largest such number such that the square root of that number is less than or equal to a fixed number, set by me, like this: [code=c++] #include <stdio.h> #include <math.h> int main (void) { long fixed, param, result; result = …

Software Development c c# c++
Member Avatar for ItecKid
0
125
Member Avatar for kyumi419

guys.. i hope you could help me out here.. we are currently in iterative and conditional statements.. problem is making a [I]pyramid[/I] using asterisks. for example, if the user input 6, that would be the height of the pyramid, while the body starts at 1 and increases by 2 each …

Software Development c
Member Avatar for kyumi419
0
143
Member Avatar for chathuD

I NEED TO creat a small win form aplication in c# that will allow me to send a sms over internet to a specific phone number given by me. can i do this and how can i do this

Software Development
Member Avatar for Diamonddrake
0
126
Member Avatar for ak.royan

Hi. how to copy one form to anoter project? i right click on project name and choose add existing item. i select one form from another project(all 3 files: .cs, .Designer.cs, .rsex) but it dosn't work.

Software Development
Member Avatar for ddanbe
0
90
Member Avatar for Mongz

Hi guys, im not well experienxed please help, i want to code a digital running time with the colon dots flickering to show that the time is running anyone can offer help will be very usefull.

Software Development
Member Avatar for sknake
0
175
Member Avatar for Mongz

Hi Guys, i created an C# application, i need to read an excel spreadsheet called "Graduates.xlsx", i have to search for a specific row on a column called "ID number", once i get that column i must retrieve a record of that row on column "First name". Its been weeks …

Software Development microsoft-office
Member Avatar for sknake
0
708
Member Avatar for roberto usu

I have a structure containing [ICODE]struct XboxFriends { char gamertag[SIZE]; char name[SIZE]; char country[SIZE]; char city[SIZE]; char favoriteGames[SIZE]; int age; };[/ICODE] this code is supposed to keep track of my xbox friends. I also have written a function [ICODE]void searchFriends(vector<XboxFriends> &friends) { string gameName; cout << "--- Favorite Game Search …

Software Development c++
Member Avatar for vmanes
0
100
Member Avatar for Chaster

Hello guys, I don't really need a solution, just answer - some Swing insight. So I have a panel, and a list on it. The list is populated with strings. The problem is the following: If I add the list elements too fast, I end up with different kinds of …

Software Development java java-swing
Member Avatar for quuba
0
127
Member Avatar for asphp

I'm making a tick tack toe game for a programming class and i*m stuck with some problems. Problem 1: rand sometimes returns a value over the max value. Max is 9 and it can return up to 1000000 on some occasions. Problem 2: The Win function only works in player …

Software Development c++
Member Avatar for asphp
0
125
Member Avatar for shawnisalk

I'm trying to open a usb webcam via Python. Can anyone give me a hint how to do that? Thanks, Shawn

Software Development python webcam
Member Avatar for Salem
0
170
Member Avatar for wheel

Hello! I'm wondering how to go about packing data from an std::vector<unsigned long> into valid unicode (UTF-8) characters. So far, I've tried writing the unsigned long data directly to a text file, but that usually results in invalid characters. (I don't actually need to store the data in unsigned long …

Software Development c++
Member Avatar for wheel
0
187
Member Avatar for Miganders

so, iwe been messíng arround with C++ for about 4 days now and here is my first real print all squarenumbers (it will break at a point) : [code]#include <iostream> #include <windows.h> //---------------------------- using namespace std; //---------------------------- int main () { string numbers="1"; bool on = true; do { cout …

Software Development c++
Member Avatar for Miganders
0
171
Member Avatar for zydaru

Hy, I want to create several mdb files. Done that,I've created several tables, populated them, but I want to protect them by a custom password. How can I do that? :icon_confused: Thanks!

Software Development
Member Avatar for zydaru
0
333
Member Avatar for chixm8_49

Good day everyone! I would like to ask some problem about the program I am currently working (hangman to be specific). Since I am just a beginner, there are many things I would like to clarify. I would like to ask your help so that I can enable more to …

Software Development c
Member Avatar for codeguru_2009
0
177
Member Avatar for Miganders

[code] #include <iostream> #include <windows.h> //---------------------------- using namespace std; //---------------------------- int main () { long int numbers=1; bool on = true; while (on==true) do { cout << numbers*4; numbers = numbers+1; Sleep(500); } }//--breaks here [/code] how come the loop not work?

Software Development c++
Member Avatar for Miganders
0
109
Member Avatar for mahela007

Hi.. I would like to know how to create a variable while the program is being executed. Here's what should happen. The program asks for an input from the user and then creates a variable who's name is the value of the input and then assign's a value to it. …

Software Development python
Member Avatar for The_Kernel
0
257
Member Avatar for Ajantis

Hello people! I am working a little with JAVA programming. And I have a couple of assignments left. When they're both done, I graduate! :) However, I'm not fully familiar with threads. So I don't know how to solve these problems. I thought that perhaps someone could lead me in …

Software Development java
Member Avatar for TheWhite
0
157
Member Avatar for sky2217

I have a programme which has been packaged using the installer supplied with VB6. It installs and runs perfectly with XP but doesn't with 2000 Professional. Any ideas?

Software Development visual-basic windows-xp
Member Avatar for stevanturk
0
96
Member Avatar for networkmancer

Now im getting Declaration Syntax Error on line 155. Please help need urgent . [code] #include <stdio.h> #include <conio.h> #include<process.h> #include<dos.h> void graph(); void foo(){ int a,b; clrscr(); gotoxy(27,12);textcolor(12);cprintf(" "); gotoxy(40,14);textcolor(12);cprintf(" "); gotoxy(29,16);textcolor(12);cprintf(" "); for(a=1;a<=72;a++){ gotoxy(5+a,2);printf("Í"); gotoxy(5+a,23);printf("Í"); } for(b=1;b<=20;b++){ gotoxy(5,2+b);printf("º"); gotoxy(78,2+b);printf("º"); } for(int s=1; s<=3;s++){ gotoxy(41,2+s);printf("º"); } for(int o=1;o<=72;o++){ gotoxy(5+o,5);printf("Í"); …

Software Development c++
Member Avatar for Ancient Dragon
0
242
Member Avatar for jBat

Hi, I'm just starting to practice with c++ and I'd like to know if there is a good way to handle the errors/exception. I write this program to check the modification time of a file. Thanks [CODE]int filewatcher::watch() { struct stat filestatus; stat(this->_filename, &filestatus); if((filestatus.st_mode & S_IFMT) == S_IFREG) { …

Software Development c++
Member Avatar for Nick Evan
0
152
Member Avatar for khemalatha

Hi i want to get contact details from outlook and display that contact details in my datagrid view using csv file. My grid view display only few columns such as Name, Address, Email and category. In outlook i will add the contact details such as First Name, LastName, Business address …

Software Development dataset
Member Avatar for sknake
0
202
Member Avatar for computerfreak97

Can anyone give me an example on how to use fft to see weather there is a certain frequency above a certain amplitude in the microphones current sample(s).

Software Development audio python
Member Avatar for Gribouillis
0
98
Member Avatar for touqra

Hi, I don't understand why I failed to insert vectors as an input of a function. I wrote : void fun( std::vector<double> do, int &count ){ ... } but it doesn't compile...

Software Development c++
Member Avatar for Narue
0
119
Member Avatar for scias23

i want to extract 576 to hundreds = 5 tens = 7 ones = 6 my code does this purpose, but.. [CODE=java] h=num/100; t=(num-(h*100))/10; o=((num-(h*100))-(t*10)); [/CODE] i want to rewrite my code using loop and modulus operator.. help guys. thanks btw: i'm writing a program that converts numbr to w.ord-/.

Software Development java
Member Avatar for scias23
0
161
Member Avatar for kehar

Hi, I have completed my software but I would like to create Keygen to it so that the software should ask for Serial No., 15 days after it is installed. Pl help me (Kehar)

Software Development visual-basic
Member Avatar for Kegtapper
0
141
Member Avatar for leroi green

hey all, I have a form where a user selects from a couple radio buttons. once THAT button is selected i want a new form to load where the user has to fill out personal info and submit. what's the best and easiest way to set this up? like: 1) …

Software Development vb.net
Member Avatar for adam1991
0
116
Member Avatar for pilipino93

Hi there. Is it possible to make it so that a user can manually add and delete file resources by using a open file dialog? Like, the user can click a button which opens up a FileDialog. Then they can choose a file to load it into the program as …

Software Development
Member Avatar for DdoubleD
0
143
Member Avatar for feoperro

Hi, I'm trying to create a single instance of a regex term. i.e. [CODE] boolean rProcessEndpoint = Pattern.matches("[http://]{1,1}", processEndpointInput); System.out.println(""+processEndpointInput); [/CODE] However, with this particular instance, you can type "http://http://" and it will return true. Here is my source of information: [url]http://www.dreambank.net/regex.html[/url] Here is where I test my regex: [url]http://www.regular-expressions.info/javascriptexample.html[/url] …

Software Development java regex
Member Avatar for feoperro
0
257
Member Avatar for networkmancer

I need to put this one in my case 5 [code]#include<stdio.h> #include<conio.h> #include<process.h> float rate,day,gp,netpay,totald,sss,med,love;int age; float basic,cola,tax;char employee[20],addr[30],sex[10],bday[8]; void main(){ clrscr(); char choice; gotoxy(20,2);textcolor(4);cprintf("Payroll System"); gotoxy(20,4);textcolor(5);cprintf("Select Choices:"); gotoxy(18,6);textcolor(7);cprintf("[1] Add Customer Info"); gotoxy(18,7);textcolor(7);cprintf("[2] Compute Payroll"); gotoxy(18,8);textcolor(7);cprintf("[3] Display Information"); gotoxy(18,9);textcolor(7);cprintf("[4] Exit"); gotoxy(18,10);textcolor(7);cprintf("Enter Choice:"); scanf("%d",&choice); switch (choice){ case 1:printf("Employee Information\n\n"); printf("Enter Employee …

Software Development c++
Member Avatar for Ancient Dragon
0
295
Member Avatar for awa

Hi, I want to make a python program which allows to read data from a file starting from a line with a certain keyword, skipping 4 lines, beginning to write the contents to an output file and stopping after n lines. I tried so far an input with the re.search() …

Software Development python
Member Avatar for awa
0
150
Member Avatar for wil0022

Hi can anyone help me doing a binary search..? example: the number of input is 10. then the inputted number 20, 10, 90, 23, 21, 32, 87, 45, 76, 56 search value: 32 output: Lower: Middle: Higher: Value not found! (Until the value found or the loop end) sorry for …

Software Development
Member Avatar for kvprajapati
0
141
Member Avatar for basketball4567

Hi guys, I know that there might already be a tread about reading from file but this has a certain hurdle to jump... I have to read in a 1000 word document into something that will make a list of unique words and how many times they appear. Thats not …

Software Development c++
Member Avatar for jencas
0
118
Member Avatar for especta

find replace hi i have 2 txt files in 1 i have stored numbers numbers.txt ex. 10 20 30 others i have stored word.txt 10,hello 20,welcme 30,text ...... i need to auto replace numbers with words .. plise help.

Software Development pascal
Member Avatar for especta
0
221
Member Avatar for Atove

Hi all; i'm trying to connect my program to an SQL Server Express database... however i am just getting an error that simply states: "Login failed for user 'sa'." Within my code this appears on: objConnection.Open() my code so far is: [code] Imports System.Data.SqlClient Imports System.Data Private Sub Form1_Load(ByVal sender …

Software Development sql vb.net
Member Avatar for Atove
0
121
Member Avatar for Seba Sama

Hi! I searched for this one with no results. I have an Access table with a column Date_of_birth witch has date/time format like dd/mm/yyyy. I develop a VB6 application that needs to read, write, update data in the mdb. INSERT: The user inserts this Date_of_birth in a textbox. I use …

Software Development visual-basic
Member Avatar for Seba Sama
0
115
Member Avatar for hansino

Hi , //In this project, you’ll create a program that calculates a salesperson’s commissions using double-precision values, and displays the results. The commission rate in the first method will be entered as a decimal value (for example, a 7.5% rate will be entered as 0.075). I read javaAddict reply here …

Software Development java
Member Avatar for crunchie
0
237
Member Avatar for runee1000

hi: i'm trying to make a simple java program which can determine whether a number is odd or even. I am 100% Completly new to java and just started, and so I do not understand most terms and such, so my apologies for that. The Following code is wht i …

Software Development java
Member Avatar for fox07
0
223
Member Avatar for kvass

Can someone please write a piece of code for the following and comment each line (except for really simple ones like int x = 5;) explaining what it does? Objective: write a program that "spins a number wheel" in the background while waiting for you to type "stop" -- when …

Software Development java
Member Avatar for kvprajapati
0
94
Member Avatar for yorro

How do you set or adjust opacity of controls during runtime? (buttons/textbox/etc) I've tried this [CODE=vb] Public Sub setOpacity(ByVal opacity As Integer) Me.BackColor = Color.FromArgb(opacity, 255, 255, 255) End Sub [/CODE] But error returns that it controls does not support opacity. [B]I want my controls to load on runtime with …

Software Development gui vb.net
Member Avatar for yorro
0
491
Member Avatar for nicolek808

Output should be as show below: and files are attached. 1. Here is example output for input file electricity.txt: number of integers in file "electricity.txt" = 4 index = 0, element = 1877 index = 1, element = 1923 index = 2, element = 1879 index = 3, element = …

Software Development java
Member Avatar for quuba
0
162
Member Avatar for anujsharma

Hi, I urgently need some help on system date and time.Here's the code [code=c] #include<stdio.h> #include<time.h> main() { time_t rawtime; struct tm *timeinfo; time(&rawtime); timeinfo=localtime(&rawtime); int hour2; int minute2; int seconds2; char end1[5]; int end=0; char diff[5]; char start[5]; int i=0; char ch[5]; char ch1[5]; FILE *fp2; FILE *fp1; FILE …

Software Development c
Member Avatar for anujsharma
0
133
Member Avatar for PcPro12

Ok, so I'm kinda new to programming, but I'm quick to grasp it. I like programming. Anyway, I'm trying to write a program that will do this. If a user types in a name in the first line of a textbox and clicks a button, the name will be wrapped …

Software Development vb.net
Member Avatar for PcPro12
0
201
Member Avatar for ggl0rd

from my this code for search record.. what code for update after i search the record? anyone can help me? [CODE]Private Sub btnCari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCari.Click Dim ConString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Password="""";User ID=Admin;Data Source=""H:\PROJEK\New Sistem\SISTEM_DATABASE.mdb"";" ' string declare connection ke dbase Dim DBCon As …

Software Development open-source vb.net
Member Avatar for kvprajapati
0
85
Member Avatar for lllllIllIlllI

Hi guys, I have been programming in python for just a bit over 2 years now. Being quite apt at it i was wondering, what can you do to really extend yourself in python? We have a lovely thread in the Projects for Beginners, but in some ways i have …

Software Development python
Member Avatar for lllllIllIlllI
0
213
Member Avatar for llemes4011

Hi everyone. I have a quick question: Is there anyway that you can check to see if a point lays on an Arc2D object? I'm trying to write a Physics library (or at least part of one), and I noticed that there is no method that does it. You can …

Software Development java
Member Avatar for llemes4011
0
173
Member Avatar for furqankhyraj

i want to make a program in which if we input 98765 than it give output as 9 8 7 6 5 please help me

Software Development c
Member Avatar for Ancient Dragon
0
87
Member Avatar for milhero

Hi, I have posted about receiving email before and this is a follow up of my progress. I have only one form and it consists of 2 buttons, one for downloading messages from the server, the other, to disconnect the connection. I also have one listview and one textbox to …

Member Avatar for milhero
0
280
Member Avatar for AutoPython

I'm making a program that shuffles a specific code. Each letter and number has a specific variable represeting them such as code1, code2, code3 etc. So lets say 1 is sait to code1, 2 to code 2, 3 to code3 etc. So here's what I've done, I've put the all …

Software Development python
Member Avatar for AutoPython
0
116

The End.