132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gayzlein

Hello, i need a code to show data from database into textbox i have this request "select count(*) from table" i work with access database andi want show the result in textbox pleaase help

Software Development vb.net
Member Avatar for gayzlein
0
8K
Member Avatar for vamsi.siddhani

i want to create buttons dynamically.... what i mean to say is i have a button which says add new one.... if someone click that button, a button should appear with the name given by the user...... if i enter the name of the button and click on add new, …

Software Development vb.net
Member Avatar for Reverend Jim
0
220
Member Avatar for daniel1977

Dear Friends: I need some help to identify the error. When I compile my application I get the following error message: Error 1 error C2678: binary '==' : no operator found which takes a left-hand operand of type 'extPersonType' (or there is no acceptable conversion) f:\college material\cs270\sourcecode\addressbook\addressbook\arrayListType.h 251 1 AddressBook …

Software Development c c# c++
Member Avatar for daniel1977
0
361
Member Avatar for darkofpain

The simplest way is now friends with this command when running this sample compiled #include <stdio.h> #include "fcgi_stdio.h" int main(int argc, char *argv[]) { while(FCGI_Accept() >= 0) { printf("Content-Type: text/html; charset=UTF-8"); printf("<center><br><br>Hello World Wide Web</center>"); } return 0; } **operation type:** cgi-fcgi -start -connect localhost:9000 ./hello After you run this …

Software Development c c# c++ operating-system unix
Member Avatar for darkofpain
0
262
Member Avatar for timmyjoshua

pls i need to control my progress bar relative to the page, but i'm having problems... i tried this: private void staffToolStripMenuItem_Click(object sender, EventArgs e) { progressBar1.Maximum = 1000000; progressBar1.Step = 1; for (int j = 0; j < 1000000; j++) { progressBar1.PerformStep(); } Registration frm2 = new Registration(); frm2.Show(); …

Software Development
Member Avatar for castajiz_2
0
103
Member Avatar for dws.ash04

