43,549 Solved Topics
Remove Filter ![]() | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
![]() | [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++ ![]() |
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 | |
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 | |
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 | |
[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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 … | |
![]() | 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 |
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); … | |
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 | |
What is the meaning of "immutable" when relating to an Int32 ? Int32 i = 0; i++; //etc Software Development | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 ![]() | |
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 | |
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 | |
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 | |
[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 // … | |
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++ | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
[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 = … | |
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 |
The End.