132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Desh2350

Okay, so here's my set of problems: I need a simple error check, so that if the user enters the wrong type of character, he/she will be notified and allowed to re-enter a new value. Secondly, I need some sort of loop that allows the user, after having running the …

Software Development c++
Member Avatar for Ketsuekiame
0
252
Member Avatar for mykar_88

hi pls help me to read data from a website. can it be done with VB? if yes pls guide me. thank u

Software Development visual-basic
Member Avatar for Ramesh Genwa
0
169
Member Avatar for bhagawatshinde

Can anybody help me for creating subscript and superscript in Richtextbox in c#. I am done in vb.net but could not convert it into c#. here is my vb.net code... [CODE] Public Sub SetSubScript(ByRef rtb As System.Windows.Forms.RichTextBox) Dim iPos As Integer Dim strRTF As String With rtb If VB6.PixelsToTwipsX(.SelectionCharOffset) >= …

Software Development
Member Avatar for Ramesh Genwa
0
2K
Member Avatar for haojam

Sir / Madam, I would like to map and extract common numbers between 5 column (i.e.Start) and 6th column (End) for refFlat table with 2nd column (Start) and 3rd column (End) for mirna table. Could you please modify the script attach here. I would be glad for your support. With …

Software Development perl
Member Avatar for haojam
0
272
Member Avatar for GeekByChoiCe

Heya guys, I have a very small snippet that drives me crazy right now. [CODE=csharp] int arg1; int expr1 = arg1 = 16; [/CODE] That silly online translators giving me the following output [CODE=vb] Dim arg1 As Integer Dim expr1 As Integer = InlineAssignHelper(arg1, 16) [/CODE] Great but what should …

Software Development c# vb.net
Member Avatar for GeekByChoiCe
0
269
Member Avatar for HelpStudents

Issue with how to properly use push_front and pop_front. I have a class named Account I am suppose to be able to be able to add new accounts and new balances but I can't find the proper documentation on how to do this. I am trying to figure out what …

Software Development c++
Member Avatar for tajendra
0
388
Member Avatar for kaskoraja

Hello friends, I have a list similar to ['9.48E+02', '9.42E+02', '9.79E+02', '9.58E+02', '9.28E+02', '9.47E+02'].List has around 9000 elements. I need to convert this list in to file with a format similar to 9.48E+02 9.42E+02 9.79E+02 9.58E+02 9.28E+02 9.47E+02 so that i can access it in another mechanical software i.e without …

Software Development python
Member Avatar for kaskoraja
0
164
Member Avatar for rjcenteno

okay i came up with some code that reads in a file, and on the file are names of shapes and their widths/lengths. after the file is read in, it tokenizes whats in the file, it then calculates what shape it is and then takes the information and calculates the …

Software Development c++ file-system
Member Avatar for rjcenteno
0
182
Member Avatar for micheal Amirul

