199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tactfulsaint

please i need help here after successfully deploying and i tried to test the web app but the server displays this error and i dont know what the problem might be.. HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented …

Member Avatar for stephen84s
0
84
Member Avatar for PoovenM

Hi there, I'm trying to connect to a PostGIS database (which is basically an enriched PostgreSQL database) and I'm having trouble with the [I]INSERT[/I] statement. Here's my code: [code=python] import psycopg2 try: conn = psycopg2.connect("dbname='postgis' user='fdi' host='localhost' password='fdi'"); print "Database connection established" except: print "Critical Error: Unable to connect to …

Member Avatar for jlm699
0
263
Member Avatar for sasikala123

please tell me how to compute the maclaurin series sinx=x-x^3/3!+x^5/5!-x^7/7!..... I written below coding but i know it will not give correct output. can anyone help me to compute the series [code] #include<stdio.h> #include<math.h> Printf("Enter the n value"); scanf("%d", &n); main() { float x,i; float value,sinx; printf("Enter the x value"); …

Member Avatar for stewie griffin
0
3K
Member Avatar for Alex Edwards

I've been trying to find time to learn Assembly through the HIDE HLA IDE, but I am completely ignorant when it comes to Assembly. I do not know if my code will be portable when I start learning it. Do other Assembly languages conform to the same standards, or is …

Member Avatar for Narue
0
140
Member Avatar for kehar

Hi, I would like to pass on a parameter from VB6 for the date.value from datepicker. Pl help me how to convert date.value into string as the parameter I have created in Crystal Report is string type. The parameter name in Crystal Report is chdate. I wrote the code as …

Member Avatar for QVeen72
0
270
Member Avatar for stan.joe1

Please help the question appears below and my so-called attempt appears after that as you can see I am relatively new to java, I only manage to do the sum part. Write a script that takes three integers from the user and displays the sum. average, product, smallest and largest …

Member Avatar for Troy III
0
421
Member Avatar for anirudhbsg

hi i want to know that if i want to include the results from internet how can do it by using a port in c++

Member Avatar for sandip kaur
0
153
Member Avatar for Emerald214

I use VC++ 6.0 1) This small program simply reads infomation from file “in.txt” and write it in file “out.txt”. (copy contents from this file to another) 2) It doesn’t work. The compiler issues an execution-time error. And the ouput text file “out.txt” is empty. 3) I don’t know why …

Member Avatar for Emerald214
0
133
Member Avatar for rutsch

Hello All, This is my first post here but after reading and trying for a couple of days now i figured i might just ask whether what i'm trying to do is possible.......... I have written the code below to check for changes in fields and i want to update …

Member Avatar for rutsch
0
111
Member Avatar for knrakesh

hello Friends, can any one give me the link for free downlable .NET projects Please provide me Thanks in advance Rakesh Nagekar

Member Avatar for shadow_cool
0
77
Member Avatar for hartoksi

I've searched all contents of Daiweb and found similar topics but not exactly good on me. I'm trying to build a activex DLL without any form. This DLL will be used by others as a function library about a specific purpose for "color matching". I wish to declare an array …

Member Avatar for Teropod
0
93
Member Avatar for MarlaFC

Hello All, I came across with the following case and I would like to share it with you to get your opinions about. In vb.net I use data from tables (oracle db) and i want to check two columns. Both columns have name of customers. All I want is to …

Member Avatar for MarlaFC
0
99
Member Avatar for TheBuzzer

ImageIO.read does not work for jpgs in cmyk trying to find a method to read it been searching on google but found lot of different results. Maybe one of you know a easy method to do this.

Member Avatar for peter_budo
0
244
Member Avatar for lydia21

hi, i want to select from more than two table using a single mysql query.please tell me a example query/. thanks in advance

Member Avatar for lydia21
0
114
Member Avatar for veledrom

Hi, I want to create a form for retoprt section in my VB6 project. What do i add into my form and from where? Thanks

Member Avatar for debasisdas
0
73
Member Avatar for vbgirl

i have an question... this is my text file data [COLOR="Red"]1234567,08072008,2 8767768,08072008,4 9988776,08072008,6 7891234,09072008,8 4567891,10072008,1 5213789,11072008,2 7854123,11072008,3 4561237,14072008,1 7879145,15072008,2 5218510,16072008,8[/COLOR] i would like to separate it to 3 part. this code izit correct? [COLOR="Green"]Dim a(50) As String Dim c(50) As String Dim ProductID(50) As String Dim i As Integer i …

Member Avatar for QVeen72
0
152
Member Avatar for Venom Rush

Hi there I'd like to have a script run automatically each day that removes a day from a table with a column called "day" but only if an entire day has passed since the entry of the relevant row. Can someone perhaps suggest the best way of doing this?

Member Avatar for mexabet
0
123
Member Avatar for all blacks

Read line by line from data2.txt, compare with data1.txt lines, if match , remove , else append to a new file (result.txt) . mathces are exact string matches, both are text files. And i also need to make the directory of the file to be user input, so this program …

