199,114 Archived Topics
Remove Filter ![]() | |
this applies to 3D vertex coordinates if I was planing to lower the quality and byte size to a bu16, bs16, bu8, or bs8 mantissa, how would I calculate the exponent I'd need to restore them when the data is needed?? some help understanding, here's the code that reads the … | |
1.Take input for boarding place,arriving place and date. 2.Date validation for 120 days(if date is more than 120 days you are not able to book the ticket).if days are less than 120 days then ask for the count of passengers. 3.Take passengers age and gender. 4.If age is less than … | |
Hey guys. I am having a hard time getting this started. I need to have a page where a user can select or de-select (check boxes, radio doesnt matter) pdfs and then have the selected pdfs merged into a single pdf. I have used [PDF Merger](http://pdfmerger.codeplex.com/) in the past but … ![]() | |
Hello, just making an update link using pop up box but dont know how would i be able to get the id though here is my code <?php $get_query = "SELECT * FROM shortenedurls WHERE uid=".$id; $query = mysqli_query($connection, $get_query); while($record = mysqli_fetch_array($query)) { $url = $record['url']; $longurl = $record['longurl']; … ![]() | |
Which one provides more secuity, And mostly used in companies.Please Suggest 1.laravel 2.Zend 3.YII ![]() | |
Hello everybody I'am trying to execute JavaScript in GeckoWebBrowser my code is : Hide Copy Code GeckoWebBrowser1.Navigate("javascript:void(" + TextBox2.Text.Replace("""", """""") + ")")` my JavaScript is : Hide Copy Code var r = confirm("Press a button"); if (r == true) { x = "You pressed OK!"; } else { x = … | |
Hi, all! This seemed like the best place to pose my question, as there doesn't seem to be any forum specifically targeting ICS files... I have a web server, where I have a script that generates ICS files. I can successfully import the ICS files into Google Calendar (browser-based) and … | |
Here's a good one for everyone. I have been working on a Screensaver program for some time now (some of you may even remember questions related to this). Anyway, one of the biggest challanenges with developing it was finding a good way to transition images, smoothly, and not killing all … | |
Hi, I am working on a module that uses a lot of object creation (by lot i mean, really lots). So for obvious reasons i have seen Out of Memory exceptions. Now although the objects are being created are too many they go out of scope quickly as well. So … | |
i have these function for create the tooltip: HWND CreateToolTip(HWND hwndTool, string text) { /*INITCOMMONCONTROLSEX icc; icc.dwSize = sizeof(INITCOMMONCONTROLSEX); icc.dwICC = ICC_BAR_CLASSES | ICC_TAB_CLASSES | ICC_WIN95_CLASSES; InitCommonControlsEx(&icc);*/ if (text=="") { return FALSE; } // Get the window of the tool. //HWND hwndTool = GetDlgItem(hDlg, toolID); // Create the tooltip. g_hInst … | |
i did several ways and nothing work correctly. i have 2 controls: 1 - label: with an animation; 2 - the tooltip is showed on top until the label is re-painted. so is there another way for put the control, always, on top? | |
see my property constructor: template <typename T> class property { private: T PropertyValue; std::function<T(void)> getf; std::function<void(T)> setf; public: property(const T &value) { getf=nullptr; setf=nullptr; PropertyValue=value; } property(const property &value) : PropertyValue(value.PropertyValue) , getf(value.getf) { } property(std::function<T(void)> GetFunction=nullptr,std::function<void(T)> SetFunction=nullptr) { setf=SetFunction; getf=GetFunction; } inside a class i have 2 functions: void … | |
I want to read data into an array from a data file. Because I do not know, ahead of time, how much data is contained within the file I need to declare the array at run time using new. My current strategy is the read through the data file to … | |
Hello, What seems so trivial, has been bugging me. I have a table with duplicate values on one column, while non-duplicate (date) values on the other. If I am to use DISTINCT it will only eliminate the row with the same date. But how do I use DISTINCT and only … ![]() | |
int main() { int a=10; printf("%d",a); return 0; or return a; } # 1ts question:In the program Why you used 0 in return 0 ; and 2nd question : if you use a in return a; then it also print the correct output but why ? # | |
Howdy So I have a set of data coming back from a process with five different pieces of data per entry in the set. Are there any fancy ways you can generate some kind of look-a-like report on the fly in WCF, else what would be the best way to … | |
i am new to c# i have been working on controlling a io card i have no issue writing to turn on / toggle / or get status turn on bits |= 1 << bit; toggle bits ^= 1 << bit; but i cannot get the item pin to turn … | |
I'm writing a small backup app, where a folder is selected, zipped, and stored in an SQLite database as a blob along with it's MD5 hash, date, paths ect.... My problem is that when the zipped file is around 600MB+ I get an SQLiteExecption out of memory. The error was … | |
Hello, I have tried to create a simple paggigation and now i am facing a problem, I am unable to show the number of pages i.e 1 2 3 2 when i click on last page the next button is still coming up can anyone help me out . <?php … | |
Hi guys, I've made an application in JavaFX and I do want to export it into a runnable jar. When I run it from Eclipse or Netbeans, it works well. But when I run it from windows as an executable jar I get this error for my layout. Exception in … | |
Hello, I will try to ask this question very straight forward to not complicate the example. As seen the an event called currentTime is located INSIDE a public class EWrapperImpl. The functions comes from a DLL reference file that I code against. By default it seems that the currentTime(long time) … | |
Hello everyone! this is a code to reverse strings of a array of char ptr. I am passing the char* array, dynamically allocating memory to reverse and link with the char* array. The print it gives in the str_rev() are perfect. But when I print same thing in main(), it … | |
I am working with Visual Basic Studio 2013 and one of my forms requires the use of a web client component. I added Web Client to my toolbox and easily added it to my form. When VBStudio cooperates the form does everything as it should perfectly. However, when I loaded … | |
Hi guys, I am trying to build an applicatio to keep student records for a small schoo. I have a table in acces 2010 and the application is with vb.net 2008(Visual studio). The table has eight fields (stNumber, stDOB, stGrade, stClass, stAddress, stGender and stPhoto. and the commant button on … | |
Hi, I tried to create four dropdown lists as main category and sub categories which depends on the above list I tried to run it on my local host and it works fine but when i want to insert the value of the second list in my database it doesn't … ![]() | |
Hello everyone, I need to pass some parameters from my servlet to my JSP. I am able to access 2 of my parameters from the request object, but one of them is returning null value. Here's my servlet snipet: request.setAttribute("selectedA", aBook); request.setAttribute("selectedB", bBook); request.setAttribute("book_ref", book_ref); logger.info("book_ref = " + book_ref); … | |
Are there any advantages in using ASP.net or (any other language, for that matter) over PHP? | |
I have 4 local database and 1 server. How to synchronize that 4 local database to server automatically in perticular time interval. Is there any code please update me.. Advance thanks for any suggessions/code. ![]() | |
Hi Guys, At my work I been provided a QAAWS that will provide me with certain. For privacy reason I cannot give you the actual QAAWS but it is simila to [this one](https://liveoffice.etosoftware.com/dswsbobje/qaawsservices/biws?WSDL=1&cuid=Afg7hriNfChBslO9TDgBqLc). I know how to create a web service and pulled the data using my own SQl queries … | |
Hi What is my misstake? I got error whwn I run my code! DECLARE V_num number := ‘&enter_an_integer’; V_test number; Begin V_test := mod(V_num,2); If V_test = 0 then Dbms_output.put_line(’even number’) Else Dbms_output.put_line(‘odd numbers’); End if; End; The error was 06550. 00000 - "line %s, column %s:\n%s" *Cause: Usually a … | |
I'm having an issue using the ADO.Locate function (Using Delphi 7). I've got the following code: procedure TFrmMain.RzBtnProcessClick(Sender: TObject); var WB: IXLSWorkbook; WS: IXLSWorksheet; X: Integer; MillStyle: Integer; KnitNo: Integer; CustSKU: String; begin if RzBtnEditInputFile.Text = '' then Application.MessageBox('You Must Select An Input File!','Error',MB_OK) else if not FileExists(RzBtnEditInputFile.Text) then Application.MessageBox('Cannot … | |
Trying from localhost but not getting $client->setRedirectUri('http://localhost:9080/getdetailsgoogleplus/oauth2callback'); any body help me | |
in my grid data is represented as Datewise . So I want To Group the data that has same Date. and After Grouping Insert space for different Date. I tried to Achive this by this code But Was faild; Even Now i Have a Checkbox in footer that perform Java … | |
Hii.. i want to learn mvc for php,can anybody please help me??? | |
Function coinT() tests if two time series are stationary using ADF test and Hurst exponent. Time series are stored in cvs files 1511x6 each, but for testing only a vector of the 5th column is returned by function stock(), there are 50 files in total. It seems that the program … | |
Hello Everyone, I got this question in some book. As per question we need to find a substring in a array of char* and replace it with another string. The program I wrote doesn't work. I tried using strcpy as well char by char. Please help me to figure out … | |
how to get facebook id and name using php any body help me while clicking facebook image on my website | |
Hello, Worked on PDO everything as far as i see is correct why i am getting an error ) Fatal error: Call to undefined method mysqli::insert_id() $result = "INSERT INTO users(unique_id, firstname, lastname, email, username, encrypted_password, salt, created_at) VALUES('$uuid', '$fname', '$lname', '$email', '$uname', '$encrypted_password', '$salt', NOW())"; $connection->query($result); // check for … | |
I forgot what type of hashing used for passwords in my database. How can I recover passwords in my database? -Any solution to my problem? or any suggestions? -Thanks in advance. | |
in an examination the grades are given according to the marks obtained. wap in java to display the grades acordingly 80% and above-distinction 60% or more but less than 80%- first divison 45% or more but less than 60%-second division 40% or more but less then 45- pass Less then … | |
Hello, I am trying to connect with the database but the file contains OOP programing that is little bit unfimiliar for me if anyone help me out in connecting with the database. Db_connect.php <?php class DB_Connect { var $dbuser; var $dbpass; var $dbname; var $dbhost; // constructor function __construct() { … ![]() | |
Hi please i like to know how emails are send using java.Thanks | |
Can anyone check my search code? What seems to be the problem? **ERROR: **Object variable or with block variable not set. Dim con As New SqlConnection(connectionString:="Data Source=APBIPHAP06; Initial Catalog=PMT; Integrated Security=SSPI") Dim ds As New DataSet() Dim da As New SqlDataAdapter() Dim query As String = "SELECT * FROM tblPM … | |
i wanna know how to make this kind of section in wordpress . Eg http://www.quicksprout.com/university/ Niel patel blog has uiversity section where all video are arranged ...can anyone show me the way to make this kind of stuff on my blog | |
Hi all, i am making a web based php subscription system i know there are paid systems like authorize.net and strip that charge per successful transaction but i wanted a free open source system that i can integrate in my system please help me any kind of help will be … ![]() | |
I would like to provide email services on my website. How do I do this? | |
Write a function called parseExtension that takes a file name as a string parameter and returns the file extension. Example: If your function was passed “python.exe” as a string parameter it would return “exe”. I want it to take userinput and seperate the files from the extension starting at the … | |
been scouring google for nearly a month now trying to find something. now as the requirement grows, I need more help tryingto find something. Portable Python is what I'm currently using, but alot of my developers (including myself) don't like the Wine wrapper... Pyzo supports linux mac and win, but … | |
I wasn’t sure which forum to put this under so I just selected web development. I have run into an issue that ironically I have solved before but thanks to my wonderful drop-box the changes I made were not saved and when I changed them again on another computer, the … | |
I need to find out the output of the following code snippet return by function go(2) ... int a=10; int go(int b) { if(b<=4) return b; else return go(b+1)*go(b-2)-(b*2); ++a; cout<<a; return -1; } When I do the dryrun myself on paper , it should first return the value of … |
The End.