199,114 Archived Topics
Remove Filter ![]() | |
How to write a coding using eclipse. what r the configurations need to execute java program in system. | |
Hi, I am developing a web application using JSP, servlet in ubuntu. I want to convert a JSP page into PDF. I dont want to store the PDF file in my local drive. Just convert into PDF and view Dynamically while i click a Button. ## For Example, ## In … | |
Connection is successful. No typo's were made (look below). If read it from top to bottom, some of the tests that I show you will seem stupid. Until you look at the end (still keep reading from top to bottom) and find out that it's one of the indicators. SQL … | |
I have a database in mysql which contains of four tables (Student, Units, Offering and Enrols_in) and i want to create an enrolment page where students can enrol in units which will be offered in each semester. Student names will be entered in the database and they will use their … | |
Hello Everybody.. Can you suggest me PHP code to check whether a domain is available or not... Thanks in Advance | |
void PatratTexturat(PATRAT patrat, int numar) { switch(numar) { case 1: if(numar==1) glBindTexture(GL_TEXTURE_2D, id_textura[2]); else glBindTexture(GL_TEXTURE_2D,id_textura[3]); break; case 2: if(numar==2) glBindTexture(GL_TEXTURE_2D, id_textura[4]); else glBindTexture(GL_TEXTURE_2D, id_textura[5]); break; case 3: if(numar==3) glBindTexture(GL_TEXTURE_2D, id_textura[6]); else glBindTexture(GL_TEXTURE_2D, id_textura[7]); case 4: if(numar==4) { glBindTexture(GL_TEXTURE_2D, id_textura[8]); } else { glBindTexture(GL_TEXTURE_2D, id_textura[9]); } break; case 5: glBindTexture(GL_TEXTURE_2D,id_textura[10]); break; … ![]() | |
How do I modify minhook in order to be able to hook undocumented functions? I'm a beginner and this is beyond me. | |
Hello, This is my first time posting on this site and I am a beginner VB programmer. I have been able to solve many of my previous questions through existing threads but have not found what I need to solve this problem. My problem is that I have a listbox … | |
Hi, I have a hooked function, NtTerminateProcess. I am trying to get the full path to the process handle passed to TerminateProcess. The injected app is taskmgr and GetProcessImageFileName is returning ERROR_ACCESS_DENIED. I even tried opening another handle to the process to ensure I have the required access rights, like … | |
I've been looking for an answer on this problem, from what I know you cannot embed, whether that is using for example <object> a SVG file and style that SVG file externally, whether that is a external or embedded CSS file if there is a method that I'm unaware of … | |
Hi, I have one CSS. .buttonSize { min-width : 58% } Actually, I have two buttons, with text "Hovers" & "Copy". My button without any css taking spaces which can wrap the text size. This way size of two buttons is not same. What I tried: a) I have hacked … | |
Hi All, In below design i would like to know the appraoch of deletion of base class pointer .It is pritty clear that deletion of base class object obj won't take place inside Draw destructor. Apart from this same code i have tested using unique_ptr and as expected it is … | |
hello to all! I am developing a data warhouse as my final year project. I have made my star schema succesfully. Now i want to make a query interface for end users so that they run their desired queries. But i am unable to understand that what type of interface … | |
Can anyone please tell me how do I get the total row in my ms access table and put in my label.text at vb.net? | |
Hello Dani web. This is my first post here so please bear with me if its not 100% correctly setup. Anyways I'm a rookie to php and mysql and I've run into problem with my final project in my first php class. The error given is: "Warning: mysql_num_rows() expects parameter … ![]() | |
How do you catch incorrect entries? Instead of yes or no the user enters something else? def weather(): import sys raining=input('Is it raining? ').lower() if raining == 'yes': ask =(input('Do you have an umbrella? ')).lower() if raining=='no': print('Go outside 1') sys.exit(0) if ask == 'yes': print('Go outside 2') sys.exit(0) while … Programming python | |
Hi All, In below code i am performing search in map through key value but not able to get the desire results though common elements (intersection) is present in both lists. #include <iostream> #include <stdio.h> #include <stdlib.h> #include <map> using namespace std; struct node { int data; struct node* next; … | |
My code is: var customIcons = { restaurant: { icon: 'http://labs.google.com/ridefinder/images/mm_20_blue.png' }, bar: { icon: 'http://labs.google.com/ridefinder/images/mm_20_red.png' } }; function load() { var map = new google.maps.Map(document.getElementById("map"), { center: new google.maps.LatLng(37.4805016667, 126.952741667), zoom: 12, mapTypeId: 'roadmap' }); var infoWindow = new google.maps.InfoWindow; // Change this depending on the name of your … Programming javascript raspberry-pi xml | |
Hello, everyone. I need help with something, and I am hoping that someone could point me in the right direction. Since I am not sure what the technique is called, I will try to explain what I need to the best of my ability. I am trying to create a … | |
Probably just overlooking something small but its 5:30 am here so please forgive me. $sql = "SELECT * FROM accounts WHERE username = $testuser"; $result = mysqli_query($conn, $sql); if (!$result || mysqli_num_rows($result) > 0) { // output data of each row while($row = mysqli_fetch_assoc($result)) { echo "id: " . $row["id"]. … | |
I need to use a text box with date picker to select the date and based on the selected date when i click on go button sub folders should be created in FTP Folder for that date,month and year that is given in text box.This should be done using windows … | |
hello i started visual basic in access and wnted to use INSERT INTO , thats the code: Dim arr As String arr = "INSERT INTO customer product(user) VALUES('" & user.Text & "')" thanks for help | |
**Bold Text Here**Scenario A die has six faces labelled 1, 2, ..., 6. When a die is rolled, any face has equal chance of showed up. A class die has, among other methods, the method roll() which rolls the die and the method showFace() which reports the face of the … | |
Recently I attempted to install Pygame for Python 2.5 on my new computer. The computer runs Windows 10 32-bit, and I have installed a 32 bit copy of Pygame, so there shouldn't be problems there. Whenever I enter my Python shell to attempt to import, this error happens: >>> import … | |
I am having problems installing PayPal IPN. It returns INVALID every time I process it. Is there something wrong with my code Code: <?php $db_host = 'localhost'; $db_user = ''; $db_password = ''; $db_database = ''; // Connect and select database $connect = mysql_connect($db_host, $db_user, $db_password); $select_db = mysql_select_db($db_database); // … | |
I have a register page that sends activation link to the registered user however when clicking the lick it takes me back to a register page, please assist ASAP. Bellow is my SendActivationEmail methos please Help. private void SendActivationEmail(int userId) { string constr = ConfigurationManager.ConnectionStrings["LoginDBConnectionString"].ConnectionString; string activationCode = Guid.NewGuid().ToString(); using … | |
Im using the youtube api to search for videos. The information gets displayed perfectly on the page similiar to the youtube page layout. I have a function that when each div is clicked it will create an iframe fixed to the top of the page playing the video that was … | |
Hi All, am trying to use build a secure login page. I have written necessary functions and the registrations works fine (with secure hash + salt passwords created) but the verification never goes through. Can someone point me in the right direction? Imports System.Data Imports System.Data.SqlClient Imports System.Security.Cryptography Imports System.Web.Security … | |
hi james, stultuske this is jus a question. do you have here any tuturials on object oriented programming, abstract classes, subclasses, method, overidering methods and so on. Programming java | |
Hi,all .How would i make client/server app,to calculate surface area of the cylider. The server must read the cylinders radius and length from the client and calculate the surface area of a cylinder. The server will then return a double representing the surface area of a cylinder to the client. … | |
Hi all, How can I use linked list for files ,, For example : Class C extends B Class B extends A So, if I want to reference to C and when deleted extends from first statement , the inheritance must be stoped and not point to B ... Can … Programming java linked-list | |
I tried here in this code to insert struct information then assign to vector and get the smallest age .. i want to do that with vector to learn more about it .. can anyone help me to fix it .. and explain to me what's wrong in my thought … | |
I tried loading a swf through <mx:SWFLoader source="game.swf" /> (The game.swf is a flash free game if this helps) But it displayed blank, white screen. Why? | |
> i have bind 10 random post form json file in to marquee but the problem is arising , its show like list and showing as marquee works kindly check the code and the output , do some suggestion what to do . Thanks in advance <html> <head> <meta charset="UTF-8"> … | |
I am new to c++ and puzzle about parameters and argument definitions,Please help me i will great thankful to Dani web members. | |
I have a string like `string(8234) "<style>.{ margin-bottom:10px; float:left; display: inline-block; width:56%; text-align:left; padding-right:20px; padding-left:20px; } . > p { display: table-cell; height: 150px; vertical-align: middle; }..................</style>.................` I want to remove `<style>` tag and all its contents. I have tried $description = $product_info['description']; // the string with style tag $text … | |
Hello, I am having two problems with three C sursor screens I coded, using the curses library. The first problem is that a field will not highlight when I move the cursor to that field, even though I use the wattron command to highlight it. I can get the highlight … | |
Good Morning group! I've made some minor changes to my coding (to open a log file, write to it and then close it) and now I'm getting an error that I've not seen before. The error code is CA2213. I've read what it says and I've tried to look it … | |
Hi i am working on contact form using SMTP. I am unable to send a mail. Please help me to fix the issue. **index.html** <div id="frmContact" class="w-form"> <div id="mail-status"></div> <!-- <form action="contact.php" method="post">--> <label for="name">Name:</label> <input class="w-input" type="text" placeholder="Enter your name" id="cf_name" name="cf_name"> <label for="email"><p class="info">*</p>Email Address: <span id="cf_email-info" class="info"></span></label> … | |
Good Morning, Hopefully there is someone around this morning that can give me a quick and easy answer. Is there a relatively simple way to prevent a page from reprocessing data when someone hits the 'Refresh' button? I don't want to disable the refresh, but just prevent reprocessing and creating … | |
I want to save the capture fingerprint into database. the below code is given with SDK which fired on fingerprint capture. Please help which value i can store into my database for identification. private void OnCaptured(CaptureResult captureResult) { try { // Check capture quality and throw an error if bad. … | |
Hi every one, I had implemented Karatsuba algorithm in C++, but I have been stuck for 2 days. First problem is the function give incorrect answer, second problem is it oftens crash when run (runtime error). I try to debug but cannot understand how it's not work. I hope someone … | |
Hi Guys, I am trying to make a webpage using asp.net and SQL server 2008. Just a simple page through which data will be inserted to the database. But I noticed it is taking duplicate records as wel. So I used "Unique" constraint while the respective table and it is … | |
Can anyone explain me what are the main difference between a null value and blank value in database. It important please help me out. thank you. | |
I have been struggling with this for two days now, with no luck. I have a **C** `char` array `char myArray[] = "Hello World";` I also have a pointer to pointer to *char* `char **ptr;` So I want to somehow store `myArray` to `ptr` or somehow convert `myArray`into pointer to … | |
This is php code at https://developers.google.com/maps/articles/phpsqlajax_v3#putting-it-all-together. <?php $username="xxxx"; $password="xxx"; $database="xxx"; ?> <?php function parseToXML($htmlStr) { $xmlStr=str_replace('<','<',$htmlStr); $xmlStr=str_replace('>','>',$xmlStr); $xmlStr=str_replace('"','"',$xmlStr); $xmlStr=str_replace("'",''',$xmlStr); $xmlStr=str_replace("&",'&',$xmlStr); return $xmlStr; } // Opens a connection to a MySQL server $connection=mysql_connect ('localhost', $username, $password); if (!$connection) { die('Not connected : ' . mysql_error()); } // Set the active MySQL … Programming file-system php xml | |
Hi All, In below code snippet multithreading is used to take care of multiple requests from client. I beileve creating and detaching thread will eat lots of CPU cycle and it won't improve the CPU utilization as well. Can anybody let me know if thread pool can be used here … | |
This is element that I'm trying to achieve: http://i.imgur.com/9XmGXkt.png This is "template" of what I have to work with: https://jsfiddle.net/hcgpyutj/ I tried floating, staticing, absoluting, relativizing, tables, transform. I changed file about 10 times and of each situation something went wrong one way or another. I cannot use flexbox. I … ![]() | |
I want to use Tkinter funtion to create a a temperature calculator. I have all the code for the calculator, however using Tkinter function i cant figure out how to get the variable input by the users. I am new to python and programming, just started programming less then a … | |
Hi Dw. I'm a bit stuck with a lot of confusion here. I'm developing a client/server applications which communicates to each other, my project is a multi-thread based and I'm currently using MS Access and database but I have hit a very challenging problem as this was the wrong database … |
The End.