Dice Rolling Write a program that simulates the rolling of two dice. The program should use rand to roll the first die and should use rand again to roll the second die. The sum of the two value should then be calculated. [Note: Since each die can show an integer …

Software Development c++
Member Avatar for WaltP
0
169
Member Avatar for jakethepython

I am new to python and am making a program with the wxpython module and no matter what I try I get a NameError: global name 'outp' is not defined?? Can someone help? Here is the code, it is fairly complex: [CODE]import wx class jake(wx.Frame): def func1(self,event): global foo foo+="1" …

Software Development python
Member Avatar for woooee
0
848
Member Avatar for nndung179

Hello Everybody !!! I have the problem about my Digital Clock, You could see this on my attachment. It works perfectly, but one problem that when the second == 10, the label name second lblSed appear "010", when it's up to 11, it appear normally. I dont know what wrong …

Software Development
Member Avatar for Momerath
0
178
Member Avatar for yousafc#

Please tell me how to make flash player in c sharp.I have no Idea.Please tell me about to flash in c sharp 2008.

Software Development flash
Member Avatar for yousafc#
0
182
Member Avatar for taga1989

M just an infant to java..just kno the ABC.. m tryin to work in small projects like address book...so can i get help like how to start...

Software Development java
Member Avatar for muthu@tent
0
153
Member Avatar for vin24

Hi guys!.... My colleagues and I were developing a Library system. We want to make use of a client-server but I just want to know what are the basic prerequisite needed in making a system with client-server. Is it time consuming because our professor told us we have 1 month …

Software Development client-server visual-basic
Member Avatar for hkdani
0
296
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in VB.Net I have a DatagridView.I have a Save Button on my Form.Now my requirement is i want to the Data that is populated in Datagridview when i click on Save button. I want to do it using Update Query. below is my …

Software Development vb.net
Member Avatar for Ehtesham Siddiq
0
186
Member Avatar for neiljohnmanuel

Hello everyone i am a student who has very little knowledge about programming. I would like to know if there is a way to load list from a database to a combo box. there are two fields in my database namely: Age and Allowance. what i want is to load …

Software Development visual-basic
Member Avatar for hkdani
0
135
Member Avatar for go_big12

I have searched without success for a way to format the text in a Tkinter OptionMenu List. Specifically, I want to use some subscripted letters. Something like: from Tkinter import * root = Tk() types = ['Kd', 'Koc'] type = StringVar() typewidget = OptionMenu(root, type, *types) typewidget.grid() I need specifically …

Software Development python tkinter
Member Avatar for woooee
0
478
Member Avatar for bluejacketpin

How do I best speed up running of my prog? Once I have simplified code as much as possible, made it smaller. By using loops were appropriate etc. All ideas are welcome :D

Software Development vb.net
Member Avatar for Reverend Jim
0
96
Member Avatar for maverick420

[CODE] import.awt.Rectangle; public class AreaTester { public static void main(String[] args) { Rectangle R = new Rectangle(5,6,7,8); System.out.print("w: "); int w = R.getWidth(); System.out.println(box.getWidth()); System.out.print("h: "); int h = R.getHeight(); System.out.println(box.getHeight()); int area = w*h; System.out.println("Area of Rectangle:"+ area); } } [/CODE] The above code gives error:<identifier> expected import.awt.Rectangle; ^

Software Development java
Member Avatar for dimasalang
0
533
Member Avatar for willywhomperz

[CODE] package code; public class CharacterCounter { /** * int numberOf(String s, char c) * * Returns the number of time the char c occurs in the String s * * @param s is the original String * @param c is the char whose count in s we want to …

Software Development java
Member Avatar for dimasalang
0
410
Member Avatar for valestrom

I have a main c++ file with all my integer values, then I have a seperate c++ file with my algorithms for my battle function. May seem like a simple question, but how do I get the values from my main c++ file and use them in the other one …

Software Development c++
Member Avatar for valestrom
0
80
Member Avatar for isebas

Yes, I am a total newbie. I am doing this code for homework. It is giving me an error on the method line is saying that it is missing.Please help. [CODE]import java.io.*; public class discount {public static input in = new input(); public static void main(String[] args) throws IOException; {double …

Software Development java
Member Avatar for dimasalang
0
198
Member Avatar for parth27987

I'm obviously a noob @ c++. Have a question. is there any way i can restrict user to input only numeric value and make a loop if user enters non-numeric value. for example for conversion from kilo to pound if user enters some garbage like "afshdgafg" in cin. is there …

Software Development c++
Member Avatar for parth27987
0
237
Member Avatar for DJWK

This program should extract the first line. Somehow I'm getting the last line instead of the first... This is the textfile: [ICODE]N100 G96 S200 N115 G0 X600 Z-1004.95 T11 D2 M3 M7 H10 N125 G0 X500 N130 G1 X419 F0.5 N135 G1 Z-1004 N140 G0 X500 N145 G0 Z-419.7 N150 …

Software Development c
Member Avatar for DJWK
0
227
Member Avatar for Satyrn

I am trying to simplify Maven to use one POM to do both a 64 bit build and a 32 bit build. I have tried to separate the build into two separate executions however I am required to set the compilerExecutable tag specified by the maven-native-plugin to point to either …

Software Development c++ ide java
Member Avatar for Satyrn
0
419
Member Avatar for Vusumuzi

This is a simple one, but don't know why it won't work. Question VALUE RETURNING FUNCTIONS WITH ONE OR MORE VALUE PARAMETERS The pupils of the Annandale High School have to pay a fee for each extramural activity that they want to partake in. These activities include sport, and other …

Software Development c++ ios
Member Avatar for Mouche
0
342
Member Avatar for SpiritualMadMan

OK, I have a Class for a Frame that is basically 24 labels in a stack like an old terminal Screen. There are two Functions included in the Class: AddLine and Clear (Will add "Exit") I want to launch an instance of this Class in it's own Thread and Pass …

Software Development python
Member Avatar for SpiritualMadMan
0
162
Member Avatar for jeraldmuthu

Hi i have generating xml file for chart(fusion chart). that chart having swf format file for each chart. i'm creating xml in case statement( case 1 for horizontal bar xml(file),case 2 for verical bar xml(file)) i have created that file by giving straight path it is not servlet it is …

Software Development java javascript xml
0
131
Member Avatar for Coffee_Table

I am trying to determine the time complexity (and space complexity if anyone would like to have a go at it) of a sort function i implemented with a custom comparator. it is the sort function from the STL <algorithm>. First off, I am using Visual C++, so I am …

Software Development algorithm c++
Member Avatar for Narue
0
615
Member Avatar for NOVICE3

Using the following code: [CODE]public byte[] dxfData; int dxfpointer; byte newbyte; StringBuilder layerName = new StringBuilder(); newbyte = dxfData[dxfpointer]; while (newbyte != 0x0d) //stops at a CR { layerName.Append(newbyte); dxfpointer++; newbyte = dxfData[dxfpointer]; } string newstring = layerName.ToString(); label1.Text = newstring;[/CODE] The label shows the numbers for the ASCII letters …

Software Development
Member Avatar for Momerath
0
129
Member Avatar for kingsonprisonic

Hi, all I am trying to create a software where video files play continuously using a timeline like Windows Movie maker or Pinacle Studio. So i have no idea how to maintain the time line. Will i use Timer Control for that or any other methods are available. I dont …

Software Development streaming-service vb.net
Member Avatar for lolafuertes
0
315
Member Avatar for ChronoSyntax

Hi hi all, I am new in here and I want asking, I have program that read the image from file with extension .ojn, I can show that image file into picturebox, Here my code to read the image: VB.NET Syntax (Toggle Plain Text) [CODE] Dim path As String path …

Software Development image vb.net
Member Avatar for lolafuertes
0
436
Member Avatar for selma_aktra

Hello! I write a command line program with java on eclipse. I use this code to get a sound from the beep.wav file. But i can not hear anything from the eclipse. [CODE]try { File curdir = new File ("."); File soundFile=new File(curdir.getCanonicalPath() + "\\beep.wav"); Clip clip = AudioSystem.getClip(); AudioInputStream …

Software Development file-system java
Member Avatar for selma_aktra
0
235
Member Avatar for Naveen2961

Hi There, I am trying to retrieve the data from MS Access Table to LIST-VIEW, its difficult for me to write the code as I am beginner, Need help on this .. Any suggestions, example or template ? Thanks in Advance..

Software Development vb.net
Member Avatar for Naveen2961
0
1K
Member Avatar for naazsayed

hello all i am making a project and in that getting storing and loop problems there are two fields serial no and quantity when quantity is entered serial number must be asked then only and the number of times quantity is entered that many times serial number must be asked …

Software Development vb.net
Member Avatar for naazsayed
0
78
Member Avatar for Matth963

[CODE]import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Calendar; public class CheckIn{ Date today; void getArrivalDate() { DateFormat df = new SimpleDateFormat("dd/MM/yyyy"); try { System.out.print("Enter Date in dd/mm/yyyy format: "); String d = Keyboard.readString(); today = df.parse(d); df.format(today); } catch (ParseException e) { e.printStackTrace(); } } void getDepartureDate(){ Calendar …

Software Development java
Member Avatar for Matth963
0
262
Member Avatar for mkalinic

Hello all, I am having some trouble with my tic-tac-toe game. My main problem is that I do not know how to properly make it so that when i click a button on the form acting as spots for the x's and o's the proper letter will come up and …

Software Development gaming gui vb.net
Member Avatar for Reverend Jim
0
453
Member Avatar for jiapei100

Asking for a Linux command line to convert all files in current folder from UTF8 to ANSI, name unchanged. Best Regards Pei

Software Development shell-scripting
Member Avatar for griswolf
0
282
Member Avatar for jiraiya

Hi all, I'm trying read in the contents of a series of text files located in a folder in the same directory as a jar file. I've been trying to work out how to do this for a while now, but to no success, so any pointers as to where …

Software Development file-system gui java
Member Avatar for JamesCherrill
0
15K
Member Avatar for sha11e

I made this tiny code: [CODE] public class main { public static void main(String[] argv) { System.out.println("Hey"); } } [/CODE] It compiles and run fine in eclipse, but when i go into cmd and do javac main.java it created a main.class then I did java main.class but I get errors.. …

Software Development java
Member Avatar for JamesCherrill
0
366
Member Avatar for zygimantelis

I programming project "ChildrenEditor". This is editor written in python/tkinter. Here write your own mistakes is not resolved. Please help solve them.

Software Development python tkinter
Member Avatar for zygimantelis
0
126
Member Avatar for traxzer

Hey I´m getting some errors, could anyone please help me to get rid of them? Main code [code] import javax.swing.JOptionPane; public class Kontotest { public static void main(String[] args) { Konto bok = null; String navn = JOptionPane.showInputDialog( "Skriv inn navn"); String nummer = JOPtionPane.showInputDialog( "Skriv inn kontonummer"); String saldo …

Software Development java java-swing
Member Avatar for JamesCherrill
0
2K
Member Avatar for Danielle87

I am trying to search for a word out of these 2 Principles. But by code displays both of the principles not just one. How could I make it display [U]only[/U] the principle where the word is located. [CODE] import re patterns = [ 'work' ] text = """\ 1. …

Software Development python
Member Avatar for TrustyTony
0
174
Member Avatar for sathya88

how to use messagedeigest class to bring security to a file...encode and decode a file... any suggestion ?????

Software Development cybersecurity java
Member Avatar for JamesCherrill
0
115
Member Avatar for lochnessmonster

Is the only point of string encryption is to hide a hardcoded string from being scanned and found in memory/binaryfile? I dont see how string encryption works 100% of the time though...it seems if any string that needs to be used will be stored in memory. For example, i can …

Software Development c encryption
Member Avatar for TrustyTony
0
147
Member Avatar for cse.avinash

Hello Sir, I am using DELL laptop and with the help of QEMU, NASM and GCC i am trying to compile a simple code which is not executing properly. I am using UBUNTU 10.04. here is the loader.asm assembly file. [code] global loader extern dmain MODULEALIGN equ 1<<0 MEMINFO equ …

Software Development assembly ubuntu
Member Avatar for Schol-R-LEA
0
217
Member Avatar for johmolan

I am trying to export a datagridview ti excel, but i get an error I do not quite understand. I have made two click-events using two buttons looking like this: [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As SqlConnection Dim sql As …

Software Development dataset microsoft-office vb.net
Member Avatar for bklynman01
0
251
Member Avatar for Mullaly

Hi, I am a newbie to C# and OOP.. I need some advice regarding my requirement.. 1st Part: There are persons who use mobiles, of many subscribers and also have many numbers in each subscribers. If we consider the XML tags it would be [CODE]<Persons> <PersonName1>XXX</PersonName1><Subscriber1><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><two>123456</two>....<twenty>20</twenty></Numbers></Subscriber1><Subscriber2><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><tow>123456</two>....<twenty>20</twenty></Numbers><Subscriber2> </Persons>[/CODE] Like …

Software Development asp.net c# xml
0
107
Member Avatar for winecoding

I have a generic text file, which can be composed of text data and numerical values, like an article. It can have multiple paragraphs/lines and have various types of delimiters. My general purpose is to tokenize this text file into a string array. I am quite confusing on how to …

Software Development java
Member Avatar for JamesCherrill
0
250
Member Avatar for coolbeanbob

Hello, I have been given an h file. Below is a section of the h file, with the entire h file below it. I am trying to figure out how to invoke the section directly under this message. [CODE]template <class T> ostream& operator << (ostream& os, const List<T>& s) // …

Software Development c++ linked-list
Member Avatar for coolbeanbob
0
201

The End.