Hi, so yeah. what i'm trying to do is load an image from my database create some graphics to it. probably just some lines and marks and save it back to my database. here's so far what I got. for creating graphics: } private void pictureBox3_MouseDown(object sender, MouseEventArgs e) { …

Software Development open-source
Member Avatar for dws.ash04
0
940
Member Avatar for weeraa

I'm bit new to C#. I just want to change the start up form in my project. (This is a windows form application). There is a field named with STARTUP OBJECT and a dropdownlist in Project properties. But my problem is I have created few forms in my project and …

Software Development
Member Avatar for weeraa
0
265
Member Avatar for timmyjoshua

pls, how do i add sound to my c# form.... e.g after a user clicks a button then a certain sound should prompt..i heard of signal IR but i don't understand it...

Software Development c#
Member Avatar for ddanbe
0
97
Member Avatar for timmyjoshua

Pls, i'm new to programming and i need to create c# database can somebody help me with creating database.......

Software Development
Member Avatar for JorgeM
0
114
Member Avatar for durgesh1

hello friends i like to make screen like windows my computer in which when we click in local disk and then any folder we don't see any new screen it just open all windows in one screen. is it possible to do in java so that we don't call any …

Software Development java java-swing
Member Avatar for JamesCherrill
0
265
Member Avatar for Olagsfark

Please i got a problem linking my .cpp files together in my c++ project. I dnt knw how to specify the file path for #include . Please any help?

Software Development c++
Member Avatar for phorce
0
219
Member Avatar for manel1989

Hi everyone! I would like to know how to show my Form21 from a click on a button in Form1 I used this code here: #include "Form21.h" /// Form21 ^maForm2 = gcnew Form21(); maForm21->Show(); I do not know why it does not work yet I found it in FAQC + …

Software Development c++ visual-studio
Member Avatar for ddanbe
0
294
Member Avatar for jai_steave
Member Avatar for deceptikon
0
447
Member Avatar for microlifecc

I wish to store an integer wid a 1000 digits for a program in C++.Please suggest me a datatype i should use.I'm using a 64 bit computer but the dev c++ i'm using is 32 bit.

Software Development c++
Member Avatar for Moschops
0
251
Member Avatar for Aakeem

I was wondering if there was a way to use the values in a list one would create. Such as secrete_door = [1,2,3,4] print "Choose the right door and you may proceed." print "Guess a door 1 through 4." # I would like to pull a number from the list …

Software Development python
Member Avatar for ddanbe
0
155
Member Avatar for DarkLightning7

I need to get the value of the primarykey for the most reciently created entry in an h2 database only problem is i cant figure out how to call scope_identity() which is supposed to return a resultSet with the most reciently created key. Here is the function i am using: …

Software Development html-css java sql
Member Avatar for ~s.o.s~
0
691
Member Avatar for murali2489

Hi All, I am having a tablespace named Incident which has eight columns . The first column is index which i kept as auto increment. The columns are 1.index(auto_increment) 2.ticket_no (String) 3.date(String) 4.description (String) 5.priority (int) 6.state (String) 7.follow_up (String) 8.status (String) Now i tried to insert test row in …

Software Development java java-swing sql
Member Avatar for murali2489
0
427
Member Avatar for hassje

#include<stdio.h> #include<conio.h> #include<string.h> struct student { int*ptr[23]; char*name[12];//store address of character string }s1; void main() { int roll=20; //char n='s'; s1.ptr=&roll;//ERROR s1.name="zahid ali";//ERROR printf("roll no of student :%d\n",*s1.ptr); printf("name of student:%s\n",s1.name); getch(); }//plase coorect this error

Software Development c
Member Avatar for rustysynate
0
163
Member Avatar for sal21

Sub DUE() Dim strBuffer As String Dim strContents() As String Dim I As Long ReDim strContents(0) Erase strContents() Close #1 Open "C:\TEST\28-06-2013.TXT" For Input As #1 strBuffer = Input(LOF(1), 1) Close #1 strContents = Split(strBuffer, vbCrLf) For I = LBound(strContents) To UBound(strContents) 'Debug.Print strContents(I) Next I End Sub Problem out …

Software Development visual-basic
Member Avatar for RonalBertogi
0
164
Member Avatar for vividiah

hi good morning, I would like to ask why when I run my program, but it appears a message like this "Runtime error '381 'Invalid property array index". I am confused about this because I am still a beginner :) what is the solution for this? This is my code: …

Software Development visual-basic
Member Avatar for vividiah
0
2K
Member Avatar for PratikM

Hi there, So I am trying to make a program that will allow me to input multiple users and be able to store data under their names. My problem is that I don't know how to make it so that the user can input as many names as he/she wants …

Software Development java
Member Avatar for PratikM
0
116
Member Avatar for Everyauction

Hello Fan's, I (re)started a rather old Project of mine about a Year ago, but shortly before it's Version1.0, the Fellow ordered to implement a powerful indexing-system, dropped out and left me with a partly unfinished piece of work. For more than a decade, I have been designing several editions …

Software Development perl web-design
0
184
Member Avatar for said ahmed

Each item in window form design has exchange text box control,what is the functio of this na me a)used to identify it and it isa variable. b)Its the label of that control. c)used for display d)all the above.

Software Development vb.net
Member Avatar for Reverend Jim
0
115
Member Avatar for manel1989

Hi everyone! I have a datagridview and I want to automatically fill it Let me explain: I have a matrix (gainMatrix) and I want to fill my datagridview by the latter, here is a piece of code that I use for filling: for (int i =0; i <ala.size(); i++ ) …

Software Development c++ vb.net
0
146
Member Avatar for shupa_1

A program that displays the numbers 1 through 10

Software Development c c# c++
Member Avatar for castajiz_2
0
332
Member Avatar for patrickmhando

How can i delete a record from a datagrid when i highlighting a certain row in my vb.net form ? I expect good answers from you guys. Thanks.

Software Development vb.net
Member Avatar for Stuugie
0
54
Member Avatar for nitish.mohiputlall

