64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for sickly_man

Is it possible to retrieve one cell of data from a MySQL database? I need to put the ID from one row of a table into a php variable so that I can recall the correct row later on for editing purposes. If you know how to do this please …

Member Avatar for sickly_man
-1
2K
Member Avatar for manoshailu

Suggest any best book for the ASP.NET with VB 2005 to develop myself in developing the projects

Member Avatar for manoshailu
0
278
Member Avatar for vicky_dev

I have two static libraries: [INDENT][COLOR="Green"]/usr/X11R6/lib/libX11.a[/COLOR] - Standard library, ~ 1.5MB [COLOR="Green"]./libxbgi.a[/COLOR] - Created by me, ~60KB[/INDENT] Now I use the following commands to compile a program, [I]test.c[/I]: [inlinecode]$gcc -o test test.c -lm -L /usr/X11R6/lib -lX11 -L . -lxbgi[/inlinecode] This works fine, the executable [I]test[/I] is 33KB, which is as …

Member Avatar for vicky_dev
0
118
Member Avatar for Zombiehobo

I'm having this error on the area below. When I comment it out it stops giving me the error and I have tried commenting it out piece by piece to see if there is something wrong but I get nothing. I'm sure I am missing something really easy. [code=php] while …

Member Avatar for Puckdropper
0
220
Member Avatar for trbjr

Experts, My javascript application worked well until I upgraded. I use IE 6.0.29 with SP2 installed. My Firefox browser is 2.0.0.4. Prior to Firefox upgrade all worked well. Now my application in IE works and Firefox gives me error messages that read: [field name] has no properties. The strange thing …

Member Avatar for trbjr
0
122
Member Avatar for ThePATRIOT

if somebody can explain it in english Thanks Il sorgente che segue va copiato e salvato in un file con estensione .py ad esempio IO_SMS.py #Importo i moduli import MDM import GPIO import MOD #VARIABILI GSMNUMBER="xxxxxxxxxx" #Numero del destinatario dell'SMS SMSMESSAGE="Il modem Telit con python ti scrive ;)" #Messaggio dell'SMS …

Member Avatar for ThePATRIOT
0
179
Member Avatar for Hamrick

I wrote strlen() for practice but it's really slow. Even if I copy the code from my compiler and run it, it's still slow. This is my test. [code=c++] /* strlen_comp Comparing my and Visual C++'s strlen by Kimberly Hamrick */ #include <assert.h> // for result tests #include <string.h> // …

Member Avatar for Hamrick
0
294
Member Avatar for smiles

I try to make a simple .vb like this create three textboxes named txtA, txtB and txtAplusB then if you click a button named cmdPlus then the text in txtAplusB will include the texts in txtA and txtB Here is the code for form Private Sub cmdPlus_Click() Call Calculate End …

Member Avatar for smiles
0
569
Member Avatar for bvgsrs

I am getting compile error C:\Dev-Cpp\Myproj\array.cpp cannot convert 'int (*)[3]' to 'int*' for argument '1' to 'int GetValues(int*)' at the lines indicated in Red. [code=C] #include <cstdlib> #include <iostream> #define MAX 3 #define MIN 0 using namespace std; //int a[MAX][MAX]; int i,j; int Display(int *a) { int n=2; for (i=MIN; …

Member Avatar for Salem
0
113
Member Avatar for dmmckelv

I have created a few projects in VB.NET using Visual Studio 2005. I am wondering how to package the applications for deployment. I would like to be able to upload applications to a server or e-mail the apps. An .exe file with an icon would be great. How do I …

Member Avatar for arjunsasidharan
0
114
Member Avatar for vladdy19

I delcared an enum type in my program: typedef enum {freshman, sophmore, junior, senior }level; then i declared a variable level x=freshman; how can i increase the enum type to go from freshman to sophemore etc.

Member Avatar for Ancient Dragon
0
160
Member Avatar for vladdy19

I'm having trouble writing a Queue class using Book structures i keep getting this error where tried to assign the pointer front and rear to the next or previous link in the queue here is my entire Queue class i have highlighted the parts that gave me the errors <AD: …

