43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ninjatalon

I have a checkbox X1 that if checked it will check a column of checkboxes. What i'm trying to do is if the user unchecks at least one checkbox from the column it will uncheck checkbox X1. But I don't want it to run the event from checkbox X1 again …

Software Development vb.net
Member Avatar for ninjatalon
0
154
Member Avatar for ninjatalon

What is the right way to declare an array [CODE]Dim lblname As Label() = New Label(get_num_of_children()) {} Dim mealcheck As Integer() = New Integer(get_num_of_children()) {}[/CODE] or [CODE]Dim lblname() As Label = New Label(get_num_of_children()) {} Dim mealcheck() As Integer = New Integer(get_num_of_children()) {}[/CODE] Thanks for your help

Software Development vb.net
Member Avatar for ninjatalon
0
148
Member Avatar for passcode121

Hi, i am having a really hard time solving the following problem. it looks really simple, but i cannot find a good implementation for it !! if you have a good algorithm please tell me about it, thanks The Problem: Source File: coindst.c/ cpp/ pas/ java Input: coindst.in Output: coindst.out …

Software Development algorithm c++
Member Avatar for passcode121
0
1K
Member Avatar for satti

hi friend,the problem is i have created two projects separately.both have dataEnvoirment with the same name as DataEnvoirment1 ..iwant to add a form from 2nd project to 1st project when i add the form along with its DataEnvoirment it gives duplicate name error, Itried to change the Dataenvoirment1 name to …

Software Development visual-basic
Member Avatar for satti
0
162
Member Avatar for Marcial

I wrote the code below and it runs well. However, how do I make it so that 'Jeanne' enters her own name instead of the numeral 01 to get the message 'Welcome Jeanne'? Thank you. // This program assigns a code to 'Jeanne' (analogous to a pass code) [CODE] Actual …

Software Development c c# c++
Member Avatar for Marcial
0
205
Member Avatar for HASHMI007

[CODE] #include<iostream.h> #include<stdlib.h> struct rectInfo { int hight; int width; int area; int parimeter; void print() { cout<<hight<<" "<<width<<" "<<area<<" "<<parimeter<<endl; } }; void calArea(rectInfo *p,int n){ for(int i=0;i<n;i++){ p[i].area=p[i].hight*p[i].width; p[i].parimeter=2*(p[i].hight +p[i].width); } } void genData(rectInfo *p,int n) {for(int i=0;i<n;i++){ int a=rand()%10; int b=rand()%10; p[i].hight=a; p[i].width=b; } } int main() …

Software Development c++
Member Avatar for HASHMI007
-6
92
Member Avatar for Amadman114

Hi, I want to move a shape (label) when I press WASD around a maze. I got what I have so far off the net, but I cant figure out whats wrong with it. [URL="http://www.programmersheaven.com/mb/VBasic/223364/223860/re-basic-key-press-question-answered/"]Original code[/URL] [CODE] Public x 1 'This is whats wrong - it says "End of statement …

Software Development vb.net
Member Avatar for Amadman114
0
960
Member Avatar for drogba123

Hi all, How do i store matching substring and string inside one single arraylist? example: [[er, every, errant]] which saying er substring is inside string every and errant.how should i make the comparison? basically what i did is only make 2 arraylist a1 = new ArrayList(); a2 = new ArrayList(); …

Software Development java
Member Avatar for JamesCherrill
0
285
Member Avatar for Naqib

i m a student of BCS final year . i want to developed a games in java . any one have idea about game . plz share with me thank you!

Software Development java
Member Avatar for WolfShield
0
108
Member Avatar for VB 2012

[CODE]myCoolFile = chosefolder.SelectedPath & "\" & NameofUal.Text & ".Ual" Try Dim myCoolWriter As New IO.StreamWriter(myCoolFile, False , [U][I][B][COLOR="Green"]????[/COLOR][/B][/I][/U]) <-<-<- For i As Integer = 0 To Mainfrm.ShellProgramslis.Items.Count - 1 myCoolWriter.WriteLine(Mainfrm.ShellProgramslis.Items(i).ToString & "~" & Mainfrm.myArrayList(i)) Next myCoolWriter.Close() Catch Erroronwrite As Exception End Try[/CODE] [U][B]Ive got some problems how do i say …

Software Development vb.net
Member Avatar for VB 2012
0
113
Member Avatar for kay19

