132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Azii

Hello, I have written the basic shell script "myscript.sh", which prints Hello World. I want to call this script using PL/SQL. Please let me know the procedure(steps) for the same. Thank you.

Software Development shell-scripting sql
Member Avatar for Azii
0
1K
Member Avatar for IsmailMBakr

How we can create word document that is atemplate (contains paceholder to data ) and fill this template from xml document that contains data from serialized object Mapping Word 2007 Content Controls to Custom XML Using the XMLMapping Object c#

Software Development microsoft
Member Avatar for |-|x
0
218
Member Avatar for gbhs

Hi Consider the string "Please, go Mr. Gofer and good bye" I want to split the string at the specific word 'Go' (not Go in 'Gofer' or in 'good') in my case 'Go' could be at begin of sentence or at end or somewhere inside sentence. How can I achieve …

Software Development vb.net
Member Avatar for Reverend Jim
0
237
Member Avatar for rhys_1

memoryc = open("cipher.txt", "a") memoryd = open("decipher.txt", "a") #------------------------------------------------------------------------------- choice = input("cipher, decipher or memory") #------------------------------------------------------------------------------- if choice == "cipher": message = input("What is your message?") key = int(input("What is your key?")) coded_message = "" for ch in message: code_val = ord(ch) + key if ch.isalpha(): if code_val > ord('z'): …

Software Development python
Member Avatar for Ene Uran
0
320
Member Avatar for mickdrealist

I need to write a Java program that uses a Monte Carlo algorithm to calculate the probability that next week’s lottery draw won’t have any consecutive pairs of numbers (e.g. 8 and 9 or 22 and 23). 6 numbers are drawn from 1 to 45.

Software Development algorithm java
Member Avatar for iamthwee
0
2K
Member Avatar for Alxprog

