Hi Team, I have an excel which has multiple rows and each row can have multiple images associated with that , which are postioned on a specific cells of that particular row.I know while we are positioning a image on top of a cell, that is not associated with the cell and it is actually floting the sheet of the workbook.My target is to read those images and at the same time mapping that image with particular cell using apche POI. I have two questions actually: 1. Is there any way to associate an image with a excel cell so …

Member Avatar
+1 forum 0

Hi, I am trying to learn OOP with c++ with the help of Turbo C++ version 3.0 and "C++ Primer Plus" by stephen prata. according to the book, the NEW convention for including the iostream header file in c++ is in the following way: #include<iostream> but it causes an error saying : unable to open include file "IOSTREAM" however the following code works: #include<iostream.h> but it is supposed to be the OLD convention Moreover , according to the book, it is necessary to use the following: using namespace std so that we can use cout and cin directly without having …

Member Avatar
Member Avatar
+0 forum 6

Hello! I am using nebeans ide. I have made two jframes in my project, jframe1 and jframe2. One for login information and one for admin page. My project ran succesfuly i.e when i enter correct information on login page then admin page is displayed. But one problem is that after displaying admin page, login page should disappear but in my case login page(i.e jframe1) also remained open alon with admin page. What code should i add to hide or exit login page only(i.e jframe1)?

Member Avatar
Member Avatar
+0 forum 4

Hello to all! I made a small project using Netbeans8. I named my project smallCalcApp. And then i add a new JFrame File in my project and in that file I handled events of components which i put on form. When I run that file , it ran successfully and frame appeared on screen and I used my application . but when I run project, it only shows a statement "build successfuly" but no any form appears. Please tell me that how I can run a project in a way that all the GUI files in it also run along …

Member Avatar
Member Avatar
+0 forum 1

Team, Presently i have some 20 files which i need to copy and store in the common directory. below is the example: script name: dir.sh cp /tmp/abc /home/abc/xyz cp /tmp/def /home/abc/xyz cp /tmp/hij /home/abc/xyz The above script is run, it copies the source files on the destination directory(xyz), wanted to make it more interesting. a)it should prompt me if the directory exist/else create it b)cp command should be taken as input file, so that incase i have more changes i can directly make changes to the file where all copy commands are stored c)maintain the copy files on the basis …

Member Avatar
Member Avatar
+0 forum 1

I have a client who had hired a web developer to help him take his site to the next level. This developer moved 3 of his sites to a server that provides no tech support whatsoever. Now this web developer has sold his company and moved on to another job, leaving my client with a lot of problems. I've called the hosting company, but they refuse to help, stating they cannot give him any passwords, nor can they help him retrieve his files. They have sent me instructions on how to access the server via Putty to reset the root …

Member Avatar
Member Avatar
+0 forum 10

Hi all, I am trying to compare output from DB The code below works on 1 check, but I require to do this on multiple products like so `if rowProduct("GRPCODE") <> "Cross Hire" or rowProduct("GRPCODE") <> "Boiler Ancillaries" then` etc but the above line does not work as I have coded it? What is the problem with the code. Thanks in advance if rowProduct("GRPCODE") <> "Cross Hire" then ' Elimination unwanted code if not rowStock.eof then ' stock found do while not rowStock.eof ' loop through stocl if instr(RemoveItems, "," & rowStock("ITEMNO") & ",") = 0 then ' item not …

Member Avatar
Member Avatar
+0 forum 1

fstream file; file.open("PasswordGenFile.dat",ios::out); In writing into a .dat file what does the following line mean? file.write((char *) this, sizeof(PasswordGenerator)); And how can i convert this bit of code if i want to write it into a .txt file?

Member Avatar
Member Avatar
+0 forum 1

Hello to all! My question is that can we develop a real time datawarehouse on VB.net? Or should i use Java? In other words, has VB.net such functionalities of features which can make a real-time data warehouse?

Member Avatar
Member Avatar
+0 forum 3

