199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vuthcam

Would you mind helping me to solve the following problem!! I have a file [B]wires.inp. [/B]it is existing in c:\\ctemp\\vuth\\wires.inp. When i tried to open it : FILE *fwiresInp; fwiresInp=fopen("c:\\ctemp\\vuth\\wires.inp","r"); Error existed!!! it means that i cannot open the file above. Could u suggest me some solutions?? Is it because …

Member Avatar for WaltP
0
150
Member Avatar for jrivera

I have a homework question in STL. The question asks to write an implementation of STL algorithm replace_copy_if(). My question is NOT regarding how do I code this, but more importantly what exactly does it mean? In other words, is it the same as just creating a function and not …

Member Avatar for jrivera
0
97
Member Avatar for new_2_java

Hi all, I am new to Java, I have written a small Java program; as far as my knowledge the program seems to be alright. When I compile the program, it compiles without any complain. However, when I try to run it, from OS command prompt, I get the following …

Member Avatar for new_2_java
0
166
Member Avatar for heliumgas

Good night I would like to know how i can do to insert in a table of mysql some itens that i select in a Checkedlistbox. But the Checkedlistbox as very itens. [code] Private Sub btnguardar3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnguardar3.Click Dim data_adapter As Odbc.OdbcDataAdapter Dim …

Member Avatar for iamthwee
0
198
Member Avatar for Armfelt

Hello everyone, this is my first post. As can be quite rightly guessed, I am new to C++ and struggling with some coursework. My task is to produce a program that prints out 5000 random numbers between 1-5, also printing out the frequency of each given number. I have searched …

Member Avatar for iamthwee
0
2K
Member Avatar for newharvar

