132,726 Archived Topics
Remove Filter ![]() | |
Hello i have problem, how can i put icon on my toolbar below my menu bar.because i have not yet tried using the toolbar. Thank you in advance hoping for your positive response. Software Development visual-basic | |
Ok, 2 questions. 1. I have an applet, but it is IN the page, like, part of the HTML I think, how do I get it to like "pop up" and be its own window. It will eventually become a game tool, so it would be easier to use if … Software Development java java-netbeans | |
Hi, I have a rectangle inside another rectangle, how can I make to do like an IntersectWith method but just the outer rectangle Border? Since one rectangle is inside the other it seems like it is always intersecting so I want to know how to tell the inner rectangle to … Software Development | |
Hello. I'm a total noob to C++ and MFC, I've been teaching myself from books and it's not going too well. I've been asked to create a test application for a controller. The controller consists of six joysticks connected to a digital I/O board that's connected via USB. I managed … Software Development c++ visual-basic visual-studio | |
hi I want to write my C functions in 2 separate .c files and use my IDE (code blocks) to compile everything together. How do I set that up in code blocks? How do I call functions in one .c file from within the other file? | |
the output is supposed to be like this: [B]1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1[/B] what I have is this: [B]1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1[/B] [CODE]import java.util.*; class Array{ public … Software Development java | |
Hi. Basically I first made some code to do mergesort on a list of numbers. Worked like a champ. Then I said, what the heck, why not do a mergesort on an array of structs, this is where it gets a little funky. While the first sort of the data … Software Development c programming-construct | |
Hello everyone...I'm trying to create a journey planner for an underground system...but the first thing Is to create the skeleton of the underground system... my problem is I don't know how to add more links to a single node when the station has an intersection with other lines... [CODE]public class … Software Development java linked-list | |
i'd like to ask how one can get rid of all the components in a JPanel (buttons, labels, comboboxes etc), so that you can add new components (at run time that is) Software Development java | |
Hey guys, I just started to try and use OpenGL and I wanted to run an example but I get linker errors. The code is just fine but it has linker errors says the console. Linker Errors/Console: [CODE] [Linker error] undefined reference to `glFinish@0' [Linker error] undefined reference to `wglSwapBuffers@4' … | |
hello I'm new to this and will like some help. I will like to create a visual program with to command buttons, the first to open a file by having the user choose the file and the second command button is to open the file and read in the text. … Software Development c++ | |
[CODE] Protected void Update(object sender, GridViewCommandEventsArg e) { if(e.CommandName == "Change") { int index = GridViewemp.EditIndex; GridViewRow grid = GridViewemp.Rows[index]; TextBox salary = (TextBox)GridViewemp.FindControl("TextBoxsalary"); sqlcon.Open(); string query = "Update Employee set Salary="+salary.Text+"where EmpID ="+GridViewemp.SelectedDataKey.Value.ToString(); sqlcom = new SqlCommand(query, sqlcon); sqlcom.ExecuteNonQuery(); sqlcon.Close(); } } [/CODE] I am getting the error Error: … Software Development asp.net | |
how to convert sb.toString() to char type?? who can help me..? Software Development | |
i got a small piece of soft that connects to a huge .gdb database (500000 lines) through the network. using .movelast will give me memory out. any good advice to access in a fast way the last record? Dim cn As New ADODB.Connection sConnStr = "Provider=ZStyle IBOLE Provider;Password=masterkey;User ID=SYSDBA;SQL Dialect=3; … Software Development open-source visual-basic | |
Let me start off by thanking the individuals who have helped me before on other projects, you are awesome. Now on to my new issue. We are learning STRUCT in our new assignment. I had an issue before that was resolved by using a call by reference instead of value. … Software Development c++ | |
Hi guys, I have a class called [B]Gen [/B]under a package [B]diaby[/B], project name diaby. I then have my other project andy, with class [B]Anders [/B]under package [B]andy[/B]. I have built successfully project dan, gone into its dist folder and copied the jar into project kim's common jars/libraries, included the … | |
At present i have a folder lantern with files lantern/*.class or java also in lantern are graphics folders. lantern/img with files /lantern/img/image1.gif for example The folder lantern folder is in is called build and its in my class path. each file in lantern/*.java has package lantern; i type java lantern/multiframe … Software Development java | |
My project I am working on is a product location system for a large supermarket. My current issue is that the map I am using to display the product location is assembled from rectangle objects which I will then change the colour of when required. The array storing the locations … Software Development vb.net | |
Hi, Im brand new to VB and almost completely new to scripting. Where could I find a list of the most basic and useful commands with explanations, or even just like a dictionary of commands in VB? Also, (this is a painfully easy question but searches haven't come up with … Software Development vb.net | |
Hi I am running a simple application which has three Radio Button and I have two problem with that as following: 1- First of all, two of the radio buttons [R2(Blue) and R3(Green)] are automatically selected when I run the code!(As you can see in attached screen shot). I tried … | |
[CODE] #include "includes" int main() { time_t rawtime; struct tm * timeinfo; char buffer [80]; time ( &rawtime ); timeinfo = localtime ( &rawtime ); string timetest; timetest= strftime (buffer,80,"%Y-%m-%d",timeinfo); puts (buffer); } [/CODE] now instead of print the time i want add the value of the time to a … Software Development c++ | |
I have the following code: [CODE] static void foo<T>(this List<T> list, T t) { ... } [/CODE] So in order to call the extension method I'll have to do this: [CODE] myList.foo<myType>(myVar); [/CODE] Is it possible to change my code so that I can call my method like this: [CODE] … Software Development | |
Hi! Can someone help me? I have a datagridview and I declared this code: [CODE] i = dgStudentsHandled.CurrentRow.Index txtStudentNumber.Text = dgStudentsHandled.Item(0, i).Value [/CODE]. I can get the value of the first cell of the first row of the first column. But I have to get the value of the first … Software Development vb.net | |
In these problem I have to find triangular number by the number of it's divisors. The program takes about 0.65 seconds to find the first triangular number with >100 divisors and about 87 seconds for the number with >200 divisors which means that my algorithm is very inefficient. Any help … Software Development c | |
Had an assigment making a bankaccount, and validating the account owners age, this is just a bit of the code..... [code]public boolean checkDate(String myDate) // my date should be in the format 20111224 { int year = Integer.parseInt(myDate.substring(0, 4));// convert the year 2011 to int int month = Integer.parseInt(myDate.substring(4,6)); //convert … Software Development java | |
return printLCS(i-1, j-1) + index(x, i); i found this in a recursive java program, well [B]that is being done is[/B] return index(x, i) (returns a character) and same time continue recursion? Software Development java | |
Hi! I develop the app, that must be binded to hardware-specific information. This is a part of license protection scenario. The serial number of motherboard must be obtained. How to do it under Windows ? Software Development c c++ motherboards-cpu-ram | |
I'm making a simple java calculator. I'm done with the GUI part but don't know how to start on it's functions. Anyone can tell and help me how to start it's function? [CODE]import javax.swing.*; import java.awt.*; class Calculator extends JFrame { private JPanel p1,p2; private JTextField tf; private JButton b[]; … Software Development gui java java-swing | |
I am trying to drag a program originally written in Borland C version 3 into the light of the present using Visual C++ 2010. I have a curious, apparently simple, problem. The program read data from a file. I can create a noddy program that opens and reads the contents … Software Development c++ visual-studio | |
Hello everyone I have written a small c++ program where two files are compared line by line and in case the lines are different, the differing ones are put into a report.txt document.But its not working right! The first few lines which are same are not put into the report.txt, … Software Development c++ | |
[CODE]#include<stdio.h> #include<conio.h> main() { clrscr(); double sales[10]; int index; double largestsale,smallestsale,sum,average; //initializing for(index=0;index<5;index++) sales[index]=0.0; //reading printf("Enter Value:\n"); for(index=0;index<5;index++) scanf("%d",&sales[index]); //printing for(index=0;index<5;index++) if(sales[index]<index) printf("%2d",sales[index]); //sum & average sum=0; for(index=0;index<5;index++){ sum = sum+sales[index];} average = sum/5; printf("\nThe Sum is %d",sum); printf("\nThe Average is %d",average); //largestsale int maxIndex = 0; for(index=1;index<5;index++) if(sales[maxIndex] < … | |
hi, i have develop an application in vb.net which is running well with windows xp but when i install it to win 7 basic home it doesn'nt execute at all. It stops when it reach the form that has flash player. I have instal flash player version 10 but it … | |
HELP!! can someone please help me, because i need to create a game in which i have to count how many times i've pressed enter in a matter of 1 minute. | |
Hi! Since my last thread hasn't been answered and I simply cannot wait until it gets answered, how can I validade what is being written on a textbox? I need to know when the user types a "-" (minus) char. And when he do so, an message appears (preferably an … Software Development vb.net | |
Is it good practice to do all instantiation inside the Main() method and not in any other classes? Software Development | |
cananyone tell me wats goin on in these files???? especially the 1st,3rd and 5th..... i hav tried a lot but cudnt figure out wats going on in the above mentiones files...my job is to prepare code for it.....anyone plz help! [URL="http://incognito.co.in/programs.zip"]http://incognito.co.in/programs.zip[/URL] Software Development c++ | |
Hello All, I have a little experience with C programming but from last 2-3 years i didnt use C. Now i have to develop a GUI which can send and receive data via RS232. Basically i have to send via CAN (Control Area Network) which is a BUS use in … Software Development c gui visual-studio | |
OK, so I know that I can search binary records in C, by entering the number and returning the corresponding data, however I need to search a binary file using text. In my opinion I would need to load this file into a buffer and search the buffer for the … Software Development c | |
I need help with an assigment - I am to create a number systems table which consist of converting a decimal number to binary, octal, and hexadecimal. Here is my code i have so far but does not create output - any suggestions would be great - thanks #include <iostream> … Software Development c++ | |
Hello, First, this is an extension to homework. I have all the requirements completed, but I'm attempting to write a switch that will allow me to toggle between sorting on actual data structs, or on smart pointers to data structs. By themselves, they both work, but when attempting to combine … Software Development c++ | |
Hi all I have been tasked to implement a median filter on an image - this involves creating a window that will traverse the entire image. When the window goes out of bounds of the image, the guilty indices are supposed to be set to zero. My problem is that … Software Development c | |
Hi all. I am trying to add a record into the database wothout much success. sometimes it works and sometimes it returns error "[B]overflow exception unhandled[/B]" And even the database is not all the time updated. How do you add the Datatimepicker value into the database...? Will really appreciate help … Software Development vb.net | |
currently i am developing an image processing software it loads images from disk to application for processing .As more and more images loaded to application memory used for each image is not freed so system become slow and slow.In java theory it is stated that garbage collector automatically deallocate unused … | |
I have created 3 sorting methods. My problem is I need to have the user tell the program which sorting method they would like the computer to use. This sounds simple but I am confused on how to do this. My classes are below. If someone could help me out … Software Development java | |
PLease help me !! how can i uppercase the half only of the string and the half is in lower case?? Software Development c | |
im trying to replicate the screen contens in my application .. i need a certain area of the screen to be drawn in my app...although this code works fine, its very very slow...takes more than 20 seconds with inferior quality and around 30-40 with best quality... is there a quicker … Software Development python | |
Hi Can you help me please how can i encrypt my password in ms access just like this “¼ÞÔ:o½½ñ²6³' so that if someone will open my database they could not read the password..can you help me please.Thank you in advance hoping for your positive response.... Software Development visual-basic | |
Hello, I want to make a code to sort the numbers in array from the biggest to the smallest. How can I do it? [CODE]static void Main(string[] args) { int[] Array = { 108, 112, 87, 71, 49, 105, 49, 78, 63, 42 }; int length = Array.Length; }[/CODE] Any … Software Development | |
HI, I WANT TO BUILD A TREE STRUCTURE BY TOKENIZING THE WKT STRING STREAM ( BELOW ). ALSO I WANT TO ACCESS AND STORE THE VALUES OF THE CHILD NODES IN THE TREE. EX : VARIABLE PROCS_NAME : "OSGB 1936 / British National Grid" . I AM ATTACHING THE REQUIRED … Software Development c++ |
The End.