3,417 Topics

Member Avatar for
Member Avatar for jrosh

I m using mvc4. I have urls like http://<mydomain>/<contoller0>/<action1> , http://<mydomain>/<contoller0>/<action2>,... I want to show to the user only as http://<mydomain>/<contoller0>/{somepage} for all the actions in that particular controller. How to impliment this in RouteConfig? I dont want to mess any requests to other controllers. Just want to do it …

Member Avatar for LastMitch
0
194
Member Avatar for rayidi

I'm dealing with a SOAP client response for a flight booking application, I successfully got the response, See the response below: <arzoo__response> <Response__Depart> <OriginDestinationOptions> <OriginDestinationOption> <FareDetails> <ChargeableFares> <ActualBaseFare>4850</ActualBaseFare> <Tax>4267</Tax> <STax>31</STax> <SCharge>0</SCharge> <TDiscount>0</TDiscount> <TPartnerCommission>0</TPartnerCommission> </ChargeableFares> <NonchargeableFares> <TCharge>0</TCharge> <TMarkup>0</TMarkup> <TSdiscount>0</TSdiscount> </NonchargeableFares> </FareDetails> <FlightSegments> <FlightSegment> <AirEquipType>321</AirEquipType> <ArrivalAirportCode>DEL</ArrivalAirportCode> <ArrivalDateTime>2013-05-20T08:00:00</ArrivalDateTime> <DepartureAirportCode>BOM</DepartureAirportCode> <DepartureDateTime>2013-05-20T06:00:00</DepartureDateTime> <FlightNumber>601</FlightNumber> <OperatingAirlineCode>AI</OperatingAirlineCode> <OperatingAirlineFlightNumber>601</OperatingAirlineFlightNumber> …

Member Avatar for diafol
0
8K
Member Avatar for rayidi

I'm curremtly working on a project "Flight search" with SOAP and PHP. I'm new to this SOAP Technology. I've to send the XML over POST Request and get the response: <Request> <Origin>BOM</Origin> <Destination>DEL</Destination> <DepartDate>2013-05-20</DepartDate> <ReturnDate>2013-05-21</ReturnDate> <AdultPax>1</AdultPax> <ChildPax>0</ChildPax> <InfantPax>0</InfantPax> <Currency>INR</Currency> <Clientid>*********</Clientid> <Clientpassword>**************************</Clientpassword> <Clienttype>ArzooFWS1.1</Clienttype> <Preferredclass>E</Preferredclass> <mode>ONE</mode> <PreferredAirline>AI</PreferredAirline> </Request> to the URL: > …

Member Avatar for rayidi
0
3K
Member Avatar for amvx86

I need some help with this one. i have a few code samples I have found on the internet, however, when I attempt to use them I get errors, and nothing really works. What I'm trying to do is get the text of a message box, and the contents of …

Member Avatar for amvx86
0
959
Member Avatar for ahudson

