199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aVar++

Hello, In little man computer I have my program which divides a number by taking the smallest away from the biggest and looping round, a count(starting at 0) is added by 1 everytime this loop goes round, so my program works correctly, however I can't work out how to round …

Member Avatar for aVar++
0
139
Member Avatar for afifah.hamidon

Hi, I'm using ` int TxtAge = Integer.parseInt(tfAge.getText().trim());`to get value from my textfield and search it in database. Then, I'm using `Integer age = Integer.parseInt(stringTokenizer.nextElement().toString());` to go to next attributes in my database. I have no problem using those codes for textfield but when I'm using the JComboBox the result …

Member Avatar for afifah.hamidon
0
149
Member Avatar for MasterHacker110

I am trying to display the files and folders in a directory. And if the folders have a nother folder, display those contents also, and so on. I have this code but it isn't working the way I would like it to: #include <Windows.h> #include <string> #include <iostream> using namespace …

Member Avatar for Ancient Dragon
0
321
Member Avatar for Carlos_7

I need help with the following: I have a taxonomy named location. I have a list of countries using that taxonomy. I need to display the latest posts in a list with the flag and the post title. I created a folder inside theme folder with all country flags. For …

Member Avatar for diafol
0
191
Member Avatar for boonfoo

I am trying to build a crystal report view. As a newbie here, i have no idea how connect it to my database. I am refering to a tutorial in here (link) [URL="http://csharpdotnetfreak.blogspot.com/2009/07/creating-crystal-reports-in-aspnet.html"]http://csharpdotnetfreak.blogspot.com/2009/07/creating-crystal-reports-in-aspnet.html[/URL] In the tutorial it teaches the connection of the database using OLE DB(ADO). But i failed, because …

Member Avatar for patelkisankumar
0
491
Member Avatar for Mr.M

Hi DW I'm creating an ATM program and now I want to call the Dispensor to dispense the selected amount from the options provided. The main problem here is importing this `import atm.input.CashDispenser; ` the rest of the code is fine. here is the full code: import atm.input.CashDispenser; import java.util.Scanner; …

Member Avatar for Mr.M
0
144
Member Avatar for nitin1

code 1: #include<stdio.h> int main(void) { int a; a= 1,2,3; int b = a++; printf("%d",b); return 0; } code 2 : #include<stdio.h> int main(void) { int a; a= (1,2,3); int b = a++; printf("%d",b); return 0; } Can you please explain why that bracket is making ouput changed ? i …

Member Avatar for pooh1234qwerty
0
138
Member Avatar for Jacklittle01

I am trying to make a system for my game in which the player's enemy has a decreasing amount of health. My shell output is here: Cannon Fired! Enemy Health= 8 Cannon 1 ammo = 10 The enemy fired back! Your health is now 12 Fire your choice of cannon! …

Member Avatar for Jacklittle01
0
150
Member Avatar for PF2G

Hi, i'm doing a website where the user can add his favourite bands in his profile. But not every band is in the DB, so if the band isn't in the DB it adds the name in the column. this is what i have: if(mysql_query("INSERT INTO bandas_fav(band_fav_id_user, band_fav_id_banda) VALUES('".$_GET['iduser']."', '".$bands_name['banda_id']."')")) …

Member Avatar for minitauros
0
155
Member Avatar for Dani
Member Avatar for diafol
0
1K
Member Avatar for chint

I was using the following code to enter an image url at `TextBox1` and display it in `PictureBox1`.Everything worked. But suddenly the displayed image quality is lower than the original link. I've tried `PictureBox1.Load(TextBox1.Text)` and changing `SizeMode` still the same result. Imports System.Net Public Class Form1 Dim client As WebClient …

Member Avatar for chint
0
519
Member Avatar for Rahul47

I dont know what caused such a filenames and i am not able to remove these files. $ ls A????cd new????cat> >> A A????cd new????cat ????A Desktop Downloads file.sh menu.sh new new1.sh new.sh Pictures rename Videos A????cd new????cat |A A?echo A Documents even.sh filetest.sh Music new1.lst new.lst palindrome.sh Public Templates …

Member Avatar for Rahul47
0
209
Member Avatar for SAM2012

Hi, I need help in running a software, thay have plugins in the from of jar files. which I dont know how to run and execute. I have JDK installed. Please suggest. Thank you so much.

Member Avatar for SAM2012
0
304
Member Avatar for somjit{}

i saw the docs for both .. but found the terms a bit hard to get. i was hoping to get some simple answers here. thanks for your time :)

Member Avatar for somjit{}
0
327
Member Avatar for Shan_1

my not getting the values from the textbox when i pressed the button please see the code and give me a solution please.. i want my textbox value to be displayed in the msgbox with textbox.name and button.name Public Class Form1 Dim txtadd1 As New TextBox() Dim txtadd2 As New …

