199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for suresh.chaudhari.75

<script type="text/javascript"> $(document).ready(function () { $("#Button6").on('click',function () { $("#Image1").attr('src', 'img/s.jpg'); }); }); </script> <asp:Image ID="Image1" runat="server" Height="284px" Width="284px" src="" style="height:300px;width:300px;left:400px;margin-top:100px;" ClientIDMode="Static"/>

Member Avatar for JorgeM
0
125
Member Avatar for murali2489

Hi Team, Im reading Collections. It is mentioned that while intialising priority queue, it uses natural ordering by default. But my output is not like that. Below is my code and output. public class BackedCollections { public static void main(String[] args) { PriorityQueue<Integer> pq = new PriorityQueue<Integer>(); pq.offer(3); pq.offer(1); pq.offer(5); …

Member Avatar for murali2489
0
4K
Member Avatar for SkyInfinity

Dim checks As Double Dim Fee As Double Dim Q As Double Dim Initial As Double Initial = 10 Dim number1 As Decimal = 0.1D Dim number2 As Decimal = 0.08D Dim number3 As Decimal = 0.06D Dim number4 As Decimal = 0.04D TextBox1.Text = checks If checks >= 1 …

Member Avatar for fourty
0
153
Member Avatar for Violet_82

Hello, I have looked at an example of `GridBagLayout` (JamesCherrill you must be thrilled : - )!!) and there are a few things that are not entirely clear to me. First here is the code taken from deitel and deitel “Java how to program”, chapter 25: // Fig. 25.21: GridBagFrame.java …

Member Avatar for Violet_82
0
206
Member Avatar for maricar_1

create aprogram that will identify seat plan for an airplanewith availables columns and 20 availables rows.

Member Avatar for JamesCherrill
0
86
Member Avatar for tnjiric

Hi DW community. I had an unusuall fix made the other day for one service and wanted to find out exacly what happened. The situation was the following: For this one specific ADS channel, the communication works this way: The hotel reservation is sent via $_POST['RES_DATA'] , and after the …

Member Avatar for pritaeas
0
246
Member Avatar for blueguy777

I am new to PDO, i am trying to insert values into database table. but the script is not inserting any values nor displaying error message.help me to fix this issue. <?php require 'include/database.php'; require 'include/settings.php'; if ( !empty($_POST)) { // keep track validation errors $firstnameError = null; $lastnameError = …

Member Avatar for iamthwee
0
318
Member Avatar for irfan1977

Hi, I want to create an excel file from classical ASP. My client is Win 7 / IE9, Server has Windows Server 2003 and Excel 2003 I tried HTML TABLES. Response.ContentType = "application/vnd.ms-excel; charset=utf-8" Response.AddHeader "Content-Disposition", "attachment; filename=abc.xls" Response.Write(sResponseString) AT first It worked but later on the file corrupted. While …

0
166
Member Avatar for prakash2813

Hello friends. I am having problem with displaying japanese characters into eclipse console. I use eclipse IDE. And I have two properties files. one for default english text, and second has japanese text. which is not correctly displayed when normally opened. I have used ResourceBuilder and Locale class (JDK 6 …

Member Avatar for prakash2813
0
324
Member Avatar for joshintanaka.donque
Member Avatar for peter_14
0
105
Member Avatar for eltonpiko

Hi does anybody know how to create a custom form that user can fill in excel. what i need is: lets say user select and click 1 or 3 cell a popup form open. The user then fills in the info on the form ( ex.. name, address, tour operator …

Member Avatar for Stuugie
0
3K
Member Avatar for SkyInfinity

This is the problem I am working on ( you have likely seen it before) A bank charges $10 per month, plus the following check fees for a commercial checking account: $0.10 each for less than 20 checks $0.08 each for 20 through 39 checks $0.06 each for 40 through …

Member Avatar for Reverend Jim
0
279
Member Avatar for Rebecca_2

Hi, I have an output file (.txt) from a computational chemistry program. At some point in this file, following an unknown number of iterative steps, the following table will be found: Comparison of initial and final structures : -------------------------------------------------------------------------------- Parameter Initial value Final value Difference Units Percent -------------------------------------------------------------------------------- Volume a …

Member Avatar for slate
0
263
Member Avatar for elouch

how can i paste result from excel formula to value or even store the result into a string below codes does not seem to works... For x = 2 To rowcount worksheet2.Range("B" & x).Value = worksheet2.Range("D" & x).Text worksheet2.Range("C" & x).Value = worksheet2.Range("E" & x).Text Next worksheet2.Range("C" & x).Value = …

Member Avatar for fourty
0
1K
Member Avatar for subrata_ushasi

Hi all , I have written code for sending mail with pdf file as attachment , but mail sending is not working. I used class.phpmailer.php. The files are attached herewith . Please kindly see if any solution is possible . Hence appreciated. //$mailpdf=$pdf->Output('exam_schedule.pdf', 'I'); require_once('class.phpmailer.php'); require_once('class.smtp.php'); $mail= new PHPMailer(); // …

Member Avatar for Jaycee_1
0
10K
Member Avatar for folabidowu

Please can somebody help me with the line of codes of this question:write a C++ program which inputs litre consumption given in miles/gallon and which translates these figures into the litres/kilometre format which is more common in Europe.Use the following conversion factors: 1 mile=1.609km and 1 gallon= 3.785litres

Member Avatar for Banfa
0
791
Member Avatar for TIM_M_91

Ok so I have started to create an metro application using dotnetbar within visual studio its all working apart from 'CloseModalPanel' my problem is when I try to close the panel from the usercontrol.cs to return back to my main form I am told 'UserControl does not contain a definition …

Member Avatar for Ketsuekiame
0
454
Member Avatar for MxDev

hi guys, iam workin on an application that calculate the income for certain diving centers, i using the SQLite database, i developed a database with 3 table the first one for user input, the second is to hold daily income, and the third for weekly income. i've a problem when …

Member Avatar for takonewa
0
2K
Member Avatar for garwil

I have an accommodation reservation system that allows managing agents to list all the properties under their control. There are various 'locations' that have a priority such as:- 'Beach Front' has priority of 1 and 'Off beach' a priority of 2 etc. Setting these are pretty much a straight forward …

Member Avatar for garwil
0
259
Member Avatar for murali2489

Hi Team, I am working on Collections and in order to Sort ArrayList of Objects of a Class based on their instance variable, it is mentioned in book that I need to OverRide CompareTo Method. compareTo Method works fine but Iam not getting the clear idea of its sorting logic. …

Member Avatar for murali2489
0
339
Member Avatar for sanjay@srvmedia
Member Avatar for Gulzar_1

I have a project which is running on client side.Now i have to do some modification in it.so i have to make patch file.what is patch file and how to make it.Can i make ocx,dll and exe in place of that.

Member Avatar for Deep Modi
0
450
Member Avatar for 2mhzbrain

The code below is from tutorial, my problem is my work dont work and the video tutorial is corrupted, i missed something for sure, the WHERE `articles_id`='$update_id' condition in query is not working, it wont find the corrent id to be editted. Please help. <?php require 'includes/verifycred.php'; ?> <!DOCTYPE html> …

Member Avatar for patk570
0
199
Member Avatar for haider885

I am using visual studio 2013. I am just a Beginner. Trying to make a shutdown Program in c++. its give the errors. 'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file. 'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file. 'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot …

Member Avatar for Ancient Dragon
0
325
Member Avatar for Vish0203

odd mountain is a list of odd numbers going up from 1 and then back to 1. e.g. odd_mountain of size 5 is [1,3,5,3,1] odd_mountain of size 4 is [1,3,3,1] Hint: use the list functions and a builtin function. Can anyone help me in this? all my tries are going …

Member Avatar for wshane796
0
295
Member Avatar for joseph_7

am trying to create a python code that counts words,vowels,consonats,upperand lower case letter,and the frequency which has the option like Do you want to enter the text via the keyboard? Do you want to read in the text from a file? here is how i got but idont if am …

Member Avatar for TrustyTony
0
241
Member Avatar for moozyedogawa

Bagaimana caranya ganti nilai hex dari file dat dalam file bin di vbnet dengan menggunakan satu tombol, tolong beri saya coding dan jawaban karena saya memerlukannya :). coba lihat contoh di gambar English translation: How do I change the hex value of the dat file in the bin file in …

Member Avatar for moozyedogawa
0
349
Member Avatar for clife

Hi, I am trying to prepare a shared library using another shared library. but the second shared library does not contian the definations of funtions which are defined in first shared library. lets say i have libfirst.so. in this there are no undefined functions. while creating libsecond.so, i am linking …

Member Avatar for L7Sqr
0
226
Member Avatar for Elvi

Hello! I have a exercise about matrices. here is the question: is given a square matrix [M] [N] which determines the amount of each column. Thank u!

Member Avatar for Ancient Dragon
0
138
Member Avatar for flebber

What is the best way to implement a reusable usr confirmation? Basically so that I can embed it in other functions, so that the user will get to confirm if output is ok or whether they want to recall function or quit. So it seems it should be like. def …

Member Avatar for dashing.adamhughes
0
132
Member Avatar for nhrnjic6

Let me try to explain a problem I have.I have built array of structures that contains int(num of days) and string(Name).So basicy user should enter name of a friend and days they last talked,and then make a list sorted by the names of the friends of by how recently it …

Member Avatar for nhrnjic6
0
153
Member Avatar for hey_shishir
Member Avatar for xile27

I would like to do is to read CSV file begin to display to datagridview. show all the rows in the CSV but only the columns between START and END. This code below is for import all data from csv to datagridview. If OpenFileDialog1.ShowDialog(Me) = DialogResult.OK Then Try Dim fi …

Member Avatar for tinstaafl
0
594
Member Avatar for ade.julianto

hy guys.. i have a problem how to search data by month in format dd/MM/yyyy and i use tipe data varchar(10) exm: 23/01/2014

Member Avatar for Ketsuekiame
0
622
Member Avatar for Ryan_8

I appologize if this has been answered elsewhere but the terms I search for do not turn up a good fit. I am new to everything I am trying to do here and need some direction to solve this problem. I have a string that is 'variable1=5&varible2=3&variable3=27&varible4=1' I need to …

Member Avatar for snippsat
0
160
Member Avatar for Trle94

So example i have Box1, Box2, ..., Box5. All are Textboxes Its in row for serial key, if you dont understand i can make screen. Is there anyway i could Copy/Paste all data from all boxes in format like Box1 - Box2 - Box3 etc? and in same way paste …

Member Avatar for Deep Modi
0
286
Member Avatar for LeNenne

I have a dir list box db.Close 'Kill (App.Path & "\PhoneTel.mdb") our = (Dir1.Path + "\" + File2.filename) mitt = Left$(File2.filename, 12) ' phonetel.mdb SourceFile1 = our ' DestinationFile1 = App.Path + "\" + mitt '"PhoneTel.mdb" FileCopy SourceFile1, DestinationFile1 as seen in the second image there is i will that …

Member Avatar for LeNenne
0
158
Member Avatar for dhatsah

Quick question, the answer is eluding me on the internet. Which is unusual. When we reference and call a sub/function from a class is it automatically started on a new thread or will it join the main thread? Cheers in advance.

Member Avatar for Ancient Dragon
0
216
Member Avatar for RainaAnja

<?php include 'connectMySql.php'; if(! $conn ) { die('Could not connect: ' . mysql_error()); } $sql = 'SELECT * FROM users '; $result = mysql_query( $sql); if(! $result) { die('Could not get data: ' . mysql_error()); } while($row = mysql_fetch_assoc($result, MYSQL_ASSOC)) { echo "ID : {$row['id']} <br> ". "USERNAME : {$row['username']} …

Member Avatar for matrixdevuk
0
199
Member Avatar for rohit b k

Hello everyone, In my wpf application i have user conrtols like button,rectangle,image etc.. in one side of the window(whole window is divided into 2 canvas panels) i need to implement the functionality where, if i drag any user control and drop it in other area of the window, a new …

Member Avatar for MarkAMalo
0
280
Member Avatar for munir.ashley

I have been searching google but I did not find how to display a message in C# win store app. Actually I have been developing a app in which user will input. I have built rgex. When a text box is empty & user click on validate button it would …

Member Avatar for MarkAMalo
0
371
Member Avatar for sash_kp

Structures of my tables are as follow. Table Name : timetable [Image1](http://www.4shared.com/download/MYafV7-6ce/timetableTable.png) Table Name : slot_table [image2](http://www.4shared.com/download/9Lp_CBn2ba/slot_table.png) Table Name : instructor(this table is not required for this particular problem) I want to show the resultant data in my android app in a timetable format somewhat like this: [image3](http://www.4shared.com/download/oAGiUXVAba/random.png) **Question** : …

Member Avatar for pritaeas
0
291
Member Avatar for Priti_P

Hello, I have a string $string="- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall] - [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall] For both cases,look for a value named “InstallLocation” containing the string “\Hewlett-Packard\\”, either delete or clear this value and"; and i wrote function fro wrapping it as: ` $test=wordwrap($string,"80","<br>"); echo $test; ` but it did not gave me output which i …

Member Avatar for Priti_P
0
143
Member Avatar for Priti_P

Hello, gmail Calender invitation sent from my application are not directly getting added to calender invitations. I have to make them add explicitly by add to calender. FYI: you can see the link which i found while seraching for this isue. http://productforums.google.com/forum/#!topic/calendar/cLEu8QVdb3E If you have any updates on this then …

Member Avatar for Priti_P
0
246
Member Avatar for haymen.roth.3

Successfully calculated TotalTime a person has worked and overtime he has done if total working time is greater than 08:00 but if not greater than it puts duration of time person has not worked in Overtime column BUT NOW overtime column should display that time in proper negative format e.g. …

Member Avatar for haymen.roth.3
0
209
Member Avatar for nageshwar.ch

Hi, I need to get the nearest neighbor state based on the IP address of the current state. I have done some research and found Geo plugin, which gives the state information based on the IP address. So now i need the States nearer to that IP address.How can i …

Member Avatar for cereal
0
492
Member Avatar for anish.anick

Hi All, I have a web site where few pages are shown inside an IFrame.. The problem is with session in IE.. How can i get session in IE IFrames... Pls help Thanks

Member Avatar for chaitanya_ysk
0
101
Member Avatar for COKEDUDE

Can someone please tell me what is wrong with strcmp? I don't understand why I am getting a segmentation fault when comparing array of strings and string. char *strings[100]; char nam[100]; int g = 0; while (fscanf(pFile, "%s %d", nam, &val) !=EOF) { strings[k] = nam; printf(" string is %s …

Member Avatar for Rolf_2
0
273
Member Avatar for parth2911

** # i am tring to merge two array but every time its display first array proparly but in second array its only display last element....thx....# ** #include<stdio.h> #include<conio.h> void main() { int a[10],b[10],i,j,c,d,e; clrscr(); printf("how many number in first array="); scanf("%d",&c); printf("how many number in second array="); scanf("%d",&d); printf("\nenter …

Member Avatar for parth2911
0
254
Member Avatar for islam-morad

Hello guys, I'm workin on an application that is supposed to be generating certificates. Here are the steps: 1- input certificate data 2- generate certificate number 3- create the certificate and save its data in the database i have a table in the database which will hold certificates. The database …

Member Avatar for islam-morad
0
198

The End.