199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for malatamil

i want to fix the image size, becaz if image size is too large then it will take more loading time so i have to reduce that. someone help me to do image scaling method. if size of image width is 800px and i want it in 300px width what …

Member Avatar for malatamil
0
115
Member Avatar for kannan mangalar

im using api for twitter post, when i post content, twitter not generate the status id, i got this below error Fatal error: Uncaught exception 'EpiTwitterNotAuthorizedException' with message '{"errors":[{"message":"Could not authenticate you","code":32}]}' in

Member Avatar for kannan mangalar
0
278
Member Avatar for sweta87
Member Avatar for malatamil

here i have to store comapnyname,contactperson,city,place,maincategory,subcategory values.but i have 4 tables with data's like maincategory,subcategory,city,place. so how can i store the below data's in table.in spa table i added maincategoryid and cityid is enough or else these city and category i have to store in another table. please give some …

Member Avatar for malatamil
0
308
Member Avatar for Raadha

i have a database 'phar' which need to subract its values 'stk' through the request made and gets updated to the db. i used arrays to do subraction.. but not able to store back the values to the db in its position.. my calculations work perfect, but not able to …

Member Avatar for Kyle Wiering
0
251
Member Avatar for Milton Neal

I'm working on a bit vector class that I'm using in a current project. Basicly BitVector is a container class for storing and manipulating data a bit level. I have two member fuctions for "setting" and "getting" bits at a given index. // Returns the bit at the specified index. …

Member Avatar for Milton Neal
0
321
Member Avatar for rahulhog

How to store string to a variable which contains both single & double quote? The string should be dynamic, not static. For example : *thisis'a"string* another string is : *this'i"sastring* The quotes will be vary its position. Is it possible to store these type of string to a variable? Thank …

Member Avatar for diafol
0
247
Member Avatar for Patrick_6

Hi everyone, I wanted to write C++ a program that's going to logon to my twitter and alert me if I have any new messages or tweets. I found an article that explains how to log on to a website with libcurl, https://www.hackthissite.org/articles/read/1078. Using that article I've written a simple …

Member Avatar for Patrick_6
0
793
Member Avatar for eedirex

Hi, Am a final year computer sci student in the university,and have been assigned an online test application for my final project.Please anyone with ideas on how i can carry out this project should please forward their help. Thanks!

Member Avatar for Theirligh
0
321
Member Avatar for adampday

Hello, I was wondering how to pass an array to a class constructor. When I run my program, I get the same gross pay for every different employee even if I enter in a different number of hours for each one. That might be where I have a problem. Any …

Member Avatar for wrathness
0
106
Member Avatar for Centorpe

I have a form which contains a datagridview and 2 textboxes. I have managed to populate the 2 textboxes as required by click of relevant row in datagridview. With the same click I also open another form which also contains 2 textboxes of the same name and these require the …

Member Avatar for Centorpe
0
202
Member Avatar for chris.immanuel

Hi Folks, I am having problem with my web design. I am making a query that involves two table but it doesnt do anything when i click submit. do i make mistake in the query ? my code is like this, <?php if ($_POST['action'] == 'show'){ $requestCompSql = "SELECT REQUEST_COMPONENT_CUTTING.PROJECT_NAME, …

Member Avatar for AndrisP
0
188
Member Avatar for asifalizaman

i need someone to assist me in writting lamda expression. THE CODE IS ABOUT 15 LINES use this code snipt List<fruit> fruits = createFruitArrayList () ; Frit LargeApple = null; for (Fruit fruit:fruits) { if (fruit.getType() == null largeApple = fruit; } } } just rewrite plz

Member Avatar for jwenting
0
177
Member Avatar for nadiam

hey guys so i have a table where the `<tbody>` is populated by data in php. a row has 4 columns: name, unconfirmed, attending and unattending. the last 3 columns are radio buttons(echoed). the problem is that the radio buttons cannot be checked. for example for first row unconfirmed is …

