132,726 Archived Topics
Remove Filter ![]() | |
Hi guys, I´m using VB6 and its Active Report My problems are: 1) I have several dir with some pictures and I would like to use like image1.picture= = LoadPicture(c:\dir1\pict1.jg) image2.picture= = LoadPicture(c:\dir1\pict2.jg) image3.picture= = LoadPicture(c:\dir2\pict1.jg) and so on.. One page with 2 coluns / 3 rows with image.picture, But … Software Development image visual-basic | |
Hello, I found the code for bubble sort in C++. With the code below th[U][/U][URL="http://www.webmaster-talk.com/#"][/URL]e output will be: 23 8 7 6 6 5 2 2 1 Is it possible that sorts the numbers so the output will show all changes. In example: 9,6,5,23,2,6,2,7,1,8 9,6,23,5,2,6,2,7,1,8 .... .... .... 23,9,8,7,6,6,5,2,2,1 Thanking … Software Development c++ | |
HI, I am having some trouble with my assignment. I have created the gui and i am now writing the event handling. My problem is with the arrays. I have 3 seperate arrays all the same length.1 is a string and the other two are ints. in each array the … Software Development gui java java-swing | |
hey guys i got this iece of code on a program i am writing, and i was jus twondering if you could help me to convert it so it uses the conditional operator to make it into a 1 line code, cheers [code=C++] int total, start, stop, increment; if (total … Software Development c++ | |
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 … Software Development c file-system | |
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 … | |
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 … Software Development java | |
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 … Software Development vb.net ![]() | |
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 … Software Development c++ ![]() | |
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, … Software Development python | |
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 Software Development python | |
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 … | |
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 … Software Development vb.net ![]() | |
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 Software Development vb.net ![]() | |
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 … Software Development c++ ![]() | |
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 … Software Development c ![]() | |
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 … | |
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 … | |
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, … Software Development vb.net | |
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() … | |
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. Software Development c++ | |
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 … Software Development c | |
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 … Software Development c++ | |
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 … Software Development c++ | |
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.. Software Development c++ | |
[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 … Software Development c | |
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 … Software Development vb.net | |
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 … Software Development c++ | |
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 … Software Development java web-server | |
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", … | |
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, … Software Development | |
[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 … Software Development listview microsoft-access open-source vb.net | |
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 … Software Development c++ | |
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> … | |
just asking where could I get complete tutorials about c++ application making through the net.. Ur help is highly appreciated.. thanx... :?: | |
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 … Software Development c++ | |
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.....:) Software Development c++ | |
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, … Software Development c++ | |
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. … Software Development c++ | |
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///) … Software Development perl windows-server | |
Hi all, Am fairly new to the programming world, but am kind of struggling along. I have written a piece of code for a client program with has given me some errors that i just can't see when compiling. The errors listed are : client.c: In function `main': client.c:118: error: … Software Development c client-server pascal socket-programming | |
[COLOR=#000000]We have a scheduled task which runs every 5mins and sends pending email campaign. The scipt has been written in VB and following is the code which actually sends the mail:[/COLOR] [COLOR=#000000]set mailer = createobject("cdo.message") mailer.subject = this_subject mailer.from = "name<[/COLOR][EMAIL="member@americancongressfortruth.com"][U][COLOR=#0000ff]email address[/COLOR][/U][/EMAIL][COLOR=#000000]>" [/COLOR][URL="http://mailer.to/"][U][COLOR=#0000ff] mailer.to[/COLOR][/U][/URL][COLOR=#000000] = this_to mailer.htmlbody = this_body mailer.send … | |
Hi all, consider the following xyxy9=ABC:ADC:uio xyoy10=DEF:DCF:uip ........................... .............................. 100 lines I want to compare the strings ABC and ADC........similarly DEF and DCF..... if they are equal then no operation is done else they are written in a single array thanks in advance. Software Development c | |
Ok I am writing a Rock Paper Scissors game for my c++ class. I have done most of it, but now I am stuck. I need to keep an overall score for the computer wins, user wins, and ties for as long as the user wants to keep playing. After … Software Development c++ | |
how do i compile a project with files/codes in a subversion.. suppose I have these files in a version control: folder/implement.cpp folder/head.hpp I want to compile my main.cpp with these files What I did is: $ g++ main.cpp ../svn/folder/implement.cpp -I ../svn/folder/ -o main It doesnt work... Pls give me link … Software Development c++ | |
Java program with a menu of 6 items. -each of the 6 items has a check box -when the food is selected it appears to the right saying that so n so was selected. -then i just need a welcome screen before that to introduce the program -then the user … Software Development java | |
i m new to java and j2me. i m developing chatting client. i have almost completed it. but when i m testing it on Nokia 9300 Communicator it gives exception like java.microedition.media Exception: Symbian OS Error: -14. this exception occurs while chatting with other person with rapid pace. and one … Software Development java | |
import java.awt.*; import java.awt.event.*; import java.swing.*; import java.util.*; public class Main extends JFrame implements ActionListener { private DefaultListModel mod1=new DefaultListModel(), private DefaultListModel mod2=new DefaultListModel(); private JList 11 = new JList(mod1), private JList 12 = new JList(mod2); private JButton to=new JButton(">>"), delete=new JButton("<<"), ord=new JButton("order"); private JLabel costLabel=new JLabel("Total Cost: $0"); … Software Development java java-swing | |
I have been trying to figure this out for quite some time... Some help would be appreciated :) [inlinecode] intnumber = txtnum.Text intcount = 1 Do While lngsum <= intnumber intcount = intcount + lngsum lngsum = lngsum + 2 Loop lblsum.Caption = "The sum of the odd numbers is: … Software Development visual-basic |
The End.