199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for guardians

Hi, I can't seem to get my program to work. I'm using qsort to sort some keyboard-input strings, but I get segmentation fault. I tried 3 versons, and none of them works. Could someone pinpoint the error? [CODE] #include<stdio.h> #include<stdlib.h> #include<string.h> #include<search.h> int str_cmp(const void *prv,const void *vtor); main() { …

Member Avatar for guardians
0
238
Member Avatar for HLA91

Hi All I was reading through the swing tutorial at [URL="http://java.sun.com/docs/books/tutorial/uiswing/start/compile.html"]http://java.sun.com/docs/books/tutorial/uiswing/start/compile.html[/URL] and i copied and pasted the provided source code for the HelloWorldSwing.java program. It compiled fine but when i went to run it the following error message was returned [QUOTE]java HelloWorldSwing Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldSwing (wrong name: …

Member Avatar for Ezzaral
0
852
Member Avatar for manzoor

How do you compile this whole project in Visual C++ Express Edition ? The link is below ? [url]http://www.codeproject.com/KB/cpp/loggerservice.aspx[/url] Will simply creating a new project and inserting all the files and then clicking Build Solution help ? I don't want you to do this for me. I want to learn …

Member Avatar for manzoor
0
117
Member Avatar for kneel

There are two general comments about pointers 1. Pointers increase the efficiency of our programs 2. Pointers degrade reliability of C++ programs due to security issues Give your views on these comments

Member Avatar for oliver_mk
0
66
Member Avatar for pardeep3dec

Hi, I would like to know about difference between Function and module and Procedure for making and use module in visual basic 6.0

Member Avatar for hartoksi
0
97
Member Avatar for keripix

can u guyz help me on how to make a program that's able to read chm file? i got this idea when i want to convert an entire chm file to pdf. i kno theres awready a software on that. but i reckon it would b interesting if we can …

Member Avatar for jlm699
0
342
Member Avatar for Das246

Hello, I'm very much new to Python and I am stumbling on my first 'experiment'. What I want to do is create an application that operates as an on-screen log viewer where Python prints information it is processing into a wxTextCrl widget (called 'sampler' in my example). I am using …

Member Avatar for jlm699
0
153
Member Avatar for ishlux

Hi all, $a1 = $_POST["a"]; $servicec = addslashes(serialize($a1)); i used this code to store the check box values in db with comma seperated it has stored like this....a:5:{i:0;s:18:"vehicle Inspection";i:1;s:14:"batteryservice";i:2;s:10:"oil canhge";} but while retrieving its displaying in the same manner but i want dont want to display like this.....i want it …

Member Avatar for nav33n
0
79
Member Avatar for osman85

hi there, i am new to all this web design stuff and i got a question regarding redirecting the page once an email form is sent to me in my php i have a form set up to send me information that people type down and it emails it to …

Member Avatar for nav33n
0
101
Member Avatar for saikishore

Hi frnds.. This is Kishore.. i want to know something about Controlpanel WebHosting.. whats the procedure to create cp-hosting in php. plz provide some screen shots to get some idea... Thanking You.. Kishore

Member Avatar for Shanti C
0
86
Member Avatar for Suneetha Reddy
Member Avatar for Shanti C
0
79
Member Avatar for FullBjarne

Why doesn't this code work? [code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Text.RegularExpressions; namespace WindowsFormsApplication2 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { for (Match match = new …

Member Avatar for FullBjarne
0
152
Member Avatar for Lukezzz

I have declared a 2D vector that look like this. Now I need to have a 3D vector but dont know how you declare a 3D vector. As seen I have put 500 as a value for 1D. Then I push_back the 2D and I also will push_back the 3:rd …

Member Avatar for Nick Evan
0
2K
Member Avatar for greeny_1984

I [code] function numvalues() { if((window.event.keyCode>57)||(window.event.keyCode<48)) { alert("Only Digits Are Allowed"); window.event.keyCode=null; } } [/code]

