132,726 Archived Topics
Remove Filter ![]() | |
Hello! I need to read from a txt file ip:port (or in some lines ip:portDdateCinteger). But i can not do it because there is no nextChar method on Scanner class. The txt file is like this: 332.234.32.11.11.222:8080 123.32.45.43.32.11:8976D12.01.2010C5 44.44.111.114.44.43:220 222.333.44.55.66.77:8089 111.11.11.11.22.33:8080D01.01.2009C1 ... There are million line on txt file. I … Software Development file-system java | |
Sorry if this might be a stupid question, I'm still new, I've been doing C++ for 3 days so far and I just reached objects.. Anyway. I made one thing to additionate seconds with seconds, minutes with minutes and hours with hours. The thing compiles but crashes as soon as … Software Development c++ | |
The error I'm getting when debugging (dynamic arrays): Unhandled exception at 0x5bfa782d in Ass4DynamicArrays.exe: 0xC0000005: Access violation writing location 0xabababab. Software Development c++ | |
Hello Developers, Is their a [B]c++[/B] alternative to the windows shell 2.0 command "[B]Get-AuthenticodeSignature[/B]", i really need some help making a [B]DLL[/B] that can check if a [B]authenticode[/B] signature exists before attempting to sign a file. Kind Regards, [B]Nathaniel Blackburn[/B] Software Development c++ | |
with this codes i created rectangle image with a line inside that has to mimic a single clock. Dim MyGraphics As graphics=e.graphics my graphics.Draw Rectangle(pens.colour,x1,X2,y1,Y2):whereby x1=60,x2=70,y1=80,y2=90,and choosen colour my graphics.Draw line(pens.colour,x1,x2,y1,y2):whereby x1=60,x2=70,y1=100,y2=120,and also choosen colour. Now help me with ideas and solution here.the hand or line within the square has … Software Development visual-basic | |
Hey im new in this forum but really need help with making program on assembly 8086 that will take a string of 4 characters , then check if they are right and after that convert them to binary and decimal, then again hexadecimal, and in the end print something like … Software Development assembly | |
Say you have a set of characters (ex. abcdef). I was wondering how I would go about generating all the possible srings I could make with these letters that are size X (ex. 7). I know this will result in a list that is number of characters in set C … Software Development | |
'Ello again, I have a question about C++ GUI's, with Code::Blocks as my IDE. Whenever I make a basic GUI with the Win32 API, it always creates a console _and_ the GUI (as shown in the picture attached). I was wondering how to only create the GUI, or at least … | |
People did any of you come across good tutorials on hash tables??? What I got from schools is useless and teacher is not able to explain properly. Thanx for help Software Development c | |
I just want to ask, can I use private classes in a console application without putting properties in it ? like this for example: [CODE] class sample1 { static void main() { private int multiply() { Console.WriteLine("hello"); } } }[/CODE] Software Development | |
How to add serial number like column in jtable at left side of jtable? Software Development java | |
Hi OK, so I am reading on OOP in Python, and I am an old C/C++ programmer so I have somewhat high expectations :). My question is regarding private/public variables. Per default, all class data members are public, but if we precede them with a double underscore, they become private. … | |
Here is my code. I get error: [B]No value given for one or more required parameters.[/B] Dim DBAdd As New OleDbCommand DBAdd.Connection = objConnection DBAdd.Connection.Open() DBAdd.CommandText = "INSERT INTO Table1 (RecordsID,Material,Component,VID,PID,DownloadPriority)VALUES(11,'Materialtexttext','ComponentTexttext','vidint','pidint',prtyint)" DBAdd.ExecuteNonQuery() I tried using update command of OLEDB Data adapters also by adding new row. But still I could … Software Development vb.net | |
Hi all, i made some modifications to my code which i wrote previoustly. But when i run it, the previous code is executing. i showed a msgbox inside button click.Next day i erased & it wrote a different code. when i click it still the msgbox is being appeared. PLZ … Software Development | |
What do you call those statements highlighted in red? [CODE] using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program {[COLOR="Red"] static void Main()[/COLOR] { int choice; Console.WriteLine("Please select below"); Console.WriteLine(); Console.WriteLine("1. Area of a Circle"); Console.WriteLine("2. Area of a Rectangle"); Console.WriteLine("3. Area of a Cylinder"); Console.WriteLine(); choice = … | |
So I have 2 picture boxes, a textbox, and a button. One of the picture boxes adds another row with the same controls but moved down when clicked and the other picture box (should) remove the same row that it was clicked on. I have PictureBoxAdd1, PictureBoxRemove1, TextBox1, and Button1 … Software Development vb.net | |
Hi, I'm trying to check the login. The values of id and pw are send from a textbox and the values of userid and password are from a mysql database. I try to compare them and if they are equal i want to return true and else return false. But … Software Development java | |
Hello, I'm a huge c++ beginner and i was given a task to write a program that will accept continuous inputting of binary, decimal, octal and hexadecimal numbers. The program will only terminate if the user inputs an invalid value and it would display the total number of binary, decimal, … Software Development c++ | |
Hi, why it's always got the error message said that "NullReferenceException Unhandled" ? Here is my code: [CODE] public partial class MainPage : PhoneApplicationPage { private FlashCard _flashCard; // Constructor public MainPage() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // This could go under somewhere like a … Software Development flash | |
Hi, Could anyone tell me how to flip rectangles in picturebox? Thanks Software Development vb.net | |
Hi i am having problems with my assignment. i am supposed to make a 2d top down view game and i started on doing the main menu. i tried at making a main menu and it worked. after that i changed the codes and put them into classes and this … | |
Hi guys I encounter an error everytime I run my recursion program which contains a messagebox. Here is the error: The name 'MessageBox' does not exist in the current context and here is my code: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication10 { class Program { static … Software Development apple | |
Hello, im writing a C program that needs to get a value from my database and put it into a temporary table. so far i can get the value from the database and insert it into my temp table. if i fill in the right value in the where clause … | |
Hello all, I have a DataGridView that is being populated via SQL with one table and is being filtered by Stock Code. I need to sort the view of one Stock Code by Nutrient names, but the sequence number is in anther SQL table. it would be easy if i … Software Development sql vb.net visual-basic | |
I am having a problem that dtAsia.rows.count>0 doesn't count at all. All I want to do is tell the user that their username already exists in the game but I'm having a bad time now because for example: I entered a valid username and its success... I entered an invalid … Software Development vb.net | |
This one is confusing me, is it if else statement or case?... :?: The month to be used will be July and the month starts Monday. I need to make a program that will ask a user to input a number (1-31) and out put the day of the week … Software Development c++ | |
hi, I am trying to make a calculator and I need the stringstream function to convert a a certain part of a string.[CODE]string n1 = "243+79"; int n2 = 0; stringstream(n1[0-2]) >> n2; // this converts the 243 from n1 to an int[/CODE] Any solutions? | |
Is it possible to select a block vertically (rather than the usual horizontal) and delete or add multiple lines in columns in one go from within RAD studio's (Delphi's) IDE? I'm getting frustrated with Delphi's poor documentation. Am I alone with this? | |
Is it even possible to create a singly linked list using a function outside of main and then access it once you leave the function? pseudo: [CODE]#include //whatever needs to be included function{ \\create and link lists in this function } main{ funtion()//call function to create lists and link properly … Software Development c linked-list | |
I'm trying to read user input and store it as a string including the whitespace. I did a search for a solution and was pointed to fgets() or scanf(%[^\n], str). But both these solutions give me an error. This is what I have: [CODE] scanf("%d", &input); if (input == 1){ … Software Development c | |
Look, Im planning to make a payroll program using Turbo C++, i'm a beginner. please help me or just give me steps on how to create my own program please?,,,,, :confused: :confused::confused: Software Development c++ | |
[CODE]public class TestMySource { public static void main(String args[]) throws java.io.IOException{ char ch; for (;;) { System.out.print("Please insert a char: "); ch = (char) System.in.read(); if (ch == '.') { break; } } } }[/CODE] output: Please insert a char: Please insert a char: Please insert a char: a Please … Software Development java | |
I am creating a business software package in visual basic.net that will handle invoices, quotes, purchase orders, inventory items, customers, etc. This program is multi-user meaning that different people could each be running an instance of the program on their computer, with each instance modifying a central database. The problem … Software Development dataset vb.net visual-basic | |
I need to sum up the values of 3rd column and 4th coulmn based on the following conditions 1) If the 1st column (i.e ctpy) of the record matches with any other record && first two character of the 2nd column (ety), matches with first two character matches the 2nd … Software Development shell-scripting | |
Pease please help.. with visual basic 2008. I am trying to get ListView to work but it does not for me. I already set up ListView with 3 colums, but the coding is not working first column called ITEMS, second Quantity and 3rd is PRICE. All items are on Buttons … Software Development listview vb.net visual-basic | |
I am having trouble structuring an sqlite update statement that has multiple parameters. The following code does not raise an exception, but nor does it update my table. After extensive googling and searching Daniweb, I think I'm looking right at the blindingly obvious and missing it. I have a list … | |
Hi i'm new to xslt the below code for getting chart in pdf after clicking the chart checkbox [CODE] <xsl:if test="$chartimage"> <fo:block text-align="center" space-after="8em"> <fo:external-graphic xmlns:fo="http://www.w3.org/1999/XSL/Format" scaling="uniform"> [B]<xsl:attribute name="src">[/B] <xsl:value-of select="concat(concat('url(',$chartimage),')')" /> </xsl:attribute> </fo:external-graphic> </fo:block> <xsl:if test="$chartPageBreak='true'"> <fo:block break-after="page" /> </xsl:if></xsl:if> [/CODE] bold coded setted attribute name through that they … | |
Hi there guys I need help in my c# program. I have an enrollment form for students and I can't add the additional charge of 1500 for male students. As you can see in my attachment, the textbox below which contains 9164 must be 10664 if a student is male. … Software Development | |
Hello Friends Does all computer viruses have .exe extension???? If not then how do they get executed in the main memory?? Thank you Software Development vb.net | |
Hi, can anybody suggest me how to take backup and restore of sqlexpress. I have used sqlexpress in my project i have little bit idea about taking backup and restore of sql server using SMO but unaware about sqlexpress. Can anybody help me please.... Thanks in Advance Software Development | |
Can someone please tell me what i am doing wrong with this code. I have created a dataset and want to push that data into crystal reports. [CODE] Dim rpt As New CrystalReport1() 'The report you created. Dim myConnection As SqlConnection Dim MyCommand As New SqlCommand() Dim myDA As New … | |
I am a newbie in Visual Studio (C#). I want to store a text read from a text file and display it on a TextBlock control, but just for a specified row. How can I do that? I've try to search on the internet, and most of them just show … Software Development c# display file-system flash visual-studio | |
Hi There I am building some SW modules in Linux environment and at the end of a build the artifacts are stored in the env in a particular folder called HW. This HW folder contains a number of folders underneath for individual targets and those contains one or more folders … Software Development shell-scripting | |
As [URL="http://www.daniweb.com/software-development/c/threads/377568/1625821#post1625821"]Goddess Narues' C code in C forum[/URL] was over my head and her critique of simplistic solution maybe overflowing the integer range was valid in C, I worked out a recursive solution more suitable to my brain in my preferable language. Maybe one day I put in C, now … Software Development mathematics python | |
Hi, I'm just trying out something with returning values to a variable and I've encountered a problem. Basically the program is supposed to return the value of [CODE]string x[/CODE] as either true or false from the [CODE]isEven[/CODE] function, then the [CODE]void output[/CODE] function should output the value of [CODE]string x[/CODE] … | |
Hi guys, I need to make a c++ project for my camp and i'm stumped and don't know what to do. I only know the very basics and i don't want to make any card games like black jack or RPG's cause people are already doing that in my camp, … | |
Please help me for developing a vb6 application for accessing multiple web cams simultaneously (is there any example source code in vb6.0) Thanks, Amit Software Development visual-basic | |
Hi,Someone please shade somelight about this- how arguments are to be passed from a run.bat file Thanks Best Regards Bethuel Software Development java | |
I'm writing a program but I don't understand the question that well could someone help explain what I have to do. Also, I am having difficulty making the methods could someone help, because I am getting an error every time. This is the Question. Write a cash register class. It … Software Development java | |
Hello, I would like to know how do I compare two chars properly Im making a healthcare project, its pretty rudimentary, Im trying to make a comparison between a char that the user inputs and the char that is in a structure that is saved in a .txt file So … Software Development c++ data-structure seo |
The End.