199,114 Archived Topics
Remove Filter ![]() | |
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() { … | |
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: … | |
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 … | |
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 | |
Hi, I would like to know about difference between Function and module and Procedure for making and use module in visual basic 6.0 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
can u plz send me the code for rating of photos(hot or not code) | |
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 … | |
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 … | |
I [code] function numvalues() { if((window.event.keyCode>57)||(window.event.keyCode<48)) { alert("Only Digits Are Allowed"); window.event.keyCode=null; } } [/code] | |
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 … | |
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 … | |
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 … | |
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] | |
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 | |
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 … | |
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 … | |
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, … | |
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 … | |
[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 ' + … | |
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 … | |
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. … | |
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 … | |
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" … | |
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 … | |
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, … | |
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 … | |
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 : … | |
"Open with' list and command line prompt both are same or not. can anyone tel me plz | |
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 … | |
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 … | |
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] … | |
[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 … | |
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 … | |
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 … | |
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. | |
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] | |
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 … | |
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 ? | |
hie May anyone help ,where can i get a Maths descussion forum which is similar to Daniweb. later | |
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 … | |
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' : … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.