Well, here's my problem. I have to Count from Num1 to Num2 by input from the user. So when I input let say 1 to 5, it will display 1 3 5. If I do 2 to 6, it would display 3 and 5. I can't seem to get the …

Software Development java
Member Avatar for kay19
0
454
Member Avatar for pmark019

I want to make a rating system in vb6 that has stars like here: [url]http://www.imdb.com/title/tt1217613/[/url]. Is there any add-on available for vb6 that will allow me to make this kind of rating system?

Software Development visual-basic
Member Avatar for AndreRet
0
429
Member Avatar for Jaseem Ahmed

i m using sql server 2000 with vb 6. i m having some problem in navigating recors.. when i m pressing Move Next,it moves only one record, and when i m moving Move previous, samely it move one previous record... here is a code... [CODE]Option Explicit Private con As New …

Software Development open-source visual-basic
Member Avatar for Jaseem Ahmed
0
2K
Member Avatar for servooo

Hi, i have a problem with getline function in cpp program on os x Error: main.cpp:158: error: 'getline' was not declared in this scope i read that in os x are some issues with getline() function but i am newbie and i dont know what to do. is possible to …

Software Development c operating-system os-x ubuntu
Member Avatar for gerard4143
0
385
Member Avatar for virendra_sharma

you are given a set of N points e.g ((x1,y1),(x2,y2),(x3,y3)...or (3,6),(2,5),(4,1)..) on a plane . Find the pair of points that are closest to each other. all these given points are on X-axis and on Y-axis according to that you have to calculate the closest points using given co-ordinates. Thanks …

Software Development
Member Avatar for Momerath
0
113
Member Avatar for Jake.20

I have some problem with my report. I don't know how to update my report. Every time i enter any data, the report did not show the added data. Please guys i need help. Thank you in advance, God bless.

Software Development vb.net
Member Avatar for Jake.20
0
118
Member Avatar for pseudorandom21

I only know a little bit about the Global Assembly Cache. After creating a WPF application, in the toolbox, if you right click and select "Choose Items", it will open a window in which you can specify controls you want to use that are in the GAC. Is it safe …

Software Development assembly
Member Avatar for mcriscolo
0
151
Member Avatar for mrnobody

hi, i'm did a program in C++6.0 that retrives data from Access. the program was ok and runs normally for quite sometime and suddenly the error [B]"Unable to Create File Buffer"[/B] appear. After searching high and low for solution and trying multiple suggestions, i found that that problem is because …

Software Development c++
Member Avatar for vijayan121
0
338
Member Avatar for inni2626

Hey everyone, New to Java and i was hoping if anyone could assist me.I needed to write a program that could display results of Champions League initial menu screen with the following set of options: 1. Display the current score for each possible response. 2. Vote 3. Quit the program. …

Software Development java java-swing
Member Avatar for Taywin
0
641
Member Avatar for TheDocterd

Hi All I want to use a template that should be used in my email function of my application. Below is my code so how should I modify it so that I can use a template instead of having to everytime type in the body of the email. Thanks in …

Software Development email visual-basic
Member Avatar for AndreRet
0
182
Member Avatar for trume

Hi! I'm new in shell scripting, so please help me with my problem. How can I do a bash script's [B]for loop[/B] to find the smallest number? If I have an example: 1 4 6 23 5 7 100 2 Answer: 1 It needs to be a for loop. Any …

Software Development shell-scripting
Member Avatar for Potion
0
195
Member Avatar for satti

hi friend, i want that my program should work like this, after inputs of total amount and expenses it automatically give the Total Expense and than TOTAL AMOUNT - TOTAL EXPENSE it give me the Remaining Amount. the total Expense and Remaining Amount should show in a text boxes. as …

Software Development visual-basic
Member Avatar for AndreRet
0
194
Member Avatar for guru_iyer

Problem is based on C#, ADO.NET, using Access Database. I am trying to filter the results from the database and display them in DataGridView on click of 'button1' button. But the datagridview shows empty results when there are actually 3 records with matching conditions. According to what I know, the …

Software Development sql vb.net
Member Avatar for guru_iyer
0
191
Member Avatar for Falcon25

Hello everyone! I'm new to c# and i've come on here hoping your knowledge can help me out. I'm trying teach myself at home but have got really stuck on this question, any help would be great [U]"Declare an integer array of 10 elements. Fill the elements with values that …

