199,114 Archived Topics
Remove Filter ![]() | |
Suppose I have an Outlook account that is logged in at the computer. How can I send an email from this account to a given contact (if this can be a group, that would be really nice) via a C# program? Thank you very much! | |
Hey, I am having real trouble with this code, and for the life of me just can't see or figure out why this won't work. It works every other time I have done it. I have checked, double checked, tripple checked the table it's coming from. I'm as lost as … | |
Hello again, another question today... Based on this example : [CODE] public interface A { public boolean booleanA = true; public boolean booleanB = true; public boolean booleanC = true; } public interface B implements A { public boolean booleanA = false; } public class Example implements B { public … | |
Hello everyone, first of all I would like to say that I'm new to java and I'm getting this error while trying to compile a program from a book that I am using to learn the language. Ok so the program is very basic just two classes here is my … | |
Hi there! I have a task - to compare 2 std::lists without taking elements order into account. That is, lists A-B-C-D and D-C-B-A are equal, but A-B-C-D and A-B-D-E aren't. We start with the following code [CODE] class T { ... public: bool operator= {...} } bool compare_lists(const std::list<T>& list_1, … | |
hi, I wanna to calculate the total in currency format $00.00. But the coding doesnt seems to work . Can u help me ? total = Cstr(total) + Request.Cookies("jumlah") | |
Hi im doing bachelor degree of science IT. Now im in da final year n searching for a topic for my Final year project.I interested to develope a system using PHP but i still did not come out wif any idea, the previous idea that i give to my supervisor … | |
Dear members I am new to the world of XML and XSL transformation, i hope someone can help me with this XSL transformation for an XML. I am not geting the expected result as described below The following is the XML that I am trying to transform to another XML … | |
I use almost every day, [url]http://www.mibbit.com[/url] It's a web client for IRC. It has one real nice feature. when i type, if i misspell a word, it sort of writes a line through the word, and i can right click for spelling suggestions. I think actually it might be my … | |
Hello everyone i am writing a snippet for replacing the keywords into links. It almost works but it also replaces the words in between HTML Tags So can anyone help me in fixing that [CODE]<?php $textlinksname = 'Google'; $textlinksurl = 'http://google.com'; $body = 'Google is a great search engine. Here … | |
So, my main goal is to modify a MIPS simulator to display the contents of the register file during run time. I searched around in the simulator's cpp files and this is what I've determined: There is a file called "ThreadContext.h" which contains the lines: [CODE] typedef long ValueGPR; ... … | |
Hi dears. I am playing windows commands with python scripts. for example I did: [CODE] import os print os.system("ipconfig -a") [/CODE] but there is a problem with some commands.for example see this: [CODE] >netsh netsh>dhcp netsh>dhcp>scope 192.168.100.10 [/CODE] after playing the first one script, I have to come back to … | |
Hi guys. You've helped me out a lot in the past, for which I am very grateful. Right now however, I am banging my head against the wall, because I simply cannot get my head around drawing simple shapes! The current code results in well... Nothing whatsoever. My form is … | |
Hi, i'm doing a project in Visual C++....in Portuguese....i'm hoping you can help figure out the problem eventhough it's not in english... here is the whole code....incomplete in the int main and it's missing some functions but i wanted to solve this errors before i keep going CNoFila.h: [CODE]include <iostream> … | |
Hello Everybody - I have a question that I need answered - Is there a way to implement either a vertical drop down menu or a horizontal drop down menu on a "hot spot" on an image map where as when the mouse rolls over the "hot spot" the "hot … | |
this code is echoeing table the times i enter the reccord for a particular registration number.plx help me out!!!! [CODE]if(isset($_REQUEST["Submit"])) { $Registration_num=$_REQUEST['reg_num']; $query1=mysql_query("SELECT * from medicines where Registration_num = '$Registration_num'") ; while($row=mysql_fetch_array($query1)) { $query="select * from medicines where Registration_num='$Registration_num'"; $result=mysql_query($query); mysql_query($query); echo "<table border=1>"; echo "<br><tr><td><b> <font color='#CC66FF'>Id</td><td><b>Prescribed_med</td><td><b>allergic_med</td><td><b>Dosage_unit</td>"; while($row=mysql_fetch_array($result)) { … ![]() | |
Hi guys, First, many thanks for reading my post, happy to have found you! I have data(objects) that is stored in a hashmap, my goal is to store this data in a JTable, using a separate cell for each entry, rather than starting on a new column each time. I … | |
[CODE]import java.io.*; class Dictionary { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter the next number"); String input; input=console.readLine(); String[] Hebrew={"ehad", "shnaiim","shalosh","arba","hamesh","shesh","sheva","shmone","tesha","eser"}; String[] English={"one", "two","three","four","five","six","seven","eight","nine","ten"}; for(int x=0;x<Hebrew.length;x++) { if(input.equals(Hebrew[x])) { System.out.println(English[x]); } } } { while(!input.equals("enough") ) //i want to make a condition that if the program doesnt … | |
Hi there I have a page that has php code at the top. Ajax before the body tag and a form. I need to be able to call a php function (the one at the top of my page) that adds info from the form into the DB. Normally I'd … | |
Hello... In strings i learned how to sort about numbers... the question is, how does one sort letters? there are some sort in alphabet here in Daniweb but i cant understand its process is Letter A > than Z? is the computer using ascii values? isn't A(65)< Z(90)? if in … | |
Hello, Is any one know how to display a crystl report in C# windows application and bak end is SQL Server 2005 | |
Hello, Im trying to read a CSV into a 2d array, where the rows of CSV are the rows of the array, and the columns are defined by the separating commas in the file. It will be a rectangular array. any help would be ace! thankys | |
hello, Can u tell me how can i use try...catch in following coding. This code is for save the data. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace savita { public partial class Form5 : Form { DataTable dt; … | |
Hi All I have a requirement to develop a VB application to download a pdf file from a server using an example URL [url]http://xxxxxxxxxxxxx/pdffiles/yyyyy.pdf[/url]. I need to perform a silent download and print the same to the local printer. As this is going to be a scheduled task, I need … | |
[CODE]<link rel="STYLESHEET" type="text/css" href="styles/calendar.css"> <script language="JavaScript" src="javascript/simplecalendar.js" type="text/javascript"></script> <script type = 'text/javascript'> function insCell() { var x=document.getElementById('tr1').insertCell(1); var y=document.getElementById('tr2').insertCell(1); x.innerHTML= 'Day 1'; y.innerHTML='<input type = "text" name = "day"><img src="images/calendar.gif" name="imgCalendar" width="34" height="21" border="0" alt="">[COLOR="Red"]<a href="javascript: void(0);" onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';" onclick="g_Calendar.show(event,'frm.day',true,'yyyy-mm-dd'); return false;">[/COLOR]</a> '; } … | |
I am attempting to create script that sends info and login/logoff timestamps to a text file. Can anyone assist with showing me how to get it to output the duration between login and logoff? AT the moment the script creates a separate line for each login and logoff. I can't … | |
Hi all, I'm in a C++ course right now and I'm having a bit of trouble getting my virtual function to work correctly. Specifically, trouble with the 2 pointers I have for 2 separate menu displays for my Hangman game. I have 3 *.h and 3 *.cpp files and the … | |
Hi I need to know how to keep data in a gridview after postback. I am using sqlDataAdapter with DataSet to fill the gridview. But if you want to go to the second page of the gridview list it loses the data. Would it be best to create a Session … | |
Hi, I have a page in that i have some fields name,address,when I fill and once I click submit button,The text box should be clear and cursor should be replace there...... My page extension in .php ![]() | |
Hi, I want translate my label name at run time in other language like Marathi or spanish etc But the changes must be done at run time. Is It possible If yes please tell me the procedure What task i have to perform to do this. I dont have any … | |
Hi, Please help me with some idea to create a xsl file to display tree view of any xml as html. Thanks..!!! | |
[CODE]# create GUI app = Tk() app.title("Head-Ex Deliveries") # create a label Label(app, text = "Depot:").pack() # add to Tk app window # create a text entry depot = Entry(app) depot.pack()[/CODE] I understand and have been told that placing the instance name(app) as a parameter of Tk methods and other … | |
Hi, I've 2 queries 1. how to validate a datarow which is not empty and also there were no values in it (something like when we created a new datarow and added to a gridview -- how to valdate it existence) Note: In my project i showing the emptygrid when … | |
I m working on a project. And in it i get problem for pattern matching.I have ipv4 ip address for ex " 127.3.0.1* ".I have to generate regular exp for pattern matching in Java.Can you guide me what can be its regular exp. thanks, preeti | |
In the code below I have a class that handles what folder the user is in, so they can browse through multiple folders. I know that this isn't going to work right just yet. This is the first time I've tried using classes and I don't understand them so well. … | |
I have this php based website, that displays a photo and draws data from a db to display on the page. Currently has a link to a live camera(viewed by internet browser) that opens in a separate page. I have heard/read that using jquery you can create a iframe within … | |
A short question: how do you implement a data structure like list using STL ? | |
Hellp My Code Error [CODE]; R1=SECOND R2=MINUTE R3=HOUR ORG 00H JMP MAIN ORG 03H JMP INT_1 ORG 13H JMP INT_2 ORG 30H MAIN: MOV IE,#85H SETB TCON.0 SETB TCON.2 MOV R1,#00H MOV R2,#00H MOV R3,#00H ;******** DELAY FOR 1 SECOND **************** DELAY PROC FAR START: MOV TMOD,#01H MOV R0,#16 NEW: … | |
Hi I need to write a sql script to split a string in two or more parts. e.g. I have a string: "tag: key1, key2, key3" I would like to use the ":" as a seperator and thus end up with two strings: "tag" and "key1, key2, key3" Is this … | |
I have my login page and it works, but theres no security to it. I haven't been able to find much out there except for a few articles where they just talk about how to secure your login page. Theres a couple things i would like to do, but i … | |
Hi As i m new to Daniweb so First of all regards to all experts. In spite of this that i have used interfaces and abstract classes. I am still not very sure as to where to use them and why to use them. I will be really thankful if … | |
Hello ppl, I have a mysql db and i want to know how is better to use queryes on my website in the table favorite i have many rows with id (some numbers..) and fav ( img1 img2 img3 img4 img5 etc..) and a table named img where the first … | |
Using this code I disable my submit button on the initial load. I'd like to enable it when the form is valid. I have Prototype.js on my system. I send back a chunck of html to update my target. Is it possible to send back an id so that I … | |
Hey guys. I have a question. In my program, I'm calling a Process (Internet Explorer) on button click, but I want to customize the size of the IE window being opened to something like 800 x 600 pixels. Do you know how do it? Below is my base code. [CODE]Process … | |
hello..... just now i saw "TranslateThis Button" which is the script for translate the webpage using javascript. it is more faster than google translation. is there any chance to display language flags(ex: only four flags) with out dropdown? please help me.check it here [URL="http://translateth.is/"]http://translateth.is/[/URL] | |
Hello, I am trying to use openoffice myThes code. This code is written in C and now I need that code in python. I have used swig tool to convert the c code in python. The python code has been produced. but problem is the c main function takes a … | |
HEre is my C++ program I made.... first I will put the directions and then the program. I cant seem to compile it for some reason so can anyone tell me what I did wrong please!! Write a C++ program that does the following. Besides #include <iostream>, you will need … | |
[CODE] #include <iostream> #include <string> using namespace std; int main() { string character; cout << "capacity: " <<character.capacity() << endl << "Input a sequence: \n"; getline(cin,character); string reversestring; int counter = 0; for(int i = character.length() - 1; i >= 0; i--) { reversestring[counter++] = character[i]; } cout << reversestring; … | |
public string employee { get{ return employee; } set { employee=value; } } whether this kind of property can be used in asp.net :confused: or not ? Reply ASAP :?: :-/ ....... Thank in Advance:) | |
Both the arrays contain 1750 characters each and the difference needs to be stored in third array. |
The End.