199,114 Archived Topics
Remove Filter ![]() | |
Hello everybody, First off I know I should invest in some good c++ books...well technically alot of books for alot of different languages. However this month I am dabbling in c++ again. I am currently working in Visual C++ and trying to make a "keybind" for my program, so that … | |
Hi, I started creating a new program in visual studio 2010 using C++ and windows form applications. However I done the bit of the design I got couple icons when you click on it opens a page and when I debug the program and resize the form those I icons … | |
Hello everyone! Am trying to retrieve data from sql server based on two columns. Its a web application being developed using VS2010 (vb.net) but i keep getting the error: incorrect syntax near '=' Here's my code below: [CODE]Sub GetBasicMidwives() ' Set the SelectCommand properties... With objDataAdapter .SelectCommand = New SqlCommand() … | |
i am looking forward to making a game with c/c++ language. I need to know how to set up the scripture for the game, so if anyone has a clue how to set up a c/c++ scripture code then please reaply. thank you, ~~tehnoobshow | |
I have this entire code in assembly for 8086, it has to chain a interrupt vector. The problem is that the interruption isn't pointing to this code im memory. I try to print a message just to test and it doesn't work. I don't know what to do anymore. Can … | |
I'm relatively new to VBA, and I'm trying to automate some macros for a datasheet. I need it to look at the value known as rackRack.Text (I know, not the best var name) and split it. The original value would look like: "B-04". I want it to split and select … | |
I went and tried to learn how to use Enum So I apologize for the lack of logical construction but I had to start somewhere I have code that I am not sure how to use it because I don't know how to call it so all the logic went … | |
Hi! Can somebody help me? I want to add text, but I can't. I saw some examples, but when I wrote them in my code, it returns error. Here's the code (Win32, directX, c++): [CODE] #include <Windows.h> #include <WindowsX.h> #include <d3d9.h> #include "D:\\Program Files\\Microsoft DirectX SDK (June 2010)\\Include\\d3dx9.h" //I don't … | |
Hello, I'm attempting to write a function that accepts a vector "list" and it's "size" as arguments and using an iterator, step through the list to find the one with the highest value. For instance, here is the non-iterator function: [code] int winnerIndex(vector<int> list, int size) { int votes = … | |
Hello! I have many big lists of free proxies on text files. I need to write a small program which can test these proxies if they work or not. To do that i need to send ping on each proxy, but this is not a 100% solution because many proxies … | |
Hi there, I am very, very new to programming and need to work out how to determine if a number entered by a user is a prime number. I have coded this but it does not work. :'( Any assistance would be greatly appreciated! I also get the following error … | |
Hi, This program has the information I need it to have but instead of going down in a column it goes straight across. Can someone show me where to get the formatting for this kind of code? I tried different things to no avail. Thank you for this and all … | |
Hi, folks. Need some help to develop a method/function. No problem if there is no code but I would like to start discussing the best way of doing this even in high level language. First of all would like to provide you with some information. The set that I use … | |
Hi, I assigned the name of the file to string vector. I mean when I print the vector, it seems like cout<< files[0]; It prints file.txt and I want to open the file by using vector. I tried ifstream file ("files[0]"); and ifstream file (files[0]); but they did not work. … | |
Hello guys! How to load content into the ckeditor? Pls look [url]http://ckeditor.com/demo[/url] for example. My code is below: [CODE] <textarea class="ckeditor" name="pagecontent" cols="100" rows="20" id="pagecontent"></textarea> <?php include_once "../Misc/ckeditor/ckeditor.php"; $CKEditor = new CKEditor(); $CKEditor->basePath = '../Misc/ckeditor/'; $CKEditor->replace("pagecontent"); ?> [/CODE] I want the content automatically loaded from MySQL database to the CKEditor … | |
I have develop an application in which i am taking the data from one table which contain only 1 column which contain the table name. Motive of the application is if this table contain 2 records(fetch 2 table name) then i have to fetch the records from these table then … | |
I have some code which exports the contents of a gridview to XML. The XML is coming out with incorrect field tags: <tr> <td>Builder Damage Inspection</td> <td>request for final BDI inspection. No damage report on pre damage inspection.</td> <td>2008-07-09 3:13:59 PM</td> <td>2008-08-13 9:13:48 AM</td> <td>512135</td> <td>5450865</td> <td>CLOSED</td> </tr> Here is … | |
Hi, How would i make something like on google maps where you type in an address/location and it will show you how to get there, and give you directions. I dont need a full code butwould like to knw what something like that is call/how to start off with it. … | |
Hi All, I downloaded the example with SQL db for filtering from the adres below [url]http://www.eggheadcafe.com/tutorials/aspnet/c67c4daa-83c2-4baa-aea4-2c8855527acb/aspnet-gridview-filtering-with-dropdownlist.aspx[/url] And when I tried to run it from VS2008, I got this error "The connection name 'NorthwindConnectionString' was not found in the applications configuration or the connection string is empty" I already downloaded msi … | |
[CODE] sqlCmd = new SqlCommand(); sqlCmd.Connection = sqlCon; sqlCmd.CommandText = "update trainn set Adultno=Adultno-1 where ID=@pram1 and adult=@pram2 and Adultno>0"; sqlCmd.Parameters.AddWithValue("@pram1", textBox3.Text); sqlCmd.ExecuteNonQuery(); sqlCon.Close();[/CODE] The code is working properly when there is an update,but when it comes to more than one I don't know what to do? The following code … | |
Hi, I am trying to consume a webservice and getting following error. (I can not change the wsdl source as that is from third party). Please let me know how can I consume the webservice. I am also copying WSDL for reference. Please let me know any way to consume … | |
Hello any one can help me ?i have no idea data normalization .I want make software in c# "School Management System ".This is my Data Please normalize this. ------------------------------------------------------------------------ Student Name Roll Number Class Section Date of admission Fee Per Month Result Ist Term 2nd Term Final Term Admission ID … | |
Im reading Core Java (Cay Horstmann) V I And I came across this program......... [CODE]import javax.swing.*; import java.awt.event.*; import java.awt.*; class MyFrame extends JFrame { private ButtonPanel buttonPanel; public MyFrame() { setSize(300,200); setLocation(570,350); setTitle("Button Test"); buttonPanel=new ButtonPanel(); add(buttonPanel); } private class ButtonPanel extends JPanel { public void paintComponent(Graphics g) { … | |
I'm using eclipse C++ helios and mingw compiler... I created a hello world project without modify the original code.. It compile successfully but when i click run, it show terminated test.exe I'm new to use eclipse IDE, so hope to get some helps here.. thanks | |
So I've developed some code to pull the latest 8 images from my flickr feed; however, I'm having trouble with figuring out how to do what I'm trying to do. Essentially, I need each 4th image to have a different <div> class (this helps with margins and what not). Any … | |
I created a test.php file in the required /var/www folder but how do I edit the file ?It says it's only a read only file.Using chmod +rwx <filename> says 'no such file'...Please help . | |
i have 18000 records in my table i want to update a single field and i want that first 500 records update then after some sleep next records have to updated in mysql any idea appre thankx | |
Hi, I have developed a windows service application, by using multi threading, multiprocessing too. Problem 1 : After service starts it takes the server into 100% CPU usage. Problem 2 : If suppose i stop the service also, the process not stop, i can able to monitor that through task … | |
[CODE] <html> <head> <style type="text/css"> .all_display { border-left:8px solid lightgray; border-top:8px solid darkgray; border-right:8px solid #505050; border-bottom:8px solid #505050; background-color:white; width:60%; margin-left:20%; } .inner_tablecell { font-size: 14px; font-weight: bold; text-align: center; width: 12px; } .fake_link { color: blue; font-weight: bold; text-decoration: underline; cursor: hand; cursor: pointer; } .img1 { background-image: … | |
hello guys can any one let me known where to find database design template.i am confused in making of my design for the database. Thanks in Adavance | |
[CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> [/CODE] [CODE] <html xmlns="http://www.w3.org/1999/xhtml" > [/CODE] What is the meaning of the above code snippets ?? Why are there web urls in them ?? What is the use ? Please help !!! | |
How to get the difference of the month from the date specified. Example: [code=vb] date1.value="5/1/2010" date2.vale ="5/31/2011" [/code] it should give a result of 12. thank you for helping.! | |
Can someone give me a sample code to confine the cursor on to a Form. I found this ([URL="http://msdn.microsoft.com/en-us/library/ms648383(v=vs.85).aspx"]ClipCursor API[/URL] , that says it can be done using it). I am having a C# windows form application and using VS 2008. | |
So I have a table containing various software and a table containing various features. Each software entry need to have a list of features. Here's where it gets tricky: In my application, I need to be able to select a software entry if it has all the features in a … | |
The code: <link href="css/main_stylesnew.css" rel="stylesheet" type="text/css" /> <TR> <TD COLSPAN=2 background ="images/207_13.gif" WIDTH=53 HEIGHT=335 ALT=""> </TD> <TD COLSPAN=5 align="center" valign="top" class="smallheader"> <div id="google_translate_element"></div><script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'ro', includedLanguages: 'en,it,es', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); } </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> </br> </br> Afisare Oferte Munca <hr /> <br /> <?php error_reporting(0); … | |
I have 4 checkbox. 1)name 2)phone 3)address 4)dob 5)all What i am trying to do suppose name,address,& dob is checked by user,then query is: Select name,address,dob from table; Similarly if phone,address select phone,address from table; & for all Select * from table; I am getting value of checkboxes. Need suggestions | |
Hi everybody, i am a new to C# and,it's a school application to develop a Rent a Car project, and from you guys need to give me one idea how to start, hope somebody of you dealed with such a project, just need idea please.... | |
friends i am new in vb.net -i have a webbased proj. What i need is to connect the vb.net app to an sql server via internet. My projects run fine in a standalone pc. what conn. String should i use to finish my proj? tnx for your concern. | |
<? $koneksi = mysql_connect("localhost",'root',''); if(!koneksi){ die ('tidak ada koneksi'.mysql_error()); } ?><table width="294" border="1"> <tr> <td width="20" bgcolor="#CCCCCC"><pre>id</pre></td> <td width="56" bgcolor="#CCCCCC"><pre>Pembeli</pre></td> <td width="60" bgcolor="#CCCCCC">Nilai 1</td> <td width="62" bgcolor="#CCCCCC">Nilai 2</td> <td width="62" bgcolor="#CCCCCC"><pre>Total</pre></td> </tr> <? mysql_select_db('dbpenjualan', $koneksi); $query = "select * from tpembeli"; $hasil = mysql_query($query); while($row = mysql_fetch_array($hasil)){ ?> <tr> <td><? … | |
Hi all, I am working on an application in which a call is made to a DLL. From that dll a dialog has to be displayed. While doing so I was not able to see the dialog. Dialog is not getting displayed. When i checked the code in debug that … | |
i want to show friend request without pressing submit query button. please anyone help me .change the code without form Table structure for table `friend_requests`-- CREATE TABLE IF NOT EXISTS `friend_requests` ( `id` int(11) NOT NULL auto_increment, `sender` int(11) NOT NULL, `recipient` int(11) NOT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT … | |
Have gone through the basic microsoft tutorials but have yet to see how one goes beyond this to actually create something. Have downloaded visual studio express and XNA. My goal is to at least create a venue for a game idea and admit that I do not have a clue … | |
Hi, I am a new in stored procedure and I now do the following function: [CODE] ALTER PROCEDURE dbo.ViewFaultyTbl @id int AS SET NOCOUNT ON; DECLARE @indicator int SELECT @indicator=Indicator FROM FautyScanTbl if @indicator=0 BEGIN SELECT * FROM FautyScanTbl WHERE ID=@id END ELSE BEGIN END [/CODE] Indicator is a column … | |
The Program has been started but I am having issues finishing the public class in the header and finishing the functions inside the main file. [B]Header File:[/B] [CODE]#ifndef POLYNOMIAL_H #define POLYNOMIAL_H #include <iostream> /** This class implements a polynomial of the form c0 + c1 x + c2 x^2 + … | |
Hey guys, What are your opinions on rating systems in this case? I have users submitting ideas. Now other users can rate an idea UP or DOWN. I want to keep track of what user rates what idea, up or down, and want to be able to display this information … | |
I'm rather confused on when i would use and what the following libraries( of frameworks[not sure what they are] ) would be used by a programmer. If anyone could please give a simple understandable definition i would greatly be appreciated. ATL MFC COM pretty much when would the following be … | |
After I am done installing this script I get this error: [QUOTE]????????????????????????? ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????x???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????‡??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Ç?????????????????????????????????????????? Warning: require_once(ROOT_PATH/modules/system/models/system.class.php) [function.require-once]: failed to open stream: No such file or directory in /home/name/public_html/index.php on line 17 Fatal error: require_once() [function.require]: Failed opening required 'ROOT_PATH/modules/system/models/system.class.php' (include_path='.:/usr/lib/php') in /home/mane/public_html/index.php on line 17[/QUOTE] Here is the files requested above: … | |
Hi there! I just want to ask if it is possible that my java program, which is done in Netbeans, can be run in a computer without netbeans? I mean, how can I compile my program where in, maybe an exe file can be created or an icon will be … | |
hi does any one know libraries for wireless programing? | |
I am have been trying to teach myself ASP.NET and Javascript for a project and have been stuck on one problem for literally dozens of hours now. I found a really nice javascript drag-and-drop list online, copied the source offered and split the css into a .css file, the javascript … |
The End.