Software Development
Member Avatar for ddanbe
0
157
Member Avatar for plang007

How would I make this program that it tells me the number of odds or evens. I only have 1 number at the time, so I need it to either say 1 odd or 1 even. [CODE]#include <iostream> #include <fstream> using namespace std; void printInfo(); int nonNegative(int a, int k); …

Software Development c c# c++
Member Avatar for plang007
0
1K
Member Avatar for abelLazm

hello to all In my code I have to check currently running processes from task manager and perform some actions on them but the problem I am facing in doing so is that I am not able to get a processes location from where it is running (i.e. path of …

Software Development
Member Avatar for abelLazm
0
831
Member Avatar for pseudorandom21

What is the meaning of "immutable" when relating to an Int32 ? Int32 i = 0; i++; //etc

Software Development
Member Avatar for Momerath
0
115
Member Avatar for Craftknight

Alright, I have some questions. 1. This code does make some sense right? 2. I keep getting my failure to open file message, did I make the program do that or are my test files just not working? 3. How do I make the program acknowledge - and + as …

Software Development c++
Member Avatar for Craftknight
0
154
Member Avatar for weblover

hello all , i'm new to C# and i have a problem, i created a program that categorize my files into folders and subfolders. and i want to run a script test.bat that will run a python script to the files with extension .gb in the subfolders and this script …

Software Development
Member Avatar for weblover
0
155
Member Avatar for salty11

In this program everything work except the change back, the quarters, dimes, nickels, and pennies wont work, everytihng else works, for my input i used 65.67, which with hst came out to 75.52, the amount tendered was 100. I just need help with getting the quarters, dimes, nickels, and pennies …

Software Development c++ file-stream
Member Avatar for salty11
0
166
Member Avatar for Netcode

I have a datagridview control on my form. i use this to display data including images. Please how can i set the row height of the datagridview control so the picture can be well displayed? Thanks

Software Development vb.net
Member Avatar for abhay1234
0
273
Member Avatar for Akill10

Hey, I am having trouble trying to set a default value for a function in one of my classes. Here is where I am trying to set it: [CODE] void Sprite::Spr_Blit(SDL_Surface* source, SDL_Surface* dest, SDL_Rect* clip = NULL) { SDL_Rect offset; offset.x = getX(); offset.y =getY(); SDL_BlitSurface(source,clip,dest,&offset); } [/CODE] Here …

Software Development c++
Member Avatar for RyanMcMillan
0
154
Member Avatar for battlex2010

i have the following code for getting the number of files on a drive: [CODE] Dim num As Integer = 0 Dim drive As String = "C:" For Each File In System.IO.Directory.GetFiles(drive,"*",System.IO.SearchOption.AllDirectories) Try num += 1 Label5.Text = String.Format("Files found: {0}", num) If num > 50 Then RaiseEvent start() End …

Software Development programming-construct vb.net
Member Avatar for Unhnd_Exception
0
198
Member Avatar for Katana24

Hi - Im creating the game "Tanks" for the fun of it. Im fine with creating and adding the images and other inner game workings but I have digressed abit and have encountered a problem. The problem is this: I have painted the tank image to the panel but wanted …

Software Development java
Member Avatar for mKorbel
0
94
Member Avatar for arezz09

i have create 2 form , 1 database 1 textbox and 1 button reset in form 1 = "fill current username" = textbox1, button = reset.... 3 text and 1 button on form 2...new username = textbox 3,new password = textbox4,confirmpass = textbox5 and 1 button "sign up"..i just wondering, …

Software Development vb.net
Member Avatar for arezz09
0
347
Member Avatar for gedas

hey, i have got three sets of x an y coordinates , where one of the x y coordinates keeps on changing all the time. lets say i have first set where the coordinates are int x=100 and int y=100; second set would be : int x=100; int y=150; but …

Software Development java
Member Avatar for Ezzaral
0
968
Member Avatar for JordanHam

[CODE]#define _LL_BUFFSIZE_ 2048 string lastLine; lastLine.clear(); // regardless, zero out our return string char buff[_LL_BUFFSIZE_]; // our temporary input buffer data_filet.seekg (0, ios::end); // go to end of file int length = data_filet.tellg(); // find out how large it is data_filet.seekg(length-min(length,_LL_BUFFSIZE_),ios::beg); // seek back from end a short ways // …

Software Development c++ ios
Member Avatar for JordanHam
0
4K
Member Avatar for yuugib

Hi, I was wondering if you can help me figure how to go about this problem. This is what I have to do: Write a programme to generate an array of 100 random integers. [B]While the array is being filled incrementally, produce a sorted array by comparing the new element …

Software Development c++
Member Avatar for yuugib
0
215
Member Avatar for BenWard

Hello, I'm having some trouble with SQL CE. The below code *should* insert a record into the 'maps' table. (table adapters all set up) sometimes it says cannot insert as breaching primary key constraint, which is fine, but it otherwise fails with cannot insert NULL into iMapId. I have checked …

Software Development sql
Member Avatar for BenWard
0
129
Member Avatar for axman1000

I have a task. I will be receiving anywhere between 1 and 4 files daily from one single email id. I would like to extract these attachments, save it to my local drive, and then, extract the data from there into a database. I do not/will not be using Outlook …

Software Development email vb.net
0
107
Member Avatar for Hojjat.Mojallal

There are n persons numbered from 0 to n - 1 standing in a circle. The person number k, counting from the person number 0, is executed. After that the person number k of the remaining persons is executed, counting from the person after the last executed one. The process …

Software Development c++ linked-list
Member Avatar for Hojjat.Mojallal
0
378
Member Avatar for mayankdvd1

I am trying to read gridview column through the following code protected void gdOrderdetails_RowUpdating(object sender, GridViewUpdateEventArgs e) { string name1; GridViewRow name = gdOrderdetails.SelectedRow; name1 = name.Cells[1].Text.ToString(); Response.Write(name1); } It's giving error "Object reference not set to an instance of an object." Pls help me out Thanks in advance

Software Development
Member Avatar for Munnazz
0
82
Member Avatar for lielee

Hello. I'm doing project using richtextbox and want to save the contents in Access. But my contents is a list and when I saved it, the list become one line, with a square to space it. Can it actually be done? I set the column with memo type. Here's my …

Software Development vb.net
Member Avatar for lielee
0
234
Member Avatar for orangepyth

This code changes anum but it should not?? What is going wrong? Many thanks >>> astr=['a','b','c','d'] >>> anum=[4,3,2,1] >>> anew=anum >>> for c,d in enumerate(anum): ... anew[c]=astr[c] ... print(anew,astr,anum) ... ['a', 3, 2, 1] ['a', 'b', 'c', 'd'] ['a', 3, 2, 1] ['a', 'b', 2, 1] ['a', 'b', 'c', 'd'] …

Software Development python
Member Avatar for orangepyth
0
117
Member Avatar for satti

Dear friend ,iam working on a project in which i have to make a database on 14 columns and then a program in vb to add the new data,delet and find. i have created database and a flexgrid in vb.but the problem is that icant be able to connect the …

Software Development visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for Nickair

Hi, I was wondering if anyone could tell me the best way to start learning the java programing language? Are there any free programs i can download to help me practice? I am going to be going into computer engineering and want to get a head start with programing and …

Software Development engineering java
Member Avatar for Sonny101
0
157
Member Avatar for razree

Hi all I want to be able to calculate the difference between two dates, written in SQL db. The difference must be in days/hours format. This is my code: [CODE] Dim SQLConn As New SqlConnection() Dim SQLCmd As New SqlCommand() Dim dr As SqlDataReader Dim arrival As Date Dim departure …

Software Development vb.net
Member Avatar for razree
0
290
Member Avatar for rohitamitpathak

i m confused about sprint syntax- i need to create dynamic mysql query so i have to use it, when i take char * it shows a error while when i take char arr[100] (like this )it work fine.. i read syntax from sprint from multiple sites, and it make …

Software Development c c++
Member Avatar for rohitamitpathak
0
271
Member Avatar for sourabh17

[QUOTE] I want to do convolve operation on an image using java. But the program shows a runtime error like cannot do Convolve operation on the image. I am attaching the code I have done. Please help... [/QUOTE] [CODE] import java.awt.image.*; public class ImageOperations { private BufferedImage image, blurredImage = …

Software Development image java
Member Avatar for sourabh17
0
189
Member Avatar for critznikkian

well im having a little trouble hiding the password on my input because im using inputbox i just want to cover up what the user will type at the inputbox with asterisk "*" how can i change the input in the input box with * so it will not be …

Software Development visual-basic
Member Avatar for AndreRet
0
309

The End.