Member Avatar for ivailosp
0
206
Member Avatar for vbgirl

[code][COLOR="Green"]Public cnName As Connection Public rsId As Recordset Private Sub cmdImport_Click() Dim a(50) As String Dim ProductID(50) As String Dim i As Integer i = 0 cdbOpenFile.Filter = "Text Files (*.txt)|*.txt| " 'Specify default file name to open cdbOpenFile.FileName = "" ' Specify default filter to *.txt cdbOpenFile.FilterIndex = 1 …

Member Avatar for vbgirl
0
139
Member Avatar for socrates25

For my assignment i need to turn a Hilbert Curve with recursion into a Moore Curve using recursion. We are using GLUT to draw the lines to the screen. I can see the pattern i need to use with the recursion but im not sure if i need to change …

0
80
Member Avatar for jimbobjoe

Hi all. I have this assignment to show a panel to allow users to dynamically alter FlowLayout manager parameters. It doesnt look that pretty, but functionally it is working for the most part. I have most of it up and running, but I simply cannot get the JComboBox working. I …

Member Avatar for javaAddict
0
90
Member Avatar for us12

hi all, i need a code for date comparision,my requirement is first we have to enter start date and when we enter end date it should check whether the date is greater than the start date or not if it is greater only it should alow otherwise it shoud alert........ …

Member Avatar for us12
0
135
Member Avatar for Lavendor

how do i access the database? i am using dreamweaver as my design interface. and using php for script / coding. thanku.

Member Avatar for Shanti C
0
90
Member Avatar for plike922

I am having a problem when i compile a program. What happens is that i would compile program, run it, see a problem, fix it, then try to compile it again and i get LINK : fatal error LNK1168: cannot open C:\Documents and Settings\Eric 22\Desktop\Exercises\celsFahr\Debug\celsFahr.exe(example file) for writing. I don't …

Member Avatar for plike922
0
117
Member Avatar for bmarshall.0511

