132,726 Archived Topics
Remove Filter ![]() | |
I need my running java application to be able to detect a web address that is typed into any browser's address bar. This is because I need it to make a decision depending on which website is typed into the bar. It would be best if I can rather get … Software Development java web-browser | |
Hi I want to scan a large csv (3000+line)file and just count the number of lines that meat certain criteria. 18,08/24/14,05:02:00,5056 14,08/25/14,07:05:00,5046 18,08/24/14,05:02:00,5056 12,08/25/14,13:06:00,5076 18,08/24/14,05:02:00,5056 14,08/25/14,05:07:00,5054 For instance I may need to know the number of entries that have 18 as the first column and have a date of 8/24/14 … Software Development visual-basic | |
Hello, I wan to create a Browser Toolbar/ Extension / Plugin for Chrome/ Firefox/ Explorer. I want to place a toolbar on the default browser of the user. Basically when the user install my software(written in C#/Vb.net) i want a toolbar to get installed on the browser. This browser will … Software Development c# vb.net web-browser | |
#include<stdio.h> #include<conio.h> void main() { int i,n,j; clrscr(); printf("\n Please Give The Value of N: "); scanf("%d",&n); for(i=n;i>=1;i--) { for(j=i;j>=1;j--) printf("%d ",j); printf("\n"); } getch(); system ("pause"); return 0; } `Inline Code Example Here` Software Development c++ | |
Write a program that reads n digit number. after reading the number, compute and display the sum of odd positioned digits,multiply all even positioned digits and add the two numbers. I have attempteed this problem like this a = input("Enter number") s = 0 p = 1 n = 1 … Software Development python | |
Hello, I am a new to vb.net and daniweb I am working with an application (A Small game) in which on special days, there is a sale in the game market, which is with game money. For it, I Have a boolean data type in the settings (My.mysettings) named special. … Software Development vb.net | |
how to write a pseudo-code for telling someone how old they will be in 15 years to come Software Development java ![]() | |
Hello guys, I'm working on a VB.Net Project. I'm using MS SQL Server as my backend. I can create Purchase/Sales Voucher forms and many more through the VB.Net Database EXpress. Say for example I have created a Purchase Voucher form where the user can enter the vendor info (in TextBox … Software Development vb.net | |
Getting errors in my java program.Please retify my program errors,Explain the mistakes? class Cine { double t=70.00; String i="CINEPOLIS"; String j="HAPPY"; { public void worldCine(); { System.out.println("Ticket rate:" +t); } public void worldCine1(); { System.out.println("Theatre name:" +i); } public void worldCine2(); { System.out.println("Movie name:" +j); } } public static void … Software Development java | |
Alberta Einstein teaches a business class at Podunk University. To evaluate the students in this class, she has given three tests. It is now the end of the semester and Alberta would like to have a program that inputs each stu- dent’s test scores and outputs the average score for … Software Development | |
Yes, I am new to Java as you will see from my post. I have done most of the work therefore; I am not interested in someone to doing my work for me rather I am looking for a new set of eyes. My program is to keep track of … Software Development java | |
Hello, team. When I run my program it is not allowing me to run this program. Looking to the professionals for some help. Tester import java.util.Scanner; public class ProductTester //the class ProductTester { public static void main( String[] args, Object getPrice) //the main statement { Scanner user_input = new Scanner( … | |
Hi guy when i run this Stored procedure it give me message error conversion faild when converting date time from charachter sting stored procedure as following Create proc searchData @StartDate datetime, @EndDate datetime as Declare @SQLQuery as nvarchar(2000) SET @SQLQuery ='SELECT * from Employee Where (1=1)' If (@StartDate is not … Software Development | |
Hi, I am working on my project and your HELP guys is really appreciated. I have a STUDENT NUMBER textbox, and what I want is when the form is open, IT WILL AUTOMATICALLY ASSIGN student number so that the registrar will not bother anymore to encode the student number...Is this … Software Development visual-basic | |
I've written a simple program in Visual Basic 6 pulling data from a database into a table. My program starts out with "Dim db as DataBase" and "Set rs as RecordSet" and then goes on to pull up the data. It runs fine on my computer. However, when I try … Software Development visual-basic | |
i have a label input & i want to show image base on label input string to show the picture with picture file name. Software Development image visual-basic | |
I have a LogIN form - usertxt and passtxt and a button, and what I want to know is how to call the values of the fields user and password in the database access to open the MAIN FORM..I am connected using DATA1.RECORDSET..Is it possible instead of using ADODC?.... Software Development visual-basic | |
hi guys is it posible to generate numbers using array and link list in data structure? example generating number 1 to 5000, can you give me some examples? Software Development c data-structure | |
Hi All, Interfaces cannot be instantiated. Could you please explain why the following is valid: interface MyInterface{} MyInterface[] myInterface = new MyInterface[]{"a", "b"}; Cheers! Software Development java user-interface | |
Write a shell script, guess.sh that implements a simple number guessing game. When run, the shell script prompts the user to guess a random number between 0 and 100. If the user guesses incorrectly, the script prompts the user “Guess higher” or “Guess lower” as appropriate and allows the user … Software Development shell-scripting | |
I am defining the following variables inside a bash script (note: I ultimately want to pass these values to the bash script from the commandline but I haven't gotten that far yet): OFS=',' INPUTFILE='~/data.txt' OUTPUTFILE='~/delimited.txt' FIELDWIDTHS='1 10 4 2 2' Next, inside the bash script I'm attempting to call an … Software Development shell-scripting | |
I tried dreamincode but the mods there are pretty mean so i have come here to humbly beg for help. First off let me start by saying I'm a new programmer and I am frustrated and cofused by the class i'm in prg 420. I need to pass this assignemn … Software Development data-structure gui ide java java-swing oop | |
Hello, I am struggling at trying to get custom fonts working in my application. I have added the font file to the project's resources via the 'Add Existing File...' option, and setup the following code... > FontFamily standard; Font wt; > [DllImport("gdi32.dll", ExactSpelling = true)] private static extern IntPtr AddFontMemResourceEx(IntPtr … Software Development web-design | |
How to update multiple data in listview Software Development listview visual-basic | |
Define a function named isDivisor that has two parameters of type int and returns a value of type bool. A call to isDivisor(m,n) should return true if and only if (iff) m divides n. For example isDivisor(6,24) will return true but isDivisor(5,24) will return false . Note that every number … Software Development c++ | |
Define a function int getRoots(double a, double b, double c, double & s1, double & s2) that solves a quadatic equation with coefficients a, b and c. If there are no real roots than the return value will be 0 and the values of s1 and s2 will be left … Software Development c++ | |
Define a function void order(int & a, int & b, int & c, bool ascending) that places the values in ascending or descending order, depending on whether the last parameter is true or false . For example, if x, y and z contain the values 3,1, and 2, respectively, then … Software Development c++ | |
Hi! I have this code from the internet but it didn't work well. I want to set the margin of the Report Viewer during runtime. Because I have this form to fill up. Instead of handwriting it. I programmed it. But there are certain positions of the textboxes in which … Software Development vb.net | |
Hey, So I am trying to add a new row to the database populating it with information from user input on my form..at the moment its only adding one row and updating it everytime I enter new information instead of adding new rows each time? I think I havae to … Software Development | |
Right now I'm having a problem getting my program to run, it compiles with no errors. The only previous error I had was that it stated reached end of file while parsing which I think I fixed. Can anyone help me? import java.util.Scanner; public class Payyroll2 { public static void … Software Development java | |
I have to use inheriantce and polymorphism to calculate the force required to pull (at a constant velocity) and the weight of material that can be carried by a train consisting of many different types of cars. The weight ( *W* ) and rolling friction coefficient (f) can be used … Software Development c++ | |
Ok so I found this code online and though it looked interesting so I ran it but can someone tell me why it doesn't work? I have scapy installed btw #!/usr/bin/env python from scapy.all import * from scapy.error import Scapy_Exception m_iface="wlan0" filter_message="http" count=0 def pktTCP(pkt): global count if pkt.haslayer(TCP) and … Software Development python | |
Hello, I will make a program with c++ about binary tree, how to implement this structure tree to C++ [Click Here](http://1.bp.blogspot.com/-LyRoy4Vg5D4/UzFIproOq5I/AAAAAAAAAe4/UapVUA_7ZPA/s1600/tree.jpg) Software Development c++ | |
Define a function bool isWin(char board[][3], char target); that returns true if character target has a winning position on this tic-tac-toe board. That means three occurences of target in a line, column or along either diagonal. For example if target is 'O' and if board[0][2], board[1][1] and board[2][0] all equal … Software Development c++ | |
Hi Dw I know this may not be popular to many people but it a standard for financial industry. I'm developing a WOSA XFS app, I've developed the part that deals with calculating denominations, determines how many CU can be dispensed for each CU denomination. Now the problem is that … Software Development c++ | |
I want to identify xml nodes that does not have specific attribute. Below is the sample xml. I want to retrieve nodes that does have the "response" attribute. I found atricles that help identify node that has a specific attribute but not my requirement. <top node> <viewentry position=1 children = … Software Development xml | |
from xml.dom import minidom dict[1] = "country" xmldoc = minidom.parse('TestStep.xml') itemlist = xmldoc.getElementsByTagName('TestStepBody') print len(itemlist) print itemlist[0].attributes['Author'].value itemlist[0].setAttribute("Author",dict[1]); for s in itemlist : print s.attributes['Author'].value dict[1] value will be changing dynamically, So i need to dynamically change the attribute value of the Author in python. I this possible? if so … | |
Hello I use MinGW 4.8.2 and Qt IDE i tried to use `gprof`, I added the following flags QMAKE_CXXFLAGS_DEBUG += -pg QMAKE_LFLAGS_DEBUG += -pg to `.pro` file and extarcted the `gmon.out` file but i don't know how to convert it to a `.txt` file. the document say gprof options [executable-file … | |
I would like to break up a list into sublists of 3 elements each. I have this code, but it will give an index error when the length of the list is not divisible by 3. mylist = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] … Software Development python | |
Hi i need help with the code ive done in java, iv got a project im doing and i get this when i run my program. --------------------Configuration: <Default>-------------------- Usage: java [-options] class [args...] or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a … | |
Hi! I'm having hard time where to put the system.out.print code in my assignment. please check my codes, I'm still new and learning in java sorry If I have mistakes :) here: import java.util.Scanner; public class SelectionSort { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter … Software Development java | |
Inspired by violent python and some of the scripts in there, I would like to make a http request sniffer to sniff http requests on a network. In the book violent python there is a tutorial for a section to make a google keg logger (gets what people search on … Software Development python | |
i am doing attendance monitoring system for student only not for staffs and only concern lectures have the privilages to mark the attendance (if one staff taking the class then another one cannot mark the attendance for same period so help me to design er-model and data base design and … Software Development database-design visual-basic | |
Hello, This is the first time I've attempted creating controls at runtime, and I'm not sure why the following code isn't working; private void Popup_Load(object sender, EventArgs e) { Panel panel2 = new Panel(); panel2.Size = new Size(1280, 720); panel2.Location = new Point(20, 20); panel2.BackColor = Color.Red; this.Size = new … Software Development asp.net | |
Error : Object referrence not set to an instance of an object Situation; I have an array declared publicly (i.e. outside any events) as Public Shared array_shuffle() As Integer What I want to do is to be able to specify the length and elements of this array from inside events … Software Development vb.net | |
Write a complete program that reads an integer k > 1 from the console and finds the first positive natural number n hat is divisible by all whole numbers between 2 and k inclusive. Your program may only use do-while loops , even if you think a for-loop or while … Software Development c++ |
The End.