The problem is that i can't manage to compile the simplest (int main(){}) boost asio program with Code Blocks. I'm using Windows 7. Googling gave me some controversial suggestions: 1) to add -lwsock32 key - Done(Compiler settings->Other options-> -lwsock32) 2) to link with ws2_32.dll and wsock32.dll - Done (Linker settings->paths …

Software Development c++
Member Avatar for Alxprog
0
681
Member Avatar for Derorim

So can anyone tell me how to make this I was sick for a long time so Im far behind in school. So: First the customer NEEDS to fill in his first and last name. Then he needs to tell with how many people he comes. Then he has to …

Software Development c c# c++
Member Avatar for ddanbe
0
184
Member Avatar for Doogledude123

Alright, I've never done this before so this may not be the way to go about it, but here goes. I'm creating an Application that connects to a Server which executes SQL Queries. I am coding the Application as a prototype in Java currently and extending it later possibly with …

Software Development api ios java
Member Avatar for Slavi
0
294
Member Avatar for ddanbe

I have this code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace RegexTest { class Program { static void Main(string[] args) { string str = "The quick brown fox."; string pat = "fox"; Regex rgx = new Regex(pat, RegexOptions.IgnoreCase); Match matches = rgx.Match(str); Console.ReadKey(); } } } …

Software Development regex
Member Avatar for ddanbe
0
257
Member Avatar for haider885

package filehandling; import java.awt.event.ActionEvent; import java.io.*; import java.awt.*; import java.awt.event.ActionListener; import javax.swing.*; public class Filehandling extends JFrame{ JTextArea ja; JButton jb; Filehandling() { setBounds(400,400,400,400); setTitle("azeem"); setVisible(true); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); Container cont= getContentPane(); ja=new JTextArea (); cont.add(ja,BorderLayout.CENTER); JPanel jp= new JPanel(); jb=new JButton ("Save"); jp.add(jb); cont.add(jp,BorderLayout.SOUTH); setVisible(true); } public static void main(String[] args) …

Software Development java java-swing
Member Avatar for mKorbel
0
312
Member Avatar for singularity~

I am having a issue with data binding from a instantiated class in project A to Project B. The data binding "seems" to be working correctly; however, I am definitely getting a different instantiation of ClassA. This is the ClassA - which is a class in a different Project. ClassA …

Software Development
0
105
Member Avatar for Johnny Blaz

https://friendpaste.com/mTdjXilQ0bVQJpsoCu1Wf i am having the error (float' object has no attribute 'insert').I am getting the same error with append. any solutions??? I am using python 3.4.2 .Thanks in advance.

Software Development python
Member Avatar for Gribouillis
0
204
Member Avatar for phexee

Okay guys, I have been working on this project for about 2days now and it appears i can't do it as i keep getting errors when i try tp compile the program. Please can anyone help? Sunshine.com is an online children clothing store exclusively for baby and toddler. The store …

Software Development c c# c++
Member Avatar for Moschops
0
133
Member Avatar for M.I.Sahil

Can anybody let me know, why i receive a (Runtime error 3319: Syntax Error in union Query), when I run the following union Query : sSQL = "SELECT 0 AS VoucherNo, #" & Format((txtFromDt), "dd/MMM/yy") & "# AS VoucherDate, " _ & "Vendors.VendorName, ""[Balance Brought Forward]"" AS Narration, 0 AS …

Software Development visual-basic
Member Avatar for M.I.Sahil
0
376
Member Avatar for PulsarScript

I have this program,all i am stuck with is how to check if my file League.bin exits and if it is exists need to de-serialized into ArrayList and if it does exist user should initialize 4 teams,which i tried in FootballMethod(),plus i tried to do in the main top check …

Software Development
Member Avatar for tinstaafl
0
160
Member Avatar for Mohammed_17

Frnd i m trying to view path with file name in listview so plz help me plz give me code for vb 2010

Software Development listview vb.net
Member Avatar for Mr.M
0
100
Member Avatar for OMER AHMED

how to print my listview details .. i found open source with class but this is only printing my 1st column also it is printing 1st column details in all column. please tell me how i can edit it . and put my all subitems of list the class is …

Software Development listview open-source printer vb.net
Member Avatar for OMER AHMED
0
1K
Member Avatar for PinoyDev

I am creating a table dynamically of which fields are date. I have a running code below but I want to remove those doble quotes in both sides.. If I remove the chr(34) on both ends, I get this error saving "invalid field defination". My code and table screen shots …

Software Development visual-basic
Member Avatar for PinoyDev
0
145
Member Avatar for Doogledude123

Hey, I'm looking for decent MySQL tutorials for connecting a Database in Java. I'm using Java 8 so preferably would like tutorials that correspond with newest code. Thanks!

Software Development java mysql
Member Avatar for JamesCherrill
0
382
Member Avatar for iainiow

Hi I have some code to re-encode uniface text files in to ANSII for use by a 3rd party application. This code works fine if I create a new text file using notepad, save it as Unicode and run my script. I get a lovely output file in ANSII. When …

Software Development c# file-system
Member Avatar for Roshdy_1
0
1K
Member Avatar for shahera.arafat

hi :) I'm wondering >>what is the use of (static) word in func.'s ? in this code what does it mean ??and if I didn't put it what would happen then ?? thanks :) import java.util.Scanner; class Average { public static double compute(int...x) { double sum=0; for(int item:x) sum+=item; return …

Software Development java
Member Avatar for shahera.arafat
0
401
Member Avatar for PulsarScript

