132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kumar2884

Hi I am engineering student, currently working in image processing. I have big issue in understanding few basic concepts in programming. To be frank I am beginner, so my question will look silly, so please tolerate with me and if anyone can help me it would be much use full …

Software Development algorithm c c# c++ engineering
Member Avatar for naveenture
0
546
Member Avatar for fattyJ

So i'm working on a java program where I ask for a file name, read it into an array. My problem is that im using a string tokenizer to delimit my commas and that put the student information into an array object. I have 10 arrays that are supposed to …

Software Development java
Member Avatar for NormR1
0
935
Member Avatar for efigen

I have been trying to write this code that calls a text file in the command line, it then reads the file and if the file has integers that look like this (1+2+3+5)it takes there sum and outputs it into a different text file, if it looks like this (1+2 …

Software Development c++ file-system ios
Member Avatar for WaltP
0
153
Member Avatar for nickliutw

I'm creating a program that perform store data and retrieve data from the arraylist. I have no clue make the program find the data in Arraylist and display the data that user is looking for. If data is not in the list, the program would print the line say that …

Software Development java
Member Avatar for NormR1
0
599
Member Avatar for oscargrower11

I'm used to c++ along with an open database (switched from mysql to postgres not too awful long ago.) A new job I'm looking at taking focuses heavily on .net along with SQL Server. As such, I've been looking into the .net framework and what I can't seem to figure …

Software Development c++
Member Avatar for Ancient Dragon
0
179
Member Avatar for coolbeanbob

Hello, This is my first time using vectors. The code below creates a vector of size 30, but when I run the program (which loads 30 integers into the vector), the last integer in my data.txt file does not load into the vector. When I use a vector of size …

Software Development c++
Member Avatar for NathanOliver
0
162
Member Avatar for oscargrower11

I'm used to c++ along with an open database (switched from mysql to postgres not too awful long ago.) A new job I'm looking at taking focuses heavily on .net along with SQL Server. As such, I've been looking into the .net framework and what I can't seem to figure …

Software Development asp.net c# visual-studio
Member Avatar for Momerath
0
197
Member Avatar for yousafc#

Hello All I just made a simple media player in c sharp.My code is [CODE]axWindowsMediaPlayer1.ContainingControl.BackgroundImage = Properties.Resources.Image1 ;[/CODE] But it is not working..................Please tell me. Thanks Advance

Software Development image
Member Avatar for nick.crane
0
315
Member Avatar for jashbela

Hi, I have error message . Please help me. 17 Attribute value "001" of type ID must be an NCName when namespaces are enabled. I am attaching file <!DOCTYPE cataloge [ <!ELEMENT cataloge (DVD)* > <!ELEMENT DVD (title?, genre?, rating?, viewerrating?, summary?, year?, director?, runtime?, studio?, actor? ) > <!ELEMENT …

Software Development xml
Member Avatar for jashbela
0
849
Member Avatar for coolsasuke

Hello friends, i am making an internet cafe progra,. And i need some help . Well, I was wondering if it is possble for this ; when a time is counting down for the customer , and the customer wants to top his/her account with more time , my cafe …

Software Development vb.net
Member Avatar for codeorder
0
258
Member Avatar for shrutipopat

i am making paint in c#.when i am drawing a rectangle by the below code then it is working: [CODE] namespace deniweb2 { public partial class Form1 : Form { Rectangle rect; List<Rectangle> therectangles = new List<Rectangle>(); public Form1() { InitializeComponent(); this.Cursor = System.Windows.Forms.Cursors.Cross; this.DoubleBuffered = true; } private void …

Software Development
Member Avatar for nick.crane
0
117
Member Avatar for seamus400

I was wondering if anyone could help me compile code which will actually work for my comiler. I've found many examples and two good references for... keyboard [url]http://www.codeproject.com/KB/system/keyboard.aspx[/url] and mouse [url]http://msdn.microsoft.com/en-us/library/ms646260[/url] ...but have never actually gotten a working version to run and therefore haven't been able to fiddle around with …

Software Development c++ pc-peripheral visual-studio
Member Avatar for seamus400
0
1K
Member Avatar for xxxferraxxx

Hello, I need to know how do i locate a form window on custom location at the desktop: At application start. EX: Screen: [url]http://img707.imageshack.us/img707/5653/56465ytyt.png[/url] Other question: is there any idea to solve the design bugs on other Pcs? P.S Im so newbie at VB.NET x)

Software Development vb.net
Member Avatar for xxxferraxxx
0
435
Member Avatar for asitmahato

I want to compile an assembly program in NASM using MS visual studio 2010. thanks..:D

Software Development assembly visual-studio
Member Avatar for Schol-R-LEA
0
233
Member Avatar for stinkypete

I am trying to write a multi-window text editor. I have a Page Control containing 20 pages, and each page (tab sheet) contains an instance of my editor. Which works mostly ok, except I sometimes get weird results when painting my editor window. The attached code is a greatly cut-down …

Software Development c++ perl
Member Avatar for stinkypete
0
247
Member Avatar for Coffee_Table

I am trying to run what i thought was a pretty basic program to solve a problem concerning strings (besides the point). It turns out that my algorithm works properly but i am stuck on a detail; the following segment of code is the problem: [CODE] int cases; string line; …

Software Development algorithm c++ programming-construct
Member Avatar for Coffee_Table
0
600
Member Avatar for chandnigandhi

code for bold,italic and underline in c# when button is pressed.....

Software Development
Member Avatar for chandnigandhi
0
125
Member Avatar for Danielle87

I am trying to search for a word or multiple words out of the given text. How could i assign different words to each principles so if the word searched for is amongst the assigned text that particular paragraph will be triggered. Any help will be greatly appriciated. Thank you. …

Software Development python
Member Avatar for TrustyTony
0
144
Member Avatar for tommygee100

Hi All, I'm Trying to solve this puzzle for my script: Let's say we have 3 lists, A,B and C with the following elements 'A' = [5,3,1] 'B' = [6,5,2] 'C' = [2,0,-2] I want to go through all 27 combination sequentially, looking for a combination that is 'valid' AND …

Software Development puzzle python
Member Avatar for TrustyTony
0
353
Member Avatar for hondros

I posted a while back ago on making directx work in classes. I'm having more issues now. On line 125 (system.cpp), when in debugging, it tells me that it has an access violation. I googled the issue, and someone had said something about initializing the pointer, but that is taken …

Software Development c++ microsoft microsoft-access
Member Avatar for hondros
0
197
Member Avatar for bsb_12

An hourly employee is paid at a rate of 125 per hour,from the workers gross pay,12% withheld for income tax,and 15 withheld for union dues. If the worker has 2 of more dependents additional 120 for health insurance. Write a java program that will input the total deduction,basic salary,gross pay …

Software Development java java-swing
Member Avatar for NormR1
0
287
Member Avatar for kheijhei

hi there, can anyone please help me how to insert, search and delete a picture in vb.net and Microsoft access 2007? A picture that will be store in access is inserted in a form or a picture box. But it seems i have the wrong codes.. and when i click …

Software Development microsoft-access vb.net
Member Avatar for Netcode
0
159
Member Avatar for king_saqib

asalam TO ALL GENIUSES HOW CAN I CHANGE THE ICON OF MY EXE IN VB 6

Software Development visual-basic
Member Avatar for Coco Chanel
0
73
Member Avatar for anonymousi

i wanted know the vb.net code that checks the password strength on the basis of length ,special characters ,both combined ,numeric,alpha-numeric.... >>contents of form may include: >textbox for password >label or progress bar or trackbar to tell the user the strength(good ,very >good,excellent,poor) >button to execute commands...

Software Development vb.net
Member Avatar for Netcode
0
4K
Member Avatar for suemaina

Hi pliz assist me, I need a code that can allow the login form to search for pin number stored in another form example when a customer enters the pin number and clicks ok button the login form searches if the pin number exists in the bank details form ..thanx …

Software Development vb.net
Member Avatar for Netcode
0
204
Member Avatar for kheijhei

guys, when you log in a username and a password a msgbox will show that you are log in, and then when you enter the same username and password, the program will identify that the username and password is log out. no button will be use in here. what code …

Software Development vb.net
Member Avatar for Netcode
0
289
Member Avatar for Hajira Khanum

i have tried to write a code, but i have a problem with the play() module where the message "one Row Completed" is not being displayed. Please help me with this:icon_confused: [CODE=c++]#include<iostream.h> #include<conio.h> #include<stdlib.h> class bingo { public:int a[5][5]; void input(); void check(); void play(); void comp(); }; void bingo::input()//input …

Software Development c c# c++
Member Avatar for tajendra
0
244
Member Avatar for Rupindersingh

Following code when executed, prints out a smiling face (ASCII equivalent of integer 2), but when the format specifier in printf is changed from %c to %d, it does not print integer 2. Any reasons why.... [CODE]main() { int i; int *c; char b[10]={1,2,3,4,5,6,7,8,9,0 }; c=&b[1]; printf("\n%c",*c); }[/CODE]

Software Development c
Member Avatar for Ancient Dragon
0
117
Member Avatar for maddocspace

Hello there, Sorry, unfortunately python parsing is not my main activity, it does not print the last block of the statement. i should get: *elset, elset=top_s1 1, 2, 3, 4 *surface, name=top, type=element top_s1 If i add in the test2 file a line such as *surface, name=bot, type=element then it …

Software Development python
Member Avatar for maddocspace
0
216
Member Avatar for narendra_kuma

[CODE]#include <iostream> #include "stdlib.h" using namespace std; struct var{ int a; int b; int result; }; void adD(var&); int main() { int a; int b; cout<<"please ente the value a ==== "<<endl; cin>>a; cout<<"please ente the value b ==== "<<endl; cin>>b; var v1; adD(v1); system("cls"); cout<<"the value of result == …

Software Development c++
Member Avatar for tajendra
0
104
Member Avatar for rajhans

Hi, I am facing problem regarding the element wise comparison of two strings and finding the difference of two Strings where one sting is not sub string of other. More than that Strings are of different length. Let String 1= "1 2 3 4 5" String 2="3 4 5 6 …

Software Development java
Member Avatar for rajhans
0
136
Member Avatar for TIP.Synergy

Hi to Everyone, i want to filter my record in datagridview w/o database like a search. Is it possible?? anybody can help me please ^_^

Software Development vb.net
0
112
Member Avatar for saboteur

I have this code for solving eight queens problem. There are 92 solutions but there are only 12 unique solutions by rotating/inverting. I cant seem to figure out how to make the program show only 12 unique solutions. Can someone help me getting that code? [CODE] #include <iostream> using namespace …

Software Development c++
Member Avatar for raptr_dflo
0
135
Member Avatar for Onlineshade

This is my code.... [CODE] #include<iostream> #include<conio.h> using namespace std; int main() { int t,i,j,k,m,n,o,q=0,a,b,c; cin>>n; cin>>k; i=n+1; j=k-1; for(a=n+1;a<=k-1;a++) { for(b=i;b<=j;b++) { m=a*b-n; n=a-n; o=b-n; t=n*o; c=m%t; if(c==0) { m=0; n=0; o=0; q++; } else { m=0; n=0; o=0; break; } } } cout<<q; getch(); return 0; } [/CODE] …

Software Development c++
Member Avatar for raptr_dflo
0
53
Member Avatar for PHkiDz

please help me in my code the error appears and i can`t figure it out. i used to write a program that will accepts the user input, but only a word then the program will scramble the word that had been inputted by the user and display it on JFrame(WINDOW) …

Software Development gui java java-swing linked-list
Member Avatar for peter_budo
0
188
Member Avatar for TrustyTony

I finally modernized this code. It is very primitive, but it is nice to have basic version, even it does a lot of mistakes. You could add features, like repetition elimination, or you can check the compete chatbot: [url]http://www.jezuk.co.uk/cgi-bin/view/software/whereskal[/url].

Software Development artificial-intelligence-llm python
Member Avatar for TrustyTony
0
942
Member Avatar for devilishloki

Hello everybody, I was wondering if someone could help me. I have a magnetic stripe reader, that uses KB wedge, but since my laptop doesnt have a kb wedge i am using it with usb extension. I want to make a simple magnetic stripe reading program, that just reads and …

Software Development
Member Avatar for nick.crane
0
207
Member Avatar for SilentCoder

Hi, i am trying to merge Folders into File.extension and i was wondering how would i be able to do this. Basically i am trying to merge all files in a folder to one File.extension, for example: i have folder called Client, i have few files in Client folder: Notice.inc, …

Software Development c++ file-system
Member Avatar for raptr_dflo
0
183
Member Avatar for charlybones

Greetings. Ok so my problem is that I get a "Currency" formatted value from the database and this value sometimes comes as a whole number (without decimals) and sometimes it doesn't. But, when I output the information as "string" into an XML File, I [B][I]always need to show the 2 …

Software Development
Member Avatar for charlybones
0
215
Member Avatar for shivya jain

Hello to all, I want to auto generate id that should be access from my sql database. I try this code- [CODE] Dim j As Integer = 0 Dim cmd As New SqlCommand("select staff_id from staff ", c.con) Dim dr As SqlDataReader dr = cmd.ExecuteReader() While (dr.Read()) txtstaff_id.Text = dr("staff_id").ToString() …

Software Development vb.net
Member Avatar for lolafuertes
0
272
Member Avatar for kylelendo

Hii friends Well i am working on hex values of a file.Now to test it i delete single byte and then try to write the file using the remaining bytes.Well the file gets corrupted but still the file is constructed. So is there any code with which i can test …

Software Development file-system vb.net
Member Avatar for Teme64
0
944
Member Avatar for VBEpicNess

[B]To be clear, what I am trying to acheive is: [/B] Have my Paypal current balance show up in a textbox on VB.NET using the PayPal API [U]Not a VB.Net Webbrowser[/U] I have followed the guide on this page [url]http://www.blog-dotnet.com/post/Using-the-PayPal-API-via-the-SOAP-interface-%28getting-started%29.aspx[/url] But I keep getting the error Object reference not set …

Software Development api vb.net
Member Avatar for Oxiegen
0
337
Member Avatar for Jake.20

Greetings expert programmers, May i ask for a help on how to solve this error? " A network-related or instance specific error occured while establisihing a connection to sql server. The Server was not found or was not accessible. Verify that the instance name is correct and that SQl server …

Software Development mssql vb.net
Member Avatar for Oxiegen
0
180
Member Avatar for natha_peepli

#include<stdio.h> #include<string.h> main() { int n; char aan = 'y'; while (aan == 'y') { printf("entr ") ; scanf ("%d", &n) ; printf("sq of %d is %d", n, n*n ); scanf ("%c", &aan); printf("\n want aan y/n""\n"); } } I want to make this using while loop. kindly tell me …

Software Development c programming-construct
Member Avatar for asitmahato
0
104
Member Avatar for alteran

I'm trying to create a triangle that would be display along side rectangles and circles after I run NervousShapes. I can't seem to get it right. I try doing it with the math but doesn't create the triangle the way I want it. If anyone one has done the NervousShapes …

Software Development gui java
Member Avatar for NormR1
0
206
Member Avatar for pro_learner

Guys,i want to wait or sleep statement in a Java Desktop application when button press.I used thread.sleep & wait().But it doesn't work.I have a doubt that those functions are working only for console applications.Is it? or can i use it?Plz help me....

Software Development java
Member Avatar for pro_learner
0
266
Member Avatar for Oneryavuz

did someone know Ms-Dos's dir command i need to take all contets of any folder for using my praggram how can i do that is any one knows? thx for replys

Software Development vb.net
Member Avatar for Oneryavuz
0
192
Member Avatar for JoshuaBurleson

After marking gofish up to a temporary loss I've moved back to my address book. The issue I'm currently having is that webbrowser is opening the wrong broswer. I've set my default browser to firefox (currently using windows vista), and yet the program is still opening IE, however when I …

Software Development python tkinter web-browser windows-vista
Member Avatar for snippsat
0
3K
Member Avatar for starkk

some one help me pls.. segmentation fault for merge_sort....:( [CODE]#include<stdlib.h> #include<stdio.h> void merge_sort(int [],int ,int ); void merge(int [],int ,int , int); int main() { int i,n,a[25]; printf("enter the no of elements:"); scanf("%d",&n); for(i=0;i<n;i++) { printf("enter the element:"); scanf("%d",&a[i]); } merge_sort(a,0,n-1); for(i=0;i<n;i++) { printf("%d\n",a[i]); } return 0; } void merge_sort(int …

Software Development c
Member Avatar for cse.avinash
0
230
Member Avatar for DJWK

I'm doing an exercise about pointers in this C book i'm reading. This code should traverse through a linked list and there's a function that removes an entry from the list. It works, and I don't know why. The function removeEntry is undeclared int the main() function. Here's the code: …

Software Development c linked-list
Member Avatar for Adak
0
149

The End.