132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Pradeep_10

I want to create a web service,the theme this service is it has two take parameters as two audio files and generate a text file as output file. How would I host this service in server and call this service with server url name? Ex: http://79.132.86.145:8080/getOutput?file1=audio1.wav&file2=audio2.wav If I call the …

Software Development audio
Member Avatar for NivekW
0
380
Member Avatar for Valmian

Hello, First of all, I'm sorry if my question seems silly, but I am very unfamiliar with Python. I am using a particular python code base which, in a Linux system, solves the problem I am working on (I am using Windows). A major part of the python code's task …

Software Development python unix
Member Avatar for Jim_9
0
16K
Member Avatar for LukeJWhitworth

Hi, Does anyone know how to have a dropdown appear when typing in a multi line text box? I want it to work in the same way it does in Visual Basic, suggesting what could be inserted based on what the user is typing. Thanks guys, Regards, Luke

Software Development html-css vb.net visual-basic
Member Avatar for Reverend Jim
0
191
Member Avatar for cambalinho

i'm trying getting the richedit caret positions. seems that i can't use the caret functions. LONG firstCharIndex(HWND hwnd) { POINT pt; pt.x=0; pt.y=0; LONG n = SendMessage(hwnd, EM_CHARFROMPOS, 0, (LPARAM)&pt); return LOWORD(n); } COORD GetCaretPos( ) { COORD pos; //getting the line from caret position: pos.Y=(LONG) SendMessage(consoleedit, EM_LINEFROMCHAR,(WPARAM)-1,0); CHARRANGE cr; …

Software Development c c# c++
Member Avatar for cambalinho
0
558
Member Avatar for PyGuy123456789

Given Problem: A professor at Hardtack University has an unusual method of grading. The students may or may not all take the same number of tests. The individual tests are weighted, and these weights are used to compute the student's average. Important: the weights for all of the tests for …

Software Development file-system python
Member Avatar for Gribouillis
0
419
Member Avatar for ShiftLeft

I'm in the process of designing a console personal/business finance package for Linux. It's easy to identify the advantages of data abstraction through classes, but I'm not inclined to become proficient with STL or containers. Exception handling may become a consideration, but definitely memory allocation via "new". My own implementation …

Software Development c c++ finance gui linked-list
Member Avatar for ShiftLeft
0
1K
Member Avatar for sirlink99

Hello everyone! I am writing a GA, and I am trying to implement elitism. My problem is an interesting one. I cannot release too much code because it is an ongoing assignment. I have asked the TA, and he is unable to find the solution as of this moment. The …

Software Development java
Member Avatar for sirlink99
0
237
Member Avatar for Jack_11

How can I learn GUI java? I've been having some problems with places to learn. Can anybody reccomend a source?

Software Development gui java
Member Avatar for Violet_82
0
395
Member Avatar for Sherwin Paul

Hi Expert, would it be possible to list all the current active Domain equivalent Active Directory in a network? Hoping to here from you. Thanks.

Software Development file-system vb.net
Member Avatar for Sherwin Paul
0
187
Member Avatar for Doogledude123

I'm used to using AWT's Canvas and BufferedImage and things like that. I've switched from using Canvas for drawing, to using a JPanel and I'm blown away by the efficiency. I intend on fully using Swing for all of my GUI. My question is, what is Swing's equivalent of BufferedImage?

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
150
Member Avatar for kouty

Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the …

Software Development java javascript
Member Avatar for kouty
0
331
Member Avatar for Nikusha.Kalatozi

Can someone tell me the formula codes of how to 1 find and write the total number of massive elements om massive number(random massive numbers) 2 find and write the biggest random massive number(random massive numbers) 3 find and write the smalles random massive number(random massive numbers) 4 how to …

Software Development c c# c++
Member Avatar for JOSheaIV
0
136
Member Avatar for OmniX

I know the dos command is "shutdown" then with your parameters of "-s -t xxx" etc. Anyways so "How to shutdown your computer using C++?" Thanks, Regards X

Software Development c++
Member Avatar for Alex_34
0
2K
Member Avatar for jxxop1

I really need help creating this program, i am not very good at coding and you all would be a blessing to help me. Thanks in advance! Assignment Create an Aircraft class that has several properties that are common to all aircraft (Ex: number of engines, seat capacity). You define …

Software Development c++
Member Avatar for David W
0
527
Member Avatar for srikanth112

Write a program to find grace marks for a student using switch. The user should enter the class obtained by student and the number of subjects he has failed in uses the follow logic. ï‚· if the student gets first class and the number of subjects he failed in is …

Software Development c
Member Avatar for Ali_52
0
643
Member Avatar for Violet_82

Hi guys, with event handlings it seems that there are 2 approaches: 1)using an anonymous inner class 2)using a normal inner class. From what I can see if you have more than one component that is generating an event, say you have 3 buttons, if you go down the route …