Member Avatar for Begginnerdev
0
153
Member Avatar for Ahsaas

I'm writing some code to serialize some data and write the serialize data to a file on disk. Currently data is in void* buffer and then trying to serialize using tpl with TPL_MEM so that later it can be write to file. But I am not very sure that how …

Member Avatar for Ancient Dragon
0
171
Member Avatar for Learner010

how to create controls(like button , textbox) dynamically , i want to create these for 10 or may be more than 10 times . so i think i have to go through loops and probably i can do that but the problem is that how to create controls in runtime. …

Member Avatar for Learner010
0
415
Member Avatar for coder389

I have files in e pub format. I have to show their contents to the user. How do I read them in asp.net?

Member Avatar for geniusvishal
0
89
Member Avatar for samoslook

hi programers i need a sample of code for a simple blog(add/editing) by datalist

Member Avatar for geniusvishal
0
126
Member Avatar for rrlogu

I am trying to get the meta data information from the below url, but its not working, all I'm getting on the screen is an empty screen. Any kind of help is highly appreciated. $tags = get_meta_tags('http://watch32.com/movies-online/return-to-the-blue-lagoon-2766'); echo $tags['author']; echo $tags['keywords']; echo $tags['description']; echo $tags['geo_position'];

Member Avatar for rrlogu
0
2K
Member Avatar for jagan.rao
Member Avatar for geniusvishal
0
178
Member Avatar for Vaspar

I am using Robot's screenCapture method which returns BufferedImage, and then send using Socket to client on Android. If I don't reduce Quality then It works fine but it is very slow as Image is large and takes much time to send. I am trying to Reduce quality of BufferedImage(using …

Member Avatar for JamesCherrill
0
713
Member Avatar for sobias

Hello there! Been a long time since I visited it DaniWeb :) I have a very wiered problem with my JSON data I'm getting using CURL. The returned json is 100% valid - you can copy and check it from here: http://pastebin.com/mdF1Vd7k When I try to do the following: `$result->data[0]->username; …

Member Avatar for jkon
0
249
Member Avatar for KamiNuvini

Hello, I'm really new to HTML/jquery so having some issues with submitting a form to jQuery and showing the results in a div. What I want -> Text box: Fill in text Button: Submit text as POST data with longurl=<text>, and display the result in a div (#shorturl) I have …

Member Avatar for KamiNuvini
0
3K
Member Avatar for cjap20

The link tied to this post is what I have to do. I could do this if I all the answers and questions were already established. My problem is that I don't know how to make the program start from scratch and make it "learn". This is my code as …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Gus_19

First off, I apologize since I do not have my code already done in front of me to post, but I've been doing a bit of research with no real guidance or understanding on what to do. I've created a dgv as a seperate form from my main one, consisting …

Member Avatar for Gus_19
0
289
Member Avatar for tanmay.majumdar2

Hi people, I recently learn about 'Saving objects'. In order to practice it a little bit, I started making a problem. However I got stuck by a strange syntax error. It says that I do not have the right amount of braces. But I do have the right amount of …

Member Avatar for pbj.codez
0
170
Member Avatar for joeyliew7

How to get the imgbtnView image button in gridview to display the row of data? i try to use modelpopupextender but the targetid is invalid because the image button is in the gridview. when click on imgbtnView, solistPanel will be display now i cant display the solistPanel. please help <table …

Member Avatar for joeyliew7
0
674
Member Avatar for 2teez

I wanted a graphical representation of the listing of my files and folders from the command line interface, just like what the CLI **tree** would give on linux system, I really don't like how the same command is displayed on windows. So, I called on ma 'Cherie' Perl do it …

0
294
Member Avatar for arunkumarch

Hi I want to check wether user exist in server or not uisng shell script? can any one help me regarding this

Member Avatar for CrazyDieter
0
270
Member Avatar for 2concussions

Okay, so I've been working on a program where you add planets to a solar system and try to get them to orbit a sun. What I need, and have been having great troubles with figuring out, is a 'guide line' to show you where your planet is going to …

Member Avatar for 2concussions
0
249
Member Avatar for roybillstrom

I am writing a picture viewer to reside in "Program Files" directory. I then right click on a picture file in any other directory and use "Open with" to optionally chose my viewer. I know how to do all this. But how do I send to my program the path …

Member Avatar for roybillstrom
0
93
Member Avatar for Don_2

I want to create a form that our Certified Trainer has to fill out when he goes out into the field to certify a system. This form asks him to specify: (Dropdown menus; Options seperated by commas) 1) Type of metal: Aluminum, Steel 2) Type of application: Roof, Parapet, Footpath …

Member Avatar for diafol
0
185
Member Avatar for fredw300

I am using C# to create a word document from a template (Word) that contains several bookmarks. My application generates different tables and paragraphs at specific bookmarks. However, there is a blank page created in the end of the document which I am not sure how to get rid of. …

