64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for znetweb

hello, actually i need some help please, lets say i have a folder on my computer that contain only jpeg pictures and i wanna load them on a win form, and then have a next and previous button on the win form that will move among the images in the …

Member Avatar for Teme64
0
292
Member Avatar for gstang95gt

I am new to programming and have a question regarding a homework assignment. First off this is for an Inventory Program and it is part 2. The assignment is as follows: Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The …

Member Avatar for gstang95gt
0
145
Member Avatar for VIPER5646

I have two Issue using a MDI app. 1-at this moment I'm able to open MDI child forms using the MDIparent except when the I opens form1 I'm also able to open forms 2 and 3 . but I only want one form to be open at a time. 2- …

Member Avatar for VIPER5646
0
172
Member Avatar for hunterm

I have to write a function to rotate an image 90 degrees clockwise. I got it to rotate. But it also flipped and rotated counterclockwise. So wrong way, and it flipped along the y-axis. Really weird. [code=python] def rotate(self): rotatedImage = EmptyImage(self.height, self.width) for row in range(self.height): for col in …

Member Avatar for hunterm
0
114
Member Avatar for irfan.motiwala

i have page contain two combo box USA UK GERMANY i want that if i select usa then 2nd combo box will shows only cities of usa plz provide me help

Member Avatar for awinandak
0
331
Member Avatar for DarthPJB

I'm continuing my project and found a strange error, I can think of ten thousand hacks to get around it and a few ways to fix it properly, but my curiousity is peeked. why Is AStringBufEx end result 18 characters long when the Lenth of the initial string is only …

Member Avatar for Ancient Dragon
0
106
Member Avatar for abu taher

I made a project (exe). I want when a user use it , after 6 month or 1 year it will expired. I mean the exe is use for 1 year. after 1 year it will show a msg. like: demo version for 1 year. contact with author.

Member Avatar for abu taher
0
569
Member Avatar for bensmits

I am an not so experienced developer and could od with some help. The problem I am trying to tackle is as follows: I would like to enable the site-administrator, when logged in, to renew the occupancy calendar of a holidayhome in Mysql. The occupance file on the desktop that …

Member Avatar for bensmits
0
112
Member Avatar for Qisrem

Hello, I need some help if anyone has an idea. I'm working a memory management simulator trying to implement a mark & compact algorithm. To do that I need a function that can move/copy a block of memory from address A to address B. I tried using [CODE]memmove (dst, src, …

Member Avatar for Qisrem
0
86
Member Avatar for Gewalop

Today I had this question in my exam: [CODE]write a program in C++ that covers the next points: -a company needs to enter its employees' data into the computer -each emplyee has (ID-Job Code-Division Code-Salary) -should be done using struct -Input/Output functions should be inside the struct -use the struct …

Member Avatar for mirfan00
0
148
Member Avatar for losthope10

Could someone explain how to get to the answers. I read the book from class and cannot find the answers to the last 3 problems. I am not asking for the answers, just how to figure to resolve the problem. I appreciate the help. Consider the following selection statement where …

Member Avatar for bdvenom
0
141
Member Avatar for realmasa77

Hi, I have a problem with the tolower function. I use Netbeans 6.5 with GCC C++ on Ubuntu 64bit. The problem is, that I use nordic letters like Ã¥, ä and ö and the tolower function does not affect them at all. I have tried almost everything. I have tried …

Member Avatar for realmasa77
0
210
Member Avatar for fkadri

Hi I'm trying to create a dialog box with GenBitmapTextButton buttons. When I create the dialog using the standard button, I can use the enter key to push the button, and the escape key to cancel the dialog. However, when I use the GenBitmapTextButton, neither the enter nor the escape …

Member Avatar for fkadri
0
245
Member Avatar for ctrl-alt-del