Simulate a patient’s lines using queues with enqueue ( ), dequeue ( ) and printQueue ( ) operations. Define a queue node in the following manner: typedef struct queueNode { int patientID; // Unique identifier; starts at 1; after 24 hours should be reset to 1 int checkupTime; // Random time; int totalTime; // totalTime = checkupTime + sum of checkupTimes of patients in line //before this patient; units in minutes struct queueNode *pNext; } QueueNode;  You will randomly generate arrival times and checkup times of patients such that patients arrive every one to five minutes and their checkup …

Member Avatar
Member Avatar
+0 forum 4

Hi Dw How can I delete a registry key for other program, I just checked my registry and the virus was registered under the same registry key of my other program and now I want to use java as also part of learning java and the method of accessing and deleting a particular registry. Any suggestion, link, structure code will be appreciated. Thank you

Member Avatar
Member Avatar
+0 forum 11

Alright, so I found a tutorial on how to use lists to make a "TreeList" type thing, basically a list, ordered or unordered, that has a nested list that is collapsible. However, it doesn't seem to be working for me. Here's some code that I'm sure you will figure out. JavaScript: window.onload = function() { addEvents(); } function addEvents() { activateTree(document.getElementById("navigation")); } function activateTree(oList) { for(var i = 0; i < oList.getElementsByTagName("ul").length; i++) { oList.getElementsByTagName("ul")[i].style.display="none"; } oList.addEventListener("click", toggleBranch, false); } function toggleBranch(event) { var oBranch, cSubBranches; oBranch = event.target, cSubBranches = oBranch.getElementsByTagName("ul"); if(cSubBranches.length > 0) { if(cSubBranches[0].style.display == "block") { …

Member Avatar
+0 forum 0

gud day! why my upload files not really uploading in my online server? im using this ref. http://www.tizag.com/phpT/fileupload.php but in offline its working the file upload was move to my localhost folder.

Member Avatar
Member Avatar
+0 forum 7

I have to generate the mail to their mail address specified at the time of the registration to specify the username and password. So i tried the following code to send email but the email is not generated showing me either "Failure sending mail" or "Connection timed out". So please help me to get out of this problem. Thanks in Advance try { System.Web.Mail.MailMessage message = new System.Web.Mail.MailMessage(); message.From = txtFrom.Text.Trim(); MailMessage objMailMessage = new MailMessage(); objMailMessage.From = new MailAddress(txtFrom.Text.Trim()); objMailMessage.To.Add(new MailAddress(txtTo.Text.Trim())); objMailMessage.Subject = txtsubject.Text.Trim(); objMailMessage.Body = txtMessage.Text.Trim(); objMailMessage.IsBodyHtml = false; SmtpClient objSmtpClient = new SmtpClient(); objSmtpClient.Host = "smtp.gmail.com"; objSmtpClient.Port …

Member Avatar
Member Avatar
+0 forum 1

import java.util.Scanner; import java.lang.Math; public class Exercise1 { public static void main(String[] args){ double x,sum = 0.0 ; Scanner scan = new Scanner(System.in); System.out.print("Enter the number : "); x = scan.nextInt(); for(double i=0;i<=(x+1);i++){ Math.pow(x, i); fact(i); double y = (Math.pow(x, i)/fact(i)); sum += y; } System.out.println("The e^"+x+" for "+x+" is :"+sum); } public static double fact(double i ){ double val; if(i == 0){ val = 1;} else{ val = i*fact(i-1);} return val; } }

Member Avatar
Member Avatar
+0 forum 3

How do I use other libraries in C++? Specifically using the PDCurses library in the latest version of Visual Studio Express? What's the general way to set a libray up, how to use it? Thank you for your time and patience.

Member Avatar
Member Avatar
+0 forum 3

some one tell me that if we want to terminate this program on -1 then which condition we use.. please help... #include <iostream.h> #include <conio.h> main() { int arr[10],i,sum=0; for(i=0;i<10;i++) { cout<<"Enter values:"; cin>>arr[i]; sum=sum+arr[i]; } cout<<"Sum is equal to="<<sum; getch(); }

Member Avatar
Member Avatar
+0 forum 1

please help me to generate maps based on given values from the database(eg longitude and latitude,depth,salinity etc) please help me wid the code.

Member Avatar
Member Avatar
+0 forum 1

**i am tring to this way but answer is not write....thx...** #include<stdio.h> #include<conio.h> void main() { float a[10],m; int i,j,n,t; clrscr(); printf("how many number in array\n"); scanf("%d",&n); printf("enter %d number\n",n); for(i=1;i<=n;i++) { scanf("%f",&a[i]); } for(i=1;i<=n;i++) { for(j=i+1;j<=n;j++) { if(a[i]>a[j]) { t=a[i]; a[i]=a[j]; a[j]=t; } } } if(n%2==0) { m=a[(n/2)+((n/2)+1)]/2; } else { m=a[(n+1)/2]; } for(i=1;i<=n;i++) { printf("%.1f\t",a[i]); } printf("\nmiedan value is %.1f",m); getch(); }

Member Avatar
Member Avatar
+0 forum 2

Can any one tell me what I am doing wrong. I am sorting a single linked list. void ll::sort() { for(int i=0;i<size-1;i++) {node *cptr = fptr; for(int j= 0;j<size-1;j++) { if((cptr->no) > (cptr->nxt->no)) { if(cptr == fptr) { node *c2ptr = cptr->nxt; cptr->nxt=c2ptr->nxt; c2ptr->nxt=cptr; fptr = c2ptr; } else { node *c2ptr = cptr->nxt; node *tptr = fptr; while(tptr->nxt!=cptr) { tptr=tptr->nxt;} cptr->nxt=c2ptr->nxt; c2ptr->nxt=cptr; tptr->nxt=c2ptr; } } cptr=cptr->nxt; } } }

Member Avatar
Member Avatar
+0 forum 8

I am trying to plot a graph in matlab using c++. But the matlab is only giving me an empty graph. void portfolio::viewGraph() { double value[20]; //store portfolio value double time[20]; //store time int i=0,j=1; double cash,p; ifstream in_file("transactionhistory.txt", ios::in); string c; while(in_file>>cash>>p>>c>>c>>c>>c>>c) { value[i]=(p+cash); cout<<p<<endl; time[i]=j; cout<<time[i]<<endl; i++; j++; } Engine *ep; if (!(ep = engOpen(NULL))) { return ; } int t=20; mxArray *A; // assume a gets initialized, all values A=mxCreateDoubleMatrix(1,i, mxREAL); memcpy((void *)mxGetPr(A), (void *)value, sizeof(double)*i); engPutVariable(ep, "value", A); mxArray *B; // assume a gets initialized, all values B=mxCreateDoubleMatrix(1,i, mxREAL); memcpy((void *)mxGetPr(B), (void *)time, sizeof(double)*i); engPutVariable(ep, "time", …

Member Avatar
+0 forum 0

Hello, Excuse me. I have been using vb 6.0 for more than one year.But now i want to use vb.net. i have setup of visual studio(2010) in my computer but yet i have not installed it on my pc. please tell me that how it will help me in working on vb.net? and how to use it after installing?and, is there any need to install vb.net separately or it will included in visual studio(2010)?

Member Avatar
Member Avatar
+0 forum 4

Write C++ a program that reads a person's age in years and print his/her age group. See the table below. Age Group name 1 year Childhood 2-3 years Infancy 4-5 years Preschool-Age 6–12 years School-Age 13–17 years Adolescence 18–29 years Young-Adulthood 30–39 years Thirties 40–64 years Middle-Age 56–48 years Aged >85 years Very-Old You have to using switch statement.

Member Avatar
Member Avatar
+0 forum 10

this keeps popping up in a separate tabe in Google Chrome. Yesterday, it had a cartoon picture of a curvaceous woman with brown skin and blond hair whose teeth were being extracted with a pliers. Underneath the pliers was the caption: "Belief"

Member Avatar
Member Avatar
+0 forum 5

This chat sound notification script works on Internet Explorer, Safari and google chrome. But does not work on mozila firefox. can someone help me to fix that or an alternative that can work in all browsers <html><head></head> <script type="text/javascript"> var soundObject = null; function PlaySound() { if (soundObject != null) { document.body.removeChild(soundObject); soundObject.removed = true; soundObject = null; } soundObject = document.createElement("embed"); soundObject.setAttribute("src", "notify.wav"); soundObject.setAttribute("hidden", true); soundObject.setAttribute("autostart", true); document.body.appendChild(soundObject); } </script> <body> <embed src="notify.wav" autostart=false width=0 height=0 id="boom" enablejavascript="true"> </form method="post" action="dd.php"> <input name="message" type="text" placeholder="Chatting" /> <input name="reciever" type="hidden" value=""><br> <input name="submit" type="submit" value=Chat3 id="post_button" onClick="PlaySound()"/> </form> </body> </html>

Member Avatar
Member Avatar
+0 forum 1

I'm a beginner to vb6.. I'm doing a attendance project. I'm using datagrid to view the details from database. i'm trying to update the database through datagrid. can any one help please.. i've searched every where data adapter is used to update. i can't find anyother sources..

Member Avatar
+0 forum 0

I want to backup my database from vb.net 2010 and i am able to do this using mysqldump through vb.net 2010, but i want to backup my mysql database without useing mysqldump only by vb.net code. please help me ???

Member Avatar
Member Avatar
+0 forum 3

I'm using cloud. I want to mount a folder in the cloudstack management server to the system where xenserver is installed. But while doing it, error occurred. I have done so many things but error exist. [root@xenserver2 ~]# mount -t nfs 10.176.14.26:/mnt/secondary /secondarymount mount: 10.176.14.26:/mnt/secondary failed, reason given by server: Permission denied 10.176.14.26 is the management server ip. Can anyone help me? Thanks in advance!

Member Avatar
Member Avatar
+0 forum 2

Write a program that asks the user to enter the number of Research projects done by 10 different students (Student 1, Student 2, ..., Student 10). Once the data has been entered the program must analyze the data and output the student who did the most Research projects

Member Avatar
Member Avatar
+0 forum 8

Hey peps I've just used this code to block a website Imports System.IO Public Class Form1 Dim path As String Dim sw As StreamWriter Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load path = "C:\Windows\System32\drivers\etc\hosts" sw = New StreamWriter(path, True) Dim Block As String = "\n 127.0.0.1 www.youporn.com" sw.Write(Block) sw.Close() MsgBox("Site has been registered to system to be blocked", MsgBoxStyle.Information, Application.ProductName) End Sub End Class how can I read the hosts file and remove the address that I've just registered because I can not delete the Host file like this. My.Computer.FileSystem.DeleteFile("C:\Windows\System32\drivers\etc\hosts") I want to read it …

Member Avatar
Member Avatar
+0 forum 7

The End.