199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mylsamy

Hi all, I am using Java code to send email to users. The code is SMTPTransport tr = (SMTPTransport) poSession.getTransport("smtps"); tr.connect(MailHost,FromMailId,Password); tr.sendMessage(Message,Message.getAllRecipients()); FromMailId is from user mailid Password is from user password. Message is what can from user sent to toUser Message.getAllRecipients() are to user mail id.. But how do …

Member Avatar for jon.kiparsky
0
102
Member Avatar for digital-ether

A very simple MySQL database class. [B]Usage:[/B] [CODE]// connect $config = array( 'host' => $host, 'user' => $user, 'password' => $password, 'database' => $database); $DB = Database_MySQL::getInstance($config); // set query $DB->query("select * from table1 where col1 = %d and col2 = '%s' LIMIT 1", 5, 'a'); // get rows $rows …

Member Avatar for benjaminFowl87
0
238
Member Avatar for kebbby

Please help with this new sorting algorithm. I implement it on VB but i cant get a correct output. It's a new sorting algorithm and the pseudocode was provided. Here are the informations about it. Here are the steps: 1. In a single pass on the array, the algorithm finds …

Member Avatar for Momerath
0
106
Member Avatar for GWalk612

I am writing a very simple program that subtracts 16 bit integers. After the subtractions I want to view the registers' final values by using DumpRegs. The information displayed seems accurate for EAX, but EBX and ECX have values that don't seem to be correct. Why is this so? [CODE]TITLE …

Member Avatar for Josue198s
0
4K
Member Avatar for ITStrawberry

Hello guys, I have a question. In one form i have a treeview. I get the value by doing treeview.selectednode.text; But in the same project i have another form. I want to send the value of the selectednode to the other form. How can i do this?

Member Avatar for Geekitygeek
0
107
Member Avatar for RickW

I have this output from a mysql export: [code] <?xml version="1.0"?> <resultset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" statement="select product as sample,count(*) as count from table1 where itemno in (5,10,37) and type='food' and package='boxed' group by package,product order by count(*),product desc limit 5 "> <row> <sample>cereal</sample> <count>1</count> </row> <row> <sample>macaroni</sample> <count>1</count> </row> <row> <sample>cookies</sample> <count>2</count> …

Member Avatar for RickW
0
167
Member Avatar for avi_d59

:-/ Hey friends I have a problem regarding operator overloading concept in C# language,can anyone among you please make me understand and supply some example of operator overloading concept.Some codes can you guys please send me for better understanding and with a brief description..please.

Member Avatar for Geekitygeek
0
116
Member Avatar for Queen007

Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: …

Member Avatar for Queen007
0
187
Member Avatar for alex k

programe to randomly generate store and display the age of N studnets (e.g ,18,24,38 etc).the minimum age is 18 and maximum age is 75.N should be equal to 9. 1.How we can intialise all the elements of the array to -1. 2.Randomly generate and store the age of N studnets …

Member Avatar for Ancient Dragon
0
105
Member Avatar for aldm

Hi, I have some problems with validating form in javascript. I have a following HTML code: <form action="registracija_preview.php" method="post" onsubmit="return ValidirajFormu();"> </form> <div id='poruka></div> What I want in validation is to check all the field in form (check for required fields etc). I want to show user error message in …

Member Avatar for gumape
0
147
Member Avatar for emilio

hi everyone i would like to fill an array with random numbers i know i can use the next line srand( time(NULL) ); return 1 + rand() % 10 ; but the problem is that it fills my array with only one number what can i do ?

Member Avatar for mayur.sarode
0
309
Member Avatar for SeekAnswers

Good afternoon, does anyone know of a free web component which can display a pop-up calendar upon clicking a button, and allow the developer to capture the date chosen by the user? Thanks for your time...

Member Avatar for muktiranjan
0
675
Member Avatar for lyncejo

pls does anyone of you help me how to connect vb6 to access.i have a system wherein my pc can receive and send sms.I used nokia cp,and dku50 cable to connect my pc and cp.I want that the text will be store in my access,so that i can see the …

Member Avatar for AndreRet
0
111
Member Avatar for gangaloves7

HOW TO CHANGE THE TIMING 15 MIN EARLY THAN CURRENT TIME OR TIME VALUE WHICH IS IN MS-ACCESS TABLE USING VB6.0?????????????????? plZ HELP ITS URGENT ??????????????????

Member Avatar for AndreRet
0
112
Member Avatar for mymattu

