199,114 Archived Topics
Remove Filter ![]() | |
well I am back with the code agin. I am trying to print the whole queueu. I can cout the front and rear but I can get the PrintQ() to work. | |
I saw a project where was a (like) combo box. when it was click a mini calendar show and today date is marked with a red oval. Please tell me how i make it. | |
Hi I m new to Vb.net. i need to Know anout the ConnectionString Details,. For eg. First Name Last Name PH Number Use this 3 datas to save Sql. plz give me the Coding for this ... | |
This might be a bit off-topic, but I've got a site with GoDaddy and when I'm working on PHP changes and try to upload pages on a constant basis, I keep getting timed out and it's basically impossible to get anything done. Anyone else have this issue - with GoDaddy … | |
hello to all, Im trying to load xml file to sql server but I dont have enough knowledge how to create schema xml, as of now im using vbscript program to upload my xml, here is my vbscript codings, Set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad") objBL.ConnectionString = "provider=SQLOLEDB.1;data source=codevelopment;database=Johnny;uid=restorer;pwd=" objBL.ErrorLogFile = "c:\error.log" … | |
Hi all.... i have problem with number: example: 1234 is equivalent to 1432 ( based on maths concept), then erase/delete 1432 2143 is equivalent to 2341, then erase/ delete 2341, and so on How to program it in C++ | |
Hi Guys, I'm getting a segmentation fault in my code and I'm not sure how to fix it. I know where it's occurring, and I know it has something to do with the way I'm using a double pointer, but just have been stuck on what to do. The program … | |
Thanks in advance for anyone who can help me with this query. I want to select all from table one and the matching image from table two. Using the following inner join query works great: [code] $result=mysql_query("SELECT * FROM members inner join avatars on members.user_id=avatars.user_id where members.user_id ='{$user_id}'");[/code] but if … | |
hi when i click the previous page button it was gng to logout page the sesion was not destroying when iwas using this code please help me [CODE]<?php session_start(); session_unset($_SESSION['uname']); session_destroy(); header ("Location: login.php"); ?>[/CODE] | |
I have taken into designing websites for some people. Not only is it fun but its helping my skills along. Now I came into a problem. I can put some writing in there saying the site was designed by me, even use javascript to do it, but people can just … | |
Hi All, Can anyone please tell me how can i get the socket.dll for writing socket programming in php. Thanks | |
:S Hi, I am terribly stuck with this code. It is suposed to upload my images to the mysql database with the foreign key(property_id). At first it worked, then later started giving serious errors where the web page could not load. I am lost. Can any one help me, solve … | |
Good day I want to write multiple response to my email, I get line 7 Please can anyone help please; My code [code]<?php $to = "info@apps4u.co.za"; $subject = "Contact Us"; $email = $_REQUEST['email'] ; $q1 = "Feed back text:\n"; [COLOR="Red"]$q1 .= "$_REQUEST['text']\n" ;[/COLOR] $q2 = "Who sent you:"; $q2 .= … | |
![]() | Do you need to validate a textarea against XSS injections? I have a textarea on a reg form and have tried entering data wrapped in h1 tags for a test, but when I look at the output in the admin area, the textarea displays <h1>test words</h1> I would have expected … |
Hi all I just want to add some functionality in my project. I simply need that when a user enters some details then based on some specific column values if the value entered by user already exists in the database then message should be displayed. if i use primary key … | |
This should probably be an easy question for most of you. I'm brand new to .net but not to asp. Backend - SQL2000 Language = VB I'm doing your basic Search - View Search Results / use hyperlink to view the details of a single record so that I can … | |
i am trying to take a input from user , suppose if user types "a bat and a ball and stick" if my array is [ICODE]data[10][20][30] = { {"a","and","apple"}, {"bat","ball"} };[/ICODE] from the sentence how i can count occurrence of "a" in the sentence ( ie , from users input) … | |
Okay, I have many questions, mainly about subjects that haven't been discussed well in my school class, although I also have a few questions pertaining to a RPG I've been working on. 1. Threads. I've tried to search for a good tutorial on their basics, but I can't seem to … | |
Hello, I've created a macro using AutoHotkey to automate a particularly boring task I have to repeat hundreds of times each day. The task requires me to get info from a web page, move to an application where I paste info from the web page and process an order, then … | |
hello, im trying to get the following code work: [code] #include <iostream.h> #include <string> using namespace std; int main() { string c; string a ("start "); string b ("http://images.google.com/images?q="); cin >> c; string d (a+b+c); system(d); } [/code] It gives me the error [code] cannot convert `std::string' to `const char*' … | |
I've always wondered how GObjects had such significantly improved pixel-rendering over objects sketched out by the Graphics object in paint and paintComponent methods. What approach should I take to receive the same effect for big images that are say 1024x960, when using simple Graphics? Is there some way to traverse … | |
Hey all..am quite new to Java and I have encoutered a problem with my program. I am getting the error message "cannot find symbol constructor". I have tried to figure it out but I have failed. I have read around that adding an empty constructor would help but this is … | |
![]() | Hi I've got a listbox which has a datasource. Now, when someone press on a button 'delete'. I want that the last created object is deleted. And then you return to the panel with the listbox. You always see the object you deleted. This I want to remove. [code] public … ![]() |
I'm trying to create an HTML editing control in C# using the technique at [url]http://www.codeproject.com/KB/IP/WYSIWYG_netHTML2.aspx[/url] . The control works fine, but there's a nagging thing I'd like it to do. Usually in a text editor, when you change the selection, if the selected text is bold or underlined, the bold/underline … | |
Hi. Me again. I was wondering how could i code my jsp page when i want the following page. I have the main contract page where you can see the certain property that is in that contract. Contract and Property are connected by contractproperty which contains both contractID and propertyID. … | |
HI EVERYONE CAN SOMMEONE HELP ME PLEASE I'M STRUGGLING WITH THIS CODE TO SEARCH THROUGH MY DATABASE IN ACCESS BUT WHEN I TRY TO RUN IT DISPLAY A MESSAGE "OBJECT REQUIRED " WHAT CAN I DO? Private Sub cmdSearch_Click() Dim Searchit As String, Founder As Boolean Searchit = UCase(InputBox("Enter Item … | |
Microsoft Visual C++ 2008 Express is giving this compiler away FREE unlike the commercial Visual Studio Professional 2005, it does not have MFC, ATL, a Win32 resource editor, a macro assembler, source code control integration, etc What are MFC, ATL, etc? BattlingMaxo | |
hi, i m having problems displaying values in a tree menu from the database. I ll try explaining wat i did so that that ll help to solve my problem. I have two tables in the database one with name 'addcourse' and the other with the name 'subcourse'. what i … ![]() | |
[CODE=cpp]void choiceSelect() { int choice; char exitconfirm[100]; printmenu(); cin >> choice; if (isdigit(choice)) { if (choice == 7) { cout << "Exiting program. Enter yes to confirm.\n"; cin.ignore(); cin.getline (exitconfirm, 100, '\n'); if (strcmp ("yes", exitconfirm) == 0) { exit (1); } else { choiceSelect(); } } while (choice != … | |
Hi frnds.. i want to daisplay values in listbox from database table regarding selected item in first listbox? here i copied the code...in this i got values of first listbox frm db table..after i want 2nd listbox values from db table of 1st selected item.. plz help ma asap... i … ![]() | |
Hey everyone, is this the most efficient way to round a decimal number to two decimal places? [code] txtXaxis.Text = String.Format("{0:F2}", A); //show 2 decimal places txtYaxis.Text = String.Format("{0:F2}", V); //show 2 decimal places[/code] thanks! | |
I'm having trouble getting fstream to function properly. I cannot open a text file while using any of the available parameters. My program calls mainprog() and functions correctly if I compile it as follows: [CODE]fstream openfile; openfile("my_file.txt"); if(openfile.fail()) { cout<<"Error opening file."; } else { mainprog(); }[/CODE] But if I … | |
hey i am beginner in java. i am not able to resolve differences in interface and with abstract class. do abstract class have methods defined??does those methods have body?? if so for abstract classes do not create objects, how they r invoked?? | |
I would like to search a multidimensional associative array for a specific Link value, then return a subset of all of the arrays that contain the same Category of the Link value passed to it. How can array_search find the Link? Once I find the right Link value, how can … | |
![]() | Hi I've made a graphic simulation with a timer. But now I want to stop the simulation (but not disappear) only freeze the simulation. I've already tried to use a do-while-loop but then the application crashes. I've also tried to use a if-loop and in the loop set the length … |
Hi All, on my client's server in the php files JS script getting embedded. the site is built in Joomla. is it virus or some problem with the joomla?? can any body please help me how can i get rid of it. this is the script which gets embed function … | |
I know it is a rookie question but how do I get the system to print what is in personList? [code] private void buildPersonOptions() { List<Person> personList = null; try { Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = session.beginTransaction(); Query q = session.createQuery("from Person"); personList = (List<Person>) q.list(); } catch … | |
Hi..am totally new to vb.net and also designing forms... 1) is there a way you can change the main forms close button image,minimize,maximize 2) Ok I Made An About form..Now How do i link to it from the menu strip 3) i also made a splash but when i load … ![]() | |
Hi there. i am trying to create an java class dealing with arrays though i am only new to programming. i have created a class with a char array field though i am not sure how to initialise it in the constructor. i am also trying to implement a few … | |
Hello guys, I have Installed drupal for some time, though still newbie. I ca configure blocks menu etc. One thing I have failed; to hack the theme to make site look the way I want to look. I have a site already in my local server (WAMP), but I need … | |
Hi, i want to disable the tabs in the tabcontrol except the selected tab in the C# windows application..Can u please help me ..I dont find any properties to disable the tab pages | |
Hi. I am taking my first C class and I seem to be having trouble with this program. The problem is: Write a function that adds two polynomials of at most degree n. /* f = g + h; n is the max degree of f, g, and h */ … ![]() | |
Please let me know how i can insert datagrid values to datatable. | |
I've got a page that should change, depending on which item on the dropdownlist is chosen. Unfortunately, the page seems to be ignoring whatever's selected and just clinging on to the first item on the list. I'm sure I'm missing something blindingly obvious, but any help would be greatly appreciated. … | |
I'm really enjoying python in my Netbeans IDE. I would like to know extensive difference between these version of Python: Cpython, Jython, Iron python, pypy .....etc (You can add it). What is the main difference? Why all these versions? What are end products of all these versions? (.exe, .jar, etc). … | |
hello, I just noticed a problem in my code. hope you'll would help me. normally we have a login page where the userid and password is validated from database .now the problem what i am facing is [code]while(rs.next()) { if((rs.getString("m_emp_no").equals(user)) && (rs.getString("m_password").equals(pwd)) ) { " " direct to some page … | |
Does any one know the code to retreve process info and put it in a box like task manager? | |
hi all I can anyone tel me how to save image in access database.& also hw to access image from database.I don't know how to start.plz reply | |
Hi, How do we increase and decrease a counter when we click on a selectbox? Example: I have 3 selectbox. Whenever i click on one selectbox it will print on screen a message 1 selected, 2 selected 3....... Thank you very much |
The End.