199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ItecKid

Hello, I am trying to send e-mail using Perl and Net::SMTP::SSL. However, I receive errors when running this script (example from documentation): [code=perl] #!/usr/bin/perl -w use Net::SMTP::SSL; sub send_mail { my $to = $_[0]; my $subject = $_[1]; my $body = $_[2]; my $from = 'me@gmail.com'; my $password = 'MySuperSecretPassword'; …

Member Avatar for simfex
0
667
Member Avatar for ThomsonGB

In the following example I am trying to open a file that I have named in the command line for Read. Does anyone have any suggestions? ========================================== [code] #include "stdafx.h" #include <fstream> #include <iostream> using namespace System; using namespace System::IO; using namespace System::Text; using namespace std; #define RSIZE 1 // …

Member Avatar for ThomsonGB
0
139
Member Avatar for lifeworks

Hi Ive been using some httpRequests but have gotten tired of writing the 'preparation code' for every request... so I thought I'd make a function that accepted a URL, and a list of parameters and would return the responseText variable... But what seems to happen is that my other code …

Member Avatar for lifeworks
0
81
Member Avatar for gurutheja

hi i am Raghavendra. I dont know anything abt how to connect to oracle (sql) from VB 6 . could u plz let me know d steps n d code for executing the queries. its very urgent plz let me know

Member Avatar for azizulkhn
0
391
Member Avatar for mshravs

here i'm using the calendar tool as a popup window to select dates. but its showing in the format of mm/dd/yyyy, where as i needed in the dd/mm/yyyy. can any help me plz

Member Avatar for mshravs
0
98
Member Avatar for daeuse

So I'm working on my final project, and I decided to create a BMI calculator. As part of the requirements, I need to call a function into play. Below is what I have so far, but I am getting errors. I don't expect the solution, but could someone assist me …

Member Avatar for daeuse
0
171
Member Avatar for jchandramouli

Hi, I cannot use any of the features (like intellinsense, auto tag creation, scripting, outline tags, switching between design and code) in my visual studio html pages (like .aspx, .ascx, .html ,etc.,.) in 2008. But in visual studio 2005 its perfect. I use svn (subversion) as my source control and …

Member Avatar for jchandramouli
0
251
Member Avatar for JuvenileMango

What is the difference between [CODE]file = open("name.txt")[/CODE] and [CODE]file = open("name.txt", 'r')[/CODE]? I can still use the methods: read(n), readline(n), and readlines(n) without adding the "r" in the open method.

Member Avatar for JuvenileMango
0
97
Member Avatar for ashneet

I have two servers and one of them have mysql db and one doesnt so is it possible to use mysql db in my other server while hosting my website on another. also if there is how would you do it with php.

Member Avatar for resuldeger
0
239
Member Avatar for bumassjp

Well basically I keep a null value returned code and I have the same issue in all 6 of my functions. Here is the error code - `Warning BC42105: Function 'GetTimesheet' doesn't return a value on all code paths`. A null reference exception could occur at run time when the …

Member Avatar for bumassjp
0
1K
Member Avatar for donaldw

I've pretty much got it down how to determine operating system version, service pack level, 95/NT based, etc. for Windows XP and earlier versions by using GetVersionEx(...) and that's pretty handy for getting system information that software users probably don't know and don't know how to figure out (sadly). A …

Member Avatar for donaldw
0
117
Member Avatar for Egypt Pharaoh

how can I print a report of the page if it has a many text boxes that I want to print it in one decoment

Member Avatar for Medalgod
0
120
Member Avatar for Stefano Mtangoo

I'm just curious to see what are favorite PHPers in terms of the following: 1. What is your favorite IDE (If you can tell why you love it, it will ice the cake)? 2. What is your favorite JS/PHP libraries (I would love to hear why) 3. What PHP framework …

Member Avatar for FlashCreations
0
141
Member Avatar for kimjan

hellow people i am a beginner i really need help. i am a college student one of my project was all about compiler.i made a c++ tutorial but the problem i have no idea on how to put a compiler on it. do you have any idea on how to …

Member Avatar for Ancient Dragon
0
80
Member Avatar for prokek

Hi, I'm trying to write a console program that will sort and find the median of numbers that are given in a text file. The text file can have ints or doubles. The problem I'm having is outputting the median and the insertionSort functions. I think that they are failing …

Member Avatar for prokek
0
103
Member Avatar for jonow

