199,114 Archived Topics
Remove Filter ![]() | |
Hi guys, I accidently inserted " " into one column in mysql database. Column has one char length space as it is expected after insertion. However, in php code, I can not do this: None of these returns Yes. [code] if(substr($data, 0, 1) == " "){ echo "Yes"; } if(substr($data, 0, 1) … | |
I am writing a program that duplicates the command: [CODE]grep -cr Thread nachos/ | sort -t : +1.0 -2.0 --numeric --reverse | head --lines=5 [/CODE] My code: [CODE] #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <sys/wait.h> #define R_FILE "/proc/meminfo" #define GREP_EXEC "/bin/grep" #define SORT_EXEC "/bin/sort" #define … | |
hello Can you please tell how to create a dynamic drop down menu usin vb in asp.net with coding please Thank you | |
How do I pause a thread indefinitely? im creating a game and i need a thread to be paused when the user pauses the game and the thread will resume when the user unpauses the game. =) im using thread.sleep right now but it requires an integer to determine how … | |
I am new to ASP.NET. I am using C# and .Net Framework 4. I am used to using asp classic and would like your help to do the below. I have created a stored procedure that returns four rows. Below is part of the asp.net code, which I am using … | |
surfing all related java sites and forum I cant able to get the answer for when we going for abstract class ? Please help me out .... | |
i am writing a program on huffman's code in C++. I have wriiten the program till building the huffman tree. now I have to generate the code by traversing the huffman tree. I have no idea how to do that logically. please help with code or algorithm. Here is my … | |
I am creating buttons in a table programmatically and the click event has stopped working. I must have done something earlier in the page, as it used to work. Any suggestions as to where I might look would be much appreciated. The buttons are built into a table row, one … | |
Hi.. I got a problem with the date and time in php.. This is the story. [B]1)[/B]I want to get the date and time automatically whenever a person write onto the field that i have made(eg. the blogpost field). [B]2)[/B]Then,after i stored it into the database, i want to output … | |
Hello. I need your help. I need to write program wich will take numbers from other program's edit. I'm pretty sure that other program is writen with C++. Can you help me to write reading from edit part? | |
I need help with a dynamic link on my web page. This is a site where accommodation establishments register their details and upload a photo. Here is the problem I have: I have a page listing all users (user_list.php) where I retrieve details (acc_name, address, photo) of registered users from … | |
Hi there, I have a question in datagrid view , hwat I want is when a user edits a datagridview cell in a row in the datagridview I want to check a check box in the same row, how can I do this and what is the event that I … | |
You need to submit printouts for question 4c only. We want to display one of the following blocks on the screen, using the same program: [code] *************************** ************************ * * * * * * * * * * * * * * * *************************** * * * * * * … | |
ok.i have a problem in displaying the images into a jlabel.. the images is stored in mysql database and i used blob as its datatype.. my program is like a search engine.. when the user search for a keyword and click the search button it will show another class which … | |
Hello everyone , Have a small problem which i dont know how to deal with . at the same time not sure if i need delegate or event handlers . here it goes . I have two classes with two forms : Form A and Progress Form . Form A … | |
i want to print number after decimal point.Is there any way to do it e.g This is a decimal number 6.28 and i want to print .28.can any help me out with a simple example | |
.hi guys! good day to all, i am currently developing a library system as one of my school projects using Visual Studio C# 2008 and SQL Server 2008. however there are several problems i have encountered. 1st: How to retrieve the value of an auto-incremented field. 2nd: How to use … | |
is min heap different from max heap...? can you please show me examples...? | |
I have installed windows 7 which has a built-in intel graphics media accelerator. But there is no option available to check and change its properties. So the problem is that i am building a 3D game in OpenGL but when i run it a message appears that this program has … | |
I am having the following trouble: "System.Data.SqlClient.SqlException: Incorrect syntax near '11'. Unclosed quotation mark after the character string ' )'. I tried the solution of using double quote right there, but it give me another problem. The more strange thing is that the data is begin copy to the new … | |
From my home directory, I created a directory [B]pkg[/B] and wrote 2 files [B]A.java[/B] and [B]B.java[/B] in it. [B]A.java[/B] [CODE]package pkg; class A { B b; }[/CODE] [B]B.java[/B] [CODE]package pkg; class B { }[/CODE] I went back to my home directory and typed the following : [CODE]javac -classpath . /pkg/A.java[/CODE] … | |
Scanning from a laser line and usb cam V Python fill up memory to 1.6G and crash the system Smaller Scan works fine is there a better plotting module or a way of getting past V Python memory block? The plot must happen in color xyz rgb. [CODE]import thread import … | |
[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Simple</title> <script type="text/javascript"> function showHide() { if(document.getElementById('Checkbox1').checked) { submit.disabled=false; //document.getElementById('submit').disabled = false; } else { submit.disabled=true; document.getElementById('submit').disabled = true; } } </script> </head> <body><h3>Online Application Checklist</h3> <p><br /> <br /> Please review the following … | |
[code] <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkacsoutreach" runat="server" />Acs Outreach </td> </tr> <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkaceportal" runat="server" /> Ace Portal </td> </tr> [/code] I took some checkboxes in the following way.I should get a message if atleast 1 checkbox is not checked and the values should … | |
Pls any body help. I am in a crucial situation :( I want to back up and restore database which is created in sql server 2000. how can I use this in C#. The code which I have written is not working properly. It throws an exception at step 31. … | |
Here is code which I wrote to experiment how hard it is to get Royal Flush in Poker. | |
Hi, is it possible to create the aspnetdb file in Visual Studio 2008 using the "Security" option from Web Site Administration Tool with MS SQL Server 2008 express edition? I get the following error message when I try it: "There is a problem with your selected data store. This can … | |
hi, i have read around and all i seem to find is one and in the where clause along with an OR or either but i was wondering if it was fine to use 2 or maybe 3 AND in the where clause? most of my where clauses in past … | |
hello friend i have a text file name url.txt contain lots of url, one url in a line. now i want to get the content of each an every page which are open on the basis of those urls, here is my code: [ICODE] using System; using System.IO; using System.Net; … | |
Can anyone tell me how or what's the JavaScript code to perform the following: 1. I have two frames on my web page. (Top and Bottom) 2. Top Frame is data 3. Bottom Frame are some Controls. (Print button, Back Button, Close Button.) 4. I'm using VB.Net creating aspx pages. … | |
hi, i looking for a free software or php script that can compare a database from server 1 and beetween server 2 and creat the tables and fields that are missing. any one have know a solution? thanks for your help :) | |
I use Visual Basis 2008 With MySQL. I Have one from with 6 (six) Datagridviews controls I Have the following problem: If i use Form1.Show method than the form1 is [COLOR="Red"]only show [/COLOR]if data connections are [COLOR="Green"]made[/COLOR] and all the datagridviews are [COLOR="green"]filled [/COLOR]with data . What i want is … | |
[code] <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkacsoutreach" runat="server" />Acs Outreach </td> </tr> <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkaceportal" runat="server" /> Ace Portal </td> </tr> [/code] I took some checkboxes in the following way.I should get a message if atleast 1 checkbox is not checked and the values should … | |
I am newbie in Visual Studio 2005 and i just has finished install the VS05 but I can't start new Visual Basic Project. When i go to Menu Project, Add New Item there is no templates Win32 Project. There are just Text File, XML File, Bitmap File, etc. Is there … | |
Hi I am using COM Class and loading it in browser. I am calling LoadLibrary of kernel32 but it returns me zero. I have also tried using LoadLibraryEx which gives me pointer to DLL but when I call any function of that dll it gives me Attempt to read or … | |
Given the equation: ax3 + 7; x raise to power 3; if any which are correct; a) y = a * x * x * x + 7; e) y = a * ( x * x * x ) + 7; i believe both are correct; cuz both will … | |
hi all, i followed my first AJAX tutorial on the web: [url]http://www.dhtmlgoodies.com/index.html?whichTutorial=ajax-basics[/url] the AJAX is working fine on the site itself, but when i download the source codes provided with the tutorial, it won't run from my machine. i checked this with several tutorials and all same. i.e. no results … | |
Hi, I want to add my custom controls to the visual studio toolbox programatically (not manually by selecting "add items") with my own tab. How can I achive it? Is there any registry entry where all the Toolbox items are entered to be able to view in the toolbox? where … | |
Hi.. now i'm working with asp.net c#.. i want to view the data from database in the textbox in order to make editing to the data is avaiable..but i'm using user stored procedure.. now this is my code where i want to display the data.. [CODE] <tr> <td class="style1">Company Code … | |
Hi, I'm not sure what this code does. [CODE]int total(int value1, int value2) { int sum; sum = value1 + value2; return sum; }[/CODE] This method should take in 2 values and calculate the sum and return it. But I don't understand where it returns it to? In my main … | |
i want to move a bishop diagonally from one point to another i want to move it from (row=8,column=3) to (row=7,column=2) the move is valid but i want to secure it against any collision with another piece. so i am running an loop from the initial position to the next. … | |
Hey, I'm trying to figure out how pointers and C String work together I know the basics about pointer arithmetic but I am having trouble implementing it in my program. I am having a problem at the for loop. [code=CPLUSPLUS]/* Trying to print a string from an offst using pointer … | |
someone help! how to split an audio file into chunks using c++? and merging it again... | |
hello, pls help me out with an program written in java or c to find the ip address of the systems,routers,printers.. present in the network. also let me know they r up or down. thanx, asha | |
Hi i download Android 2.2 SDK and install nbandroid plugin on netbeans. when i run project i get this message on netbeans out put and emulator did not start !!! [QUOTE]init: deps-jar: Compiling 1 source file to C:\Users\mahdi\Documents\NetBeansProjects\Hello Android\build\classes compile: =C:\Users\mahdi\Documents\NetBeansProjects\Hello was unexpected at this time. C:\Users\mahdi\Documents\NetBeansProjects\Hello Android\nbproject\build-impl.xml:411: exec returned: … | |
Hi I am developing a program that uses Breadth First Search to map a grid(2d array) out. Breadth First Search involves storing nodes in a stack and then exploring these nodes based on Breadth or level. I know how to create a vector array which I shall use as a … | |
Is it possible to get system utilization information in pl/sql? are there any routines to get them? | |
[B]Hi Guys, right now i am making accounting software project. In this project, i have used one list box for storing accounting groups. now here is a problem. I have stored 50 groups. But, I can see only 30 groups at a time. to see another 20 groups i have … | |
Hi all I am programming a database-related application in Java(with msaccess). I have to facilitate several different types of queries, but I'd like to use the same JTable to display the results of each query (one at a time, of course). Initially the Jtable display all records. [CODE] JTable tableview; … |
The End.