64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for majestic0110

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 …

Member Avatar for Ene Uran
0
128
Member Avatar for Stefano Mtangoo

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()

Member Avatar for Stefano Mtangoo
0
245
Member Avatar for veledrom

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 …

Member Avatar for veledrom
0
202
Member Avatar for blaater

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 …

Member Avatar for blaater
0
102
Member Avatar for jennyebrooke

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 …

Member Avatar for littlestone
0
107
Member Avatar for Indianblues

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 …

Member Avatar for Indianblues
0
178
Member Avatar for shellsy

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 …

Member Avatar for shellsy
0
356
Member Avatar for rysin

How do you add to a variable that is inside a foreach loop? Everything I try hasnt worked.

Member Avatar for rysin
0
115
Member Avatar for Nemoticchigga

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.

0
60
Member Avatar for lech0030

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() …

Member Avatar for Jx_Man
0
279
Member Avatar for c++noobie

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 …

Member Avatar for c++noobie
0
155
Member Avatar for RedStarlight

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 …

Member Avatar for RedStarlight
0
140
Member Avatar for Jx_Man

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 …

Member Avatar for pty
0
156
Member Avatar for simps0n

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, …

Member Avatar for DevonMcC++
0
1K
Member Avatar for Pja

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 …

Member Avatar for Jx_Man
0
126
Member Avatar for lostandfound

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 …

Member Avatar for Jx_Man
0
295
Member Avatar for abdulraqeeb33

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

Member Avatar for Ezzaral
0
174
Member Avatar for komany

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 …

Member Avatar for Ancient Dragon
0
166
Member Avatar for timdog345

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 …

Member Avatar for Rajith Cherian
0
109
Member Avatar for computers08

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 * ** *** **** ***** ****** ******* ******** ********* ********** …

Member Avatar for computers08
0
102
Member Avatar for bala24

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 …

Member Avatar for bala24
0
104
Member Avatar for saintb

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 = …

Member Avatar for masijade
0
132
Member Avatar for ktob

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: …

Member Avatar for ktob
0
499
Member Avatar for abdulraqeeb33

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 …

0
110
Member Avatar for cheesy_mel

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" …

Member Avatar for cheesy_mel
0
123
Member Avatar for tico

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', …

Member Avatar for woooee
0
100
Member Avatar for sfak271

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 …

Member Avatar for Ancient Dragon
0
277
Member Avatar for Wakhal

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 …

Member Avatar for Wakhal
0
118
Member Avatar for Kusno

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.

Member Avatar for Kusno
0
246
Member Avatar for darkagn

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 …

Member Avatar for darkagn
0
144
Member Avatar for f_rele

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, …

Member Avatar for f_rele
0
1K
Member Avatar for abdulraqeeb33

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 …

Member Avatar for abdulraqeeb33
0
114
Member Avatar for Moporho

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 …

Member Avatar for Moporho
0
251
Member Avatar for justapimp

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 …

Member Avatar for justapimp
0
105
Member Avatar for KeeperOfTime

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 …

Member Avatar for KeeperOfTime
0
126
Member Avatar for dimples09

> 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 …

Member Avatar for dimples09
0
165
Member Avatar for adaykin

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 …

Member Avatar for ~s.o.s~
0
345
Member Avatar for only me

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 …

Member Avatar for deeed
0
313
Member Avatar for TheFueley

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 …

Member Avatar for TheFueley
0
182
Member Avatar for q8_dreamy

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 …

Member Avatar for Jx_Man
0
126
Member Avatar for demroth

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 …

Member Avatar for demroth
0
144
Member Avatar for hemgoyal_1990

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....

Member Avatar for effu
0
122
Member Avatar for kings

[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]

Member Avatar for effu
0
99
Member Avatar for mcgarry101

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 …

1
59
Member Avatar for abdulraqeeb33

/* * 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{ …

Member Avatar for abdulraqeeb33
0
244
Member Avatar for emilio

is there a way to uncheck all buttons at toolstripmenuitem without doing it separately for each button like this[CODE] toolStripMenuItem7.Checked = false;[/CODE] ?

Member Avatar for emilio
0
80
Member Avatar for jino

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.. …

Member Avatar for jino
0
193
Member Avatar for queenc

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

Member Avatar for queenc
0
141
Member Avatar for blade321

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!

Member Avatar for jrcagle
0
109
Member Avatar for linux0id

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 …

Member Avatar for linux0id
0
125

The End.