132,726 Archived Topics
Remove Filter ![]() | |
Hi guy i a newbie in vb so i need your help from all of you. So Genius can help. I create a data grid and by default it have 2 column and two row. So now i need to add more column i check for the properties of the … Software Development visual-basic | |
HI EVERYONE :D!! This is my first thread. Well today was my birthday! And I got my first computer! I have always wanted one and I have always wanted to start programming! I got a Microsoft Windows XP and a extra external hard drive!! Not the best computer ever but … Software Development c++ hard-drive microsoft-windows operating-system shell-scripting ubuntu | |
Hello All! Thank you very much for viewing this thread. My problem is I am trying to pass a number value between classes/thread of the same java project in eclipse. I have a java project of 9 classes with three threads. The Display Class/Thread needs to accept a value coming … | |
Is it possible to view the codes of an exe file using VB6 similar to ResourceHack found in google. download link: [url]http://www.softpedia.com/get/Programming/File-Editors/Resource-Hacker.shtml[/url] Software Development visual-basic | |
So I have this function that is supposed to output an object (save an object) to a .txt file. It doesn't output anything when the program comes to the point where it runs this function. I am 99% sure this is where the program hangs. [code=java] public void saveSurvey(String txtFile) … Software Development file-system java | |
![]() | Hey guys, I use Python 2.6.2, and have made a program; here's the code: [CODE]import subprocess import time def open_program(): time.sleep(s) print 'Opening the program...' subprocess.call(c) h=input("Time: ") c=raw_input("Enter the full location of the program you want to open after the desired time: ") s=(h*60*60) open_program()[/CODE] I also have some … |
Take 3X12 matrix and it is represented usingsingle diemensional array. input: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Output: 24 25 … Software Development c | |
Hey guys, I'm trying to create a buy and sell program where I have two lists of numbers. Eventually I want to shorten the lists so that the program buys at a lower number, and sells at a higher number, ignoring all other numbers in between. The solution would be … Software Development python | |
I'm supposed to make my class cloneable for class, but I can't get it to work... Here's what I have so far: [code] public class Employeex : ICloneable { // using properties instead of the constructor public int EmployeeID { get; set; } public string Name { get; set; } … Software Development | |
Hey guys, I have a problem printing out the contents of a list of objects, with the following code I loop through the list and call the displayInfo() method that it's responsible for printing out the different attributes of the object. I have tested the displayInfo() method and works fine, … Software Development c++ | |
Hi I wish to write a program that will perform some action on a key press event but if there is no key press in a certain period of time say 10 seconds, it should display an error message and exit. I am working on windows and am using the … | |
I recently installed Ubunty Jaunty (Linux). I checked out the Linux version of the Codeblocks IDE. Obviously things like [code] system ( "pause" ); [/code] didn't work because of the operating system. Is there a library I can include -- or a package I can install -- that will give … Software Development c++ ide operating-system | |
Hi All, We have beenn migrated from 9i to 10g and one of our python script is still pointing out to 9i libraries [B]import cx_Oracle[/B] when it's trying to import this library my script is failing [B]ImportError: ld.so.1: python: fatal: libclntsh.so.9.0: open failed: No such file or directory[/B] Could some … | |
I coded an application that has 12 questions. Each question has 3 option buttons on a group. By using if statements i get to calculate 4 different results. Each result goes on a textbox and i also have other textboxes for name, date, stuff like that. In total 14 textboxes. … Software Development vb.net visual-basic | |
Hi Every one! i have a data gridview consisting of four column [B]total_time,Start_time,End_Time,Day[/B] all are of [B]date/time[/B] data types. i want to add the first to columns [B]Total_Time[/B] and [B]Start_Time[/B] and show the result into third column [B]End_Time[/B] and the coresponding day in the fourth column [B]Day[/B]. the[B] total_Time[/B] may … Software Development c# visual-studio | |
Hello, How would I go about being able to use a URI of a binary class. For example, I need to be able to give the URI for a song, but the song comes for a SQL server which sends it in a binary form, which is on the memory. … Software Development | |
Hello all I have a string Im getting back from the database as follows: ('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX') I need to break it down and drop into an array 'MCKINNEY','TX' 'ALLEN','TX' 'ANNA','TX' ..normally I get multiple records and just drop the resultSet into a Vector and do "elementAt(i)" to display, but I never … Software Development java | |
Thanx for the help yesterday..I was able to break down the string from my database: ('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX') using: [code] String strInput = userData.getMhtCityList(); String strProcess=null; String strOutputs[]=null; if(strInput!=null){ strProcess=strInput.substring(1,strInput.length()-1); System.out.println(strProcess); strOutputs=strProcess.split("\'\\),\\(\'"); } [/code] worked like a charm only problem now is those damn apostophies 'MCKINNEY','TX ALLEN','TX ANNA','TX' any suggestions on stripping … Software Development java | |
I'm looking forward to learn Core Spring and Hibernate. Which books would you recommend and some good online resources (beside their websites)? Software Development java | |
Well, I posted a few problems here on daniweb and thank god that I did so. What I had been using till now was "rusted, naff,useless" code. But after today, I am more accustomed to what the new c++ is. Well, I am 16 years old and am studying in … Software Development c++ | |
if it contains quote it cuts it out, then i am stuck on part when i just enter in a problemset without a quote or single quote. Then it doesn't gather numbers correctly but stores the entire string [code] int main() { cout <<"enter the problemset and number""\n"; //problems represents … Software Development c++ | |
Hi I am new to unix and want to learn shell scripting. Right now I am use cygwin for windows but sooner I will switch to ubantu. So when I wrote my first script (just copied from the book I was reading), I came to know I have to give … Software Development file-system shell-scripting unix | |
[code] public class Caesar01 { public static void main(String[] args) { String str = "NS BFW, JAJSYX TK NRUTWYFSHJ FWJ YMJ WJXZQY TK YWNANFQ HFZXJX"; int key = 5; String encrypted = encrypt(str, key); System.out.println(encrypted); } public static String encrypt(String str, int key) { String encrypted = " "; for(int … Software Development java | |
Hi all, i am trying some code examples given in a book. I am getting an error while connecting to the database.I have installed sqlexpress edition and trying to connect to system database "master". Below is the error message: "A network-related or instance-specific error occurred while establishing a connection to … Software Development | |
Hello.. can someone teach me how to do this program. This is the question. 1. An organization has aprox. $1000 available to be allocated in small amount to approved charities. Write a program that will read several amounts and ((report as soon as over $1000 has been allocated. << NOW … Software Development c++ | |
[code] #include <iostream> using namespace std; #include "Interface.h" #include <conio.h> int main() { apple t; bool quit = false; while(! quit) { cout<<"the original value at beginning of clock is\n"<<clock()<<"\n"; t.start(); cout<<"hit enter when you want to stop timer\n"; if(cin.get()=='\n') { t.end(); int time =t.elapsed(); cout<<"the time difference is\n"<<time<<"\n"; cout<<"enter … | |
I'm a beginner. I'm learning XPath. This is the sample structure: [code] <AAA> <BBB/> <CCC/> <DDD/> <AAA/> <BBB/> </DDD> <div class="some"> <AAA/> <BBB/> <div id="special"> <AAA/> </div> <div style="clear: both;"/> <hr/> <div> text </div> <div> text </div> <div> text </div> <hr/> <div> text </div> <div> text </div> <DDD/> <EEE/> </div> … Software Development xml | |
have been, for the past few weeks trying to figure out how I can compare images. From my experience in what I have been working on, I know it is almost impossible to compare two images and get a 100% match but I am not looking for a 100% match … Software Development java | |
Hi everyone. Can anyone please guide me on how can I generate a random number from a group of prset numbers. For example:- There is a group of preset numbers:- 1,5,18,100,127,500,626,929. I want to generate a random number from this group....is there anyway in which we could do this? Software Development c++ | |
I am writing a portable desktop for my flash drive as an alternative to the portable "menus" that you can download. I need to know how to drag a link from somewhere on the screen (eg desktop, start menu or windows explorer) and drop it in my program. It also … | |
Hi all. I'm trying to make a program where there is an array of 20 elements. Now, numbers from 1 to 20 will be assigned in a random order in the array. This is my code:- [code] #include<iostream.h> #include<conio.h> #include<stdlib.h> #include<time.h> void main() { int i,j,random_integer,count=0,sno[20]; srand((unsigned)time(0)); sno[0]=(rand()%20)+1; for(i=0;i<=19;i++) { … Software Development c++ | |
Hi, I have fixed some parameters to my constructor but unable to make them work. Here is my sample code:- [CODE] public MyConstructor(String filename, int value1, int value2){ this.filename = filename; this.value1 = value1; this.value2 = value2; File reading code BufferedReader fh = new BufferedReader(new FileReader(filename)); ................ } public static … Software Development java | |
I want to clear the entire contents so that when a different selection is made on one of the checkboxes, only that data is displayed when the calculate button is depressed. Thanks in advance!! Here's my code: Public Class LoanCalc Private Sub butCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … Software Development vb.net | |
Hi. i have taken my database from access and my table look like this. Example. object description words ball round, big, orange, big pencil long, blue, big, long ambulance alert, emergency, high emergency, alert emergency phone incoming message, message alert, high alert, message incoming, emergency, alert i am doing a … Software Development | |
Hi, My code below :) - String parserConfigurationClassName = this.cli.getParserConfigImpl();//Gets implementation's name as a string Class parserConfigurationClass; try { parserConfigurationClass = Class.forName(parserConfigurationClassName); } catch (ClassNotFoundException e) { throw new IllegalArgumentException("Failed to load parserConfigImpl [" + parserConfigurationClassName + "]: Class not found"); } So as you can see, I am trying … Software Development java | |
I need to make a crystal report, using from Date and to date. From Date is taken from the database, while the To date has to be taken as the current date. How to do this? Software Development | |
I'm new to c++, but I'm catching on just fine. I have a lot of experience with PHP, databases, and the like. I decided to learn a programming language that allows me to play around with things like sensors, gps devices, microphones, and anything you may plug into usb or … Software Development c++ | |
Hello. I have come across a null pointer exception in my code. I understand this is got if there is no class/method/variable being referred to but in my case, I have a method in another class that is supposed to be called. However, the exception is thrown at the where … Software Development java | |
The environment of my application is as mentioned below : The application is a Router/Accounter library used to identify an appropriate Route (and also the price for that) when a destination for a Mobile number is queried through the API. The Route to be used for sending an SMS message … Software Development api data-structure java user-interface | |
Hi guys, I need to open a file and extract numbers from it. The numbers in the file are like this 12 34 23 12 00 10 02 12 22 33 10 12 09 03 03 93 etc I am able to extract the numbers in string format and store … Software Development java open-source | |
Hi there, im using a java program call Blue J and im now learning something new on java, but it quite complicated on my coding and having some problem with it or may be i have screw up with my looping and linking another new java call addIntegers with it, … Software Development java java-swing | |
I have inserted a value in a textbox in the form, which goes to a particular field in a particular table in the database. I want that same value to b displayed in another field in a different table in the same database.How? Software Development | |
Hello There, Im trying to create tree control view with check box in the nods. but i dont know how to add the check box to the nods here is the code: [QUOTE] [COLOR=#0000ff]public[/COLOR][COLOR=#000000] Form1()[/COLOR] { InitializeComponent(); TreeNode tn = [COLOR=#0000ff]new[/COLOR] TreeNode("x"); tn.ForeColor = Color.Blue; TreeNode tn1 = [COLOR=#0000ff]new[/COLOR] TreeNode("Y"); … Software Development | |
I am trying to query my SQL Server database to populate a dataGridView. The user clicks on an item in a comboBox to select a 'program' to view. The where statement in the quers used the Text property from the comboBox. The code is: SELECT CAMPAIGN_ID, CREDIT_GRADE_PRE, SUB_GRADE, APR, ANNUAL_FEE, … Software Development sql | |
I'm trying to get a java applet from a website. The HTML page code looks like this: <APPLET CODEBASE="../applets" CODE="fourier.Interference" WIDTH="300" HEIGHT="350"> <PARAM NAME="waves" VALUE="2"> <PARAM NAME="handle" VALUE="fourier/greyball.gif"> </APPLET> Where would the applet code be located so I can download it? Software Development java | |
I'm a student and wanting to know if the syntax for C++ insert/update/delete statements for adding records to a table is the same or similar to statements in SQL? I've searched and can't really find a difinitive answer for C++. ie. insert into tableName values whatever delete from tableName values … | |
Hi I have a syntax problem which I dont know how to correct. The below line of code is meant to check whether the 1st character of a string is a vowel, if not, then the 1st character is sent to the end of the string & then the program … Software Development c++ | |
Hi, I am saving the password in the database using SHA-1 encyption. On forgetting the password i have to email the user his old password. But i am not able to decrypt the password saved in the database. Can anybody help me in creating a decryption code in java for … Software Development java | |
i am making a game and i am getting a strange error heres the relevant code [code=python] items = {'sword':['sword', 3, 15], 'axe':['axe', 5, 25], 'bow and arrow':['bow and arrow', 4, 20]} for item in items: print items[item[0]] print '\tprice:' + items[item[1]] print '\tdamage:' + items[item[2]] [/code] Heres my error: … Software Development python |
The End.