132,726 Archived Topics
Remove Filter ![]() | |
Hi all Greetings, Please give me some advice how can i call my existing report in vb.net any reference is appreciated. I am trying the importing crystal decision but i can't find it on the reference is it maybe because i am not using CR10? or there is something that … Software Development vb.net | |
hi, im a new comer in this forum. please anyone can help me for find string in large text file (filesize = 1mb to 5 mb) example: i have a text document file, filename is test.txt file test.txt contains serial number 000001 000002 000003 000004 000005 000006 000007 000008 000009 … Software Development file-system vb.net | |
import javax.swing.* ; import java.awt.event.*; import java.awt.*; import java.io.*; import java.util.Calendar; import java.util.*; import java.text.*; /* <applet code="gui.class" width=250 height=100> </applet> */ class gui extends JApplet implements ActionListener { JTextField t1,t2,t3,t4,t5; JLabel l1,l2,l3,l4,l5,l6; JButton b1,b2; Calendar c1,c2,c3; JPanel p,p1,p2; Date sd,sd1; SimpleDateFormat sdf; public void init() { SimpleDateFormat sdf = … Software Development gui java java-swing | |
/*I am trying to generate 6 random unique (1-49) no.s and understand that my validation is incorrect.Help Please?*/ [code] import java.util.*; import javax.swing.JOptionPane; public class ranUnique { public static void main(String[] args) { String output=""; int[] arrayRan=new int[6];int ran2; for(int ran=0;ran<arrayRan.length;ran++){ arrayRan[ran]=(int)(Math.random()*50 //validate for(ran2=0;ran2<=ran;ran2++){ if ((arrayRan[ran]==arrayRan[ran2]) || (arrayRan[ran]==0)) { arrayRan[ran]=(int)(Math.random()... … Software Development java java-swing | |
hi guys, am stil new to java their was a snippest code about getting screen size i've being seeing onine calling window.getSize() in what package is the object located. // Get the size of the screen Dimension dim = Toolkit.getDefaultToolkit().getScreenSize(); // Determine the new location of the window int w … Software Development java | |
Derive an algorithm which updates the ith elements from the top of the stack, upgrade this algorithm to calculate the maximum value among the contents of the task. Hence write a java program to implement this task | |
#include<stdio.h> #include<math.h> int main() { int num,i,count0=0,count1=0; printf("enter number \n"); scanf("%d",&num); for(i=0;i<32;i++) { if(num &((pow(2,31))>>i)) count1++; else count0++; } printf(" the no. of 0's and 1's in the given number are %d %d",count0,count1); } Software Development c | |
HI, could someone explain me this line of code: public void createTextFile(Layer layer, String prcString, String arString) { File fileStatPercent = new File(fileName+layer.getName() + "Test.txt"); try { BufferedWriter out = new BufferedWriter(new FileWriter(fileName + layer.getName() + "Test.txt")); out.write("something"); out.newLine(); out.write(prctString); out.newLine(); out.write("something"); out.newLine(); out.write(arString); out.write("\n"); out.close(); Thank you, i don't … Software Development java | |
Hi! I'm a 2nd Year IT Student and right now I have a problem in creating an Address Book Program using Java Codes.. It has never been discussed to us in class so i really don't know how to do it but look for it online.. I have used Mr./Ms. … Software Development java java-swing oracle | |
How can I connect my msacces database and use SQL query command like "Select Field FROM Table Where Field1 = foo AND Field2 = foo2" in Visual basic 6 and display the query result to a textbox. Software Development display visual-basic | |
in tree it acomdates only 260 characters i want to show 300 character pls tell how to do? Software Development c++ | |
hii deceptiokn my question is we know we can implement a bubble sort in an array.Is it possible to implement bubble sort in circular doubly linked list????? Software Development c linked-list | |
I've got the following project, which does what is described in the comments, however, when I use VC++ to compile it, it does not run properly, it crashes after I type in the document name. I'm wondering if I could get help on making it run properly. Any and all … Software Development c++ | |
Hi all, I have a program that I have to write with an output that looks like this: ---------------------------------------------------------- Wages for 3 employees For 10 hours worked, the wages are 120 dollars For 20 hours worked, the wages are 240 dollars For 30 hours worked, the wages are 360 dollars … Software Development java | |
Hello, I have a problem about counting consequtive characters, here my code char query[] = "tttthe oneZZZZZ trully loveeee"; void cntfreq(char A[]) { int j; int k=0; j = 1; while (A[j] != '\0') { if (A[j-1] == A[j]) { ++k; cout<<k<<"\t"<<A[j]<<endl; } else k = 0; ++j; } } … Software Development c++ | |
Hi, i have a question about using new/delete classes. This is a simle outline of the code: class a { blah blah blah class b { blah blah blah class c { blah blah blah }; }; }; int main (){ a newA; a::b newC; a::b::c newC; //to call fucntions … Software Development c++ | |
I need to design an application that reads a string from the user, then determines and prints how many of each lowercase vowel appear in the entire string. Separate counter for each vowel. I also need to count and print the number of consonants, spaces, and punctuation marks. The problem … Software Development java | |
I am trying to work on this assignment I have and I am pretty lost and do not know what to do. Any help would be greatly appreciated. This is the assignment: Add two methods (functions) to ex34. /* General Info: Write a copy constructor. Use the copy constructor in … Software Development c++ | |
I am fairly new to C# 2005. I am facing a strange problem in my first major project after migrating to C# 2005. I am using the concept of MDI and Child forms. My MDI form has the Menu bar on top as normal standard. My child form does not … Software Development | |
I need to design and implement an application that produces a multiplication table, showing the results of import java.util.*; import java.text.*; public class MultTab7 { //---------------------------------------------------------------------------------------------- // Creates a multiplication table. //---------------------------------------------------------------------------------------------- public static void main (String[] args) { int MAX = 12; for (int r=1; r<=MAX; r++) { for … Software Development java | |
I have been trying to write a program in Pascal (free pascal compiler, Lazarus IDE) that solves an uncompleted entered sudoku. I am moderately new to programming/pascal/lazarus, and so I have no idea how to use the debugging features. I have read through the code several times but I can't … | |
Hello guys. I need to write a client-server app that provides a simple Lotto server and client to generate a user-defined sequence of random numbers in the range 1 - 42. The system operates as follows: 1) Client sends a string message to the server indicating the operation to be … Software Development client-server java | |
i made this code to loop number for(int i=0;i<4;i++){ double temp[i]=Math.random() * i*10; system.out.println("Result" +i+ "=>" +temp); } output : Result 0 => 14.3 Result 1 => 11.4 Result 2 => 10.8 Result 3 => 12.4 now, i want to sort by ascending this output based on value with keep … Software Development java | |
I need to get specific objects deleted from a LinkList, but the deleted items come from a stack of sorted State objects, but the Statename is the only value. I am trying to compare the statenames when using deleteKey, but for some reason it is not working at all. I … Software Development java | |
![]() | Option Explicit Dim mem As Double, ans As Double, desi As Boolean, n As Double Dim no1 As Double, no2 As Double, fact As Integer, i As Integer Dim operation As Boolean, op As String, res As Double, index As Integer Private Sub cmd1divide_Click() n = Val(Label1.Caption) If n = … Software Development visual-basic |
Hi all, I need help in writing a method that calculates & returns a person's age (in years)given instance variables day, month & year all of type integer(int). Software Development java | |
Hi, I have a desktop app in Swing. Now i want a javascript function like mailto when I click a JButton. Please help or provide any suggestion on my approach. Thanks in Advance. :) Software Development java java-swing javascript | |
hi,i want design a feature which allows the forms to be changed to any theme color during runtime based on user specification can help me.. Software Development vb.net | |
Hi I’m fairly new to c# programing so please bear with me. I’m currently working on a “simple” little program which allows the user to enter 5 values into the same text box and once this has been done I want to be able to display the maximum and minimum … Software Development c# | |
![]() | Hello, I need a code for saving BackgroundImage from PictureBox1 with SaveFileDialog1. Please help me (I can't find the code) . |
I am able to read an external file but how do i retreive the data from the txt file per line? ex. text file has the following in it: dog cat rat how do i just display dog and then cat and then rat one by one? thanks. Software Development | |
Button1.DoDragDrop(BackgroundImage, DragDropEffects.None) Throws an error ' Object reference not set to an instance of an object. ' First time I've used DoDragDrop, and first time with 2012 :) Software Development vb.net | |
Does anyone know COBOL and how to retrieve data from a txt file? I have a list of words (1 word per line) and i want to retrieve them one by one randomly using cobol. thanks. Software Development | |
I am very new to python. I have developed a program using the GUI of python. My development is almost done but i am stuck with a point. I have designed my gui using Listbox to read data from a file and show it. All i need to add a … | |
New to Python and programming. I want to start with a txt file with different names per line Output a program that will create a directory for each entry in txt file I'm having problems getting txt file values into Python list, and using that as input for directory name, … Software Development python | |
Hi I have a CS class assinment that invloves solving a word search puzzle with a brute force string matching algorithm. I have made a lot of head way in getting the four search methods to work, however when I search for words that end along the edges of the … Software Development c++ data-structure | |
Hi I am facing problem using float in loop its value stuck at 8388608.00 int count=0; long X=10; cout.precision(flt::digits10); cout<<"Iterration #"<<setw(15)<<"Add"<<setw(21)<<"Mult"<<endl; float Start=0.0; float Multiplication = Addition * N; long i = 1; for (i; i <= N; i++){ float temp = Start + Addition; Start=temp; count++; if(count%X==0 && count!=0) … Software Development c++ | |
I am trying to write a Java program to download youtube videos. When I search in internet I found that most of the codes use to get the index of "url_encoded_fmt_stream_map=" from the YouTube page source. I think this is to extract the exact video format link. But I am … Software Development java | |
## Sub-Heading Here ## hello guys, am new here and am looking forwad to getting a lot of help and helping others as well. I have an assignment that requires a program that outputs the numbers 1,2,4,8,16,32,64,128 using a loop. Software Development java | |
write a programme to capture 3 numbers and determine the smallest and the largest. Software Development c++ | |
I have been pondering this task for awhile now and I just can't get it to work. I am trying to get the function readParameters to read the text from a .txt file and transfer them to the specified variables. I have managed to eliminate almost all the warnings but … Software Development c c# c++ file-system storage | |
anyone please explain to me what is the diffrence of this two query select * from tbl_Booking where [Date of Pres] between 'October 11,2012' and 'September 17,2012' (this query can display the information) select * from tbl_booking where [Date of Pres] between 'September 17,2012' and 'October 11,2012' (while this query … | |
Hi, Cote here, and I'm very pleased to announce that I've ported ALL my sl4a apps to eclipse apk, it embeds with the python interpreter, no need to install anything but the app off google play! I have completed: A) Android Eye (Computer Vision), that takes a picture and tells … Software Development android-development app-store ide python | |
Afternoon all, I currently am loading an XSD file from a physical file into memory to validate an XML file. However on loading the file it is containing such escape characters as `\r\n` to keep the formatting the document was originally in. This then causes an exception when loading the … Software Development | |
Quick question. I am in the process of creating an application that uses alot of images, its becoming quite unbearable having to look through them ect. I was wondering is it at all possible to programatically select an area of an image to display? That way I could group images … | |
#include <stdio.h> #include <stdlib.h> #include <string.h> main() { char *p1="Name"; const char *p2="Name"; char const *p3="Name"; char *const p4="Name"; const char *const p5="Name"; ++p1; ++*p1; ++p2; ++*p2; ++p3; ++*p3; ++p4; ++*p4; ++p5; ++*p5; } While Compiling above code certain Compilation error came. The errors are: const.c: In function âmainâ: const.c:17: … Software Development c | |
#include <stdio.h> main() { char a[4][4]; int row,col; for (row=0;row<4;row=row+2) { for (col=0;col<4;col++) { if ((row==col)||(row!=col)) { a[row][col]='x'; } } } for (row=0;row<4;row=row+2) { for (col=0;col<4;col++) { printf ("%c",a[row][col); } } } Software Development c | |
Hi everyone, I'm currently working on a school assignment and came up with this error saying 'list_t has no member named head' but when I actually look at list.h and list.c (my code accessing list is in a separate file), head is in list.c. What did I do wrong? list.c … Software Development c | |
**Hi can anyone help me with the C code for calculating time difference between two keyboard key hits????** Software Development c |
The End.