64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ankur_

I am not able to find a good MFC Tutorial. Do anyone has got a link for a MFC Tutorial which consists from basic to advance.

Member Avatar for Ancient Dragon
0
175
Member Avatar for vishalanuj

[CODE]<%@ page language="java" pageEncoding="ISO-8859-1"%> <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@taglib uri="/WEB-INF/struts-html-el.tld" prefix="html_el" %> <%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Listing all cities</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <center><h3>city List</h3></center> </body> <html:form action="/UpdateSuccessAction.do" > <c:forEach …

Member Avatar for vishalanuj
0
139
Member Avatar for kazit

Hi I have a problem which i cant seem to solve or font really know where to start im only starting learning c# so dont have a lot of experience. Basically my problem is that i intend to loop through a directory of .tif images which contain BW and Colour …

Member Avatar for rajishms
0
197
Member Avatar for dhanya_piit

[code=java]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Programs; import java.util.ArrayList; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import javax.ws.rs.Consumes; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.GET; import javax.ws.rs.Produces; import java.util.List; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import …

Member Avatar for peter_budo
-1
93
Member Avatar for Ana D.

Hi, I have the following code: [CODE=ASP.NET]<asp:FormView ID="myFormView" runat="server" SkinID="DetailsFormview"> <ItemTemplate> <table width="400"> <tr> <td align="right"> <b>This is the label: </b> </td> <td align="left"> <asp:Label ID="myLabel" Text="Label Text" runat="server" /> </td> </tr> </table> </ItemTemplate> </asp:FormView>[/CODE] And in the code behind (VB.NET): [CODE=VB.NET]Protected Sub BindFormView() Dim myLabel As Label = myFormView.FindControl("myLabel") …

Member Avatar for Ramesh S
-1
894
Member Avatar for skurenak

I am an absolute beginner with javascript and have no idea how to solve this one. got a function fu() which should display the NAME of the image upon onmouseover,but when I try it,all the images show the same name,although they have different names in the code. I thought the …

Member Avatar for skurenak
0
103
Member Avatar for Facte

Hi there everyone. Does anyone have any idea how to stop my xml feed displaying # instead of £ and companys instead of company's. I've tried everything I can think of. In UTF-8 it won't show hardly anything in ASCII it works but still spits out the errors above. [CODE] …

Member Avatar for network18
0
99
Member Avatar for kcasmir

