64,152 Solved Topics
Remove Filter ![]() | |
Hi all I am brand new to python so if anyone could help that would be great. The trouble I have is that I am trying to call two other programs from within a parent program, and pass arguements to these children programs. Here is my code so far, but … | |
I don't know where to put quit.png. This result in errors. Is it put on SPE folder or somewhere in python? or Just in same directory as saved file? I appreciate your help! Steve Code import wx class MyFrame(wx.Frame): def __init__(self,parent,id,title): wx.Frame.__init__(self,parent,id,title,size=(700,600)) toolbar=self.CreateToolBar() toolbar.AddLabelTool(wx.ID_EXIT,'',wx.Bitmap('..\icons\quit.png')) app=wx.App() MyFrame(None, -1, 'Simple Toolbar') app.MainLoop() | |
Hi, Below trigger increments double(2,4,6,8...) not single. I want single. Where is mistake? If you can not help, is there other way to do auto increment? Thanks [code] CREATE TABLE MY_TEST ( IDNUM NUMBER, NAME VARCHAR2(4000) ) ; create sequence test_seq start with 1 increment by 1 nomaxvalue; create trigger … | |
Hello, Currently I'm working on a funtcion which has to eval() some events from a string i'm injecting into the dom. The problem is that i've tested my regular expression on [url]http://www.regular-expressions.info/javascriptexample.html[/url] and every time it works perfect. Only when I implement it in my website it doesn't work. The … | |
Okay I'm gonna be honest with you... I have no idea what I'm doing... no not even a little. I'm in an online C++ class that I'm only taking because it was the last required course for me to graduate this semester... This is the last assignment due and I … | |
Hi , I am new to c++. I am reading "C++ How to Program" .In one example author divided the program into 3 files. The first one is Gradebook.h which contains prototypes. second Gradebook.cpp which contains actual implementations of member functions of Gradebook.h. last file is fig03-14.cpp which contains objects … | |
Hi guys, I'm working on this problem I've been struggling with for a while now. I'm still confused about parameters and I'm getting all these error messages, saying that a lot of my variables are undefined. I'm sorry, I know this probably looks like a mess right now, but if … | |
How do you add to a variable that is inside a foreach loop? Everything I try hasnt worked. | |
Does anyone know how to get winsock2.h functions to work in a thread created by CreateThread(....)? All my code works outside a thread, but when I put it in the thread, it cannot bind the socket and read from etc. Thanks. | |
Hello, I have this very simple batch file that contains one command: xsltproc -o output.html stylesheet.xsl input.xml When I double-click the batch file, everything works fine. However, the batch file doesn't work when I execute it from my vb.net application: [code=vb.net] Dim p As New System.Diagnostics.Process p.StartInfo.FileName = "[I]path[/I]\go.bat" p.Start() … | |
I am currently using Kubuntu 8.04. Although I do not know any bash, I altered the bash shell (via internet guides) to append history instead of truncating the history file. After editing the shell, the default way to clear the history only clears the interactive history and not the actual … | |
I have been given some C code to compile which is several years old and need to compile it to see exactly what the program does. I know visual basic to an amount but i haven't touched C before. Anyway, how do i go about compiling the C code when … | |
Hi All... i m newbie with ruby. a couple weeks ago i was reading book about oracle 10G XE then i found a new language that i never heard before named Ruby on Rails. i was exited and want lo learn many about this language. so, please help me to … | |
Hello, guys! I have to generate 10 different numbers. What I do is to store the generated numbers in array. Before that I check the array for duplicates. It compiles, but I get some duplicates. Thanks in advance for any help.[CODE=Pascal]program rand; {$APPTYPE CONSOLE} uses SysUtils; var j, i, a, … | |
I am using vb.net 2003 and sql server 2000 as backend. I would like to do searching that will receive several input from user (input from textbox,combobox and radio button) that will retrieve data from sql server and display the output in textboxes and picture box. I can do the … | |
Hi again, Can anybody tell me how to make use of the checkbox in the Listview control. I would like to make use of the checkbox box in order to indicate a finished task. This would require relating the tickbox to a value in a database. I have no problem … | |
i need to display the contents of a database(table) MS access db, on to the screen. how do i got abt it??? the data keeps changing dynamically...the program should be able to refresh it self | |
Hello I have little problem with a code. I want to send information about a size on a file and uses “size_t filesize”. I will send this information thru a network called ”controller area Network” and uses the code stat = canWrite(hnd, 1234, size, 8, canMSG_EXT); in order to do … | |
This is what I need > 1) I also need to use a for loop to prompt user to input two intergers: firstNumber and secondNumber (firstNumber must be less then secondNumber) > 2) Outputs all odd numbers between firstNumber and secondNumber > 3) output the sum of all even numbers … | |
Hi I'm new to programing. My tearcher gave me a ster program where there are 4 right triangles, that triangles 2-4 are just reflections/rotations of the first one - all being right triangles of size 10 on the perpendicular sides * ** *** **** ***** ****** ******* ******** ********* ********** … | |
Hi, I have this data in the database and pre-defined template slides on the web server. What I need to do is to get the data from the database and to create a ppt from the available slides by populating content in them. Can anyone suggest me how this can … | |
following masijade advice i tried busting my head abit. i have written the following code import java.awt.event.*; import java.awt.*; import javax.swing.*; import javax.swing.border.*; public class Game extends JApplet implements ActionListener { //Creating a new JPanel called panel1 JPanel panel1 = new JPanel(); //Creating a JLabel for panel1 JLabel header = … | |
hi, this code compiled using visual studio. Have changed the line const size_t i= __gnu_cxx::hash(x); from const size_t i=stdext::hash_value(x); so that it would compile using gcc. However I am getting an error message as shown below. Any suggestions appreciated. Thx [code=cplusplus] template<class X, class Pred= less<X> > class Hash{ private: … | |
this is the output on server init: deps-jar: compile-single: run-single: checking the client of ip 169.254.86.65 checking the client at port 59000 checking the client at hostname RAF System with169.254.86.65is online probing the client of ip 169.254.86.65 creating the client of ip 169.254.86.65 whose hostname is RAF at port 59000 … | |
Hi.. I'm want to read each record (in 1 line) using fread(), the problem is the record length is arbitrary.. e.g. 1 "Joshua" "Rosenthal" "34 Mellili Ln" "Earlwood" 1 "000113133121" 0.000 2 "Martin" "Serrong" "45 Rosenthal Ccl" "Doveton" 1 "000113133121" 0.000 3 "Jacob" "Leramonth" "59 Dalion Pl" "Belmont" 1 "000113133121" … | |
I'm new to creating python extension modules with distutils. I'm trying to create a module that uses the fmodEx audio library on OS X, and I'm running into some trouble. The needed library file is called fmodexlib.dylib. My setup.py looks like this: [CODE] from distutils.core import setup, Extension setup(name='test', version='1.0', … | |
I´m writing a program to find the divisors of a number, using the modulo function. my problem is, i´m supposed to use an array to "output" the divisors, and the output should stop when an empty cell is reached. I´m not very confident with arrays and don´t really know how … | |
Suppose a table ABC have column XYZ containing data 3PSY0001-06-08-F 3PSY0001A-07-09-P 3PSY0001-02-09-P 3PSY0001-07-07-F 3PSY0002-09-08-P 3PSY0002A-01-03-P 3PSY0002-07-07-F How can i write a query so that the data ending with P without A can be updated with A. For example, with that query, data 3PSY0001-02-09-P AND 3PSY0002-09-08-P will be updated as 3PSY0001A-02-09-P … | |
I'm able to set UIManager for UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel") and UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel") but for UIManager.setLookAndFeel("com.sun.java.swing.plaf.metal.MetalLookAndFeel") I get an error like this : java.lang.ClassNotFoundException: com.sun.java.swing.plaf.metal.MetalLookAndFeel What's wrong with my code ?? Thanks, Kusno. | |
Hi all, I am fairly new to PHP (my experience is mostly in Java) and I have inherited a project that was initially implemented in PHP4. I am updating it to use PHP5 and at the same time I am trying to add Logging to the project. I am using … | |
Hi, I'm embedded c coder and relatively new to c++. I'm working with borland 6. What i'm trying to do is call my "SerialThread" named worker thread which processes the line. Call [code] //char input_sentence[9]; this includes the textline "ANGLE 360" char * buff = input_sentence; thread = _beginthread( SerialThread, … | |
hi, i am new to java... i need to start two programs in a server just after user clicks a button in the jform. for this i may require multi threading.. can any one plz give me a small example or a link where i can see threads created, each … | |
I am stuck on a problem. I am given code and I am suppose to do the follwong sway fucntion. The last three lines of code in the function selection_sort perform an essential operation that is commonly found in sort algorithms. Replace those three statements with a call to a … | |
I have been assigned this project to create a dynamic key code and I don't have a clue about how I can get it done. The problem: I am given a 10 digit number like a phone number 5627775698 and I need to parse through the number and set every … | |
Hi I'm programming under DOS 6.2. I want to switch the polarity of the interrupt source 5 from "high active" to "low active" so an IRQ appears on a negative edge instead of a positive edge (or level, in my case it's edge). Does anybody know how to do this … | |
> Using a Binary Search Tree > Using the LinkedBinarySearchTree class in the jss2 for chapters 12 and 13, write a program that exercises all of the operations except: > removAllOccurrences > findAgain > replacement > Details > Your program will read instruction from the file: numbers.txt > The file … | |
Hello, I want to delay showing all of my links on my page for a few seconds until all the animation I am doing is done. I was wondering if there was a way I could delay placing them using javascript. In other words I want them to not show … | |
hi friends This is my assignment I have to send it today I have many tests please You are my hope befor I drop this course (C++ course) Please try to help me to solve it [/COLOR][/COLOR][/COLOR] Write a C++ program that repeatedly display the following main menu : The … | |
This one of those typical Rational number programs. It takes a user-supplied fraction and then another. Then it does the 4 basic math operations on it. Finally it compares the fractions to each other. I have the program working fine. I just want to know how to fix this warning … | |
Hi can any one help me please, How can I go to a control according to text of specific one for example if I have drop down list contains 2 items 'Yes' & 'No' I want to to go to textbox1 if answer is Yes and go to Textbox2 if … | |
I have been reading some of the posts on reading integers from files but I have not seen any on reading integers from formatted files. I have a file which is a 6 X 6 matrix consisting of integers separated by tabs. I want to read each number into an … | |
Hi All, I got seem a problem with my php. How I Can View my PHP File on Offline Mode... Plz Give me the Solution to View my PHP file on offline mode... I Dont Have any website.... | |
[CODE]Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/car/publ/testing/detail.php:1) in /home/car/publ/testing/detail.php on line 2[/CODE] i'm getting this error.i dont have any empty whitespace in my code. [CODE]<?php session_start(); ?> <html> <head></head> <body> <form> <?php //code ?> </form> </body> </html>[/CODE] | |
Hi, I am writing what should be a very simple app to play wav files directly from my hard drive. As a test, i have run the simple code below <code> My.Computer.FileSystem.CurrentDirectory = "C:\Windows\Media" LbClips.DataSource = _ My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.CurrentDirectory, _ False, _ "*.wav") </code> however i am getting when … | |
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package server; /** * * @author 007 */ import java.io.*; import java.sql.*; import java.util.*; import java.util.Random.*; import java.net.*; import java.lang.String.*; import java.io.InputStream; import java.lang.Object.*; import java.net.ServerSocket.*; public class aptserver implements Runnable{ … | |
is there a way to uncheck all buttons at toolstripmenuitem without doing it separately for each button like this[CODE] toolStripMenuItem7.Checked = false;[/CODE] ? | |
Hi all,, I am new to joomla.. I want to build a news portal site using joomla.. Can any one help me to wired in the news portal extension to my joomla site... I am now working in localhost.. Please help me if anyone know about this. Thanks in advance.. … | |
my actual link is [url]http://www.website.com/testing/xyz.php?id=2[/url] but when i use PHP_SELF it is refreshing and the url turn as [url]http://www.website.com/testing/xyz.php[/url] please reply | |
from livewires import * x= read_number() y= 1234 while x <> y: print read_number() Why wont the loop stop when i enter 1234 ? any help greatly appreciated! | |
Hello everyone! I have a function to get data from a database. I want to put it into matrix of some sort so that I can have something like a spreadsheet (multiple columns and rows, depending on data). It needs to be dynamic. Ok code so far - [CODE]//--------------------------------------------------------------- template … |
The End.