Here is my code,how do i use the length property to show length of the random.bin file? static void Main(string[] args) { FileStream fs = new FileStream("random.bin", FileMode.OpenOrCreate, FileAccess.ReadWrite); // has to be declared in method scope Random r = new Random(); for (int i = 0; i < 10; …

Software Development
Member Avatar for tinstaafl
0
159
Member Avatar for TObannion

So here is my WORKING code. My problem lies in the output when I enter "0" or "00" for the hour in 12 midnight. No matter what it still outputs a 0 for midnight. (I want it to convert it to standard time.) I know it is something easy that …

Software Development c c# c++
Member Avatar for TObannion
0
236
Member Avatar for Smalls

How (if possible) can embedded resource (i.e. folders and the contents) be utilized as if they resided in a directory? have no idea where to even begin with doing so... Not sure if this question even makes sense but a whole box of cookies to all who can help! Thanks …

Software Development
Member Avatar for Smalls
0
194
Member Avatar for LATCH808

so im trying to find the min, max, range, mean, median, and mode. The max number is right but the min isnt. Once that is corrected, i can get range and mean easily. Also, i have no idea how to get mode and median. Im guessing the values in the …

Software Development c++
Member Avatar for LATCH808
0
169
Member Avatar for EarhawkPH

Hi Guys! I'm having trouble on briefcases having the same value. for ex: i choose briefcase 1 = 5000, briefcase 2 = 5000 how do i make the briefcases have a unique value? Note: the value of briefcases are randomized import javax.swing.*; import java.awt.*; import java.awt.event.*; public class DoND extends …

Software Development java java-swing
Member Avatar for iamthwee
0
418
Member Avatar for matrixdevuk

Hello. I am getting into app development and started with a calculator. The input is not equal to the output in any size I set. Here are some screenshots: Input: [Screenshot](https://www.dropbox.com/s/otncvnpfotfgetu/Screenshot%202015-02-05%2014.44.43.png?dl=0) Output: [Screenshot](https://www.dropbox.com/s/360u5iastr69hgq/Screenshot%202015-02-05%2014.45.11.png?dl=0) And finally, here is the size thing: [Screenshot](https://www.dropbox.com/s/23aln2fzovpv72y/Screenshot%202015-02-05%2014.46.00.png?dl=0).

Software Development objective-c
Member Avatar for matrixdevuk
0
271
Member Avatar for lukky

Please tell me the code for how to display record in datagridview based on combobox selected item. I have a table named table1 in sql server database.and columns are name,id,group,grade,year.when i seleted one name from my table then the remaining fields information(ie only that record)have to dispaly in datagridview by …

Software Development display
Member Avatar for riyamanavalan@g
0
316
Member Avatar for Hari om

how we change Conection String in VB.NET?

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
101
Member Avatar for Erick_3

How do i retrieve an ID with an AUTONUMBER as DATATYPE and has alphanumeric format ex(ER001)? Can some genius programmer out there help? :P? im using Access for backend and VB 2010. My code so far only returning the last number of the ID Column ex(1 instead of ER001) Dim …

Software Development vb.net
Member Avatar for Reverend Jim
0
231
Member Avatar for latrodectuss.imvu

How can I delete the old entries from the .txt file and replace them with the new ones? Like : I have a text file that has "123" in it, when I try to change the txt file it just adds the new text, I add "abc" to it and …

Software Development c++ ios
Member Avatar for latrodectuss.imvu
0
389
Member Avatar for latrodectuss.imvu

Hello, I made a program that finds all the words in my .txt file and shows them to the screen, but now I want to make it so that I can pick a word from the .txt file and replace it with something else. For example : teksts.txt has the …

Software Development c c# c++
Member Avatar for Moschops
0
11K
Member Avatar for robbia.gulnar

Write a program that lets the user to enter datain a 4 X 3 matrix of integers, and then determine and return the largest element exist in the desired row.The program calls the following functions, which you have to implement: getData – accept a matrix with its size and fill …

Software Development c++
Member Avatar for iamthwee
0
114
Member Avatar for Kristiani

i have a textbox named AddU.text, i also have a msaccess table field named Quantity, what I want is that when i input a value in AddU.Text and click the add button, the value i entered will be automatically add to the existing value in Quantity. I keep searching for …

Software Development vb.net
Member Avatar for jez9
0
2K
Member Avatar for Solution Hall

Hi ! I am working in a project using vb.net 2010 with SAP Crystal Reports. Regarding the Reports everything is fine but i had an unusual problem. Actually i have to make a report using sub report technique but when i call the main report that calls another sub report …

Software Development dataset vb.net
Member Avatar for Minimalist
0
1K
Member Avatar for Pompy

Hi i am trying to do this project for class and i have been stuck on it for a couple of days Here is the assignment **Array Assignment Write a program that allows the user to enter up to 20 Pro team names and then displays them. The user doesn’t …

Software Development visual-basic
Member Avatar for Santanu.Das
0
184
Member Avatar for PulsarScript

Hi here is my code,can someone help to edit the directory.getfile(),so i could output all files in c:\ Windows ? using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LogicalDrives { class Program { public static void GetLogicalDrives() { string[] drives = System.IO.Directory.GetLogicalDrives(); foreach (string str …

Software Development
Member Avatar for sfuo
0
203
Member Avatar for muhammad_74

Hi, I want to learn java as young but i use Arch linux since i was kid so how can i get the emulator or what required softwares.I have java 7 installed. Reply as soon as possible to noob guy. Thanks,uxama

Software Development java
Member Avatar for muhammad_74
0
460
Member Avatar for newbie26

hi everyone, im new to java. and i was assigned to do a project that integrates java and .net(c#). here's the scenario: 1. the .net system will create a text file (.txt) based on some conditions --> i already did this part. 2. the txt file will then be pass …

Software Development asp.net java
Member Avatar for mueller-bruehl
0
259
Member Avatar for jac@

Hello i am new to programming i trying to solve the follwing Allow 6 different players to throw dice 100 times The results sholuld be stored in the collection SCORES. Read the contents of SCORES and output many times in total each number was thrown. Also output whether or not …

Software Development python
Member Avatar for HiHe
0
544
Member Avatar for priyanka_10

Hi, I just wanted to know about instance method? If static modifier is not applied before does it makes it an instance method ? Plz give an example Thanku

Software Development java
Member Avatar for newcoder310
0
166
Member Avatar for faridoon.jan.7

write a program that asks user for five lowercase letters,one at a time and prints their uppercase equilents(using for loop).it uses ASCII table to ensure that user enter lowercase letter(these are the letters whose ASSCII numbers range from 97 to 122).if user do not type a lowercase letter,the program ignores …

Software Development c++
Member Avatar for Builder_1
0
121
Member Avatar for Niloofar24

Hello everybody. How can i get "ls" from shell scripting? I tried this but it doesn't work, i saved it in a file: #!/bin/bash $ls I know the second line is not correct, so what should i type? Getting "ls" is just an example, i infact want to import this …

Software Development shell-scripting sqlite
Member Avatar for Niloofar24
0
257
Member Avatar for cannon_1

This is the lines used to compile a c++ programme. g++ xp_example2.cpp api/gdxco.cpp ../C/api/gdxcc.c api/optco.cpp ../C/api/optcc.c api/gamsxco.cpp ../C/api/gamsxcc.c -Iapi -I../C/api However, when I use IDE Xcode, I don't know what to change so that I arrive at the exact same thing. For example, How shall I edit my Xcode to …

Software Development api c++ ide
Member Avatar for iamthwee
0
288
Member Avatar for bonzo2008

Can I save the information from common dialog Save as Jpg or Bmp format to an INI file and retrive it when the program starts. Now I have this line Image4.Picture = LoadPicture(App.Path & "\test.bmp") to load the picture. and it's not good. I would prefer to have that the …

Software Development visual-basic
Member Avatar for bonzo2008
0
259
Member Avatar for waqasmrd

hello sir my problem is when i add new buttons or labels any thing on a page it cannot be displayed(and also do not execute new code) .... it display only those things which i put on the interface or page before...did not add new things...kindly help me its my …

Software Development vb.net
Member Avatar for waqasmrd
0
143
Member Avatar for jamesrobb

I have a program (exe) that starts an external .exe program in response to a user request. If the external program is started by me on the desktop it checks for updates to the program prior to opening up. If I do it using the ProcessStartInfo then it doesn't check …

Software Development vb.net
Member Avatar for jamesrobb
0
128
Member Avatar for Julie_2

I cant figure out what arguements to use or really even what arguements are. #Template for Program 2 #The keyword "pass" is a placeholder that does nothing #Move each line of original code into the appropriate module #Add arguments to calcBMI() and displayResults() as needed #original code -- not in …

Software Development python
Member Avatar for Julie_2
0
503
Member Avatar for ts1989

I import an excel file into a DataGridView, one of the columns in the excel file is named DATETIME and contains both the date and time, I need to separate the date from the time how can i actually do this I've tried something but it just gives either the …

Software Development
Member Avatar for pritaeas
0
251
Member Avatar for Method_dev

I am currently writing an iOS application which fills Dynamic cells with data retrieved from a PLIST file. I have searched and searched but cannot comprehend/find a way to make my data searchable. I would like my plist to be searchable and provide the correct information. Any assistance would be …

Software Development ios objective-c
Member Avatar for Method_dev
0
358

The End.