132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 = … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
I'm trying to open a usb webcam via Python. Can anyone give me a hint how to do that? Thanks, Shawn | |
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++ | |
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++ | |
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 | |
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 | |
[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++ | |
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 | |
![]() | 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 |
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 | |
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++ | |
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++ | |
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 | |
![]() | 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). |
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++ | |
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 | |
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 | |
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 | |
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 | |
![]() | 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] … ![]() |
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++ | |
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 | |
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 | |
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++ ![]() | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … Software Development data-structure email listview open-source vb.net | |
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 |
The End.