199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for veledrom

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) …

Member Avatar for thebreadguru
0
229
Member Avatar for durpderp

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 …

Member Avatar for durpderp
0
167
Member Avatar for reema21

hello Can you please tell how to create a dynamic drop down menu usin vb in asp.net with coding please Thank you

Member Avatar for dnanetwork
0
66
Member Avatar for esy928

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 …

Member Avatar for NormR1
0
2K
Member Avatar for ajwposh

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 …

Member Avatar for MichaelWClark
0
127
Member Avatar for sivaprakashm

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 ....

Member Avatar for jon.kiparsky
0
77
Member Avatar for praky

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 …

Member Avatar for praky
0
4K
Member Avatar for jimbennett57

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 …

Member Avatar for jimbennett57
0
688
Member Avatar for samsons17

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 …

Member Avatar for samsons17
0
104
Member Avatar for fire_

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?

Member Avatar for fire_
0
166
Member Avatar for sjeggels

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 …

Member Avatar for hielo
0
265
Member Avatar for judithSampathwa

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 …

Member Avatar for Geekitygeek
0
163
Member Avatar for W34531

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] *************************** ************************ * * * * * * * * * * * * * * * *************************** * * * * * * …

Member Avatar for W34531
0
149
Member Avatar for beginner21

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 …

Member Avatar for masijade
0
132
Member Avatar for sommer_queen

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 …

Member Avatar for edepperson
0
116
Member Avatar for extemer

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

Member Avatar for extemer
0
12K
Member Avatar for zerey02

.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 …

Member Avatar for Geekitygeek
0
194
Member Avatar for cezarjont
Member Avatar for Narue
0
6K
Member Avatar for sDanyal

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 …

Member Avatar for Valaraukar
0
155
Member Avatar for ja0

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 …

Member Avatar for ja0
0
156
Member Avatar for daudiam

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] …

Member Avatar for ~s.o.s~
0
212
Member Avatar for awie10007

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 …

0
202
Member Avatar for Nitashan

[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 …

Member Avatar for Nitashan
0
95
Member Avatar for srujanac#

[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 …

Member Avatar for srujanac#
0
933
Member Avatar for jineesh

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. …

Member Avatar for gop_1983
0
297
Member Avatar for TrustyTony
Member Avatar for TrustyTony
0
592
Member Avatar for SolonDemos

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 …

Member Avatar for SolonDemos
0
107
Member Avatar for andydeans

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 …

Member Avatar for andydeans
0
69
Member Avatar for sandipan.rcciit

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; …

Member Avatar for rameez jawaid
0
469
Member Avatar for Partydude4

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. …

Member Avatar for srikanthdon
0
2K
Member Avatar for srdva59

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 :)

Member Avatar for taosh
0
98
Member Avatar for dre-logics

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 …

Member Avatar for dre-logics
0
99
Member Avatar for .Mido
Member Avatar for srujanac#

[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 …

Member Avatar for kvprajapati
0
279
Member Avatar for chamber8401

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 …

Member Avatar for kvprajapati
0
165
Member Avatar for mahendrabhatt

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 …

Member Avatar for mahendrabhatt
0
157
Member Avatar for gudads

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 …

Member Avatar for gudads
0
88
Member Avatar for emigrant_tech

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 …

Member Avatar for emigrant_tech
0
1K
Member Avatar for ukshir

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 …

Member Avatar for kvprajapati
0
155
Member Avatar for new SE

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 …

Member Avatar for new SE
0
3K
Member Avatar for JDean89

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 …

Member Avatar for chiwawa10
0
116
Member Avatar for NewOrder

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. …

Member Avatar for NewOrder
0
103
Member Avatar for kenji

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 …

Member Avatar for vinay_verma107
0
259
Member Avatar for nhidman

someone help! how to split an audio file into chunks using c++? and merging it again...

Member Avatar for chiwawa10
0
180
Member Avatar for knasha

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

Member Avatar for stultuske
0
134
Member Avatar for mahdi68

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: …

Member Avatar for peter_budo
0
152
Member Avatar for aravind rao

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 …

Member Avatar for aravind rao
0
178
Member Avatar for _neo_
Member Avatar for hemal1972

[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 …

Member Avatar for meeni
0
118
Member Avatar for Pushpasheela

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; …

Member Avatar for DeadSoul
0
1K

The End.