import httplib conn = httplib.HTTPConnection("<A href="http://www.python.org",80">http://www.python.org",80) conn.request("GET", "/index.php") r1 = conn.getresponse() print r1.status, r1.reason conn.close() where I test it,it show errors as below: Traceback (most recent call last): File "E:\Program\demo\src\testhttp.py", line 6, in <module> conn.request("GET", "/index.php") File "C:\Python25\Lib\httplib.py", line 862, in request self._send_request(method, url, body, headers) File "C:\Python25\Lib\httplib.py", line 885, …

Member Avatar for jrcagle
0
154
Member Avatar for pareshv22

hi ppl i m a biologist by profession and wish to learn python , may i request for any online free book or guide ! thankx in advance with regards

Member Avatar for Ene Uran
0
87
Member Avatar for karan_21584

hai, i have created a webservice file and made "web reference". in that i want to edit the .wsdl file and want to change the IP address....can anyone post me the coding? i want to put the wsdl file into an dataset and want to edit it...help me plz...its very …

Member Avatar for karan_21584
0
313
Member Avatar for Turnkey_Websites

Hello, I have two databases on my website lebphoto.com with the same tables. One with a 1665 members and the other with 33 members, I want to merge them together. is there a way other than typing each records by myself or ask the members to register again? Thank you

Member Avatar for arty56
0
206
Member Avatar for ezbie

My options in my combobox are added from my mdb database... what I need is for each time my form, or program for that matter loads is to have the selected option default to the option that was last selected. So essentially, I need my combo box to "remember" which …

Member Avatar for iamthwee
0
816
Member Avatar for Ravi Singhal

Hi everyone I want to insert flexgrid control in vb.net. But there is no such tool to add it. See I dont want to add datagrid bcoz it dosenot allow to take input from user. I need MSFlexgrid just like in VB6. can anybody help me. Thanks in advance

Member Avatar for iamthwee
0
132
Member Avatar for Devster

Hi, Wondering if I could get some help. This program is supposed to : -Input student data(firstname,lastname,student#, and a vector of Grades(up to 10 grades) with a grade and assignment name(notworking)) from a text file and store it in a vector -Have a menu system for navigation -add a student …

Member Avatar for iamthwee
0
287
Member Avatar for civil1

i have assignment to submit on this monday. i don't understand what the question is,can anyone help me? [B]Projectile Motion [/B]You will recall the tutorial problem in which you computed the height of a projectile that was launched "straight up". In this case the height after [I]t [/I]seconds is given …

Member Avatar for iamthwee
0
94
Member Avatar for abhinav.sharma

I ask this question because I want to try out some probability theories and I want to get as close as possible to randomness. What my instinct tells me is that we cannot fabricate any function that is perfectly random, because we are in the first place defining an algorithm …

Member Avatar for abhinav.sharma
0
112
Member Avatar for btinney

I am relatively new to all of this, but I have a form on my website that emails the results to me. It is using an asp file from my host. I also want to connect to the database hosted by my provider and record the data there. If you …

Member Avatar for btinney
0
68
Member Avatar for sri2244

Hi, I created a script for sending mails, but I am not able to send attachments, can any one help me on that, I am posting that created script, print "content-type: text/html \n\n"; #The header print "Enter full path of the file to Send :"; $filename=<STDIN>; $myarl="$filename"; open(myarl) or die …

Member Avatar for KevinADC
0
106
Member Avatar for shy_wani

hi.. i have problem...which i don;t know how to perform this action.. i have a page...named "preview.aspx". this page should preview all the Question with their Answer List example of Question: What is the temperature of boiling water? example of Answer : 100 degrees Celcius, 120 degrees Celsius, 80 degrees, …

Member Avatar for Ravi Singhal
0
141
Member Avatar for jrcagle

I wanted to do an image viewer for a photo catalog project. Here is the code: [php] import Image, ImageTk from Tkinter import * filename = "C:/Pictures/2006/2006.07.04/E clarus 1 crop.jpg" class MyFrame(Frame): def __init__(self, master): Frame.__init__(self, master) im = Image.open(filename) # <--- chokes! im.resize(250,150) self.image = Label(self, image=ImageTk.PhotoImage(im)) self.image.grid() self.grid() …

Member Avatar for aot
0
6K
Member Avatar for PRSop2000

I'm trying to make a website that has a block of about 56 colors off to the right of a main image of a dress. You click a color block and it changes the dress to the picture of the dress in the color clicked. I cannot find any script …

Member Avatar for vickies
0
266
Member Avatar for someoneelse

I hope someone can helkp me. This is driving me nuts. I have the following code that produces this error " [B]Exception Details: [/B]System.Data.SqlClient.SqlException: Login failed for user 'selfmadeBrowser'." The entire code is as follows (please note, this script came DIRECTLY off of [URL]http://www.expertrating.com/courseware/DotNetCourse/DotNet-ASP.Net-4-3.asp[/URL], I also am able to cnnect …

Member Avatar for hollystyles
0
122
Member Avatar for m0dernist

Hi there, i writing this progam for my parallel port hardware but i could not solve my error.Plz help me...... fatal error C1057: unexpected end of file in macro expansion Error executing cl.exe.

Member Avatar for Salem
0
188
Member Avatar for jerryseinfeld

Hi everyone... again me... My new project is harder :) project wants to you how many records do you want to enter (easy part) surname name years doctor and illness. then asks to you 3 choices. 1- ascend surname 2- ascend doc 3- descend year ... and I guess I …

Member Avatar for Ancient Dragon
0
222
Member Avatar for thekashyap

Hi Guys, I was just reading up Lippman to learn more C++ and came across the third syntax of new operator called "placement new". I have a specific problem where I thot I'll use it, but it turns out to be a total fiasco. :). My requirement is: I need …

Member Avatar for vijayan121
0
306
Member Avatar for kylcrow

Hi, I am trying to compile some code using a g++ GNU Compiler, and it keeps complaining. Other people have told me the exact same code compiles with their compiler. Anyone know why? Here is the code... [code=c++] #include <iostream> #include <ctime> #include <cstdlib> using namespace std; char getUserChoice(); char …

Member Avatar for kylcrow
0
132
Member Avatar for rapperhuj

how do i compare dis to a source code..?? The Database: AF - Afghanistan AL - Albania PH - Philippines: Smart, Globe(country's telephone operator) US - United States: Digicell, Movistar The ouput must be: Enter Country Code: PH Philippines: Smart, Globe pls.. give me some source code..

Member Avatar for WaltP
0
173
Member Avatar for diegojoven

[I]<< split from [URL="http://www.daniweb.com/techtalkforums/showthread.php?t=35463&highlight=count+how+many+times"]here[/URL] >>[/I] how can i make this code to display how meany times a number appears in the array.. example... if there are 5 number 3 it will display this with asterisks.. 3 ***** and so on for each number... here is my code... i almost have …

Member Avatar for WaltP
0
103
Member Avatar for shaebie

hey guys, im sure this is a really easy thing to do but, im currently trying to make a form that basically you enter numbers into three text boxes and it pumps and the sum in a label. I've got this working fine except for decimal places. using code" label.text …

Member Avatar for hollystyles
0
96
Member Avatar for DeOiD

hi. i use a textbox (i also tried with a textarea) in asp .net2.0 to show some text from a data base. till this point, everything's ok. my problem starts when i try to change the text and update the new value to the data base. the value updated is …

Member Avatar for DeOiD
0
126
Member Avatar for T-Fizz

Hi, I am writing a program that needs to search particular strings in a text file. The strings are typed in a text box by the user and then when the text file is opened, using fileDialog, the program searches that file using the string in the text box. I …

Member Avatar for Ancient Dragon
0
135
Member Avatar for realnsleo

hi there. please help me on this. Am working on a website. On one page i put a login form that will authenticate an administrator. However am trying to find a way that when the administrator logs off, no one can be able to press the back or forward button …

Member Avatar for dr4g
0
70
Member Avatar for nizam147

Hii Friends I am doing an erp web application using jsp,servlets,struts,sql server 2000 but havent implemented connection pooling, but want to do it now can anyone quide me the best way to master it or show me where can i find some pdfs which will give me the most knowledge …

Member Avatar for antaryami
0
99
Member Avatar for satees

Hi, I have datagrid control which contains textboxs in ItemTemplate. I need to set attribute to the textbox for the purpose of accessing the client side java script function. Here is my code snip. [INLINECODE] <asp:TemplateColumn HeaderText="Fld Date"> <ItemTemplate> <%# (DataBinder.Eval(Container.DataItem,"DATE","{0:d}").ToString()) %> </ItemTemplate> <ItemStyle VerticalAlign="Top" /> <EditItemTemplate> <asp:TextBox id="txtDate" runat="server" …

Member Avatar for satees
0
436
Member Avatar for jampaul3

Hi all, I am having a problem with my php and forms. Any help would be verty greatly appreciated. The problem is form objects are not showing up at times and they are at other times. Has any one heard of this happening and if so is there a fix? …

Member Avatar for dr4g
0
80
Member Avatar for yaya_star

Hi all,how r u? i am trying to send email from my priject, i write the following code [code] [COLOR=#0000ff]Dim[/COLOR] myMail [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] MailMessage() myMail.From = [COLOR=#800000]"from@microsoft.com" [/COLOR]myMail.To = [COLOR=#800000]"to@microsoft.com" [/COLOR]myMail.Subject = [COLOR=#800000]"UtilMailMessage001" [/COLOR]myMail.Priority = MailPriority.Low myMail.BodyFormat = MailFormat.Html myMail.Body = [COLOR=#800000]"<html><body>UtilMailMessage001 - success</body></html>" [/COLOR][COLOR=#008000]' Dim myAttachment As New MailAttachment("c:\attach1.txt", …

Member Avatar for ManicCW
0
86
Member Avatar for sibotho

Hi all I have this program i writing using C# 2003 and ASP.net, When i try to connect to the database it gives the error below. I do not know what is wrong, please help. [ [B]Server Error in '/BookFlight' Application. [/B] [B][I]The Microsoft Jet database engine cannot open the …

Member Avatar for sibotho
0
256
Member Avatar for sibotho

I want my c# program to connect to my Access database so that i can update, insert and select from my database using c# 2003, can someone show me the steps of connecting to it. I know the part where you right click 1. Data connections and click add connection, …

Member Avatar for sibotho
0
155
Member Avatar for Eddi8

[COLOR=blue]Hello everyone…. [/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue]Can someone help me? Please.[/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue]I have got a form with listview connecting access database.[/COLOR] [COLOR=blue]Some how I have managed to call the data to the form. As you can see the code below. It will open all the data to listview. And …

0
184
Member Avatar for shibam

Hi, I want to develop software for interactive map ( not world map) however I don't know which language can be used for also I want to make database and this data will be updated frequently.. if some one would like to help me how to figure it out I …

Member Avatar for shibam
0
110
Member Avatar for MadsenAim3r

Hi, this is Chris, and I was hoping that you guys could supply me with the code (yah, I know that you guys don't do homework, but this is an exception? :D) for making a simple "Hello World" program? Even one that asks answers of the user (for example, "Whats …

Member Avatar for John A
0
98
Member Avatar for youngone

This assignment I must read this .DAT file the instructor has given to me, and print out the information from it. The .DAT file is for a two-way array It has 6 rows and 8 colloumns well I have ran into a couple of problems [code] #include <iostream.h> #include <fstream.h> …

Member Avatar for John A
0
135
Member Avatar for push
Member Avatar for squinx22

just asking where could I get complete tutorials about c++ application making through the net.. Ur help is highly appreciated.. thanx... :?:

Member Avatar for John A
0
76
Member Avatar for Reema_Hamed

i have to do this assigment by the next monday...;) i need to develop a test bank so i have to generate : 1-100 arrays of size 10 with randomly distinct numbers from (0-9) 2-100 arrays of size 50 with randomly distinct numbers from (0-49) 3-100 arrays of size 100 …

Member Avatar for Reema_Hamed
0
190
Member Avatar for addicted

hey, it's me again, i need help with creating a header file for some functions so that i can use the functions in some other programs.... for example a header file that will include the function prototypes that i can access... I need the syntax for it.....:)

Member Avatar for John A
0
100
Member Avatar for assgar

I am having problems getting the user selected form info to inserted into the mysql database. I am also rec eving an error: Warning: Variable passed to each() is not an array or object in D:\web_server\webroot\common_list_process.php on line 1) I can display the contents of the $op array (see below) …

0
68
Member Avatar for sakiblateef

Hi, I have to design a Database as part of my assignment. I'm currently half way through and I'm stuck on the follwing in one part of the written assignment. Please can you help? Thanks. You should review the [B]development methodology[/B] which you used and its effectiveness. Two alternative methodologies …

Member Avatar for claptrap
0
159
Member Avatar for naya22

I have a problem: Here is my program: [CODE] #include <iostream> #include <iomanip> #include <fstream> #include <string> #include <conio> using namespace std; int main() { char choice; string name; int hours; double charges, total; cout << "\t\tInternet Service Provider\n"; cout << "\t\tSubscription Packages\n\n"; cout << "A: For $9.95 per month, …

Member Avatar for naya22
0
174
Member Avatar for kylcrow

I am writing code for a homework assignment. I have to write a function, and in the function prompt the user to enter either rock, paper, or scissors. I did it successfully declaring a char (choice) globably, but I was told this wasnt a good idea, even though it worked. …

Member Avatar for kylcrow
0
162
Member Avatar for Barefootsanders

Hey guys. Ive been working on an online game and Im attempting to code the attack arena. Bascialy what i want is people to be able to "sit down" at some sort of "table" (kinda like online poker) then they would battle it out at that "table" or arena etc. …

Member Avatar for Barefootsanders
0
196
Member Avatar for bhavna_816

I have installed Bugzilla 3.0 on Windows Server 2003 Service pack 1. It was working fine in terms of functionality, but getting the message like "Use of uninitialized value in substitution (s///) at (eval 44) line 44. [Thu Apr 19 11:31:55 2007] index.cgi: Use of uninitialized value in substitution (s///) …

Member Avatar for KevinADC
0
260

The End.