132,726 Archived Topics
Remove Filter ![]() | |
Hi when I use ecclipse to run codes it shows many errors, and they are not errors at all I compiled them with command prompt and it work. this is the image [URL="http://i.imgur.com/az6Pg.jpg"]http://i.imgur.com/az6Pg.jpg[/URL] My java and javac version is 7 u 2 | |
i have to write a program, in which i have to make pointer to point to the character, where it last occured in a string. For example: String: Lord of the rings Character: r Pointer points to the last 'r' in the string, that is in the word 'rings'. If … Software Development c | |
I want to loop through directory and process the files in them. I do this with the following code. for (root, subdirectories, files) in os.walk(dirDialoog.GetPath()): for file in files: My problem is that the files processed 2 times. I tried the next code, but in that way the files weren't … Software Development file-system python | |
Hey! for a school project, came to me the following question: the libopenmetaverse is more directed to any of the components of the MVC (model, view, controller) or apply to any of them? someone can help me with this? thanks Software Development software-architecture | |
Hi everyone, In my simple GUI, I have a part where I use JFileChooser to let user browse for a file. The problem is that when browsing for that file, in order to open a sub folder, user has always to double click that the main folder to open the … Software Development gui java java-swing | |
i have a doubt i have created a application in which i have used a VLC (Video LAN player) and i have given in the property in the option MRL i gave the video address which should be played, when i executed then the video was playing and when i … | |
hello everyone, I have implemented RSA algorithm in java but now i am asked to determine the time for encrypting variable length messages(plain text). As an example, i have to find the time in which input message of length 3 will get encrypted, similarly the time in which input message … | |
I am having trouble devising a method to multiply 2 matricies that are formed by dynamic one dimensional arrays, for this case i just used matrix1 and matrix2 To access elements that are on rows 0 to n-1 in either matrix i have to use this method: ((rows - 1) … Software Development c++ | |
Hello! I have this problem with creating a linked list inside a linked list. Think of it as recording a list of customers, and at the same time, recording a list of items they bought individually. I tend to think that I might lose the head node and it's probably … Software Development c++ linked-list | |
Hello Friends, I have got confused with one topic Scenario is such that.... I need to browse a file and copy the file from one location to another.... I am done with the file copying but I need to add the list of all files present under that folder in … | |
Hi. I am a beginner and i have been facing this problem since Monday. I made a QMainWindow with name window and added an action in it. So when a user clicks the action, the QDialog dialog is displayed. In dialog i take input from user and then return it … | |
iam making a simple computation but iam having a problem with this [CODE] If btnAdd.Text = "&Add" Then cbleave.Enabled = True dtFrom.Enabled = True dtTo.Enabled = True dtApplied.Enabled = True clear() btnAdd.Text = "&Save" btnSearch.Enabled = True sql = "SELECT IFNULL(MAX(cnt),0) FROM tblleaveapp" NewDataSet(sql) Else If cbleave.Text = String.Empty Then … Software Development vb.net | |
How exactly do you use a glConvolutionFilter2d() call? I know about convolution filters and kernels, but am not sure exactly how to implement them. Just a simple example with say... a gaussian blur, would be helpful. Software Development c++ | |
Hi.. Can anyone help me out with reference site or Code to handle multiple email server in c#.I have a task of sending Mass Emails to users. Software Development email | |
Hello i am working on a little project called an [B]Accociation[/B] class. It is a bi-direction association, i.e. if "dog" is associated with "canine", then automatically "canine" is also associated with "dog". The core of the class is two map objects, a left-to-right and a right-to-left map. Here is a … Software Development c++ | |
Hello everyone, assuming i want to write some values into my database of choice i found two ways to do this. [CODE] my $sql = "INSERT INTO table (foo, bar, foobar) VALUES (?, ?, ?)"; my $sth = $dbh->prepare($sql); foreach(sort keys %hash) { $sth->execute($_, $hash{$_}, $some_other_value); } [/CODE] as opposed … | |
i have a form, with a few text box's, and a background image, when i click the button to produce the pdf it often creates this Parameter is not valid exception (argumentException was unhandled).. [ICODE] Bitmap back = iDMS.Properties.Resources.corporateLetterHeadPage1; back.SetResolution(300, 300); <------ error is here.. [/ICODE] the image is not … Software Development pdf | |
I need a program which counts the pages of all the pdf files in a directory. i found this scrpit which is supposet to do exactly that, but when i try to run it it just doesnt work for me it outputs nothing. i dont really know what to change … | |
Hello, i'm trying to parse file but i dont know how i tried everything. This is my Goal: [21:53:51] Started [21:53:54] Test >> [COLOR="red"]this is that what i want ot parse[/COLOR] . [Test] [21:53:54] Something Can someone help me. - Regards! Software Development java | |
So now that im using excel 2010 and saving data in .xlsx format, I have a problem doing something very simple, like reading the file and trying to run a simple sql command on it... [CODE]SqlConnection con = new SqlConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Download Report Sheets\Schedule List\SoftwareDownload_OS732_20120306.xlsx;Extended Properties=Excel 12.0 Xml;HDR=YES"); SqlDataAdapter da = … Software Development | |
Hi everyone, I am new to RichTextBox control in VB6 I wanted to select the entire line/row in the RichTextBox, where currently the cursor is. How should I do it ? The code should be paste in command button 'cmdSelect' Thanks in advance :) Software Development visual-basic | |
Hello; can any 1 explain to me how to find the miniumum spanning tree for a graph ? see this graph as an example : Software Development c++ | |
I want to Write a program that determines the day number (1 to 336) in a year for a date that is provided as input data. As an example, January 1, 1994, is day 1. December 31, 1993, is day 365. December 31, 1996, is day 336, since 1996 is … Software Development c | |
Hello Guys, I have a webpage for selecting values from a MySQL database, using 1 dropdownlist and 2 calendars for date. My problem is that the calendar returns dates in the form '08/06/2011' and my database date entries are in datetime format '08/06/2011 14:00:21' hence decided to add the time … Software Development | |
I am trying to extract the number in the string "(c) 2010 Elsevier Ltd" from a PDF document . I found that the textsearch method of PDFtron package would help me find the string as stated in the example code: [CODE]import pdftron.Common.PDFNetException; import pdftron.PDF.*; import pdftron.SDF.SDFDoc; // This sample illustrates … Software Development java pdf programming-construct | |
I am trying to experiment with C++ to make the command prompt function like MatLab or Octave. This is a practice file I've been doing so I could pass functions as parameters to other functions. My problem is with this function call found in line 36 [CODE]compute(gset[function-1], input);[/CODE] This is … Software Development c++ | |
Hello all. I am trying to convert a c document to c++. I requires that i use the out word like this. [CODE] if (executeCommand("QUIT", out response)) [/CODE] is there and out for c, or a better way that i'm unaware of. Thanks all for your time. bye Software Development c++ | |
Greetings all; what I'm trying to do is create an array of structs dynamically by using functions for allocation, display, and then freeing memory. I'm *able* to do the process if it's within scope of the foo declaration, but the initFoo function throws an exception. I *think* it's the order … Software Development c ![]() | |
Hey guys, I'm doing a project for university and i have hit a wall. I have a gridview that is connected to a database as shown below: [url]http://i40.tinypic.com/fys9i.jpg[/url] (menu is incomplete) I want a drop down box that is populated with the type of food such as (pizzas, burgers etc … Software Development vb.net | |
Hi! I'm working on program with a lot of buttons and I would like to use For loop to make all of them instead of writing every each one of them. so, can anybody help me? here is example of code [CODE] import tkinter as tk def klik_1(): button1.config(image=s1) def … | |
hi there masters of c# code i bow to your hard work and knowledge i am a beginner and i would be very gratefull for full explainations and not just code snippets my target is to create a web browser app in c# which load a difffrent website on each … Software Development web-browser | |
please find what error in this program.while run it wont display the output #include<iostream.h> #include<fstream.h> #include <stdio.h> #include<conio.h> #include <sys\stat.h> class file { private: int i; int alphabet; int space; public: void alphabets(); void spaces(); }; void file::alphabets() { alphabet=0; fstream f; char s; f.open("NNEWFILE.TXT",ios::in|ios::app|ios::binary); f.get(s); while(s!=EOF ) { if(i>63&&i<91||i>96&&i<123) … Software Development c c# c++ file-system ios | |
Hi is it posible to make a notepad only usin print Preview Control? Like you are writing the text in a print Preview Control. I want to make a look like you are writing in pages (like office word, and other word processors) :) Software Development | |
Well something is missing of me (again :P) and I need some help.. I am trying to get files for my database and load it into comboBox. But for some reason I get systax error.. As I mention into other post I am not familliar with VB so please check … | |
hello please i need help!! i have 7 forms in my windows application and the 7th form,only have a datagridview that has been populated from a bounded database. one of the columns in the datagridview contains date, so i need to check if the date in the column is today,then … Software Development vb.net | |
Hello, i am still struggling with an assignment that was already due The tiny tots tee-ball league has 12 players who have jersey numbers 0 through 11. The coach wants a program into which he can type a player’s number and the number of bases the player got in a … Software Development session | |
hi there, i have a datagridview in the desktop application that i made and one of the columns in that is the telephone number. the telephone number is valid if the user type in (630) 345-2532. so everywhere the user hast to type in the paranthasis and then the numbers … Software Development visual-studio | |
can anyone help me with this? im having trouble with renaming a file.. the last 2 digit of DT102T01 up to DT102T15 will count according to the number of files inside the Data_PRN folder. please help! any suggestion will be appreciated.. tnx '===== make directory & rename file . prn … Software Development file-system vb.net | |
You have been contracted by a small college named CSU that would like for you to implement a custom software system for managing students data. As a prototype you decided to show them a menu driven example. Your menu driven example has the following features: A) Show/Edit student information B) … Software Development c++ data-structure database-design | |
hi guys .. i have an assignment .. and i didn`t now that i have to do it by tomorrow and now i have no time .. i will be thankful if you can help me.. "Write a program that determines the day number (1 to 336) in a year … Software Development c | |
how can i convert this into a struct? the program is prnting all the even nos [CODE]void main() { int num[5],even[5],count,j=0; clrscr(); printf("Enter 5 numbers\n"); for(count=0;count<5;count++) { scanf("%d",&num[count]); } for(count=0;count<5;count++) { if((num[count]%2)==0) { even[j]=num[count]; j++; } } printf("EVEN:\n"); for(count=0;count<j;count++) { printf("%d\t",even[count]); } getch(); }[/CODE] Software Development c | |
I need help creating a two dimensional array in mips assembly. I am new to this kind of programming and i do not know how to approach the problem. i have to create an array max size 20 by 20 and then fill it up with data entered by the … Software Development assembly | |
I understand that data on computers can be compressed (I see it all the time with zip files and jpegs) but I was wondering just how compression works. Thinking it through, if you data is represented by 1s and 0s then it can be corresponded 1 to 1 with a … Software Development c++ | |
Hello, I have two forms where one is a login form and the other is the main form. The user enters their username and password and clicks the "login" button. The code in the login button validates the username and password and if correct opens the main form. The problem … Software Development | |
My school has banned any system call (I even brought my own copy of command.com and cmd.exe) [B]but[/B] FreeDOS's FreeCOM still works (very well at that). Is there a way to make it that when I call the system function it makes the call to FreeCOM (Whitch will be bundled … Software Development c++ | |
Hi everyone, I want to create a simple GUI that prompts user to browse for a text file, read in that file and display them in the GUI as a list. Then it should allow user to select from that list. Once an element is selected, there should be a … Software Development gui java java-swing | |
Modify the Inventory Program: Create a new method that calculates the value of the entire inventory. Create another method that sorts all of the array items alphabetically (ascending order) by the product name. o The application should declare and use an array to store 5 items. This array will represent … Software Development data-structure java | |
In this Quicksort algorithm, it uses the pivot in the first location of each list. I am having difficulty understanding how to do this algorithm. When I look at examples online, and work out the problem(s) myself, it seems like the book does it differently, and I'm not sure what … | |
Okay, so I am creating a battleship game, I posted a thread here earlier to figure out how to place the ships, but know I'm back, because I am curious as to how I should program the AI for it. Here's my base code now, and I'll explain how the … Software Development python |
The End.