Iam getting this error code ;Line 5, char 45, unterminated string constant code 800A03F7 with the ff script. Please help. [CODE]var thisAd = 0; function rotate() { var adImages = new Array("images/green.gif", "images/red.gif","images/gre.gif","images/ apple2.gif"); thisAd++; if (thisAd == adImages.length) { thisAd = 0; } document.getElementById("adBanner"). src = adImages[thisAd]; setTimeout(rotate, 3 …

Member Avatar for Taywin
0
93
Member Avatar for becky007

hey guys. i get an error "Could not find a part of the path" for inputStream = File.OpenText(textBox1.Text). The idea is to enter a folders path then in another textbox enter word to search. all the files in the folder have to be searched then the word,filename and path are …

Member Avatar for becky007
0
88
Member Avatar for umesh314

// program implement the working of files simple stock // management #include <iostream.h> #include <fstream.h> #include <iomanip.h> #include <stdlib.h> #include <stdio.h> class stock{ int code; char name[30]; float cost; char flag; public: void getStock(); void putStock(); char getFlag(); void putFlag(char); int getCode(); }; int stock :: getCode(){ return code; } …

Member Avatar for Ancient Dragon
0
134
Member Avatar for normmy

Hi all, sorry if this post is a duplicate, I had a search and couldn't find what I was looking for. In simplest terms I need to use the string split method using a sting as the seed i.e. [code] string[] sections = line.Split("><"); [/code] Sorry if this is a …

Member Avatar for Geekitygeek
0
258
Member Avatar for zebnoon
Member Avatar for zebnoon
0
2K
Member Avatar for PythonNewbie2

Hey guys, I posted earlier about py2exe not working in general. Now I got it to actually run, but the .exe produced does not work... Any help would be appreciated. Thanks. Info: I've tried various things to solve this issue, but no luck. When I run my setup.bat file, which …

Member Avatar for D33wakar
0
3K
Member Avatar for benjaminFowl87

Hi there, i'm currently having trouble re-sorting an array based on a letter that a user has submitted. this is the associative array I want to sort. [CODE] $people = array( 0 => array( 'id' => 12345, 'name' => 'abi', ), 1 => array( 'id' => 12346, 'name' => 'ben', …

Member Avatar for benjaminFowl87
0
274
Member Avatar for shena

Hi experts out there, I have a program where the backend is access database. I was able to run the program in user's pc after i placed it at C drive. After that, i placed it in the server and created shortcut to the.exe, the program ran. But, when i …

Member Avatar for AndreRet
0
265
Member Avatar for pavankumarr

Hi, I want to disable the cache in browser using asp.net.If I click the back button of the browser the value of cache should be changed. Can anyone help on this how to do?? Regards, Pavan Kumar

Member Avatar for skyboy
0
108
Member Avatar for wilch

Hi All, Can anyone please help me. I am trying to connect to a Pervasive SQL v9 database using a PHP script. I have been trying for hours to make a connection but all my browsers keep loading with no response from the server. The PHP code is as follows: …

Member Avatar for wilch
0
933
Member Avatar for lil.jeantle
Member Avatar for Pinchanzee

Using py2exe I've made an exe file which processes a file then creates a new file which details the errors found in the original file. However, at the moment I have to change the file allocation in the code each time I want to do it on a different file …

Member Avatar for Pinchanzee
0
575
Member Avatar for anitha10

i hav a menustrip and created mdi forms in this i hav child forms, i want to open one child form and hide the remaining child forms. Give me the solution for this question

Member Avatar for Nick Evan
0
100
Member Avatar for calnastic

Hi I'm trying to generate two random numbers using the ramdom class. However, I always get the same random number for both variables. Is there a way I can get two distinct numbers? Thanks.

Member Avatar for Geekitygeek
0
82
Member Avatar for campkev

Having a problem connecting via dsn on windows 2003 x64. Keep getting : ADODB.Connection error '800a0ea9' Provider is not specified and there is no designated default provider. Code works fine on regular server 2003

Member Avatar for cptspock
0
119
Member Avatar for cheeseboy

Hi there. I am getting the errors below when I am trying to compile this code using DEV C++. [Linker error] undefined reference to 'CheckLeapYear'(int) [Linker error] undefined reference to 'CalcDayNumOfYear'(int) [Linker error] undefined reference to 'CheckLeapYear'(int) Id returned 1 exit status Please help. Below I have included my coding …

Member Avatar for JasonHippy
0
198
Member Avatar for Sickness1

Hey guys, I've been helping a buddy of mine trying to figure out this problem with his asp.net site, basically from the admin panel you add a product and it will make the page not work, but if you delete it, it'll work fine, heres the code coming back. [CODE] …

Member Avatar for Shahriari
0
453
Member Avatar for jemimaloh

hi there, my programme stores all the coordinates from a text file into an arrayList. And from the arrayList I want to read out 3 elements at a time. Each element being a pair of (x, y) values already in a arrayList, e.g.[...., 34.123 2.121,....]. Now I need to read …

Member Avatar for jemimaloh
0
136
Member Avatar for ferkevin04

I have a project which deal with DAILY TIME RECORD, i want to add the time in my form to the current record. Here it is. if i enter my EmployeeID then click cmdFind the records will be given [CODE]Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Private Sub cmdFind_Click() …

Member Avatar for AndreRet
0
141
Member Avatar for bobsta

Hi I need to write data which I have successfully read in from a text file, to a new file. The original text file contains data for many objects. The read in data is stored using stl vectors in 3 nested objects: Structure, Polygon and Point i.e. a Structure contains …

Member Avatar for bobsta
0
164
Member Avatar for fantazea

Dear Everybody ; How r u all? Does anyone know any idea for a graduation project in the field of computer science ..... plzzzz help me :( ..... i dnt know any idea :'( ..... Any suggestions?? Thnx :)

Member Avatar for izatt21
0
103
Member Avatar for jiraiya

Hi everyone, I want to intitialise an object to perform a certain computation and wait for the object to finish, but I'm not sure what the best way is to go about this. Here's a couple of methods to give you an idea of what I'd like to do: [CODE] …

Member Avatar for JamesCherrill
0
148
Member Avatar for LuciaP

Hello1! First af all, excuse me for my bad english! I need to read user input that contains a certain command. My problem is that it depends on the command, the amount of strings i'll need to read. For example, there's a command with the following sintaxis: Command1 name = …

Member Avatar for LuciaP
0
205
Member Avatar for shaqtus

I have a registration form and I want to feed the contents of it into an SQL database that I created in Visual Web Developer. I have the proper code to insert the contents into the database table, but there is a problem with my connection string. What's the problem …

Member Avatar for jovial_vik12
0
292
Member Avatar for shandow

#include <iostream> using namespace std; int main() { int i,j,k; int Matrix1[3][3] = { {1,2,3}, {4,5,6}, {1,2,3}, }; int Matrix2[3][3] = { {3,2,1}, {6,5,4}, {3,2,1}, }; int Matrix3[3][3]; cout << "Matrix 1: " << endl; for( i = 0; i < 3; i++) { for( j = 0; j < …

Member Avatar for sandeep.ank
0
97
Member Avatar for cristi08

What it want from me? [CODE]<?php if (isset($_POST['submit']) && $_POST['submit'] == "Update") { $query_update = "UPDATE preturi SET preturi = '" . $_POST['preturi'] . "' WHERE username = '" . $_SESSION['user_logged'] . "' AND password = '" . $_SESSION['user_password'] ."'"; $result_update = mysql_query($query_update) or die(mysql_error()); $query = "SELECT * FROM …

Member Avatar for ﻼim
0
202
Member Avatar for revolution3396

I need a vb code as below This is my login page [ATTACH]16718[/ATTACH] This is my login page code Private Sub StudentLoginButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StudentLoginButton.Click Dim connection As New OleDbConnection("Provider = Microsoft.ACE.OLEDB.12.0;Data Source = ../Data/Student.accdb;") Dim command As New OleDbCommand("SELECT * FROM Student WHERE …

Member Avatar for Animal Mother
0
158
Member Avatar for sujathaarsid

please can any one write the code without using pointers and in a simplest way... my question is finding substring position in main string .....these both strings you have to take at the run time and dont use any library methods.....you yourself have to write the code.....please give eply ASAP.....

Member Avatar for Adak
0
152
Member Avatar for Animal Mother

Hi everyone Could someone please help me, I need to loop through all the records in a column in my access database, Currently my program only views the first record in the column and does not go any further, I tried a While loop but I get a NullException error …

Member Avatar for Animal Mother
0
1K
Member Avatar for keychains

I am trying to create a JavaScript menu, but I can't hide the sub-menu? I am trying to create a menu with JavaScript for a friend of mine. I can't get the part that drops down to be invisible though. My code is below. Any ideas? HTML File: <!DOCTYPE html …

Member Avatar for Graphix
0
229
Member Avatar for 21KristianN

Dear SQL sharks.... Please somebody help me with this struggle. I have been searching the web for hours now. I have a table with sales data. In this table i have a columne called SalesAmount, CustomerName and SalesDate(the format i smalldatetime) Now I would like to retreive all the records …

Member Avatar for kplcjl
0
5K
Member Avatar for raghujosh

I have a JSP( a form) that calls a servlet when I click the submit button. I want to add javascript validation to the form fields. When I try to embed the script it does not run. I tried to link the file to the JSP, but that also did …

Member Avatar for javaAddict
0
2K
Member Avatar for hari.sarvothama

I have a drop-down list box which has to be populated from a database in mysql. I implemented the following code: [CODE] //DB Conn done here.. <td>College Name,id :</td> <td><select><option selected="selected">Choose a college...</option> <?php $query="SELECT nameid from college"; $result=mysql_query($query); while ($line = mysql_fetch_array($result)) { foreach ($line as $value) { echo …

Member Avatar for ﻼim
0
222
Member Avatar for inddeveloper

Hi, I have requirement on shell scripting. I require scripts for the following 1) Full backup(application and DB) 2) incremental back up of files 3) restoring of files Please help me in providing the scripts. Thanks in advance

Member Avatar for inddeveloper
0
339
Member Avatar for vponnoju

Hello All, I am not sure, if this is the right place to post this query. If not, please redirect me. Here is the brief explanation of I have a web application (GWT application) project in Eclipse. I have a server side code which interacts with LDAP directory for some …

Member Avatar for vponnoju
0
279
Member Avatar for Krs13

Hi, I want to update records in the access table which is connected to vb. Can somebody give code for that please. (ie)when i click add button the entered fields should get updated in the tables and the form should be refreshed again to enter datas.

Member Avatar for kinwang2009
0
164

The End.