Member Avatar for lolafuertes
0
274
Member Avatar for pbj.codez

Howdy Folks; I have decided to begin working on a project, that I personally feel will cover alot of areas, and introduce me to new topics. This is not for a client, or a homework assignment. This is strictly to help me 'learn as I go' and review some old …

Member Avatar for pbj.codez
0
260
Member Avatar for lysv

I have a .Net web application where any uncaught exceptions get handled via the Application_Error event in Global.asax. Here, I email myself details of any uncaught exceptions that sneak through. My problem is that while I am getting the error messages just fine, I am not getting the line numbers …

Member Avatar for BMXDad
0
424
Member Avatar for sabarinadh.ch

I want to upload images to my database, these can be done using php and mysqli . The form contains some information like file descriptiopn and input file and when i submit the file the file will automatically enters in to the database and the image will be stored in …

Member Avatar for diafol
0
1K
Member Avatar for xrjf

The days when the calculator had almost 3 thousand visits a day have gone. Since then, there have been several major versions and lots of minor versions. Somehow, I feel pleased in that the present core algorithm follows the rules of the first I read; of course, extending the simplicity …

0
428
Member Avatar for Abel21

Why an array of text boxes cannot be created in C# the same way as in VB.Net? In VB.Net I can do this, ant it works.

Member Avatar for Abel21
0
198
Member Avatar for sabarinadh.ch

I am uploading files from a form to a folder in database using the following code. Now i want to add one text field to add some title to that file and save it database.Currently i am uploading files in upload folder but i want to save the title and …

Member Avatar for diafol
0
408
Member Avatar for sireiz

#include<iostream.h> #include<fstream.h> class studentinfo { private:/*Creating Private Data Members */ char* VUID; char* campusID; char* Studentname; char* Fathername; public: void Storefile();/* Function to Store Data in the File*/ char Display();/*Function to Read and then Display Data from the File*/ studentinfo(char*, char*, char*, char*);/*Constructor to initialize Data Members*/ ~studentinfo(); }; /* …

Member Avatar for sireiz
0
438
Member Avatar for Jake.20

Greetings fellow vb.net programmers, Today i really, really need your help i'm having difficulty in display the quiz items in each textbox i'm out of ideas. What i need to do is. I need to display all the question that is in the database to the textboxes i thought of …

Member Avatar for Jake.20
0
157
Member Avatar for yankeefan24

Im working on a form that I need to break in sections. example form.cfm?section=A, form.cfm?section=B and form.cfm?section=C. When employee access form.cfm?section=A, form.cfm?section=B and C need to be disable only section A will available for user to add input. when section B is accessed by supervisor section A and C are …

Member Avatar for yankeefan24
0
198
Member Avatar for joshmac

Hello, there is a small php script that I am converting from using mysql to mysqli, but I am having a bit of an issue with mysqli_fetch_fields (this is where I assume the problem lies). Basically it is a form that allows someone to enter free form queries in order …

Member Avatar for joshmac
0
266
Member Avatar for adil.ghori

Hello Everyone ! I want to Create a program that will calculate and print to the screen a sales receipt. The user will enter in the number of sales items, the price for each item and the sales tax percentage. Can Anyone Help me Out? Thank You

Member Avatar for lindajane
0
250
Member Avatar for Hazuan Nazri

Hello, i need help here...., i try to insert my data into mysql, but every time when i insert data into my database, its insert two record in one time, 1 row is the data that i insert and another row is empty, just the auto increment column have filled, …

Member Avatar for diafol
0
263
Member Avatar for johans22

I have a text file with one of the lines as : name=AB,CD,EF I read the line like this: input# line,str first str is name=AB then the next line is CD and then EF, why it does not read the whole line at once.

Member Avatar for rishif2
0
140
Member Avatar for Dimonai

Hello to everyone, my problem is, Im creating dynamacly rows in a table with a textfield and a checkbox, but to delete the rows the checkbox must be on the first column witch I dont get it, if I move the checkbox to the last column and press it, javascript …

Member Avatar for Dimonai
0
277
Member Avatar for edensigauke

I am happy with sending an email using PHP, i would like to know how to send an attachment also in my email: ` <?php $to = "es@yahoo.com"; $subject = "Sent by portal"; $message = "Get attachment"; $from = "se@gmail.com"; $file = $_POST['ah']; function mail_attachment($to, $subject, $message, $from, $file) { …

Member Avatar for Tinnin
0
518
Member Avatar for kevinyu

Hello, I have some problems when getting the diagonal coordinates of the queen. What certain steps or algorithm could you suggest me as I am just manipulating the button list. It would be just fine for me if you suggest reworking the whole program for a better solution. using System; …

Member Avatar for ddanbe
0
130

The End.