64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for techlawsam

Alright So I want to know when looking at the code below: every so often with each method argument there is an "identifier" starting with the first one: "Inside() , Show(), Outside(), Display() " I know the names can be made up literally but what do the parenthesis signify ? …

Member Avatar for techlawsam
0
173
Member Avatar for domh87

I have to make a calculator on a site to determine a lump sum payout on life insurance, the user would enter all of 1. Gender, 2. Smoker or Not, 3. Monthly Payment. For each of the different variables there is a unique lump sum amount but no way of …

0
119
Member Avatar for Tinito16

Hi, I'm new to jsp, and right now I'm doing a school project. I want to change the part of my page that has the login fields to say the username of the person who logs in (as opposed to just leaving them there and having the person wonder whether …

Member Avatar for Mindpowerh
0
163
Member Avatar for Ruchi224

Hello !! I am making a simple windows application. In one of the forms, I have buttons with various names and datagrid that displays the table. Now, what i would like to do is if I click on a button titled "softwares", i want only those elements from my table …

Member Avatar for Ruchi224
0
158
Member Avatar for kutuup

I am not sure why but this code (an attampt at a point and click game engine using Allegro 5) throws up an unhandled exception. The program starts and displays a picture, but as soon as the mouse is moved the exception pops up and the program crashes. I have …

Member Avatar for kutuup
0
270
Member Avatar for de.ICeman

In the following example: [code] public class JavaExample { public static void main(String[] args) { system.out.println(args[0]); } }[/code] when no parameter is passed Exception given is java.lang.ArrayIndexOutOfBoundExpection So my Question is that Why is that Exception is thrown , why not NullPointerException. (I know when both expection thrown) But in …

Member Avatar for de.ICeman
0
223
Member Avatar for reojavier

honestly i was new to C and i just need a codes for finding the mean for grouped data. i hope this site can least help me. you have my thanks.

Member Avatar for reojavier
-1
926
Member Avatar for dangari

Hi all, I am attempting to connect to a MS SQL Server Express Edition with Advanced Services (MS SQL10) on a remote Windows NT 5.2 machine on the LAN. My driver is [B]net.sourceforge.jtds.jdbc.Driver[/B] My url for the connection string is [B]jdbc:jtds:sqlserver://127.68.0.201:1433/LOD[/B] My user is [B]d[/B], password is [B]d[/B]. Now, when …

Member Avatar for mKorbel
0
789
Member Avatar for Ole Raptor

I am getting this message: value of type "System.data.datacolumn" cannot be converted to "System.windows.forms.datagridviewcolumn" when I am trying to add a column to the dgv [code=vb.net] Dim dtcCheck As New DataColumn("Select") dtcCheck.DataType = System.Type.GetType("System.Boolean") dtcCheck.DefaultValue = False Dim sa As New SqlDataAdapter("SELECT * FROM therapy", myconnection1) sa.Fill(ds, "Therapy") dgvther.DataSource = …

Member Avatar for concepcionmark
0
5K
Member Avatar for minbor

Hello, I need to connect to a DSN on a remote computer. I have found a lot of a lot of info on how to connect to a remote database from a local DSN, but nothing on connecting to a remote DSN. I am using asp.net, but help on solving …

Member Avatar for minbor
0
472
Member Avatar for dospy

basically i have a header full of function prototypes(util.h) and a cpp file with the functions body [CODE] // util.h #include <ctime> uint32_t GetTime( ); uint32_t GetTicks( ); // util.cpp #include <util.h> uint32_t GetTime( ) { return GetTicks( ) / 1000; } uint32_t GetTicks( ) { return clock( ); } …

Member Avatar for Fbody
0
2K
Member Avatar for nikki05

Hello, Could someone suggest me the ways to redirect a website from one server to another website in another server? I have one website "X" (IP based e.g [url]http://x.x.x.x/example.html[/url]) in one server using IIS and another website "Y" (domain based e.g. [url]www.abc.com[/url] ) on another server using Apache. I linked …

Member Avatar for suley04
0
543
Member Avatar for pepyrs

Hello guys, My question is not very direct and clear but i'll try to explain it nicely. I have a database running on MySQL with 1 important table which i need to use. Then I put this table into my C# application (I'm using Microsoft Visual Studio 2010). The only …

Member Avatar for pepyrs
0
167
Member Avatar for zack_falcon

The Board Game I have in mind is Game of the Generals. It's somewhat similar to Stratego, but I'll just give a quick description of the game; every piece has a rank from Private all the way up to 5-star general, as well as a Spy and a Flag. The …

Member Avatar for thines01
0
191
Member Avatar for suley04

Hi Everyone, I have a BIG problem right now. I am currently learning ASP.NET to fulfil my job role, as an IT Manager. Although I have programming experience in other languages, I have never done ASP.NET before. I am currently working on a website called [snipped]. I recently uploaded the …

Member Avatar for suley04
0
179
Member Avatar for sandman64

[CODE] #include <iostream> #include <string> using namespace std; int getNumAccidents(string); void findLowest(int, int, int, int, int); int main() { int counter, num, crash1, crash2, crash3, crash4, crash5; string n = "North", s = "South", w = "West", e = "East", c = "Central"; for (counter = 0; counter < 5; …

Member Avatar for sandman64
0
154
Member Avatar for dnyansagar

Hi all, I have a data which looks like this, Input: man1 car man1 wallet man1 shirt man1 shirt man2 truck man2 house man2 jacket man2 jacket man2 jacjet man2 computer I want to collect the data, but while collecting I want to count them as well So the the …

Member Avatar for TrustyTony
0
402
Member Avatar for Ingska

Hi guys, I am still kind of struggeling with my upgrade from php4 to php5, my site is almost there but I can't figure out how to set my http_referer. This is how it looks like today: [CODE] <?php $_SESSION["referer"] .= $_SERVER['HTTP_REFERER']; $my_web = $_SESSION["referer"] ?> [/CODE] The error message …

Member Avatar for Ingska
0
299
Member Avatar for patel28rajendra

hi I have one form in which there are different combobox.I want to fill these combo boxes from one tables one column name valve_type and other column is Id. I hve to fill valve type in different combobox as per id. suppose if id=1 then fill in combobox 1

0
74
Member Avatar for silvercats

I mean,How do they 1.Compile an English written High level language to Binary and understand,execute it 2.How computers do calculations using these 1s and 0s or electricity differences ? etc.... Name the books or give the links thanks

Member Avatar for silvercats
0
227
Member Avatar for gotboots

Hi all, was just wondering what is the difference between $_GET[''] $_POST[''] $_REQUEST['']? I normally use $_REQUEST[''] to get my values from a form or url, but not too sure why there is 3 different types. from what i understand, they are all the same and do the same thing …

Member Avatar for broj1
0
319
Member Avatar for ppzm78

Hi I want to load data from a flat file into a SQL table. The file has a header row and detail rows, all of which need to be loaded. I've tried various suggestions I came across in forums and EndOfStream is the one that loaded all the rows. The …

Member Avatar for ppzm78
0
184
Member Avatar for vuyiswamb

Good Day All i am creating Textboxes at Runtime with something like this [CODE]Dim cnt As New TextBox cnt.ID = "cont_" & x If multiline Then cnt.TextMode = TextBoxMode.MultiLine End If [/CODE] These are dynamically created fields. so what i want to do is to use this following JQuery on …

Member Avatar for vuyiswamb
0
733
Member Avatar for mangal123
Member Avatar for Panathinaikos22
-1
170
Member Avatar for khentz

hi, Please help me with my listview. The listview did'nt show any list items. here's my code: [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged Dim strSearch As String strSearch = "SELECT * FROM tblMobileTracking WHERE accountNumber LIKE '" & txtSearch.Text & "%'" myConnection.Open() Dim …

Member Avatar for khentz
0
182
Member Avatar for ericko10kip

i am stuckin the printing the listview items.i have already displayed in the listview.i would like to printpreview and also print it. please help people.

Member Avatar for lolafuertes
0
209
Member Avatar for Nareshp_123

Hi all, can anybody please tell me whether is it possible that through windows service we can able to move file from one machine to another....??? what i made is first i checked with normal windows application ,by creating a mapped drive to my machine. ex:- Y:\ and i was …

Member Avatar for JerryShaw
0
2K
Member Avatar for raaif

I have created a contextmenu (cnt_hys) and am adding items to it as program runs based on the user input in textbox1. when the user clicks button1 the contextmenu shows up and when the user clicks an item on the contextmenu strip i want to get the text of the …

Member Avatar for raaif
0
7K
Member Avatar for TIP.Synergy

i have a list of record that already populated but my problems is How to find out if there are any duplicates? VB.NET

Member Avatar for TIP.Synergy
0
2K
Member Avatar for Rizi004

I want to know that how i can get the text which user write in text area and want to show that text in web page same as facebook when we write something and and add comment it will show in a div how i can go with innerHTML i …

Member Avatar for sun-tzu
0
192
Member Avatar for JoshuaBurleson

Hello mates, I was wondering if in that vast amount of knowledge floating around here if any of you knew how I could save an image using Python 3.x. I know that PIL is a great, and easy option for Python 2, but I assume there must be some way …

Member Avatar for JoshuaBurleson
0
588
Member Avatar for techlawsam

ok so I am practicing with a basic carpet calculator , but when I came midway into it I noticed the " (double) " data types , I know its used to shift a value's decimal places two places but in this case it is acting the same way how …

Member Avatar for techlawsam
0
180
Member Avatar for poloblue

Good Morning, I'm new to javascript and the professor ask us to do a javascript program of future value calculation program. The details are: Write a program to find future value of monthly investments. Start with an initial investment, make a deposit every 30days, calculate interest on principle compounded daily, …

Member Avatar for poloblue
0
2K
Member Avatar for pickett65

I am writing a script that locates stores in a 20 mile radius of a given zip code. That part works fine. I am adding the functionality to also choose a product that those stores carry and display only the stores in a 20 mile radius that sell that product. …

Member Avatar for pickett65
0
164
Member Avatar for XodoX

Hi, how do I exactly do this? [quote]1) Read an integer from the input. (Reading will automatically stop after the first non-digit character, accounting for possible sign characters.) 2) DO read the next character WHILE the read character is whitespace, then validate it as an operator and store it. 3) …