I am trying to enable Gzip for CSS and JavaScript but whenever I do it the CSS fails to load (thats what firebug says) and same with some of the JavaScript (like some of it loads and other doesn't. The CSS and JavaScript are external files. I am using the …

Member Avatar for jonow
0
283
Member Avatar for darkunknown

How do i put a function inside another function? Im getting confused with the function definition. Plz help??

Member Avatar for Ancient Dragon
0
103
Member Avatar for virang_21

Is it possible to do a page postback after endREquest() or in the endRequest() ? I have a button in update panel that I allow user to click just once as the process took bit of time to finish. I used following code to achieve that but now my application …

Member Avatar for virang_21
0
674
Member Avatar for jonow

I am using [URL="http://musicplayer.sourceforge.net/"]XSPF Web Music Player[/URL] slim, and whenever I put it into a web page and play it using Google Chrome or Safari the song starts playing twice. When i press the pause button one instance of the song keeps playing while the other keep going without any …

Member Avatar for jonow
0
302
Member Avatar for nertos

Hi, I have code: [CODE] public func(z) { int a = z; pnlGraphics.Paint += new PaintEventHandler(panel1_Paint); } private void panel1_Paint(object sender, PaintEventArgs e) { } [/CODE] how can I send val a to panel1_Paint?

Member Avatar for DdoubleD
0
463
Member Avatar for ThomsonGB

If I Open a file using something like: FileStream^ fs = File::OpenRead( path ); How can I determine the size of the file so that I can read all of the data bytes in the file? What sort of Read would you use to read one byte at a time. …

Member Avatar for ThomsonGB
0
228
Member Avatar for CodyOebel

Ok so heres what I am trying to do to help you understand my question. I am making my WINAPI load hidden so it's not in the taskbar and is only running as a process using ShowWindow(hwnd, SW_HIDE) on case WM_CREATE: Now what I am trying to do is make …

Member Avatar for CodyOebel
0
186
Member Avatar for kripssmart

Hi, I have been writing a PHP code. As I couldn't execute it locally (installation issue), I moved it to my server as a '.php' file. I haven't executed or run a php file in server before. Can anyone please say me how I can view the output of my …

Member Avatar for kripssmart
0
114
Member Avatar for theABCasian

hello all im having as the title would suggest a runtime crash in my program cant quite figure out why hits some ware around enter tenant name. line 53 [CODE]void ComplexInterface::editUnit(){ bool test = false; do { int unitToEdit; cout << "choose a Unit to edit " << endl; for …

0
66
Member Avatar for whisper_101

Hi Guys I have been working on an Automatic Email Function. The code returns two different email addresses which are used to send emails to. The problem is - in second email sent the Body of the text is repeated twice i.e. In the First Email Sent: Welcome to the …

Member Avatar for oluwa4real37
0
192
Member Avatar for ax8l

Hello everybody, I want to overload a function based on an array dimension or pointers. Ex: [CODE] int calc(int a[]); int calc(int a[][]); [/CODE] or [CODE] int calc(int *a); int calc(int **a); [/CODE] *a should be &a but i dont know how to face a reference of a reference so …

Member Avatar for ax8l
0
102
Member Avatar for Lida_pink

How can I stop shape after 5 seconds of moving? I know how to move it and how to stop it but don't know how to make it stop IN 5 SECONDS. This is the rest of the code that I have done but the 5 seconds part is still …

Member Avatar for jlego
0
79
Member Avatar for Iam3R

[CODE] [Davis@localhost UNS]$ gcc U_bc.c [Davis@localhost UNS]$ ./a.out a=d i=100 f=0.000000 sizeof(u)=4 [Davis@localhost UNS]$ cat U_bc.c int main() { union test { char ch; float f; int i; }; //union test u={'a',21,34.65}; gives a warning excess elements union test u={100.23}; printf("a=%c i=%d f=%f\n",u.ch,u.i,u.f); printf("sizeof(u)=%d\n",sizeof(u)); return 0; } [/CODE] in the …

Member Avatar for Dave Sinkula
0
97
Member Avatar for lkegley

Hi All, Thank you for reading this and helping me! I am finishing off my program with a method that can compute Average Scores from a list of data. It's giving me an error that says "invalid use of member (did you forget the â&â ?)". Below is the code …

Member Avatar for Lerner
0
103
Member Avatar for lalsumit

Hi all, I am new to perl I want to compare two files File 1 is having protein names like Biotin-[acetyl-CoA-carboxylase] ligase Acetyl-/propionyl-coenzyme A carboxylase alpha chain Acetyl-CoA carboxylase, carboxyl transferase, beta subunit biotin carboxylase-like protein CYCLOPROPANE-FATTY-ACYL-PHOSPHOLIPID SYNTHASE 1 CYCLOPROPANE-FATTY-ACYL-PHOSPHOLIPID SYNTHASE 2 mycolic acid synthase long-chain-fatty-acid-CoA ligase 3-oxoacyl-[acyl-carrier-protein] synthase I …

Member Avatar for d5e5
0
360
Member Avatar for konczuras

Hello, I'm trying to deploy an application. On my development machine, I have Office 2007, and using it to automate excel from c#. On the target machine, there's Office 2003, and I getting an error message when trying to installm that I should isntall Microsoft.Vbe.Interop version 12.0.0.0. I removed all …

Member Avatar for DdoubleD
0
265
Member Avatar for tunde011

[code=php] <?php include 'config.php'; include 'opendb.php'; $result = mysql_query("SELECT * FROM 888db ORDER BY id") or die(mysql_error()); echo "<table border='0'>"; echo "<div id='bodyframe'>"; // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { // Print out the contents of each row …

Member Avatar for me655321
0
372
Member Avatar for Egypt Pharaoh

how can I get a picture of the panel that in my application and save it

Member Avatar for sknake
0
152
Member Avatar for 21KristianN

Dear members I have a challange. I want to update my CRM database (MSSQL) with turnover numbers from our ERP database. I can retreive the data in different file types from my ERP database so they can be importet as a flat file. But does anybody have a good idea …

Member Avatar for 21KristianN
0
95
Member Avatar for Romil797

Hi I have tried so much and I am wondering how I can put a background image in an email using gmail.

Member Avatar for sknake
0
383
Member Avatar for darkunknown

im trying to generate a random number using #include <cstdlib> and then srand(time(0)); but it keeps telln me i need a constructor, destructor or type before the (. what do i do??

Member Avatar for darkunknown
0
153
Member Avatar for Arikado.Kanchi

Hello everyone, I need a little help understanding what to do for a final project. I'm writing a program that will make an array for 10 songs, sort them by title, genre, and artist name, and make a hierarchy chart showing the branch of modules. I understand this for the …

Member Avatar for TheArchitect
0
162
Member Avatar for jino

Hi all, How can i get the value of a specific text in a select box. example 16 of text OEC using jquery, I am not getting the value correctly <select name="categories" id="categories" class="validate"> <option value="0" selected="selected">&lt;--select one--&gt;</option> <option value="57">OBC</option> <option value="16">OEC</option> </select> I had tried For example something like …

Member Avatar for furutani
0
83
Member Avatar for kungfudoug

Hello all I have just started to learn programming, and I am having a little trouble getting around array and vectors; I need to create a structure to store a certain amount of data based on the user's input. I was told by my teacher that I have to declare …

Member Avatar for Bench
0
115
Member Avatar for computerages

Hello, I am writing a program in C++ to open a web page in a browser using command line. Suppose, I enter open [url]www.google.com[/url] It should open Google's home page in a browser. I want to make this program multithreaded so a user can open as many web pages as …

Member Avatar for computerages
0
197
Member Avatar for dani2010

What is a seed in c++? "Call a function to populate the array to perform the following: Ask the user for a [I]seed[/I]"

Member Avatar for gusano79
0
83
Member Avatar for Kurosaki

Hi. I am kinda new to java and I really need help on this program that I have been assigned. Here is the assignment: [B] Assignment:[/B] Write a KochCurve program that uses DrawingTool and provides a drawKochCurve method for drawing Koch curves. Each drawKochCurve method can take the number of …

Member Avatar for gods_angel
0
262
Member Avatar for bijayswain

Can anyone tell what is wrong in the below program.I want to ping an ip address which is entered by the user. [CODE]#include <iostream> using namespace std; int main() { char ip1[30]; cout<<"Enter the Ip Address"; cin>>ip1; system("ping ip1"); return 0; }[/CODE]

Member Avatar for Bench
0
100
Member Avatar for tqmd1

These codes work fine to display data from listview to textbox. TextBox1.Text = ListView1.Items.Item(ListView1.FocusedItem.Index).SubItems(0).Text Is there any alternative codes for this purpose?

Member Avatar for me655321
0
135
Member Avatar for JuvenileMango

Hi, I'm completely new to Java, and I'm already lost with the installation. :p I'm on the custom install page and I see Source Code: Source code for classes that comprise the public API of Java. Public JRE: The standalone JRE. Any application can use this JRE. It registers Java …

Member Avatar for JuvenileMango
0
66
Member Avatar for redroze

hello folks, I have an array of integers and I need to search if there's a combination of 2 numbers that resault a defined sum. No loops or static variable are allowed. Any suggestions? cheers, Elad.

Member Avatar for uskok
0
153
Member Avatar for kemiko

The following is output from an unknown command off an old school DEC Ultrix machine. Does Linux have a similar command/tool? Thanks, Kent 1 pend_nonpayment: int(), <pend_nonpayment.c 79> 2 usr_pwd: <> 3 display_error: <> 4 clears: <> 5 paint: <> 6 current_date: <> 7 get_process_date: <> 8 strcpy: <> 9 …

Member Avatar for gerard4143
0
251
Member Avatar for RexxX

I've never written byte variables on my unix shell before, so I don't know if it works or not. I'd been using unsigned ints to get hex numbers as input but I was having trouble with what my input actually was. My friend told me to use byte variables instead …

Member Avatar for Narue
0
139
Member Avatar for leegeorg07

Hi again, I am trying a competition entry (its old, purely to test myself) and I have come against a problem, this is the description for the competition: In a word game each letter has a score based on its position in the alphabet, A scoring 1 through to Z …

Member Avatar for leegeorg07
0
195
Member Avatar for lotrsimp12345

basically i have 4 files 2 contain the following data . Trying to find out data which is common and not common in both files and write it out to files common and not common. It almost works except for it doesn't compare the last item in the list before …

Member Avatar for TheArchitect
0
497

The End.