Member Avatar for Troy III
0
139
Member Avatar for deniseaddy

Hi, I'm getting a casting error using the code below. The error on the web page (when you click the error icon) is: Sys.WebForms.PageRequestManagerServerErrorExceptio n: Conversion from string "application.msword" to type "Long" is not valid. It's to do with declaring the mimeout integer pointer to the "<MarshalAs(UnmanagedType.LPWStr)> ByRef ppwzMimeOut As …

Member Avatar for deniseaddy
0
196
Member Avatar for god_1896

hi all; I have a recursive function the read the file, but its doesn work properly so It a big problem for me as a newbie in php, i need help to someone, here is my function that read the file and returning the line of file as array of …

Member Avatar for nav33n
0
336
Member Avatar for ishlux

Hi here is my code......i want page navigation for this code......i have the page navigation code but i dont know how to incorporate it please help me........ [code=php] <?php session_start(); include('database.php'); $result = mysql_query("SELECT * FROM autoalto_mail" ); while($row = mysql_fetch_array($result)) { ?> <tr> <td width="5%"></td> <td><? echo $row['From_user'];?> <td><a …

Member Avatar for ishlux
0
154
Member Avatar for friendship.ani

hi i m getting the error "Operation is not allowed when the object is closed".Why am i getting the error??Plz help Code: [code] Set rs_Temp= Server.CreateObject("ADODB.Recordset") Set Cmd = Server.CreateObject("ADODB.Command") Cmd.ActiveConnection = lcn_Temp Cmd.CommandType = adCmdStoredProc Cmd.CommandText = "sp_temp" Cmd.Parameters.Append Cmd.CreateParameter("@strCurrDate", adVarChar, adParamInput,100, CurrEndDate) rs_Temp.CursorLocation = 3 rs_Temp.Open Cmd[/code]

Member Avatar for vicky_rawat
0
89
Member Avatar for saikishore

Hi frnds.. This is Kishore,i need the code of posting the values of selected checkbox to the mail. So,plz send the code asap. here i am attaching the two files plz verify it and send the correct code without bugs. File Names: 1.request.php 2.requestsubmit.php Thanking You... Kishore

Member Avatar for saikishore
0
105
Member Avatar for mahaguru

Is there any way to initialize a class public variable at the time of object creation. But the case is that I have a child class and I dont want to over ride the parent constrctor. So is there any way out or any function that will be called at …

Member Avatar for digital-ether
0
85
Member Avatar for forwardlookguy

I'm trying to decode a variable the user inputs into two different things, depending on the input. Here it is in context: User inputs 591P1001; 59 is the year, 1 is the series, P is the assembly plant and 1001 is the CUN. Now on the same page, if the …

Member Avatar for digital-ether
0
104
Member Avatar for ihateusernames

Hello there everyone. For a summer project I'm doing, I have to use a phone to pass an image I've taken (on the phone) to a dedicated server I've made on a local ubuntu machine. For the upload code, I decided on python (seeing on how its easy to learn, …

Member Avatar for digital-ether
0
146
Member Avatar for matiman

Hello everybody, i'm a newbie to MSSQL - so excuse the newbie question. i am creating a page wich is hosted like any other page on a web server, i need to somehow connect to a MSSQL server , wich is located on a normal computer and connected to the …

Member Avatar for matiman
0
114
Member Avatar for MikeyFTW

[B][U]Ok heres the deal they're both a mathematics program but i want to make it like this...[/U][/B] [ICODE]from Tkinter import * import tkMessageBox import random def ask(): global num1 num1 = random.randint(1, 100) global num2 num2 = random.randint(1, 100) global answer answer = num1 + num2 label1.config(text='What is ' + …

Member Avatar for MikeyFTW
0
1K
Member Avatar for nil_gh_80

Hello all, I'm stuck in a serious problem, I need a code of Email validator in php. It will check whether there is a real email address or not, i.e it should not be "abcd@xyz.com" that means it will check the domain(yahoo.com, gmail.com, aol.com etc..) as well as the user …

Member Avatar for nil_gh_80
0
290
Member Avatar for OmniX

I would like to make a "changable" array. Meaning: - Not initializing the size. - Add arrays to the array. - Remove arrays from the array. I expect the array size to be 9million or something similar. Was not sure the best plan of attack after googling and reading books. …

Member Avatar for OmniX
0
506
Member Avatar for EddyLLC

The following Code is causing an error when I try to set the AdoConn = New Connection. I receive an "Invalid Use of New Keyword" error. Can I get some guidence as to why? Thanks. [code]Dim adoRecordset As Recordset Private Sub Form_Load() Dim adoConn As Connection Set adoConn = New …

Member Avatar for QVeen72
0
91
Member Avatar for ishlux

Hi all, i have written delete operation.......but its not deleting...........here is the code.......can u explain me whats wrong [code=php] <? session_start(); include('database.php'); $mailid1 = $_GET['mail_id']; session_register("mailid1"); $query1="SELECT * FROM autoalto_mail where mail_id='".$mailid1."'"; $result = mysql_query( $query1 ); while($row = mysql_fetch_array($result)) { echo $row['subject']; } mysql_close(); ?> </b></td> <td align="right" colspan="3" …

Member Avatar for Shanti C
0
105
Member Avatar for ninjaneer

I am getting the following unhanded exception: [COLOR="red"]An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dll Additional information: The specified module could not be found. (Exception from HRESULT: 0x8007007E) [/COLOR] which crashes my code when I click a button on my C# GUI. The button calls a C++ Backend, and …

Member Avatar for ninjaneer
0
142
Member Avatar for ww1aero

My website host supports MySQL and has a simple MySQL “workshop” available in their “V-Deck” (user control panel) to make simple tables for things like subscriber email lists, etc.. [B]My question is, can I use MySQL on my HTML web site, to update item prices on multiple pages at once, …

Member Avatar for ww1aero
0
145
Member Avatar for Bill Purkins

New to VB 2008, I was discouraged to Google results that said, "printing is not easy in VB," and found only baffling examples I could not understand until I found and tweaked this simple example. Here is how to create a simple "Hello, world." to the printer. First, on the …

Member Avatar for leveena
0
197
Member Avatar for greyghost86

Need a little help here on the frist part of this program. I have no finished the rest of code but i am trying to test out and run what i have so far. but i keep getting this error from the last brace of the code: `syntax error : …

Member Avatar for Salem
0
185
Member Avatar for Renukavani

"Open with' list and command line prompt both are same or not. can anyone tel me plz

Member Avatar for Renukavani
0
58
Member Avatar for nanawan

please help me.. i have 40 data to display at msflexgrid. but i cannot do that because it show too many continuations error... [code] Public Function show_msflex(SQL As String) MSFlexGrid1.Rows = 1 Set rekod = New ADODB.Recordset rekod.ActiveConnection = Con rekod.CursorLocation = adUseClient rekod.CursorType = adOpenDynamic rekod.LockType = adLockOptimistic rekod.Source …

Member Avatar for nanawan
0
269
Member Avatar for mcgarry101

Hi, I am new to web development, and have got myself stuck when trying to show totals in the footer of a gridview. I am building my grid from an oracle DB, and have the used the code below to generate my totals. By using debugs I can see that …

Member Avatar for greeny_1984
0
895
Member Avatar for twgood

init: deps-jar: Compiling 1 source file to C:\NetBeansProjects\SCHOOL1\JavaApplication31\build\classes C:\NetBeansProjects\SCHOOL1\JavaApplication31\src\javaapplication31\Inventory3a.java:185: cannot find symbol symbol : constructor Product(java.lang.String,double,double,double) location: class javaapplication31.Product super( dvdTitle, dvdItemNumber, dvdStock, dvdPrice); 1 error BUILD FAILED (total time: 0 seconds) [CODE] package javaapplication31; import java.util.Arrays; public class Inventory3a{ Inventory3a() { // constructor Product[] dvd = new Product[4]; dvd[0] …

Member Avatar for twgood
0
121
Member Avatar for xlx16

[TEX][/TEX]/* I need some advice on program bellow,this program is text program in this program by pressing arrow key you can change your position in the text and by enter key you can break a line and move the rest of the line to a new line but this program …

Member Avatar for ssharish2005
0
137
Member Avatar for gispe

hi ppl! im here again :S with another problem, which, is more a question about if what im doing is ok. the thing is i have to do a problem that counts the total of letters sent, the total of packages sent, total of letters and packages sent on the …

Member Avatar for VernonDozier
0
148
Member Avatar for TheBeast32

Hi, I have been trying to make a dialog, but I keep getting an error. I'm using Dev-C++ 4.9.9.2, and I get this error "[Resource error] syntax error". Here's my code for the dialog: [Code] IDD_CONNECT DIALOG DISCARDABLE 0, 0, 300, 250 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU …

Member Avatar for TheBeast32
0
128
Member Avatar for mandar2886

Iam doing a project on Voice Recognition System in VB 6.0 where in if I say "Open Windows Media Player" it should open the media player. This is my idea pls tell me if it is right and pls help me to proceed with it.

Member Avatar for selvaganapathy
0
811
Member Avatar for axn

i have a python script and would like to know how to email the output of the script in python. i can do it from the command line(kshell) with in *nix but would like something like this in the script. somescript.py; echo "test" | mailx [email]john_smith@xyz.com[/email]

Member Avatar for woooee
0
273
Member Avatar for puma8085

My project is to receive data from MRI machine, which has a com port can send serial signals. The data come thru pin3 of the com port and we want to save and read them on a pc. I've check the data with a spectrum analyzer and found the signal …

Member Avatar for ssharish2005
0
316
Member Avatar for Savion89

Hey guys, gonna need some help with this sudoku coding. simply doing for quite sometimes but it doesnt seems working in my html. im using the x & y random number. any comment on this ?

Member Avatar for Savion89
0
96
Member Avatar for gray

hie May anyone help ,where can i get a Maths descussion forum which is similar to Daniweb. later

Member Avatar for sarehu
0
186
Member Avatar for stooartbaby

Hi Everyone, Is it possible to convert a .sh script to VBS? If so, how should I go about this pls? The issue is that i have found a script which does exactly what i need, but it is written as a .sh we are a pure windows shop and …

Member Avatar for stooartbaby
0
921
Member Avatar for greyghost86

Little trouble here using enum in my program I took a section of my program to show maybe one of you have a suggestion in why I am getting an infinite loop here. I have the following statement: `enum food {Pizza=10, Lasagna=20, Chips=2, Burrito=5};` case 'c' : case 'C' : …

Member Avatar for CoolGamer48
0
118
Member Avatar for Seagull One

Hello again, everyone. My program for my robot is progressing. Thanks to your help its coming along great. I've also found that I'm more and more able to solve my own problems with programming now. One thing that I can't seem to solve: I'm working on a part of my …

Member Avatar for Seagull One
0
106
Member Avatar for aditya_amb

I have a USB downloader executable and tryint to automate with a .net application. Well the USB executable asks me for libusb0.dll FILE TO E INSTALLED. I beleive its a driver file that needs to be installed. May I know where I can get that file (online)? Thanks for your …

Member Avatar for aditya_amb
0
90
Member Avatar for kavithabhaskar

Hi. I have a couple of combo boxes. Any combination chosen from the combobox works. I am getting 2 errors in it. error1: When I chose RAM as 2.98 i get 4 results but when i chose RAM as 8 I get 2 records of 8 gb and the 4 …

Member Avatar for kavithabhaskar
0
77
Member Avatar for praveen_dusari

hi all, i am new to asp.net, i had done shopping cart in php but iam asked to do shopping cart in asp.net its urgent please help me it would be great help if any one provide me code for shopping cart or provide me free shopping download centers in …

Member Avatar for matale
0
110

The End.