0
76
Member Avatar for Ravic85

[CODE] Rectangle::Rectangle() {length = width = 1.0;} Rectangle::Rectangle(double len) {setLength(len);} {setWidth(1.0);} Rectangle::Rectangle(double len, double wid) {setLength(len);} {setWidth(wid);} [/CODE] I get this error: Error 1 error C2447: '{' : missing function header (old-style formal list?) H:\C++\Programming assignment one\Programming assignment one\programming assignment 1 member functions.cpp 19 on line 5 and 9 and …

0
82
Member Avatar for DarkMonarch

where does eclipse get installed, i know ive choose the folder for the workspace, but not the IDE in its whole. why? im on win32 and i need to drag a shortcut on my desktop thx Fund it, nevermind, it's the uncompress folder and it doesn't install itself. DarkMonarch

0
79
Member Avatar for katisss

Let G = (V, E) be a directed graph, with source s belonging to V, sink t belonging to V, and nonnegative edge capacities. Give a exist a polynomial time algorithm to decide whether G has a unique minimum cut (basically an s-t capacity strictly less than that of all …

Member Avatar for katisss
0
455
Member Avatar for CoolPrizes

So I need help on how to calculate how much change to give back to a customer. I need the program to give change in the least bills and coins as possible. Ex. Customer's item costs $13.37. He/She pays $20. Program gives back: One $5 Bill One $1 Bill Two …

Member Avatar for CoolPrizes
1
7K
Member Avatar for Gerhardt1

is it possible to make a button click event open a window? if so how should i do this? i mean a window that has already been created and marked up, im using wpf and am a staring programmer with not so very much knowledge of the language

Member Avatar for Mitja Bonca
0
224
Member Avatar for newbie26

how can i print specified number of records in using data report?? example, i enter number 5 in a text field. then, when i click a button, the first five records will be generated into a data report with their corresponding data and has it's templte per record. meaning, the …

Member Avatar for mb01a
0
128
Member Avatar for sammry

I worked on the code based on [url]http://www.daniweb.com/web-development/php/threads/123389[/url] but as per last answer to use the mail function outside loop ( [url]http://www.daniweb.com/web-development/php/threads/123389/708835#post708835[/url]), I still cant work with this script. Please help [CODE] <? $query="SELECT * FROM tbl_users WHERE ex_date between now() and adddate(now(), INTERVAL 7 DAY) ORDER BY user_id ASC"; …

Member Avatar for sammry
0
244
Member Avatar for bluehangook629

hey guys, I have this simple set a codes that opens a form as a child in MDI container. [CODE] Private Sub BarButtonItem1_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem1.ItemClick frmConfirmShipment.MdiParent = Me frmConfirmShipment.Show() ''Dim NewMDIChild As New frmConfirmShipment() With {.MdiParent = Me} ''For Each ChildForm As Form In Me.MdiChildren …

Member Avatar for bluehangook629
0
206
Member Avatar for SasseMan

Hello! I have a swing app with lots of components and stuff. I want to place a Container/Jpanel on top of everyting else that is invisible that contains other component which are visible. I can make the panel invisible or not opaque and still show its child component but I …

Member Avatar for mKorbel
0
955
Member Avatar for Ruchi224

This is the syntax i have written in vb.net to compare the text entered in textbox with the database. If existing, the value will be entered in databse, if not, it will give a msgbox displaying to add a new contact. I am new in vb.net. The database is Ms …

Member Avatar for Netcode
0
124
Member Avatar for NetJunkie

I am using a DLL file as my license file for a VB.NET project and was wondering if there was a way to make it locked so notepad can't open it and edit the data stored in there. Thanks in advanced!

Member Avatar for adam_k
0
423
Member Avatar for Jessurider

i 've got a steganography project in java.......in that we can hide text within pictures and videos......but the major disadvantage is that the hidden data is been destroyed when the image or the video is further modifies with the hidden data............is it possible to do a steganography project in java …

Member Avatar for Taywin
0
272
Member Avatar for Cainer

Hi, I'm not sure if this is right forum to ask, please don't kill me if it isn't. I'm using Visual Studio C++ Express 2010. I found that different setting in project properties can lead to big difference in performance of application. My app was running at 140 FPS, I …

Member Avatar for mike_2000_17
0
148
Member Avatar for Jsplinter

I am trying to write a class which holds either a pointer to an object of class A(base) or class B(derived) depending on conditions at run time. The base class and derived class: [CODE] class A { protected: int x; }; class B : public A { public: int y, …

Member Avatar for gerard4143
0
154
Member Avatar for Dmiller071

Hi all, For my java class I need to make the game of life. So far I have 2 main classes that drive the program (ignoring GUI class for now.) My main classes: Cell(x, y) - where x = the x coordinate and y = the y coordinate of the …

Member Avatar for Dmiller071
0
113

The End.