64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
Suggest any best book for the ASP.NET with VB 2005 to develop myself in developing the projects | |
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 … | |
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 … | |
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 … | |
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 … | |
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> // … | |
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 … | |
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; … | |
![]() | 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 … |
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. | |
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: … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
Hi all ! what is the difference between Dll and process ??? amit | |
i want to calculate the running time of my program in C++ compilier TC300, please explain each point | |
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] | |
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 … | |
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 … | |
"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 … | |
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? | |
Any one knows different types of Prim's Algorithm Implementation. | |
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 … | |
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 … | |
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 … | |
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 | |
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.... |
The End.