Member Avatar for nadiam
0
2K
Member Avatar for momal

I have a datalist, and by clicking it, the whole database records pop up. What I want to do is, which ever record is clicked ONLY that record should pop up. **This is my code for the data list and the pop up of all records.** .MY_POPUP_INNER_SMALL { background: none …

Member Avatar for momal
0
316
Member Avatar for burhanahmed92

Is there a way to load a page for a minute and then fetch content of a page. I am using new DOMDocument method to fetch content from a page which is working fine. Problem is that i want to load a page for a minute because the page from …

Member Avatar for pritaeas
0
308
Member Avatar for nadiam

Im trying to delete from multiple tables using full outer join like this: $del_id = (int) $del_id DELETE contact, child, spouse FROM contact FULL OUTER JOIN child ON child_name = c_name FULL OUTER JOIN spouse ON s_name = name WHERE contact_id = $del_id I get warning/notice: unknown table contact in …

Member Avatar for nadiam
0
196
Member Avatar for MasterHacker110

I'm trying to write a search enigne. Nothing fancy like google or so, just a simple one for educational purposes. I have done a little research and I know that Google uses Python, Java and C++. I on the other hand know C++, PHP, some Java and C# and even …

Member Avatar for kindo
0
247
Member Avatar for mark103

I need some help with my PHP, I'm generating to make the xml output. In the xml output, I can see that I'm using double quotes but i want to use the single quotes. I want to add the single quotes in the <programme channel= tag to make it like …

Member Avatar for pritaeas
0
168
Member Avatar for ZenMartian

Hi Folks! This is probably an easy one for most of you php people :-) I've got a PHP form that's working fine, yet after I SEND the form, it goes to a web page with a "Thank You" message on it (ala the php {print} command), ok... what I …

Member Avatar for rahulyadav1916
0
15K
Member Avatar for Sinan_2

I am new to Qt and I'm trying to connect a remote database. QSqlDatabase db = QSqlDatabase::addDatabase( "QMYSQL" ); db.setHostName("IP ADRESS"); // local or IP db.setPort(3306); // Default port is 3306 db.setUserName("DB USER"); // example root db.setPassword("PASSWORD"); db.setDatabaseName("DB NAME"); if( !db.open() ) { qDebug() << db.lastError(); qFatal( "Failed to connect." …

Member Avatar for BobS0327
0
2K
Member Avatar for custurd122000

I'm trying to read a text file of a graph and print information about the graph including the order and size of the graph, rather it is a directed or undirected graph, if it is directed the in and out degree, and the and a list of all vertices for …

0
141
Member Avatar for tgreer

I'm revisiting a topic previously discussed in this thread: [url="http://www.daniweb.com/techtalkforums/thread23030.html"]http://www.daniweb.com/techtalkforums/thread23030.html[/url] The basic issue is this: when using a [b]StreamReader[/b], and [b]ReadLine[/b], to process a text file, you cannot determine where you are "at" within a file. This is because [b]StreamReader[/b] doesn't actually read from a FILE, it reads from a …

Member Avatar for Cesc_1
0
9K
Member Avatar for alyons

Do anyone know how to set a gif image as the background to my coding below? I just want it for my first window and not Demo1? The gif image is nameed "python_wallpaper.gif". from tkinter import * import threading from graphics import * class Intro(): def __init__(self,master): self.master = master …

Member Avatar for ZZucker
0
9K
Member Avatar for cassie_sanford

I have to write a program that must compute and display the charges for a patients hospital stay. first the program should ask if the patient was admitted as an in patient or an out patient. If the patient was as an in-patient the following data should be entered: the …

Member Avatar for rafiq_1
0
830
Member Avatar for gogs85

How to select image from folder by name in mysql. This is mysql query for other rows $query = "SELECT `posts`.`id` AS `post_id`, `categories`.`id` AS `category_id`,`title`,`contents`,`date_posted` ,`categories`.`name` FROM `posts` INNER JOIN `categories` ON `categories`.`id`= `posts`.`cat_id`"; how to select row 'image' where is name of image and call that image from …