Alright so after many people asking me to post the login script I use for my site at [URL=http://www.locatestyle.com]locatestyle.com[/URL], I made two functions. Now these functions do not include everything that is used for the login procedure on [URL=http://www.locatestyle.com]locatestyle.com[/URL] due to the fact I don't want everyone to know how …

Member Avatar for buddylee17
0
95
Member Avatar for danieldan

Hellp all! Hoping to make new friends here: Anyways, I am new to C++ and to programming. I just started reading the book "Problem Solving with C++, 7th ed." by Walter Savitch. I am already having problems. One of the programs I am trying to figure out (not in the …

Member Avatar for Wiki_Tiki
0
220
Member Avatar for robertmacedonia

Hi, it's me again with another question. Here is the thing. I have a small game - a picture is shown and you should type the name of the person that's on the picture. Then you have a "check" button which when clicked checks if the answer is correct or …

Member Avatar for Wiki_Tiki
0
202
Member Avatar for SHWOO

I am trying to print a two-dimensional array to the screen. My algorithm probably isn't correct but I am having trouble even getting the process to work. on the call I get ----error A2206: missing operator in expression This line add ebx,tmpRowSize * rowIndex I get ------error A2026: constant expected …

Member Avatar for SHWOO
0
174
Member Avatar for flagrl

when you are writing a program and you get an errer do you have to start all over again or is it ok to go on. i am just writing some of the programs that are on this site in the sticky's i am writing them in the command line …

Member Avatar for Epic Tissue
0
148
Member Avatar for xxjinseruxx

Hey, basically im trying to create a Kill/Death ratio program where the user types x number of kills and y number of deaths and this creates an answer for ratio " :1" for example " how many kills ? 3388 " "How many deaths? 1237" "Your ratio is 12.129:1" the …

Member Avatar for xxjinseruxx
0
999
Member Avatar for TheBeast32

Hi, I need to get the output of a program called with the system() function. How would I do this?

Member Avatar for TheBeast32
0
377
Member Avatar for RandV80

This may be a simple answer, but after self teaching myself on vectors for a few hours of I haven't been able to find the answer. I'm using class objects in a vector, and trying to complete the delete functionality according to a class variable. [code=c++] #Identify BUFFER 8 class …

Member Avatar for RandV80
0
90
Member Avatar for fmwyso

Hey, I am currently reading "Accelerated C++" (Page 100, not far) and I'm starting to get a bit confused... In console application mode for VC++ (MSVC), the code in the book works fine and everything is fine and dandy. The code looks the same as the book and it's not …

Member Avatar for Wiki_Tiki
0
130
Member Avatar for ramesh54

Hello Friends, I am learning Perl now. I have a small query. I have a directory Z with file name Z.txt. I would like to copy this file Z.txt to 3 new dir with new filenames as follows dir 1 1.txt dir 2 2.txt dir 3 3.txt I would like …

Member Avatar for dwks
0
97
Member Avatar for gangsta gama

Im sorry if my game code is long, but, the save feature wont work. Their are no errors, but when I load the game and buy weapons the stats are correct, but when I save and load It the stats are not there. Can you please help me? Yes I …

Member Avatar for dwks
0
220
Member Avatar for gispe

hi! ive compiled a program that gives me this error: (88) : error C2296: '%' : illegal, left operand has type 'float' (94) : error C2296: '%' : illegal, left operand has type 'float' (100) : error C2296: '%' : illegal, left operand has type 'float' thing is that i …

Member Avatar for gispe
0
232
Member Avatar for army88m2

Write the pseudocode for a program that uses a single while loop to print the numbers from 20 to 25 and from 40 to 45. your loop will have at least one nested "if" statement that will determine when the numbers should be printed. [code]If X >= 20 Then If …

Member Avatar for army88m2
0
222
Member Avatar for ruchika beddy

I know How to Delete a Textfile , I even know how to write the temp string data into a TextFile. But i do noy know how to delete from String array,into which i read all the data of the file. Mine Code is as under,Plz help me out. I …

Member Avatar for dmf1978
0
413
Member Avatar for crafted

I am a student new to VB I am currently in the second year of my degree I have encoutered VB before but on my first attempt I failed the module Currently there is no lecturer willing to take on VB full time and the part time teachers are too …

Member Avatar for dmf1978
0
252
Member Avatar for xylude

Is there something special i need to do to get this to work? I made a script that builds a neat little table with pictures from the sql database, and want it to go into an iframe. When i run the code I get this: (screenshot) [url]http://www.freewebs.com/xylude/helpme.jpg[/url] It just shows …

Member Avatar for xylude
0
228
Member Avatar for kinger29

I am trying to create a 2d array in my program that can hold CStrings. I need to be able to add my CString to any row and column in the array(not just at the end) and I need it to be able to grow in size. Does anyone know …

Member Avatar for Lerner
0
169
Member Avatar for sunny1304

hi guys, this is my first post here. may be my question sound very silly and stupid to you....apology for that. can anyone plz provide me the above algorithm : 1. c++ algorithm for finding the i th smallest element from a binary heap . 2. c++ algorithm to find …

Member Avatar for VernonDozier
0
112
Member Avatar for bleh1318

Hi All, I'm having a weird problem. I'm trying to do division like this: [CODE]vector = timeStamp / 12800.0;[/CODE] where vector is a double and timeStamp is an int. The answer that I get is a double, however it's only to 2 places of precision. For instance 28521602 / 12800 …

Member Avatar for VernonDozier
0
145
Member Avatar for shAq

I am writing a 3D graphics program to read and display *.stl files. These are stereo lithography files generated by 3DMax. Any idea how to do that? This file format consists of data as in following format: ********************************************* solid Object01 facet normal -9.999635e-001 -7.604078e-008 -8.545205e-003 outer loop vertex 1.033284e+001 2.616666e+002 …

Member Avatar for saud3001
0
364
Member Avatar for coveredinflies

Hi :) I am fairly new to programming and am trying to error check the user input. I stumbled upon the 'isalpha' etc functions and so my plan is to loop through the array checking everything is a number or (the one) decimal point. However I am using getline for …

Member Avatar for CoolGamer48
0
4K
Member Avatar for Nemoticchigga

I am attempting to use a queue. I am doing it just like an example i read. I am doing a vs2005 form applicaiton. [CODE]#pragma once #include <queue> public ref class DataSource { public: DataSource(void); void DSInitilize(void); char* getNextElement(void); System::Void setNextElement(char* value); private: queue<char> MessageQueue; };[/CODE] It is not finding …

Member Avatar for ArkM
0
136
Member Avatar for Pikachumanson

Ok here is what I got so far. When you type add, it asks what object would you like to add When you type list, it lists those objects When you type exit, you leave the program What I would like to do is create a search function where I …

Member Avatar for Pikachumanson
0
265
Member Avatar for ggk517

Hi, Why a database with two words separated by a space causes problem to a bcp command like below : EXEC xp_cmdshell 'bcp [History Data].dbo.InventoryValuation_FP102008" out D:\test.txt -q -T -c' Do you guys met with the same problem before? If yes, how to solve it. Many thanks.

Member Avatar for RDWilson2
0
85
Member Avatar for sahmedsa

int a = 10; int* b = &a; int c = 4; int* d = &c; (*d)++; d = b; *d = c - *b; cout << a << " " << c; Output 5 -5 I am having difficulties understanding pointers, like I know that *something means the value …

Member Avatar for sahmedsa
0
287
Member Avatar for Wiki_Tiki

Hi again, It's me, the C++ fatal n00b :( I was wondering about something. I just completed a program in Visual C++ 2008, and I need some way of the user installing it with Windows Installer. (I need a setup file that's able to install into program files, add desktop …

Member Avatar for Wiki_Tiki
0
95

The End.