Hi, I want to generate an unpredictable random integer number but i dont know how. Below is my function to generate between (1 to 8)which keeps returning '6' on first run which is predicted and also, i dont want the numbers to repeat itself. Private Function RandomIt(Hv As long, Lv …

Member Avatar for kcasmir
0
107
Member Avatar for racumin

Hi, from my understanding, if you initialize an object without the "new", it will be only saved in the stack. If the method exits, the object is destroyed. Is that correct? What about this code? [CODE] int main() { string xxx = getText(); cout << "from main() " << xxx …

Member Avatar for mrnutty
0
133
Member Avatar for Oskowich

I have a DataGrid that I create dynamically in codebehind. I add events to the datagrid, it works fine except of the SortCommand event. It will not fire. If I change my page_load to create and bind the datagrid everytime when a postback it works. But I don´t want to …

Member Avatar for Oskowich
0
260
Member Avatar for dlayante

I am just new in C#, somebody can you give me code for MS SQL server connection, on how to call records, add, edit and delete records...THANK YOU

Member Avatar for DanielGreen
-1
125
Member Avatar for DemonGal711

I've been working on this code to get data from a website and bring it back to my page so that I can use it. I've got that and I have another script to create an image from the line I got from the site so I'm good so far. …

Member Avatar for DemonGal711
0
89
Member Avatar for Nishara

Hi I am trying to insert data into a sql server database table using sqlDataAdapter and adding newrow method.But the values entered are not saved in the database.What I did is............ [CODE] string sql = "Select * from Users"; dataCmd.CommandText = sql; SqlDataAdapter da = new SqlDataAdapter(dataCmd); da.SelectCommand = new …

Member Avatar for DanielGreen
0
840
Member Avatar for ejazmusavi

Hi! i have an asp.net project developed. Now i want to run it on lan. I mean i want to store all the asp files on the server and access it from the clients through browsers. what is the mechanism used for it vry vry vry urgent plz thnx in …

Member Avatar for jbennet
0
103
Member Avatar for klackey19

Hello all, I am writing a program that implements a parser for the grammar. One of the methods I created is a boolean method which returns true or false depending on if a character is an expression. The compiler is saying "this method must return a result of type boolean" …

Member Avatar for klackey19
0
184
Member Avatar for ipodkilla

hey im a freshmen in hightschool and i need to learn to code, i was hoping some one could tell me the the [COLOR="Green"]visuial basic [/COLOR]version of this [COLOR="Red"].NET [/COLOR]codeing and i know i made a few mestakes Dim Name As String Console.WriteLine("your name here" {} ) Dim Name As …

Member Avatar for ipodkilla
0
143
Member Avatar for O71v13r

Hi everyone, I have a problem with one of the problems (17) that i try to solve on the [URL="http://projecteuler.net"]Project Euler[/URL] site. The problem is as follows: If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + …

Member Avatar for somedude3488
1
197
Member Avatar for bruceaj

I have no idea how to fix the compile warning. Y:\Development\Java\Mileage\Mileage\src\my\Mileage\MileageUI.java:296: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.Vector dataList.add(doctorData); Appreciate some suggestions. Thanks..

Member Avatar for Mikeyp926
0
86
Member Avatar for klackey19

Hello all, I am writing a program for a class that implements a parser for a given grammar. I have already successfully written it in c++ and now I have to also write it in java. The string to be parsed is a string array in my program and when …

Member Avatar for Mikeyp926
0
156
Member Avatar for dylank

Hi, I was hoping someone could help me with a C++ string problem. I currently have my program open up a file, read the contents into a string, and then I am trying to look for certain key characters in the string, like < and </. In short, I am …

Member Avatar for Clinton Portis
0
383
Member Avatar for ajay_p5

Helllo all, well I am trying to split a file on the basis of space first and then trying to join it with "-" but i am not able to do it, can sumone please suggest what should I do in order to do it. I am attaching the required …

Member Avatar for ajay_p5
0
126
Member Avatar for dmanw100

Hello, I was just wondering if the hlt instruction would produce a blinking cursor at the command line until enter is pressed or if its use is not noticeable to the user. Google wasn't too helpful for the specifics of the instruction. Thanks!

Member Avatar for NotNull
0
192
Member Avatar for DemonGal711

Alright, I'm trying to get a script to visit a website and copy the contents. The problem is that I must fill out a form before I can get to the page I want, but that's not the issue really. The url basically does this. [url]www.mysite.com/page.php[/url] // form is submitted …

Member Avatar for DemonGal711
0
118
Member Avatar for CFROG

I'm trying to set up an app for users to put their individual photos into different albums, eg. friends, family, whatever. I would like one pic from that album to be displayed for each album along with the album name. I thought SELECT DISTINCT would do the trick for me …

Member Avatar for CFROG
0
90
Member Avatar for jimib

could be this is an HTML problem, but I'll take the help anywhere I can find it... [CODE] <% @ Page Language = "VB" aspcompat=true Explicit="True" Dim src As String = " bet " %> <html> <head ></head> <body > <form name=loc action=testsac.aspx method=get> <table class=s0 width=100% cellpadding=1 cellspacing=1 align=center …

Member Avatar for jimib
0
120
Member Avatar for new programer

Dear all, There is some errors in the code that I can’t seem to spot. The code is [CODE]# include <iostream> using namespace std; int main () { int N; // Declaring and initializing variables int n=0; int i=0; int fact=1; cout << "Please Enter an Integer" << endl; // …

Member Avatar for Grn Xtrm
0
340
Member Avatar for dylank

Hi, Im new to DaniWeb and C++ and was hoping some of you more experienced tech fellas could help me out with a problem. I want to open a file, then read it by 5 characters at a time by putting it into a [CODE]char[5][/CODE] type of array, then analyze …

Member Avatar for dylank
0
195
Member Avatar for diafol

Hello all. This is not a php question, but I assume that you php aficionados will probably know more about this than most. I have a laptop that I use from home and work and have a different IP address when connecting from different locations. I am able to gain …

Member Avatar for diafol
0
95
Member Avatar for Kristofferson

Alright, so my issue is that I have a staff profile. When you press the button it brings you to the Edit Profile page with text boxes with the original information in them so they can be edited. Now I ask for the edited information to be updated when the …

Member Avatar for TomW
1
190
Member Avatar for kiddo39

I have an array of numbers and want to print out how many of each number there are in the array. My method works but I was wondering what a more efficient way of doing this would be. I figure a loop would work but I haven't figured out how …

Member Avatar for kiddo39
0
119
Member Avatar for RunTimeError

Hello, I've made a website but I've run into a problem. The site looks great when the user has the browser window maximized but when the browser is minimized an image I have on the right side of the screen is pushed over onto my background image. This is what …

Member Avatar for RunTimeError
0
176
Member Avatar for ultras1

I have administration part of my web site. But it will have only one user who will login in the page.My question what is more safely from attacks ? The user and password to be stored in mysql database or directly in .php file ?

Member Avatar for smartness
0
124
Member Avatar for Valaraukar

I've attached some .h and .cpp files so that you can view the code I am having trouble with. Basically the following errors are being thrown: Error 2 error C2059: syntax error : '{' c:\users\simon\documents\visual studio 2008\projects\objects\sprite.h 19 objects Error 3 error C2334: unexpected token(s) preceding '{'; skipping apparent function …

Member Avatar for Valaraukar
-1
216
Member Avatar for kustrle

First look at attached picture. As you can see there is few check boxes. I would like when I click Install it run selected components (mostly .exe or .bat file) If I'm sure I need to add some code to event handler of Install button? Now in event handler there …

0
61
Member Avatar for Fire00f1y

Unfortunately, I couldn't find a suitable thread already so please forgive me if there is one already... but! This was a project due today which I just bit the bullet and left out one part of. Here is my problem: I am building a circular doubly linked list with a …

Member Avatar for ~s.o.s~
0
172
Member Avatar for dvprez

I have a client that is posting a gzipped xml file on their site for me to download. I wrote the code the will unpack the gzip file. I'm stuck on how I copy the file from [url]http://www.ClientSite.com/feeds/20091020.xml.gz[/url] to my server. The file is 4mb, not sure if that makes …

Member Avatar for dvprez
0
109
Member Avatar for mcap61

OK, so i need help adding my total_points = temp1 + temp2 + temp3, but everytime they just equal 0. This is a student grade class average program, where you enter a student's info, it gets calculated, then you add the next, after entering all studen't you have to figure …

Member Avatar for rdrast
0
116
Member Avatar for Graphix

I am currently having a problem with my BB-code editor, like most things it works great in FF, but i have an issue with IE: whenever i select a word that has already been previously typed, it selects that word instead of the one i selected. Here is the selection …

Member Avatar for Airshow
0
285
Member Avatar for Loved

Hi, I am fairly new to java and have been playing around with scanners and while trying to understand this problem I am running into an error "Non-static variable vacation cannot be referenced from a static context" Obviously this isn't quite a completed program, but I am not sure why …

Member Avatar for Loved
2
165
Member Avatar for kustrle

I would like to automatize for example Java Installer to install Java without any additional user input. When I run Java Installer.exe I see following picture (attached, 100.png) I would like my program (whatever, console or something else - I don't know what) to automatically press Install button and bring …

0
71
Member Avatar for Azmatraz

I'm writing a pennies game in which a player and the computer take coins from a pile until only one remains. The trouble is I keep getting an error saying "warning C4700: uninitialized local variable 'nuCoins' used" though I thought after the user input a value it would be. Any …

Member Avatar for Azmatraz
0
163
Member Avatar for eggmatters

Hello all, I have used this code throughout this application with no troubles. I am creating a datatable, and the data is a result set returned from a sql query to an oracle 11g database. I'm creating a TableModel class that overrides the AbstractTableModel so I can add fetures to …

Member Avatar for ~s.o.s~
0
901
Member Avatar for tkud

Can i use borland c++ 5.5 to design graphic programs? if yes, please reference a book that i can use(ebook please).

Member Avatar for Ancient Dragon
0
100
Member Avatar for geg13

Hello, I am looking for some help with a program i am writing. It is supposed to ask you for the name of an object and the 'create' said object. It ends with an error message saying that the hard drive was wiped. The only problem is that i can't …

Member Avatar for Phil++
0
109
Member Avatar for PoisonedHeart

Hi guys, good day, just want to ask if there's a function that determines the number of days in a month, In a Roman Calendar, the days in a month are either 30 or 31, but if it's a leap year(every 4 years) the month of February is 29 instead …

Member Avatar for elkhartlynn
0
158
Member Avatar for Traicey

Hi All I am having a problem on finding a solution regarding the ff problem I need to do a search using a textbox and a datagrid, that means type in a text on the textbox and press enter and If a record is found the datagrid should point to …

Member Avatar for Traicey
0
176
Member Avatar for paranjyoti

Hi All, I am stuck in a module. I want to know how to get back the response and see it in alert message from $ajax->observeField in CakePHP. What do we have to write against 'complete'? Moreover, i dont know whether it can be done in $ajax->observeField or not. Any …

Member Avatar for paranjyoti
0
83
Member Avatar for mahela007
Member Avatar for PixelHead777

I'm looking for some major help. I'm a decently new coder, taking a Python class independent study. I was writing a program for a two-player 21 game. (Like blackjack only I start with only one card... for some reason.) Only problem is, while the code doesn't seem to contain any …

Member Avatar for PixelHead777
0
207
Member Avatar for nateuni

Guys.. I am trying to figure out Comparator so I can compare Strings in an object array (the object has other data types as well). I have been hunting around and have come up with this.. but I cant get it to work --> Can anyone point me in the …

Member Avatar for nateuni
0
98

The End.