132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sirin_adam

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
Member Avatar for sirin_adam
0
843
Member Avatar for Comega

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++
Member Avatar for ChaseRLewis
0
147
Member Avatar for Cross213

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++
Member Avatar for Cross213
0
234
Member Avatar for shadowscape

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++
Member Avatar for shadowscape
0
806
Member Avatar for Goitseone

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
Member Avatar for BitBlt
0
182
Member Avatar for dadisimo

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
Member Avatar for thines01
0
317
Member Avatar for tr6699

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
Member Avatar for Momerath
0
110
Member Avatar for MrAppleseed

'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 …

Software Development api c++ gui ide
Member Avatar for gusano79
0
1K
Member Avatar for peter_budo

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
Member Avatar for Siddhartha_90
0
493
Member Avatar for king03

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
Member Avatar for Mitja Bonca
0
89
Member Avatar for Majestics

How to add serial number like column in jtable at left side of jtable?

Software Development java
Member Avatar for Ezzaral
0
98
Member Avatar for Niles64

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. …

Software Development oop python
Member Avatar for TrustyTony
0
208
Member Avatar for aditya_amb

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
Member Avatar for Ezzaral
0
114
Member Avatar for coroll

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
Member Avatar for nmaillet
0
118
Member Avatar for king03

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 = …

Software Development c c# c++
Member Avatar for Momerath
0
152
Member Avatar for secretply

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
Member Avatar for codeorder
0
170
Member Avatar for klenne

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
Member Avatar for klenne
0
274
Member Avatar for lupacarjie

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++
Member Avatar for Duoas
0
157
Member Avatar for mrjimoy_05

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
Member Avatar for Momerath
0
126
Member Avatar for shers

Hi, Could anyone tell me how to flip rectangles in picturebox? Thanks

Software Development vb.net
Member Avatar for shers
0
61
Member Avatar for Tiancailee

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 …

Software Development c++ opengl storage
Member Avatar for daviddoria
0
253
Member Avatar for king03

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
Member Avatar for Momerath
0
158
Member Avatar for jenny666

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 …

Software Development c sql
Member Avatar for jenny666
0
107
Member Avatar for ginnipig

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
Member Avatar for ginnipig
0
133
Member Avatar for alfredo11

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
Member Avatar for Netcode
0
202
Member Avatar for r.cromwell

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++
Member Avatar for r.cromwell
0
141
Member Avatar for thecoolman5

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?

Software Development c c# c++
Member Avatar for thecoolman5
0
345
Member Avatar for whitefly

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?

Software Development delphi ide pascal
Member Avatar for Duoas
0
579
Member Avatar for logicmonster

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
Member Avatar for Narue
0
1K
Member Avatar for coril

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
Member Avatar for Narue
0
1K
Member Avatar for zhackon

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++
Member Avatar for zhackon
0
313
Member Avatar for kehayov

[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
Member Avatar for JeffGrigg
0
163
Member Avatar for AK47

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
Member Avatar for gearup4it
0
276
Member Avatar for mkbuster

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
Member Avatar for mkbuster
0
468
Member Avatar for Midar01

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
Member Avatar for Midar01
0
153
Member Avatar for Caraka

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 …

Software Development python sqlite
Member Avatar for Caraka
0
4K
Member Avatar for jeraldmuthu

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 …

Software Development pdf xml
0
144
Member Avatar for king03

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
Member Avatar for Mitja Bonca
0
138
Member Avatar for kylelendo

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
Member Avatar for Netcode
0
87
Member Avatar for bhagawatshinde

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
Member Avatar for nick.crane
0
147
Member Avatar for Mike Bishop

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 …

Software Development dataset sql vb.net
Member Avatar for IrshadIkhlas
0
551
Member Avatar for mrjimoy_05

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
Member Avatar for nick.crane
0
1K
Member Avatar for boshu

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
Member Avatar for boshu
0
132
Member Avatar for TrustyTony

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
0
270
Member Avatar for marvolo1300

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] …

Software Development c++ ide
Member Avatar for marvolo1300
0
96
Member Avatar for PratikM

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, …

Software Development c c# c++
Member Avatar for pseudorandom21
0
115
Member Avatar for Amit33sharma

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
Member Avatar for creophagist
0
1K
Member Avatar for betny

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
Member Avatar for thines01
0
321
Member Avatar for vishal1949

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
Member Avatar for thines01
0
2K
Member Avatar for rayden150

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
Member Avatar for Ancient Dragon
0
298

The End.