Hi guys. Okay, well I've been at this for a while and I cannot seem to figure it out. Basically, I have a simpleXML PHP file that I'm trying to"parse" (I guess it's called). *All I want to do is get some info from an API XML site and display …

Member Avatar for diafol
0
1K
Member Avatar for Bug_Catcher

I want to measure the throughput at each datanode by measuring the time taken for each read/write operation. It is very confusing to read through the million functions and find out where this is happening. Could someone list the series of calls made while reading/writing a block of data? am …

Member Avatar for Bug_Catcher
0
103
Member Avatar for riahc3

Hello This is a demo showing Java interacting with Daniweb's new API ( http://www.daniweb.com/api/documentation ) You introduce a member's name and it should show you the total number of posts he has made. Demo is a proof of concept: No bug checking, error checking, etc is in this code. In …

Member Avatar for peter_budo
4
878
Member Avatar for revolter00

hi folks, i want to develop a desktop application which will continuously receive text commands from a connected mobile device, via bluetooth rfcomm protocol. i went through hundreds of code examples, including jsr-82 bluetooth & obex api demos; but cannot get what i wanted. one of the popular examples that …

Member Avatar for meghana.Nlknt
0
1K
Member Avatar for Kanoisa

Hi all, I have a problem with trying to call a protected base class function from an inherited class. I have done some research and from what i can gather what i am trying to do is simply not permitted by the standard. The error i get when trying to …

Member Avatar for mike_2000_17
0
206
Member Avatar for amith_ami

hi all... i'm doing a wordpress jobsite... now its searching only jobs from the backend but i also want to include search results from the jobsite indeed.com on my result page... i use the api of indeed.com to fetch the jobs and its showing jobs in the home page..... but …

Member Avatar for pritaeas
0
226
Member Avatar for amvx86

Hey everyone, I hate posting in forums asking people for help, and then searching for hours and wanting to throw my computer out the window because I can never seem to find the resources I need for programming. I feel that in vb 6 everything was well documented and now …

Member Avatar for tinstaafl
0
387
Member Avatar for vegaseat

Yes, you can let your computer read text to you. The task is relatively easy, if you have Windows on your machine. All you need is Microsoft's speech-API SAPI, the Python Text to Speech module pyTTS, and an updated version of win32com, all free downloads. Here are some experiments with …

Member Avatar for ZZucker
1
2K
Member Avatar for Adami

Hi all, I wrote a simple app that shows your current location depends on GPS, WiFi, 3G signals, and shows in a Text View the location as city,street, country. The problem is that I saw that the location is pretty updated with WiFi\ 3G \ GPS, but the Text View …

Member Avatar for BitBlt
0
2K
Member Avatar for Suzie999

Does anyone know how to restore a window (which does not belong to current process) to the state is was in previous to having been minimized? I've been trying ShowWindow and SetForegroundWindow, but if the window was maximized, it will only restore it to it's RESTORE state (not maximized) ShowWindowAsync(hWnd, …

Member Avatar for Ancient Dragon
0
593
Member Avatar for riahc3
Member Avatar for evilguyme

Hey guys, I ran into a small problem, I need to make a software that does some basic calculation and saving to a custom file. To make this software i don't know how to start, do i need to make an MFC Application? and if i do then what settings …

Member Avatar for evilguyme
0
369
Member Avatar for pritaeas

http://www.daniweb.com/api/members/94719/articles?page=1&filter=watching&orderby=lastpost&access_token=MY_ACCESS_TOKEN I expected four results here, but it shows only watched articles started by me (two). I want all watched articles. What did I miss?

Member Avatar for pritaeas
0
208
Member Avatar for Dani

The very early workings of an API ... http://www.daniweb.com/api/documentation Any ideas churning??

Member Avatar for Dani
6
3K
Member Avatar for scarletfire

Hi I was wondering if it is possible to create two HTML5 images using div tag and having the script to make them interact and upon colliding with each other they do stuff like reading or activating a log file and maybe create images on the flow. Or vice versa, …

Member Avatar for LastMitch
0
143
Member Avatar for Suzie999

Hi. I am looking at creating a small app which will gain access to and use the Internet Explorer DOM. I want to access the DOM of an existing instance of Internet Explorer. The app will be basic and simple, and will be first used to retieve properties of web …

Member Avatar for Suzie999
0
539
Member Avatar for jhon1987

Hi, Actually I am developing an application in python in which I want a feature by which the application can detect whether any name is male or female name. I did Google search on this, but could not find any algorithm/code by which I can do it. So finally I …

Member Avatar for David1123
0
1K
Member Avatar for Paladine

[url="http://../tutorials/tutorial6028.html"]Original thread [/url]- To see why this was Updated [i] Reason for new thread is to start with a clean slate and I will also be providing a tutorial for SQL and possibly Oracle DB connections to show how easy this code is to implement regardless of the DB you …

Member Avatar for maqbul
0
7K
Member Avatar for natehome

Hello I'm working on a music streaming website that uses groovesharks api to get stream urls. I made a javascript function that loads the stream url when a user clicks on it but it wont stream the url. I know it can stream it because i've manually put the url …

Member Avatar for LastMitch
0
336
Member Avatar for vikuseth

I need to list out all the shared folders(directory) in the system along with their path . i want a command or an api in MFC, for listing out the shared directories. please help me in this

0
72
Member Avatar for diafol

Just asking about the relevancy/meaning of 'page' in requests based on 'members'. e.g. http://www.daniweb.com/api/members?page= http://www.daniweb.com/api/members/{:IDS}?page= When used in this manner, I seem to get a random bunch of members (when not set to 1), regardless of IDS. How many members/page ?

Member Avatar for diafol
1
481
Member Avatar for davidjennings

Hi All I am trying to implement implement a coherent, extendable object oriented solution in PHP. I am not sure where to start to solve this problem. (Not home work) The Problem • I need to use a basic command line program that when called will retrieve and store a …

Member Avatar for pritaeas
0
237
Member Avatar for Dani

I know I promised not to make anymore drastic changes to the API, but ... well ... I lied. The two API write operations (voting on posts and watching/unwatching articles) used to always respond with a JSON object in the format success: true or success: false Now, they return the …

2
187
Member Avatar for flywheeljack

I thought it would be a straight forward API call of the shell32.dll but I cannot for the life of me figure out how to use shell32.dll to do what I need it to do. Part of this is due to the fact that I can't find any code that …

Member Avatar for tinstaafl
0
225
Member Avatar for fheppell

I need to connect to the wikipedia search API. Here is an example response <api> <query-continue> <search sroffset="10"/> </query-continue> <query> <searchinfo totalhits="169717"/> <search> <p ns="0" title="Intelligence quotient" timestamp="2013-04-04T05:15:12Z"/> <p ns="0" title="Test" timestamp="2013-02-23T01:15:05Z"/> <p ns="0" title="TeST Gliders" timestamp="2012-09-22T11:05:05Z"/> <p ns="0" title=".test" timestamp="2013-02-25T14:48:22Z"/> <p ns="0" title="Test cricket" timestamp="2013-04-02T18:49:54Z"/> <p ns="0" title="Test (assessment)" …

Member Avatar for fheppell
0
189
Member Avatar for molisoft

Hi, I have downloaded a code for Speech Recognition using Windows API (SAPI 5.1). In this part of code: `class ContextEvents(win32com.client.getevents("SAPI.SpSharedRecoContext")):` I get this error: class ContextEvents(win32com.client.getevents("SAPI.SpSharedRecoContext")): TypeError: Error when calling the metaclass bases cannot create 'NoneType' instances I checked and found that `win32com.client.getevents("SAPI.SpSharedRecoContext")` returns `None` I did search all …

0
57
Member Avatar for pritaeas

Here's my base class and class for the unauthenticated DaniWeb API calls. Not every method has all features implemented yet, and it's not been fully tested either. Here's how to start using it: include 'DwApiBase.class.php'; include 'DwApiOpen.class.php'; $dwapi = new DwApiOpen(); $result = $dwapi->GetMemberActivityPoints(94719); $result = $dwapi->GetMemberEndorsements(94719); $result = $dwapi->GetMemberReputationComments(94719); …

Member Avatar for pritaeas
2
435
Member Avatar for jag157

Hi i am trying to geocode tweets to a google map i have all my code in place but it just isnt loading up my tweets its just showing the map here is my html code can anyone tell me where i am going wrong thanks <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for LastMitch
0
220
Member Avatar for diafol

OK, as promised, here's an updated 'quick(!) and dirty' class for retrieving and setting data via the Daniweb API. It allows the extraction of data based around: # DATA RETRIEVAL & SETTING # ## non-OAuth ## * forums * articles * posts * members * activity points * endorsements * …

Member Avatar for LastMitch
2
561
Member Avatar for nova37

am doing project in c++ using mysql api i have update query like that q2<<"UPDATE `dorder` set `ddown_status`= 1 WHERE `Machine ID`= "<<"'"<<xbx4.mid<<"'"; > but when i execute it , its says Unknown column 'ddown_status' in 'field list' but ddown_status coloumn already exisits in dorder table , so any idea …

Member Avatar for radhakrishna.p
0
3K
Member Avatar for diafol

# As of 4/4/2013 # This class has now been updated and posted here: http://www.daniweb.com/web-development/php/code/451674/all-in-one-daniweb-api-class# # ORIGINAL POST # This code can be used to retrieve a forum list with various options with regard to display. This class could be extended for articles, posts, etc etc. The retrieval methods include …

Member Avatar for diafol
3
455
Member Avatar for daniel36

I need in a project to be multi language.Can we show the html result or website content in other language from english with the help of google translat api.and how to use it in project.

Member Avatar for daniel36
0
162
Member Avatar for jajack007

Hi, Can any body give me solution of this, i added the code in user control of Dnn module in HTML page and called bt this is not dispaly it shows with mouse movement in some area. Please use in DNN 6.02 module and tell me if solution get this …

Member Avatar for LastMitch
0
257
Member Avatar for pritaeas

## API Mashup ## This example is a mashup of [diafol's class](http://www.daniweb.com/web-development/php/code/451428/daniweb-api-class-for-getting-forums), [Dani's parsing code](http://www.daniweb.com/api/documentation) and [my class](http://www.daniweb.com/web-development/php/code/451390/daniweb-api-rss-class). It uses diafol's dwAPI class to retrieve a list of all forums, loops through them, and uses my Rss class to get the respective RSS feeds. It will show each forum in …

Member Avatar for diafol
0
552
Member Avatar for EdvinasSelskas

Hi everyone, I'm developing a music website and got stuck on this problem. Whenever a user submits a playlist from youtube, i fetch for video thumbnails and list them for the user. Here's the code: <? $site = 'youtube'; } $plID = str_replace("http://www.youtube.com/playlist?list=", "", $url); $xmlLink = "http://gdata.youtube.com/feeds/api/playlists/" . $plID; …

Member Avatar for EdvinasSelskas
0
918
Member Avatar for joshl_1995

Hello Community, I have been looking for a facebook news feed api, i couldn't find one. All i could find is bits of script for construct my own news feed api. So thats what i did and i thought i might share the script with you it's a bit messy …

1
575
Member Avatar for pritaeas

Wondering if, and if so where, I can revoke an authorization for an API client. It would be quite useful for testing if I can revoke it, to test and debug the application flow. Now the only possibility (AFAIK) is to add a new application.

Member Avatar for Dani
0
148
Member Avatar for PudingEatsPanda

Hello guys I am trying to make this RSS Android App to work but I am having some problems since I am just a beginer at this. Also sorry if the errors are not included yet, I am going to update it asap. I am downloading my eclipse since it …

Member Avatar for Dani
0
372
Member Avatar for rexmatthew

Please help. I already had my booking calendar added to my site last week and the calendar showed up but now only the booking form is showing up but the calendar does not seem to show. I've tried a lot of fixes and nothing seems to work. Please help. ------------------------------------------------------------ …

Member Avatar for rexmatthew
0
365
Member Avatar for Violet_82

Hi there, I was wondering if anybody can help me understanding this code please - well it's more about the usage of :first really): <!DOCTYPE html> <html> <head> <style> span { color:red; cursor:pointer; } div { margin:3px; width:80px; display:none; height:80px; float:left; } div#one { background:#f00; } div#two { background:#0f0; } …

Member Avatar for Violet_82
0
413
Member Avatar for abhinav.singh.7712

Hey Guys, I am developing a website similar to google maps in visual studio 2008 using google maps api. I am passing user input as source,destination and have provided three timestamps in form asp radiobutton list. This is my javascrpit code: function calcRouteA() { var start = document.getElementById('DropDownList1').value; var end …

Member Avatar for hometownnerd
0
224
Member Avatar for cdoggg94

Basically we have a lot of people that want to view our site that use work computers and don't have the option to upgrade their browser. Most likely its an old version of IE. All I want to do is detect if they are using something older then say IE …

Member Avatar for cdoggg94
0
246
Member Avatar for Violet_82

Hi all, I am slightly confused about passing functions to the addClass method. This code is taken from the jquery.com site http://api.jquery.com/addClass/: <!DOCTYPE html> <html> <head> <style> div { background: white; } .red { background: red; } .red.green { background: green; } </style> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <div>This div should …

Member Avatar for Violet_82
0
230
Member Avatar for cmabill

my google map works very well except that the language is not English but Chinese, I need it to be default in English, and anoter problem is infobox size isa little big than what I need, pls see the attached shot, when I click the marker, the infobox display is …

Member Avatar for AleMonteiro
0
345
Member Avatar for asifalizaman

*hi!guys i want to know from you what is google API and what is its Role for search engine optimization?? i only know API abrivation that is Application Programing interface and nothing else????? so share what you know about that?????????? thanks*

Member Avatar for <M/>
2
105
Member Avatar for thats_nice

Hi all, I will be using the USRP Software Defined Radio to receive satellite signals for a project. I have been looking around, but I can't seem to find any tutorials that can help me do this. I know that the USRP's have an API that interfaces c++, but have …

Member Avatar for thats_nice
0
130

The End.