Software Development java
Member Avatar for Violet_82
0
361
Member Avatar for sridharsapxi

Hello experts, I am new to XSLT, SInce I am working integration project where we have XML to XML conversion using XSLT There is one line of code which I am not understanding <xsl:when test="following-sibling::*[2]/CreditOrDebitTransactionType='54'"/> Can anyone explain what this code does , and "CreditOrDebitTransactionType" what this does , This …

Software Development xml
Member Avatar for JOSheaIV
0
274
Member Avatar for SpottyBlue

Hi, I was having problems with the pet store java code. The class pet has private attributes, but i cannot use the extender class. Can help me? import java.util.*; public class Pet { // Private fields private String species; // Species name private int ageInWeeks; // Pet's age in weeks …

Software Development java
Member Avatar for jwenting
0
247
Member Avatar for Qazinix

I have been working on a program for recording voice conversations as a mini project. I have the recording working 100%, my problem is that I have no idea how to encode the wav file to a mp3 file. Here is my recording and saving code: procedure TForm1.Button1Click(Sender: TObject); begin …

Software Development delphi pascal
Member Avatar for rubberman
0
1K
Member Avatar for zachattack05

Forgive me, but I've only really used WinForms in the past, and MVVM and WPF are new to me. For those who use MVVM with WPF, do you actually make separate directories (namespaces) for your Models, Views and ViewModels files or is it more of an abstract idea? I fundamentally …

Software Development asp.net dataset user-interface
Member Avatar for zachattack05
0
311
Member Avatar for Violet_82

HI guys, as I'm gettng into Java GUI again after a long time, I'm trying hard to remember things, but not everything is that clear anymore. I'm in the process of building a very simple GUI application with a few buttons. First question is about the JFrame and JPanel. From …

Software Development gui java
Member Avatar for Violet_82
0
305
Member Avatar for Mike Askew

Howdy I have a timespan that contain in excess of 24 hours. For the example lets use a value of 1 day 6 hours and 32 minutes. I would like to get this into a string that displays "30:32". Have so far tried something along the lines of `string.Format("{0}:{1}", TimeSpan.TotalHours, …

Software Development
Member Avatar for Teme64
0
2K
Member Avatar for Alok_3

Get difference of two text files in excel and highlighting the difference using python. eg. file1.txt alok|test1|test2|test3|test4 alok1|test2|aewer|262771|262772 Rest|t1|rang|banh|test Must|t1|rang|banh|test file2.txt alok|test11|test2|test3|test4 alok1|test2|aewer|262771|262772 Rest||rang|banh|test In excel the difference should be shouwn as below: file1.txt|alok||`test2`|test3|test4 file2.txt|alok|`test11`|test2|test3|test4 file1.txt|Rest|`t1`|rang|banh|test file2.txt|Rest||rang|banh|test `file1.txt`|`Must`|`t1`|`rang`|`banh`|`test` Basically if a record is present but with some field with different …

Software Development microsoft-office python
Member Avatar for Alok_3
0
508
Member Avatar for lewashby

When I try to compile the program below in Eclipse I get two erros, ‘const class Fraction’ has no member named ‘n’ & ‘const class Fraction’ has no member named ‘d’ When I compile it on the command line with g++ -Wall FloatFraction2.cpp Fract7.cpp -o FloatFraction I get more errors …

Software Development c c# c++
Member Avatar for マーズ maazu
0
580
Member Avatar for aragonnette

i want to convert my pdf files with ImageMagic python module PythonMagick but i havent found any solution on net. import PythonMagick im = PythonMagick.Image('files.pdf') im.write("file_img%d.png") i am using below code and it returns only first page of my pdf file. any help would be greatly appreciated

Software Development image pdf python
Member Avatar for AdeleB
0
7K
Member Avatar for DS9596

C++: I'm using Microsoft Visual Studio 2012 and I am not sure what to do about these two errors: 2 IntelliSense: identifier "x" is undefined Error 1 error C2065: 'x' : undeclared identifier Prompt: Make program that reads 20 integers, display that array, and find min, max, sum, and avg. …

Software Development c c# c++ user-interface visual-studio
Member Avatar for ddanbe
0
397
Member Avatar for Jonah_1

I am creating a text editor on a Mac and am having trouble with file saving. I can open, save as and save files but the save function stops working after I call `self.close`. I get this error: Exception in Tkinter callback Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line …

Software Development file-system python tkinter
Member Avatar for Gribouillis
0
2K
Member Avatar for 9580515953

write a program for ascii no.from tushar

Software Development
Member Avatar for rproffitt
0
118
Member Avatar for xopenex

hello, Using Python 2.7, PyQt4, Qt Designer, and used pyuic4... I think thats it... windows 7? I have a GUI i created in Qt Designer. It has one button and one LCD number. I was trying to get the button to start and reset a timer, and have the elapsed …

Software Development gui python qt user-interface
Member Avatar for Ehtisham_1
0
3K
Member Avatar for DS9596

C++: I'm using Microsoft Visual Studio 2012 and I am really confused and am getting errors. Prompt: Make program that reads 20 integers, display that array, and find min, max, sum, and avg. One method named "read from user file" which will ask the user to input a filename and …

Software Development c++ display user-interface visual-studio
Member Avatar for David W
0
636
Member Avatar for Papa_Don

Hi group, I'm modifying a VB.net app where I need to loop through an Excel spreadsheet for data out of two column. In essence the code will need to read: For i = 2 to end of file propNo = Cells(i, 2).Value crms = Cells(i, 8).Value If crms = "Y" …

Software Development microsoft-office vb.net
Member Avatar for Teme64
0
17K
Member Avatar for major_lost

I know that this probably has been done by someone, but I want to learn how to do this using VB 2010 express. I cannot seem to get the numbers to stay in the text boxes that they are dropped in. The numbers always go to the last box (#81). …

Software Development puzzle vb.net
Member Avatar for Reverend Jim
0
504
Member Avatar for Swaraj_1

In my deisgn I have three classes derived (Der1,Der2,Der3)from a common class (Base1) in 2/3 of these classes have same implementation forvirtual function f1(). i.e f1() shares same implementaion for Der1, Der2 . and NO IMPLEMENTATION for Der3. so I kept f1() implementation in base class Base1, and in Der3 …

Software Development c++
Member Avatar for ddanbe
0
147
Member Avatar for prakash2813

Hello all, I am trying to implement memento design pattern in my project to add and remove products from cart. I have abstract product class and sub classes like Book, Software, Phones etc.. I googled and found some examples using three classes : 1) Memento 2) Originator 3) Caretaker I …

Software Development java
Member Avatar for JamesCherrill
0
332
Member Avatar for robotnixon

First off, happy thanksgiving everybody. Second, my program has problems. I've discovered a horrible way (for me anyway) to design and my attempts to fix it aren't getting any where. I have to design a roman numeral calculator (input romans, output romans) with at least two functions (decimal->roman, roman->decimal). I …

Software Development c++ web-design
Member Avatar for Edwin_6
0
1K
Member Avatar for playst205

Hi everyone I need help with something i get this error fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\navideeah\desktop\maplestoryserver\maplestoryserver\mapleisland.cpp(350)' was matched and i get the error around here [code=cplusplus] void NPCsScripts::npc_22000(NPC* npc){ int state = npc->getState(); int map = npc->getPlayerMap(); if(npc->getPlayerMap() == …

Software Development c++
Member Avatar for kuroshmokhtari
0
8K
Member Avatar for overwraith

Say hypothetically you had a reader which did something like this... //testing reader, automatically parses strings and converts to the custom type via attributes! using ( FlatFileReader<MyCustomClass> reader = new FlatFileReader<MyCustomClass>(config) ) { MyCustomClass custom; while ( (custom = reader.ReadLine()) != null ) { Console.WriteLine(custom.ToString()); } } Would this actually …

Software Development
Member Avatar for ddanbe
0
249
Member Avatar for WolfShield

I'm wanting to make a voice controlled program, But when I type: 'import javax.speech' into NetBeans it says that 'javax.speech' doesn't exist. I then downloaded Free TTS, copied the speech.properties like I was supposed to. It still is showing the error. I did some more research and found a place …

Software Development java virtual-reality
Member Avatar for Asif_12
0
2K
Member Avatar for nosfa

Hi. I have a MVC project with a form and a submit button. The values are passed to the controller. One method will fetch data from the dataset according to the parameters passed. Then some VB functions will work with the data retrieved. Currently I have the whole dataset being …

Software Development dataset java vb.net
Member Avatar for Reverend Jim
0
218
Member Avatar for kouty

Hello. I want to submit a code stuff with an explanation. It is not a valid code. Someone can help me to find error? <code> ** ** I'm trying to build a program that change numbers writen in decimal notation. If we consider each ranges of numbers: unities, 10-es, 100-es …

Software Development java javascript
Member Avatar for kouty
0
647
Member Avatar for zachattack05

I am starting a new application for our business to help maintain our client information, so it is going to be a very data driven application. I'm curious, from the standpoint of those who have used both and who may have constructive suggestions on the future direction of development, should …

Software Development
Member Avatar for zachattack05
0
221
Member Avatar for Makara

I have deployed an application in wildfly localhost server through jboss but the application is failing to deploy. when I delete the web.xml page the app deploys but shows error 404. what might be the problem??

Software Development java
Member Avatar for jwenting
0
274
Member Avatar for Divyang_1

i am trying to write code for login system .. but .. i know how to work normally .. nut how to create ..perfect i dont know , help me

Software Development c
Member Avatar for jwenting
0
236
Member Avatar for thedonedeal

I'm currently in the middle of making a VB.NET project. I want to have the VB.NET project control the actions of the Flash projector. (Stop, play, change text of text control in the Flash projector, etc.) This is a one way control however, nothing about the SWF projector will interact …

Software Development actionscript flash vb.net visual-studio
Member Avatar for rproffitt
0
2K
Member Avatar for kjblkblt

I have run into a few issues with a program of mine. It is a school assignment and I've gotten most of the code down but I'm running into compiler errors. I am to create a tic tac toe simulator (no human players) track the game with a 2d array …

Software Development assembly visual-studio
Member Avatar for JOSheaIV
0
281
Member Avatar for Suzie999

Please excuse my terminoligy, as I'm not certain of it in regards winforms components. I have a ContextMenuStrip on my form and in it there are some SubItems created manually. I need to add more to SubItem dynamically. I'm unsure if I'm saying this correctly so I'll post a screen …

Software Development
Member Avatar for ddanbe
0
2K
Member Avatar for Doogledude123

I know you're not supposed to use Lightweight Components like JFrame with non-Lightweight Components like JFrame, so my question is, what do you use with a Canvas? Is there also some example code for it? Thanks!

Software Development java perl
Member Avatar for JamesCherrill
0
479
Member Avatar for JVAII

Hello everybody, I'm doing a colleague a favor by looking into a VBA formula to make her reporting tasks a little easier, poor her, but I need help myself now. this is how her tabsheet is set up: ![CVDV__tab.jpg](/attachments/large/4/d71dd2333b4335e71abd83448f735d91.jpg "align-center") this is how the end result should look like in …

Software Development printer vb.net
Member Avatar for ddanbe
0
405
Member Avatar for Anne_3

Hi guys, ** Im an IT Intern Student here in the Philippines. they gave me a project which is File transferring, copy and delete. I started my OJT/Internship 3 weeks ago. and that entire week, all I have done is the design :( My professors in our university did not …

Software Development c# file-system visual-basic visual-studio
Member Avatar for Taywin
0
409
Member Avatar for LibraryCode

How would i fix the search function? AVL.h: #pragma once #include<iostream> #include<stdio.h> using namespace std; template<class T> struct TreeNode; template<class T> class AVLType { public: AVLType(); void InsertItem(T item); void Insert(TreeNode<T>*& tree, T item, bool & taller); void RotateLeft(TreeNode<T>*& tree); void RotateRight(TreeNode<T>*& tree); void RightBalance(TreeNode<T> *& tree, bool & taller); …

Software Development c++ seo
Member Avatar for tinstaafl
0
2K

The End.