199,114 Archived Topics
Remove Filter ![]() | |
Hi guys, it's been a frustrating day so far, I've taken the week off to get to grips with Xcode and produce an application for the iPhone. Wishing I hadn't now! Anyway, I'm slightly stuck in my conquest... I collasped the "Scene" panel when storyboarding and now I need it … | |
Hi Trying to login to google accounts this is the code that I created but I get this error: Your browsers cookie functionality is turned off. Please turn it on. I dont want to use there api too as this is a learning for me thought I had it nailed … | |
The shopping cart shows all the product, but when I change the quantity and click update, the error will pop out and display the following error and the quantity still remain and no any changes: ( ! ) Notice: Undefined index: qty in C:\wamp\www\cart.php on line 46 Call Stack # … | |
I have put together what I believe my homework assignment is asking me to do, but I can't get the form to add the vehicle information. Here is the code. Can someone help me get onto the correct path? Thanks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> … | |
Ok, I am having a 'WTF' moment, I cannot see what is going wrong and it is really beginning to bug me. I am attempting to send a user to an error page if the username or password is incorrect but it keeps redirecting to a page which doesn't exist … | |
Here's the problem: I need to implement a stack as an adapter to a List class. I don't know what that means though! I've researched on Google countless times and still don't understand what an adapter is. All the examples I've seen point to using inheritance and then using the … | |
Sometimes we want to tackle some problem specifying properties of sequence of numbers consisting the integer. Then it is usefull to have function to join many integers to make a long integer. Most efficient way for tight loops is to stay in integers domain and not go through the string … | |
Good Morning All, Hopefully someone can give me a clue as to how to accomplish something... The situation is this: The owner of a website I designed is traveling doing event presentations. She is enlisting the help from current members in each city to help enroll New members through a … ![]() | |
Hey when I don't template my classes, I can pass member functions to eachother normally. But when I template it, I get errors. The two functions are defined as so: CustomType& Delete(int Position); CustomType& Delete(T ValueToDelete, bool All = false); CustomType& Delete(CustomType ValuesToDelete); And Implemented like this: template<typename T> CustomType<T>& … | |
Hi, Is anyone familiar with this problem in BorlandBuilderC++: void Print(AnsiString Path){ Label1->Caption=Path.c_str(); } ... Print("C:\Directory1\Directory2\Music.mp3"); When I pass this string to Print(AnsiString) and try to display it in Label1, I lose all '' signs and text in Label1 looks like this : **"C:Directory1Directory2Music.mp3"** Why is this like that? Thank … | |
Hi, I am attempting to change a small piece of code in a forum I run but cannot figure out how to actually return the string of an item contained in an array instead of getting the items position in the array. Sorry if this does not seem to be … | |
I'd like to apply a global site-wide little javascript window on the very bottom right of the site that will display a window about 40 x 80 wide, just a book icon and the word "Bible", where when a person clicks it, it will open a pop-up window, centered and … | |
I'm trying to add an image to the top of my GUI as a logo. I tried to put it in a JPanel then add the JPanel at the top of the GUI, the only problem is that my image isnt going into my JPanel. Heres my code for it … | |
Hello guys, I'm trying to learn asp.net mvc 3, but am having real nightmare with database queries :( I added a new sql server database in my project under app _data folder and created this little table where account_id is primary key and identity column. I added new ADO.net entity … | |
How can I do the following but easier? I'm templating a class but I want it so that if typename T is of a literal type such as a string or char, then it can use the following member-function. If not then it cannot use it. I've been using typeid … | |
Sorry, I don't know where to post this one. I would like to try executing an SQL Injection on a site (offline) i created with wamp. Just like to test the security of my site and try sql injection at the same time. If this kind of post isn't allowed, … | |
Hi, I'm trying to write some code that will draw a filled in black circle at the coordinates where the mouse is clicked. Here is what I have written so far, I can currently get the coordinates of the mouse click point but nothing is displayed. I also get an … | |
Hi, I need some help on this.i made a simple upload video but the problem is i cannot display the video that i uploaded.I have no idea on this on how to display the video that I uploaded and play on it....million thanks in advance. | |
My source code runs fine in IBM RAD. When I tried to run it in JBuilder, I encountered an error "Incompatible object argument for function call" while running a JSP file. Any idea how to handle it? See details below: 012-06-16 10:20:48 - Ctx( ): Exception in: R( + /FileUploadAction.jsp … | |
These are the guidelines; 1. Create and initialize an array containing the following tax rates: 0%, 5%, 10%, 15%, and 20%. Create and initialize another array containing the following income amounts: 0, 10000, 20000, 50000, 100000. 2. Prompt the user to enter a gross income amount. Read the gross income … | |
I want to create a project where there's a Stock Exchange ticker (you know the thing with green arrow up and red arrow down sliding from right to left). I was wondering if there's an open-source script where it takes data from a MYSQL select statement or simple logic to … | |
Hello, can you please help me to see what's wrong? INSERT INTO jobs (priority, date, deadline, material, status) VALUES (?, ?,?,?,? ) select customerID from Customer where CustomerID =?" | |
hi anybody can help me analyze this code..im not getting the correct output.. if(($origin=="NAIA 1" && $vehicle=="Small Car" && $zone=="Paranaque 2") && ($destination=="BACLARAN" || $destination=="SAN DIONISIO" || $destination=="BICUTAN INTERCHANGE" || $destination=="MULTINATIONAL VILLAGE" || $destination=="MOONWALK" || $destination=="SM SUCAT" || $destination=="DON BOSCO" || $destination=="SUN VALLEY" || $destination=="BETTER LIVING" || $destination=="MERVILLE" || $destination=="MARCELO … | |
Hi guys I've been trying to connect my c# file to my database file(in .mdf format created in SQL Server Management Studio 2008). So basically I used visual studio 2008 for my C# file and SQL Server Management Studio 2008 for my database file. Now I'm sure that the naming … | |
Hi, I am currently learning how to program, and have a code below: int voltage; printf("Voltage\t\tSoC\tDescription\n"); printf("-------\t\t---\t-----------\n"); for (voltage = voltage_min; voltage <= voltage_max; voltage = voltage + step_size_variable){ printf("%d\t\t%0.3d%%\n", voltage, ((voltage - 3000)/1200)*100); } When I run it, the program outputs only 0.00%s, and is not calculating the voltage … | |
Hi,everybody, i created fileuploader,fileupload display one image.select another image first one is disapper.i want to same time user select more than 10 images display all the images one by one. anybody, plz help me. This is my code. public function executeUpload(sfWebRequest $request) { $fileName = $request->getParameter('qqfile'); $newpath = $this->_uploadProgress($fileName,'uploads'); $obj … | |
Hi everybody, Wondering if you could give me some help with an error I have with NuSoap and my C# .NET project. I am trying to return an array of arrays from my PHP NuSoap Web Service to my .NET application. My PHP Code: $server->wsdl->addComplexType( 'GraphData', 'complexType', 'struct', 'all', '', … | |
Good day g'Men! I just needs some advise or code about positioning the recorset after requery! I have 20 records in a table, I am on record no 10 and deleted it and pull movenext. The record to be view is record no 11. but a get the last record … | |
How would I go about searching a map that hasbeen written to a file? My GUI has a method caled processFind() which prints all keys in the map, I have this working but not if the map is saved to a file. private void processFind() { gui.results.setText(""); for (Object s … | |
Good Evening (in CET) to everyone. I am in need of a bit of help. I have the following cpp and.h files: dirmain.cpp #include "dirseq.h" #include <iostream> #include <algorithm> #include "dirseq.h" #include <string> struct IsEven { bool operator()( int i ) const { return i % 2 == 0; } … | |
Good day to you all, am currently working on a windows application. I used sql compact edition for the database. But the first problem i got was that it kept giving me errors i copied and pasted to error code on google and I got an article that says I … | |
Can i create **GUI in round** shape wihtout title bar by extending **JFrame** class in java. I want circular shape instead of default rectangle. How can i do this? Plz give solution as soon as possible. | |
I cannot connect to SQL server heres the code Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "Data Source=|DataDirectory|\Books.sdf" conn.Open() '\\ Error Comes here Dim sqlcomm As SqlCommand = New SqlCommand(("SELECT MAX(ID) FROM Books"), conn) maxid = sqlcomm.ExecuteNonQuery() Error Prompts me as > A network-related or instance-specific error occurred while establishing … | |
I have to develop a simple parser, to read "block" of text for example: /TEST {. text .} /TEST_DATA {. infs .} and, I need to read informations of inside of label.... and... the file with have this informations... have a lot of labels, with the same perfil for example: … | |
Hi, I have designed a windows form(to act as a messagebox) with Label and OK, Cancel buttons. I'm on form1 and call this messagebox form in the closing event. If I debug the showdialog of the messagebox form the custom text is displayed on the Label, however if the application … | |
well i am tring to make compass with a needle which rotates with respect to the position but the problem is my new to j2me and i dont know how could i access my gps to to do so i want to know wat r the various api's i can … | |
Assume you are looking to buy a house in a new development.After looking at various models they are majestic,split-entry,and single-story.The builder gave them the base price and the finished area in square meters of the three models.They want to know the models with the least price per square feet.Write a … | |
**Dudearoo** *Useing Code::Blocks* Heys you guys! ive got a question, i want to know if its possable to read a file name like for example dudearoo.dat and output the name ive got an idea for it, just i dont know how to read file name not coded into the program. … | |
![]() | I'm on the first chapter of a book "head first ajax" and I wrote the exact code the book says and it just won't work! there are 4 thumbnails pics on my page (in div id=thumbnailPane) and when u click on 1 of the pics there should be displayed a … ![]() |
Hi I am new to php and been following various youtube tutorials and boought a few books, I am now however clueless with my latest error and really need some help. This is my error **Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\lilfairy\admin\library\config.php on line 17** Please have a look … | |
Hello, I've found quite a few answers on this site. I was a network admin, however these days you have to wear multiple hats and as such I'm learning Python at work and my main source for answers when stuck is of course, the net. So here is my problem. … | |
I have an mdi parent and 2 child forms. Both are opened. Now When I try to pass a value, it gives me nullexception value. Heres how I created MDI child forms: Dim _a As New a _a.MdiParent = Me _a.Show() Dim _b As New b _b.MdiParent = Me _b.Show() … | |
hi please i want to use mouse move event in windows form to get mouse coordinates to show it in the form.and using this coordinates use the events mouse up and mouse down to draw a line . thanks | |
Hi guys... I am developing an windows application in c# with sql server as back end with windows authentication i want username and password for sequrity purpose can i set username and password without changing it to server authentication. Thanks in advance. | |
Hi every one, Can anyone give me some idea about this! I need to check a string is numeric or not. Example: if string is 1111111111 returns true if string is 11111111aa returns false if string is 11 1111111 returns false if string is 111~`11111 returns false Any idea will … | |
Hi, i'm working on a project, that scales and move the image, now i want to rotate the image, i tried using `matrix.postRotate(degrees);` but didn't work for me, here is my code: @Override public boolean onTouch(View v, MotionEvent rawEvent) { WrapMotionEvent event = WrapMotionEvent.wrap(rawEvent); // ... // Dump touch event … | |
Hi, I'm working with Visual Web Developer Express 2010. I have a registration form that looks as in the attached file. I'd like to get some suggessions on the design of the form as it doens't look professional. The 'Batch' section has to be improved. Please advice. Thanks | |
Hi, I have a simple project that I would like help with. I think the open-source community would love to have something like this. The popular search/spider program "Sphider" is great software. I would like to give it a face lift and create something that I call "Spitter". It is … | |
I've read that anonymous structs are a compiler extension and codeblocks allows them as long as -pedantic-errors are not enabled. My question is, since it is not legal in C++, what would be the legal equivalent of: typedef union XYZ { int Color; struct { BYTE X, Y, Z; }; … | |
Dear experties, I'm facing the problem which is system not catch data enter by user. It's happen sometimes. Means my system is not stable. So how can I solve this problem even user access thru IE8 or IE 9 and so on. Is it caused by IE version or what? |
The End.