Hi all, I have a very easy question (I think, at least), but I can't for the life of me figure it out, which makes me feel stupid. I'm trying to make a function to generate buttons (I have quite a few buttons in my app and don't want to …

Member Avatar for ctrl-alt-del
0
158
Member Avatar for jimbob90

This is a basic piece of code that write a couple of links to the webpage: in the xhtml file (1.0 Strict): [icode]<script type="text/javascript" src="file.js"></script>[/icode] in the file.js file: [code=JavaScript]document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>");[/code] The links aren't there, the titles are there, THERE IS NOTHING THERE!!!!! =/

Member Avatar for essential
0
132
Member Avatar for dot_net_rookie

Hi , I am trying to bind a drop down and checkbox with values from two tables from database. The 1st table has categories and is binded to the DDL and the 2nd table has sub categories and is binded to checkbox and inter related by using the category ID …

Member Avatar for dot_net_rookie
0
161
Member Avatar for inegames

[i](Im using VS C++ EE 2008)[/i] Hi people, i have had a strange problem today. Im currently programming something to do with Physics. I have searched the Internet already for the answer, including this site. The problem is: [i]error C2064: term does not evaluate to a function taking 1 arguments[/i] …

Member Avatar for tux4life
0
83
Member Avatar for fadia

hi guys.. i'm doing this program.. haven't finished it yet.. i'm not getting any errors but the program is not running correctly.. I dunnu y,, i did everything i had to and it says 1 succeeded with no warnings ! here is my code.. [CODE]#include <iostream> #include <fstream> #include <cstdlib> …

Member Avatar for fadia
0
167
Member Avatar for toolmanx

This is the hex output from a LARGE_INTEGER. "EA 00 0B 00 A1 00 00 00" On my machine a DWORD is read "00 0B 00 EA" How do you place the high 32 bits in the sequence? This leads me to the question of how to output this to …

Member Avatar for toolmanx
0
147
Member Avatar for jimmiller96

Hi All, In my attempt to learn javascript by jumping in with both feet, I have run into the following scenario: I have a registration form that requires different information based on a combobox selection. My thought was to resubmit the form with some special identifier when the combobox changes, …

Member Avatar for jimmiller96
0
146
Member Avatar for ChimpusDupus

One of the pages in my web application works fine when I start the application from that page, but has some problems if I start from another page, including the Default.aspx page. When I went to investigate the problem, I realized that, if I start the application on the Default …

Member Avatar for achristov
0
133
Member Avatar for theashman88

Hi I am new to C++ and I'm trying to create a console program that quizzes you using some of my old quizzes. My only problem is when I get to questions where there are spaces between the word it messes up. Here's an example: string answer1 = "anything\0that\0has\0mass\0and\0occupies\0space"; string …

Member Avatar for theashman88
0
83
Member Avatar for jalandoonk

I'm trying to set the selected value from a combo box that is populated from my database, i cant seem to find a way to do that. I'm using this to populate my combo box: [I]Private Sub PopulateCountry() Dim country As New Client Dim contryList As OdbcDataReader = country.mpopulateCountry() Dim …

Member Avatar for venu_dw
0
138
Member Avatar for mamatachaudhari

hi.. I am using struts 2.. I want tabs on my jsp and my code is.. On first Jsp i used to create tabs which works fine for me. [code=JSP]<s:tabbedPanel id="test" labelposition="middle" > <s:iterator value="teamlist"> <s:url id="resultsUrl" action="navigateChangeTeamAction.action" > <s:param name="teamCode" value="teamCode" /> <s:param name="teamName" value="teamName"></s:param> </s:url> <s:div label="Team2" theme="ajax" …

Member Avatar for mamatachaudhari
0
2K
Member Avatar for grisha83

Hello, I wrote an add method but for some reason it does not add more than 3 values. Could anyone tell me why? here is my method: [ICODE] public void addValue(int value) { IntNode cur = head; IntNode prev = cur; IntNode t = new IntNode(value); if (value <= cur.data){ …

Member Avatar for grisha83
0
67
Member Avatar for Nad42

Hi im trying to get a sort function working in a program im writing, basically ive got an array of structures of [code=c] struct person { char name[20]; char address[20]; char address2[20]; char tphneno[12]; char email[30]; }; [/code] and i want a function to sort them alphabetically by name in …

Member Avatar for Nad42
0
149
Member Avatar for d0nut

Hello. I am attempting to try my luck at PHP. I can not figure out how to call the function in the PHP code. I keep getting a blank page. I am using a simple html form with an input field and a submit button. When you enter in a …

Member Avatar for d0nut
0
126
Member Avatar for Clockowl

Hey guys, Below code isn't working as I expect it to do. I expect it to read all params when 6 are given, buuuuuuuuuuuut it only reads one, the rest remains zero. It does enter the case, but the stringstream buf seems empty. What am I doing wrong? [code=cpp] #include …

Member Avatar for Clockowl
0
167
Member Avatar for Zandermander

Hey guys, I'm writing a small client/server application. I've got it almost completely working, other than the fact that once the user disconeccts from the server using TcpClient.close he can not reconnect without restarting the app because clientSocket is disposed. Declaration: [CODE] Dim clientSocket As New System.Net.Sockets.TcpClient() [/CODE] Connect: [CODE] …

Member Avatar for Zandermander
0
1K
Member Avatar for dbayo

hello..im new in this forum and php language..i need a help..anybody know how to import excel data into mysql Database?..im a student for the final year and making a project..help me..tq so much..

Member Avatar for FreeGroup
0
172
Member Avatar for billymcguffin

i need some help writing a GUI for the program i'm making. it is a simple text-based number-guessing game and i would like to have the prompts displayed in a nice window. i would also like to have the "number_guesses" and the "guess_list" variables displayed off to the right of …

Member Avatar for billymcguffin
0
359
Member Avatar for serkan sendur

do you guys know a complete setup project for windows mobile application that i can run and examine on my local computer and pocket pc? thanks.

Member Avatar for serkan sendur
0
81
Member Avatar for serkan sendur

hi guys, i try to create setup application for cab file, when i run app manager from the code, i cant see my cab file on add/remove program list. do you have any idea why is this happening? thanks

Member Avatar for serkan sendur
0
100
Member Avatar for swingingstars

Hi I'm new to mootools, could anyone help me on this? i got on mouseenter and mouseout works on IE 8, but on Firefox, it only works just once I don't know whether i's the css or the mootools code that went wrong [B]I've attached some files here too if …

Member Avatar for swingingstars
0
206
Member Avatar for baudday

I know this is for MySQL, but there really isn't a forum for 'other databases.' I was wondering if anyone could point me in the right direction for learning SQLite. I tried googling it, and I did find some helpful things, but nothing that shows me how to use it. …

Member Avatar for baudday
0
125
Member Avatar for mostermand

I have been testing a C++ based SDK and now i have a few questions for you that i hope you will answer . 1. When passing objects between each other is it preffered to use references if not what then? 2. Is it good or bad to make a …

Member Avatar for mostermand
0
145
Member Avatar for tehbrozor

Hello, I am trying to label the axes of an array of subplots. The units of each plot are the same so I would like to just label each axis once. The array is of in determinate size. For odd numbered rows/cols I just use ylabel/xlabel on the middle row …

Member Avatar for tehbrozor
0
81
Member Avatar for dmanw100

Hello, I am having problems using an ObjectInputStream to read from a file. My program uses a File to check whether or not a specific file exists. If it exists my program will attempt to create a FileInputStream for the file and associate an ObjectInputStream with it. It should first …

Member Avatar for dmanw100
0
121
Member Avatar for hunterm

So I am trying to add a graphical element to my game. And it draws a circle for white or black pegs. However, the list that contains "Black" and "White" isn't acting quite like I want. The list prints like this: B l a c k B l a c …

Member Avatar for scru
0
184
Member Avatar for FaMu

Hi I have the following function which read ASCII characters(separated by space) from a file and I want to print it out to the screen contents of the data.txt file are like this 70 97 104 97 100 [code=c++] void decode() { string str; string instr; ifstream inFile; cout<<endl; inFile.open("data.txt"); …

Member Avatar for FaMu
0
167
Member Avatar for mindis

Firstly I don't understand english very well, so there may be a lot of mistakes. I use python-2.6.2, wxPython2.8-win32-unicode-2.8.10.1-py26 and numpy-1.3.0-win32-superpack-python2.6 in this example. So I would like to hnow, how to get variable elements form one class into another. I use wxPython, and i don't hnow how get value …

Member Avatar for Ene Uran
0
227
Member Avatar for kylcrow

Here is some code that I am trying to use. Why wouldn't this work the way I am assuming it should? here is a sample of vector<string> mine: *** *2* *1* so mine[1][1] = 2. [CODE=C++] // In a function that has passed in vector<string> &mine int dist[2000][100]; cout << …

Member Avatar for kylcrow
0
137
Member Avatar for TBotNik

All, Have a set of nested forms/subforms in this order: frmMain => sfmMain => ifmTABset => sfmUSR => sfmSETcfg where sfmMain & sfmUSR are the control fields containing the subforms being called and the TAB control TabCtl0 resides in the TABBED form of ifmTABset. I am trying to open the …

Member Avatar for TBotNik
0
144
Member Avatar for Saravanan07

Hello, I'm currently creating an application in VB.Net. I have used the IsNumeric function for registering the name but the function only work if I enter only Numeric. If I enter Char + Numeric it doesn't provide any error message. For example if I key in James007, the data are …

Member Avatar for kvprajapati
0
220
Member Avatar for Rakesh Nagekar

Hello friends, Good Afternoon, I done the search process in PHP but when it comes to advance search the problem is comming can anyone help me in programming advance search and the search has to be performed on more than one table i require as in [url]http://www.naukri.com/[/url] Thank u

Member Avatar for kvprajapati
0
137
Member Avatar for n3r3d

[CODE]void slova(string datoteka){ ifstream coban; coban.open(datoteka.c_str()); string polje[200]; string linija; int brojac=0; while(!coban.eof()){ getline(coban,linija); polje[brojac]=linija; brojac++; } string rec=polje[1]; int brojac2=0; for(int i=0;i<rec.length();i++){brojac2++;} cout<<brojac2<<endl; if(rec[0]==rec[brojac2]){cout<<"same letters"<<endl;} else{cout<<"letters are not same"<<endl;} }[/CODE] This is my code, it should test if 1st and last letter in string are same, but i can't …

Member Avatar for n3r3d
0
96
Member Avatar for TrippyGrape

Help please... pretty please: I am trying to extract from the Description, please see bold. PLEASE someone, help me :) Thanks. TG [CODE]Objectgroup Object ( [_properties] => Array ( ) [_is_datasource] => IS [_is_driver] => mysql [obj] => IS_Objectgroup Object ( [ObjectgrpID] => Array ( [0] => 14 ) [Objectgrpparent] …

Member Avatar for TrippyGrape
0
79
Member Avatar for Diamonddrake

I have written a flashy custom context menu using a new form with layeredwindows for my application, I want the context menu form to close when the mouse leaves the form, or when its deactivated. But I can't seem to get it to happen. I have tried the Close() method …

Member Avatar for ddanbe
0
275
Member Avatar for Brandon515

hey guys umm this might seem really stupid but for reasons i would rather leave unsaid i want to make an encryption program and by this i mean a program that will turn a string into numbers and funnel into a file then when selected take the contents of the …

Member Avatar for Brandon515
0
115
Member Avatar for real_castilla

hi all, I have a binary file, then I try to read them and show the value to the screen, but what I got is always -13108. I don't know why. Here is my code [code] #include <iostream> #include <fstream> using namespace std; void main() { std::fstream f_in, f_out; short …

Member Avatar for real_castilla
0
135

The End.