199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Tcll

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 …

Member Avatar for Tcll
0
305
Member Avatar for rajashree g.s.

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 …

Member Avatar for JamesCherrill
0
392
Member Avatar for double_cola

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 …

Member Avatar for diafol
0
6K
Member Avatar for UK-1991

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']; …

Member Avatar for diafol
0
3K
Member Avatar for chaitu11

Which one provides more secuity, And mostly used in companies.Please Suggest 1.laravel 2.Zend 3.YII

Member Avatar for diafol
0
297
Member Avatar for Hsn_1

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 = …

Member Avatar for stultuske
0
1K
Member Avatar for jay.barnes

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 …

Member Avatar for jay.barnes
0
457
Member Avatar for JOSheaIV

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 …

Member Avatar for JOSheaIV
0
653
Member Avatar for necrovore

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 …

Member Avatar for JOSheaIV
0
195
Member Avatar for cambalinho

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 …

Member Avatar for cambalinho
0
795
Member Avatar for cambalinho

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?

Member Avatar for cambalinho
0
228
Member Avatar for cambalinho

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 …

Member Avatar for cambalinho
0
192
Member Avatar for tgreiner

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 …

Member Avatar for David W
0
485
Member Avatar for amishraa

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 …

Member Avatar for diafol
0
247
Member Avatar for hadisur_rahman

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 ? #

Member Avatar for sepp2k
0
281
Member Avatar for Mike Askew

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 …

0
243
Member Avatar for HITMANOF44th

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 …

Member Avatar for HITMANOF44th
0
127
Member Avatar for Suzie999

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 …

Member Avatar for JOSheaIV
0
2K
Member Avatar for UK-1991

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 …

Member Avatar for pritaeas
0
106
Member Avatar for Szabi Zsoldos

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 …

Member Avatar for Szabi Zsoldos
0
4K
Member Avatar for Darth Vader

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) …

Member Avatar for Darth Vader
0
276
Member Avatar for ram619

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 …

Member Avatar for David W
0
205
Member Avatar for weekendrockstar

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 …

Member Avatar for djjeavons
0
259
Member Avatar for wilsonchama

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 …

Member Avatar for djjeavons
0
300
Member Avatar for Trabelsi

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 …

Member Avatar for diafol
0
3K
Member Avatar for new_2_java

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); …

Member Avatar for new_2_java
0
251
Member Avatar for mgt
Member Avatar for almostbob
0
296
Member Avatar for Samritha

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.

Member Avatar for diafol
0
126
Member Avatar for gcardonav

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 …

Member Avatar for pritaeas
0
286
Member Avatar for tony75

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 …

Member Avatar for tony75
0
179
Member Avatar for Orionizer

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 …

Member Avatar for Orionizer
0
442
Member Avatar for ramsiva

Trying from localhost but not getting $client->setRedirectUri('http://localhost:9080/getdetailsgoogleplus/oauth2callback'); any body help me

Member Avatar for pritaeas
0
70
Member Avatar for morfious90

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 …

0
104
Member Avatar for shashigowda
Member Avatar for mattster
0
347
Member Avatar for Raisefamous

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 …

Member Avatar for Gribouillis
0
841
Member Avatar for ram619

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 …

Member Avatar for ram619
0
347
Member Avatar for ramsiva

how to get facebook id and name using php any body help me while clicking facebook image on my website

Member Avatar for John_89
0
117
Member Avatar for UK-1991

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 …

Member Avatar for Gideon_1
0
4K
Member Avatar for irshad398

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.

Member Avatar for pritaeas
0
121
Member Avatar for Rachna_2

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 …

Member Avatar for JamesCherrill
0
176
Member Avatar for UK-1991

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() { …

Member Avatar for diafol
0
2K
Member Avatar for paul.deku.50_1
Member Avatar for kayecng

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 …

Member Avatar for kayecng
0
261
Member Avatar for AaTish_1

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

Member Avatar for lps
0
188
Member Avatar for Koshy_1

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 …

Member Avatar for diafol
0
208
Member Avatar for mgt

I would like to provide email services on my website. How do I do this?

Member Avatar for DavidB
0
146
Member Avatar for wudie47

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 …

Member Avatar for wudie47
0
507
Member Avatar for Tcll

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 …

Member Avatar for Tcll
0
786
Member Avatar for berserk

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 …

Member Avatar for berserk
0
436
Member Avatar for Mahnoor_1

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 …

Member Avatar for Mahnoor_1
0
174

The End.