Member Avatar for gogs85
0
1K
Member Avatar for johndohmen1963

Who can help me with the folowing I have javascrip variable and a php datatable And i wand to read the datatable with the javascript variable here is the code i have if(!isset($_POST['bewerk_gegevens'])) { ?> <script language="javascript" type="text/javascript"> var newland = document.getElementById("geboorte_land").value; if ((newland != "" && newland != "Duitsland") …

Member Avatar for johndohmen1963
0
402
Member Avatar for PerplexedB

Until now I've been replacing Enter key behaviour in controls (in base classes) with Tab key behaviour with the following code in the keypress event handler : If e.KeyChar = Chr(13) Then SendKeys.Send(vbTab) e.Handled = True End If Although it's worked for me until now, I have serious doubts about …

Member Avatar for Reverend Jim
0
1K
Member Avatar for sireiz

Is there any syntax error in this code or query because i am not getting the required report? I have created a JFrame with JDatechoosr. When i select the dates and click view report, it gives me empty report while i know there is data within the specified date range. …

Member Avatar for sireiz
0
543
Member Avatar for uday.raj.73345
Member Avatar for cambalinho

i'm testing the win32 scrollbars, but i'm with 1 problem: when i use the SB_THUMBPOSITION message, why the window isn't repainted( the WM_PAINT message isn't used)? case WM_VSCROLL: switch (LOWORD (wParam)) { case SB_LINEUP: VerticalScroll-=1; break; case SB_LINEDOWN: VerticalScroll+=1; break; case SB_THUMBPOSITION: VerticalScroll=HIWORD (wParam); break; case SB_PAGEDOWN: VerticalScroll+=10; break; case …

Member Avatar for cambalinho
0
977
Member Avatar for TheFearful

I am confused on how to implement this. I was thinking a loop, but the loop I was doing would only fill the array and make the stack full. Any tips/suggestions I can use to help me get through this mental block? I put the code for all three of …

Member Avatar for TheFearful
0
217
Member Avatar for OsaMasw

Hello guys I want to create something like SEO link i have website with three pages, but the header is the same **header.php** <!DOCTYPE html> <html> <head> <style> .active{ background-color: #365214; } ul{ display: inline; } li{ display: inline; } </style> <title></title> </head> <body> <ul> <li><a class="active" href="index.php">HOME</a></li> <li><a href="a.php">ABOUT</a></li> …

Member Avatar for OsaMasw
0
236
Member Avatar for castajiz_2

Is there a easier way to move and postion the object from the toolbox in visual studio asp.net framework.When I say easier i reffer to windows forms framework object positiong where moving objects accross the form is a piece of cake.

Member Avatar for castajiz_2
0
291
Member Avatar for mark103

Hi all, I need some help with my php script. I'm working on the script to parsing the time from my other script so I can convert the hours into format, example: the hours I parse is 1:00 AM so I can convert it to 20140427010000. Here is the list …

Member Avatar for diafol
0
323
Member Avatar for stokie-rich

Hey guys I have found this code to create a quiz, I'm getting the following errors when I try and add a question Warning: require_once(scripts/connect_db.php): failed to open stream: No such file or directory in C:\xampp\htdocs\addQuestions.php on line 33 Fatal error: require_once(): Failed opening required 'scripts/connect_db.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\addQuestions.php on …

Member Avatar for stokie-rich
0
339
Member Avatar for george08.08

I am trying to get my head around the functions etc in xslt with xml. I have made a dummy xml file <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="books.xslt"?> <books> <book> <title>Hello Dolly</title> <author>John Thumb</author> <readers> <young_readers>17</young_readers> <older_readers>23</older_readers> <total_readers>40</total_readers> </readers> </book> <book> <title>Goodbye John Thumb</title> <author>Dolly Smith</author> <readers> <young_readers>12</young_readers> <older_readers>3</older_readers> <total_readers>15</total_readers> …

Member Avatar for george08.08
0
280
Member Avatar for Andriy_1

Hello. can You help me with my program. I have to enter two lines from the keyboard, and in the third line program must write the same words from the first two lines. I also can use standart Pascal functions. But in this code I use my own function and …

Member Avatar for SalmiSoft
0
240
Member Avatar for lavanya uppala

Hi sir this is lavanya. I am begginer in vb.net. I have a problem in deleting the first two words in a string. I am not using the loops.

Member Avatar for PerplexedB
0
1K
Member Avatar for Junzification

Hello buds, I want to know if this is doable: I have a website then on my homepage there will be two buttons. The buttons are A and B. Button A: will go to a page Option A Button B: will go to a page Option B So when visitor/user …

Member Avatar for SuperiorWD
0
131
Member Avatar for Mike Bishop

I have a datagridview with 10 rows I can select mutiple rows by using Ctrl & Mouse click but what I would like to do is use a button to select the row. I.E the user could select row one, click the button and row one would be selected then …

Member Avatar for Mike Bishop
0
4K
Member Avatar for lena1990

hi all i have ekiga open source code that i want to modify but when i open the downloaded code in the text editior all i get is rubish i download the source from this website [Click Here](http://ekiga.org/download-ekiga-binaries-or-source-code) thanks in advance

Member Avatar for lena1990
0
315
Member Avatar for anku83

package pkgnew.approach; import java.io.*; import java.io.IOException; import java.util.*; import java.io.BufferedReader; import java.util.ArrayList; import pkgnew.approach.NewClass1; public class NewApproach { public static void main(String[] args) { NewClass1 no=new NewClass1(); BufferedReader br = null; Date d1; int n, c, d,k, swap,i=0,j=0,no_of_selected_item=0,newsupport=0,multiply=1,support=0,t=0; int numItems,numTransactions; double minSup; long diff; String configFile = "F:\\DP1\\DPmodification\\Config.Datasetsmall.txt"; try{ FileInputStream …

Member Avatar for anku83
0
215
Member Avatar for Michele T Roo
Member Avatar for Rubinder singh

I used to have turbo c++ but it is outdated now, so the only problem i am having with that is that there was a great help documentation in turbo c++ for the language and i could just browse to any function of c++ and get its details. After turbo …

Member Avatar for vmanes
0
3K
Member Avatar for Rahul47

Well, this morning I tried to write a program to update environment variable's list. And I got stuck at a very crucial point. I think am making some silly mistake. A second opinion will be helpful. Algorithm: 1) Take complete path of environment variable into a string variable 'env'. 2) …

Member Avatar for N1GHTS
0
222
Member Avatar for Alxprog

In my book a new tabpage is created programmatically this way: auto tabPage3 = gcnew System::Windows::Forms::TabPage(); but I want to do it without "auto" word because that's a new 2010 feature and I use VS2008. The MSDN solution didn't help. I hope it'll take just a little tweast to solve …

Member Avatar for Alxprog
0
234
Member Avatar for smitsky

If I prompt the user for n number of printers, is there a way of creating n number of vectors on the fly as opposed to creating vectors and putting them in your class structure at the start? I have to create as many printer queues as a user specifys. …

Member Avatar for smitsky
0
209
Member Avatar for Alxprog

There are tips on how to install Boost with Visual Studio, there are tips on how to install Boost with Qt , so my questions is : is it possible to install and later work with Boost with the two IDE's mentioned above ( I have them both on my …

Member Avatar for Alxprog
0
127
Member Avatar for James_30

What is a goodway to code a btn ation. To inialize adeaktop app from another desktop app. More over,run thejar use a eclipes build.xml . I built both apps in netbeans environment .

Member Avatar for James_30
0
166

The End.