Member Avatar for Ancient Dragon
0
200
Member Avatar for ZachH26

I'm quite new to C++ and programming and general and I have a question about arrays. I realize this has been asked before but it has never been sufficiently explained, nor have I ever even been able to use the code given. I work with the standard C++ library and …

Member Avatar for ZachH26
0
379
Member Avatar for vladdy19

along with that error i also get these for that same line error C2143: syntax error : missing ';' before '{' error C2447: '{' : missing function header (old-style formal list?) here is that line of my code [code=cpp]class Queue{ //Number 2 protected: struct Book *front; struct Book *rear; public: …

Member Avatar for WolfPack
0
564
Member Avatar for unclepauly

hi, im creating a win32 dll using VS.NET 2005. actually im creating a COM component so i need to implement DllRegisterServer. The problem is that when i call regsvr32 on the dll, i get the error 'the dll was loaded but the dllRegisterServer entry point was not found'. Now, the …

Member Avatar for unclepauly
0
322
Member Avatar for bvgsrs

I have downloaded dev c++ IDE for C++ programmming and do have windows MediaCentre OS. Now to go for some widgets like buttons or textboxes in my program do I need to install gtk+ how would openGl with GLUT help me in this regard ? Do I have to download …

Member Avatar for ~s.o.s~
0
104
Member Avatar for phalaris_trip

Hi, I'm basically trying to create captions that will go under an image in my project.. the problem is that if the caption line is too long, it will get chopped off... so I'm trying to write a function that will re-chop a string with endl's according to the width …

Member Avatar for phalaris_trip
0
96
Member Avatar for preetham.saroja

[COLOR=#0000ff]Dim[/COLOR][COLOR=#000000] str [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]String[/COLOR][COLOR=#000000] = "select * from table1"[/COLOR] [COLOR=#008000]'try to write "select distinct * from table1" [/COLOR][COLOR=#0000ff]Dim[/COLOR] con [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String[/COLOR] = ConfigurationSettings.AppSettings("preeconn") [COLOR=#0000ff]Dim[/COLOR] cmd [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] SqlCommand(str, [COLOR=#0000ff]New[/COLOR] SqlConnection(con)) cmd.Connection.Open() [COLOR=#0000ff]Dim[/COLOR] da [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] SqlDataAdapter(str, con) [COLOR=#0000ff]Dim[/COLOR] ds [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] DataSet da.Fill(ds, "table1") [COLOR=#0000ff]Dim[/COLOR] maxrws [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Integer [/COLOR][COLOR=#0000ff]Dim[/COLOR] i …

Member Avatar for preetham.saroja
0
105
Member Avatar for Es Sayen

hello all, i have to prepare a report which will display data from a specific date upto the specific date, both will be defined by the user at run time. the report is connected with the database and front end is vb. I am using crystal report for this. i …

Member Avatar for kshrini
0
109
Member Avatar for sandy_b76

Hi All Gurus, I am new to scripting.. and want to know what is the meaning of each non zero exit codes from 1-255. Please help. Thanks in advance Sandy_b76

Member Avatar for sandy_b76
0
169
Member Avatar for choudhuryshouvi

Hi, all How can I make a text box such that it accepts numbers only? Does anybody know how can I achieve that? It would be helpful if somebody post some example programs or some links to such websites where I can get some resources regarding this thread. Thanks to …

Member Avatar for Killer_Typo
0
176
Member Avatar for Hypnotik

Hello everyone. I'm working on the infamous TicTacToe program. I have created a class(TTT) with it's private and public members. The program is human v. computer. In the hmove function I ask for the coordinates (0,0;1,2; etc.). I'm not sure how to pass the user selection to the printb function …

0
65
Member Avatar for MetalHobin

I need to write a query that pulls out Zip codes by the first three characters, so I started with this: [code] SELECT SUBSTRING(Zip, 1, 3) FROM AvailHomeZips AS tZip [/code] But I would also like to query out the zips by those substrings I pulled out, so that would …

Member Avatar for MetalHobin
0
88
Member Avatar for jan1024188

Hello, I have a server and client file. In Client I have [CODE]WSADATA WsaData; SOCKET Socket; [/CODE] In server I have [CODE]WSADATA xxx; SOCKET yyy; [/CODE] This is same in both files: [CODE]sock_addr.sin_port = htons(1234);[/CODE] Will this connection be established?

Member Avatar for jan1024188
0
153
Member Avatar for bvgsrs

Hi, I have the basic knowledge in C++ and C. I am now looking for workign on some game programming. Well, in C++ how can I get those buttons, text boxes frames etc as we have in Java or VB. would you suggest me some books or links also, that …

Member Avatar for bvgsrs
0
2K
Member Avatar for ovidiu61

Hello everyone, I have a question for you. I would like to call a function situated on a server side servlet or in a jsp file with a javascript function (client side) and to show the results returned by the servlet's function. Do you have any ideas?

Member Avatar for ovidiu61
0
134
Member Avatar for dudegio

Hello guys! I am new to the languiage Php and MySQL. Pls help me in working with my search engine. What i want is there will be a drop down button that displays all the list of the selected field/s from the database. Whenever that record is selected it will …

Member Avatar for dudegio
0
108
Member Avatar for bploog

Hi, DaniWeb Subscribers! I need to learn Cocoa with XTools quickly. I am reading Apple's Obj-C Prog Language manual and another book on Cocoa programming. I also looked at the examples provided by the ADC. I am still overwhelmed. I'd like to get the most simple example of the following …

Member Avatar for bploog
0
127
Member Avatar for Dsiembab

Good morning, Is there a php function that will take the text out of a tag in a variable that has HTML in it? What I want to do is get the text from in-between the <h1> tags and use it as a title in my meta tags. Let's say …

Member Avatar for Dsiembab
0
175
Member Avatar for fredzik

G'day, Thanks Mr. Vegaseat, Jeff, Ene, Mawe for all of your great help so far...I'm slowly (very slowly!) getting used to Tkinter. But I'm again puzzled by how Tkinter does things. Some examples of code at the beginning say "from Tkinter import *" and some say "import Tkinter as tk" …

Member Avatar for fredzik
0
305
Member Avatar for smiles

Hi !!! I am doing a first C++ program, the way is getting the best choice between choices by comparison, here is my code [code] #include <iostream.h> #include <conio.h> #include <stdio.h> int main() { int i,n,m,k,j,tem,te; struct ways { char w[20]; } myArray[15],temp; int a[8]={0}; int b[8]={0}; textbackground(1); textcolor(15); cout …

Member Avatar for smiles
0
96
Member Avatar for zandiago

Product expiration dates are often encoded using numbers and letters which encode the month day and year. A common technique is to use letters instead of numbers in the dates. Assume that ACME Bakers encodes the months using letters "A" through "L", each digit of the expiration date as the …

Member Avatar for zandiago
0
118
Member Avatar for Arch_Bytes

I have this jsf page that saves to the database. After saving it goes to a particular page. This page is then supposed to display the message that the changes were saved to the database. These are two different pages and go through several controllers. so what i did was …

Member Avatar for ~s.o.s~
0
201
Member Avatar for zandiago

I need to write a C++ program that can be used to calculate the date of any Easter Sunday which can be computed as follows; Let X be the year for which it is desired to compute Easter Sunday. Let A be the remainder of the division of X by …

Member Avatar for zandiago
0
358
Member Avatar for hray35

I need help so bad. I don't understand enum and I have tried to take the code below and change it from the Switch to using an enum & an array to supposedly make it easier. I don't know how to take the user input that is string and put …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for Jaav

I have no idea why. The lines it's skipping is the system("PAUSE");. Not the first two but the last two. [code=c] #include <stdlib.h> #include <stdio.h> int main() { char Big, Small; Big='Z'; Small='z'; printf("Z=%d.\nz=%d.\n",Big,Small); system("PAUSE"); int X,Y; X=72; Y=104; printf("74=%c.\n104=%c.\n",X,Y); system("PAUSE"); double DblNum = 123.456; printf("f=%f.\nScientific=%e.\ntestF=%F.\n",DblNum,DblNum,DblNum); system("PAUSE"); char Newline = …

Member Avatar for ~s.o.s~
0
107
Member Avatar for aasi007onfire

consider the structure [code]struct gun { char name[50]; int magazinesize; float calibre; };[/code] i found in the site [url]http://www.cs.cf.ac.uk/Dave/C/node9.html#SECTION00900000000000000000[/url] that the tag (i.e gun) of the structure is optional.... in that case wouldn't there be a problem when we declare a variable of type struct or if we have more …

Member Avatar for Narue
0
100
Member Avatar for amitmistry_petl
Member Avatar for Kashif

i want to calculate the running time of my program in C++ compilier TC300, please explain each point

Member Avatar for Kashif
0
81
Member Avatar for aasi007onfire

when an array is received as a parameter by a function then whatever the dimensions of the array the first subscript is specified with empty braces i.e[ ] why is it so..... what is the implication of such a declaration [code] int sort(list[][a]) { /*statements*/ }[/code]

Member Avatar for thekashyap
0
96
Member Avatar for 4zlimit

I can't seem to resolve these errors. I have had people compile these codes on their computers with no problem, but I keep getting errors...can anyone help???? Here are the errors: cannot find symbol method setItemNumber(java.lang.String) cannot find symbol method setProductName(java.lang.String) cannot find symbol method setNumOfUnitsInStock(int) cannot find symbol method …

Member Avatar for thekashyap
0
186
Member Avatar for doel.jangkrik

I am trying to make text based blackjack game. I already made : - Card class which create new card based on integer - Deck class which consists of Deck LinkedList populated by Card. I also made 2 new LinkedLists for gambler and dealer. I already managed to remove elements …

Member Avatar for Ezzaral
0
172
Member Avatar for aasi007onfire

"We can also have null statements by just including a ; or let the switch statement fall through by omitting any statements (see e.g. below). The default case is optional and catches any other cases." i found these lines about the switch case statement in a site.... i couldn't understand …

Member Avatar for Narue
0
114
Member Avatar for sk8ndestroy14

Anytime I open Visual Basic 6 I need to add the common dialog box control to my tool box. Is there any way I can keep that in my toolbox every time I open visual basic 6 without having to add it every time?

Member Avatar for sk8ndestroy14
0
127
Member Avatar for Kashif
Member Avatar for Kashif
0
84
Member Avatar for Jishnu

Hi, I am trying out a bank account program using the corejava package. I am getting a run-time eception when I create a new account & am unable to trace where the error is. Plz help. I am giving the code below. import corejava.Console;/******************************************************************cLASS bANKaCCOUNT REPRESENTING THE RUN-TIME MULTI-USER SYSTEM******************************************************************/public …

Member Avatar for Jishnu
0
153
Member Avatar for devesh9392

hi this is devesh, i have a perl cgi script that downloads files from other site. but i got this weired problem that the script stops responding after downloading exactly 100 files (any browser IE or Firefox). i am running this script from windows 2003 server with IIS 6.0 any …

Member Avatar for devesh9392
0
147
Member Avatar for kylcrow

Ok I am wanting to [URL="http://www.daniweb.com/forums/thread81491.html#"]download[/URL] the newest version of the gcc compiler and emacs or gedit to run with PowerShell. I was hoping that someone could give me detailed instructions on how to do so. I am using Windows XP. I believe this is the right place to ask …

Member Avatar for kylcrow
0
151
Member Avatar for kylcrow

My work uses Powershell, I was wondering if someone can explain to me how to write c++ with it, if I even can, also what compiler to get for it, and where I can get it. Thanks -kylcrow

Member Avatar for kylcrow
0
94
Member Avatar for aasi007onfire

i found that the limits of int and short int are the same........ i just want to know then what is the need of 2 with the same limits....

Member Avatar for ~s.o.s~
0
111

The End.