Write a program that displays the outline of a box five characters wide and five characters tall. Use the ‘*’ character for the box outline. here are my codes: #include <stdio.h> #include <stdlib.h> int main() { printf("%c\v", '*'); printf("%c\v", '*'); printf("%c\v", '*'); printf("%c\v", '*'); printf("%c\n", '*'); printf("%c%8c\n", '*','*'); printf("%c%8c\n", '*','*'); …

Software Development c c# c++
Member Avatar for Adak
0
245
Member Avatar for Muhammad Waqar_1

Hi, i have a problem here i am trying to write to a file through fwrite and read through fread functions. it asks me to enter 5 values with no problem but when i trying to read from a file it prints 6 values, the 5th values prints twice what's …

Software Development c
Member Avatar for Muhammad Waqar_1
0
203
Member Avatar for ddanbe

After reading the intresting articles of vegaseat, I finally decided to get my toes wet. So I installed Pyton 3.3.2 amd the plugin for Visual Studio 2010. The best learning is of course practice, so I started coding right away. Here is my first try: import sys print('Hello World') print('I …

Software Development python visual-studio
Member Avatar for vegaseat
0
278
Member Avatar for lena1990

hi all, first i searched the internet and did not find something help me or i did not understand what they say. i have server client program the client send data to the server and the server reply i want if the client did not send data for 2 hours …

Software Development java
Member Avatar for JamesCherrill
0
208
Member Avatar for cool_zephyr

I got a string `\x3Cb\x3EHello, World\x3C\x2Fb\x3E` as a webresponse..i think it means `<b>Hello, World</b>` but i don't know how to unescape that sequence into java string..could anyone please help me with this?? Thank you.

Software Development java
Member Avatar for cool_zephyr
0
695
Member Avatar for HiHe

Can anyone give this a try? '''print_error_python33.py there are times when a print() trailing newline disappears with Python 3.3.0 this does not happen with Python 3.2.3 or Python 2.7.3 ''' size = 180000 print("creating long string of %d sevens" % size) # create a long string of digits s2 = …

Software Development daniweb-bug python
Member Avatar for vegaseat
0
338
Member Avatar for ovalaukido

how do we build our own string functions from scratch and not use the built in functions from the String class and a function to open and close a file given its name. then, check whether or not the file exists. It should read an opened file into an array …

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

Well I am trying to write a simple "polynomial engine" that has two functions: [LIST] [*]simplifyPolynomial [*]solvePolynomial [/LIST] I just don't know where to start:( I can't think of a method to use. I don't think there are any polynomial libraries in java? My question is: do any of you …

Software Development java
Member Avatar for George_1
0
1K
Member Avatar for Mr.Sagr

Hey, I want to EnumProcess , Then HANDLE with exactly process to read the memory of it any help?

Software Development c++
Member Avatar for Ancient Dragon
0
136
Member Avatar for akhilchandranms

how can i make the system (execution process )wait for some periode of time

Software Development java
Member Avatar for JamesCherrill
0
309
Member Avatar for rectifryer

I am currently trying to use the "find" command with symbollic links created by a tcl script that are pointing at another file in another directory (RH5). My script is written in bash, however: find /home/directory/subdirectory -name *.gz -type f -printf '%T@ %p\n' | sort -n | tail -n 1 …

Software Development shell-scripting
Member Avatar for rectifryer
0
166
Member Avatar for every1play

Hi guys, I am creating a 2D casual game and i encounter a problem. The problem is that I have a highscore features that saves to a text file by storing the name and score Now i wanted it to sort using bubblesort and structures. How can i achieve that? …

Software Development c++
Member Avatar for rubberman
0
317
Member Avatar for <M/>

As i work through my code, i notice a little error message as i try to compile/build my code. It says that the PDB File is missing. Can someone explain to me what is a PDB file and how do i make it "visible" in order to keep the error …

Software Development c
Member Avatar for <M/>
0
203
Member Avatar for gaurav23

#include<fstream.h> #include<conio.h> #include<string.h> #include<stdio.h> void main() { clrscr(); ofstream fout("a"); fout<<5<<"\n"<<3<<"\n"<<2<<"\n"<<4<<"\n"<<1; fout.close(); ifstream fin("a"); int i,j,k,l=0,m,n,o; while(fin) { fin>>i; l++; } l--; fin.close(); fstream fin1("a",ios::ate,ios::in); fin1.seekg(0); for(i=0;i<l-1;i++) { for(j=0;j<l-i-1;j++) { o=fin.tellg(); fin1>>m; fin1>>n; if(m>n) { fin1.seekg(o); fin1<<n; fin1<<m; fin1.seekg(o+1); } } } } //file sorting is not working if anyone …

Software Development c++ file-system ios
Member Avatar for gaurav23
0
225
Member Avatar for Paul_15

I am developing an application which I have added 2 combobox's (possibly not the best way but it works fine in the most part) which I import data into from a CSV file. I have added code in so that users can add to this file, again this works fine. …

Software Development linked-list vb.net
Member Avatar for Paul_15
0
145
Member Avatar for Paul_15

I have created an application (in VB Express 2008) which allows me to distribute some useful web pages to users. The problem I'm experiencing is sorting on ComboBox1 (renamed to PageName) and this then throws the URL Address combobox (ComboBox2) out of sequence. Any help on this? Tried using the …

Software Development vb.net
Member Avatar for Paul_15
0
117
Member Avatar for remyajames

Hai, I am doing a project in VB.Net and SQL Server 2000. When I try to execute my queries in the crystal report it gives a query engine error and in other cases it shows the report with each row repeated. The SQL Query works perfectly in the query analyser. …

Software Development vb.net
Member Avatar for Armand_1
0
442
Member Avatar for jagvllead

import java.io.Console; public class ConsoleDemo { public static void main(String[] args) { Console cnsl = null; String name = null; try{ // creates a console object cnsl = System.console(); // if console is not null if (cnsl != null) { // read line from the user input name = cnsl.readLine("Name: …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for daniel.leowteckleong

**Problem Statement** During the tax season, L&T Accounting Firm provides assistance to people who want to prepare their own tax returns. The company only services personal (individual) taxpayers. Your task is to write a program to do the tax calculation for each of the personal clients. Your program should get …

Software Development c++
Member Avatar for bradly.spicer
0
309
Member Avatar for caixadelixo

Hi!!! Somebody knows whats the problem???? If i remove OpenFileDialog and pass the string direct pathDiskCover = @"C:\Documents and Settings\Administrator\My Documents\someImage.jpg"; it works fine private void toolStripButton2_Click(object sender, EventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.FileName = String.Empty; dlg.Title = "Open Images"; dlg.Filter = "Image Files(*.png; *.jpg; *.bmp)|*.png; *.jpg; …

Software Development image sqlite
Member Avatar for Ketsuekiame
0
171
Member Avatar for pc20912

TabControl1.SelectedTab.Controls(4).Text =”Test” Control and Tab Pages created in runtime. (No of Tab pages depend on user input) How to handle this control without control Number. ? (Is any way to handle with Control Name)

Software Development vb.net
Member Avatar for pc20912
0
295
Member Avatar for fuhanspujisaputra

The NewForm did not close itself when every time i called a "New Form", but the Main Form does Hi everyone, i have a problem. I already can closed the MainForm when i called the FirstForm, but when i called a "NewForm" again in the FirstForm, it called the SecondForm, …

Software Development
Member Avatar for ss125
0
218
Member Avatar for andrew.mendonca.967

Write a program to read the coefficients of a series of quadratic equations from a text file and print the associated roots, or appropriate errors if there are no real roots, to another text file. The coefficients of a quadratic are the a, b and c of an expression of …

Software Development c++ file-stream
Member Avatar for nitin1
0
187
Member Avatar for somjit{}

whats even more is that if i create any new file in the "src" folder of the project , it doesnt create any new bin folder to place the class file. i dont know where the class files are of the compiled source code . only when i manually `javac …

Software Development github java
Member Avatar for somjit{}
0
4K

The End.