64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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- … | |
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 … | |
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 | |
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 … | |
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. | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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!!!!! =/ | |
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 … | |
[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] … | |
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> … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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" … | |
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){ … | |
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 … | |
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 … | |
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 … | |
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] … | |
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.. | |
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 … | |
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. | |
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 | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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"); … | |
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 … | |
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 << … | |
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 … | |
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 … | |
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 | |
[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 … | |
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] … | |
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 … | |
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 … | |
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 … |
The End.