199,114 Archived Topics
Remove Filter ![]() | |
I have an xml structure : <Pages> <!--This is the root node--> <Home> <url>...</url> <menu> <item>Help</item> <item>About</item> <item>Contact</item> </menu> </Home> <Help> <url>...</url> <menu> <!--i need to select this if its parent(Help) is listed in Home/menu/item above--> <item>Business Help</item> <item>Web Help</item> <item>Tour Help</item> </menu> </Help> <About> <url>...</url> <menu> <!--And Or select … | |
I am trying to programatically create and dispose of file system watchers, but I am running into an issue when trying to dispose of them. When I try to use the code: // dispose of any existing watchers. foreach (FileSystemWatcher fileWatcher in this.Controls) { fileWatcher.Dispose(); } I am receiving a … | |
Hi all. I have a need to use native/C++ code in C# application. I basically want the lower level functionality of C++ with a good looking C# GUI. Calling native functions from C# via Dllimport is not what I want to do. The native code will need to be running … | |
Hello i did a research about a import contacts script. The best script i find this is https://www.design19.org/blog/import-google-contacts-with-php-or-javascript-using-google-contacts-api-and-oauth-2-0/ On the last comment as Simon you ll see where i stuck with. Although i think its the best import gmail contacts script | |
Hello, I have a file (01.php) <?php abstract class Sender { const E_NEW_APPOINTMENT = 1; /** * Send instant confirmation/notification emails. * * @param int $type (E_NEW_APPOINTMENT) * @param CustomerAppointment $ca */ public static function sendEmails( $type, CustomerAppointment $ca ) { list ( $codes, $staff, $appointment, $customer ) = self::_prepareData( … | |
What is the use of tiny mce javascript library ? I m working on jsp project were it uses tinymce.js . i actullay dont know what it does . | |
Hi guys, currently I have 3 groups of user which is A, B and C. A will handle tasks for first week, B will handle tasks for second week, C will handle tasks for third week, C will handle tasks for 4th week, A will handle tasks for 5th week, … | |
hi james/anyone/stultuske I am again trying and practicing my java. I am doing this payroll program which include doing methods and array and have no idea where I have gone wrong again i have debug it but inno me, cant find the error and it is there somewhere anyway here … | |
Hi, I have started this project and come to the point where I can't figure out how to finish it. First Want to say that I'm noob for VB6 and programming in general, but I saw some examples and make it work this part of job I need. I will … | |
I have an image (frame.bmp, uncompressed, resolution 640*480, 3bit depth, 900KB size) stored at C:\Frame.bmp. I want to load it and put it in my program as an array a[N][M], N=479, M=639. After that to modify its elements (e.g thresholding) and create a new array B[479][639]. Finally, to store it … | |
Im trying to create something like a simple OS. but Im trying to make the drag and drop system, I dont know even how to start with this, any help? | |
Hi All Masters, According to advice from master shark 1 and read [Tutorial about BackgroundWorker](https://www.daniweb.com/software-development/vbnet/tutorials/477520/how-to-use-backgroundworker-to-create-threads) created by Rev.Jim I'm trying to use BackGroundWorker for querying database an set new labels...here's my code: Private Sub FormMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load BgWorker.RunWorkerAsync() End Sub Private Sub BgWorker_DoWork(ByVal … | |
![]() | I have been struggling from last few days in this problem and also my css knowledge is some what got expired! I want full page bootstrap carousel slider and i want some images over this slider[4 * 4] as shown this my attempt if any one can help ?? **JS … |
I want to declare an ordinary pointer (not a member pointer) to a member function. I have tried but apparently I am getting errors. Is this allowed in C++? Why is it not? #include<iostream> class A{ private: int m; public: void show(void){ std::cout<<"M= "<<m<<std::endl; } }; int main() { A … | |
I downloaded visual studio 2013 and added xna to it so that I can run a game I made in vs2010. However I am having an issue in which it is not allowing me to start debugging or start without debugging. The xna I downloaded is from here https://mxa.codeplex.com/releases/view/117230 if … | |
![]() | Hello there, iam new to this forum but iam also new with retrieving data from a mysql database to an label in vb.net. Iam using vb 2010 and my mysql is hosted on a server. Here is my code: Imports MySql.Data.MySqlClient Imports System.Data.Sql Imports System.Data.SqlClient Public Class Gamefrm Dim con … ![]() |
Appologies for posting this help thread here, but I think, DANIWEB communitty can help me out. We have developed an awesome website builder, at present we want some help to customize the back end with WHMCS [web hosting control panel software]. The requirement]: On registration page the user can select … | |
I'm at my wits end, perhaps after working non stop for 7 hrs. I'm trying to develop a simple search engine using Php and Mysql. I have borrowed my idea of doing this from a wonderful [youtube tutorial](https://www.youtube.com/watch?v=OPmBJhhuwSM) by nick frosty. Unlike Nick, i'm not doing this the procedural way … | |
how to prepare a result card in dev cpp??? i want help. any one programmer plz? | |
Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can … | |
Hi All, in below code snippet, I have been facing memory leak issue while free memory for string.Could you let me know thereason for the same.I believe if we are allocating memory then it needs to be freedbut what i observed if i don't free the memory it works fine … | |
I am doing a project on greeting card designing interface(html). I have written code to make text draggable and resizeable but it it not resizing. please help html: <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/canvas2image/0.1/base64.js"></script> <script src="https://cdn.jsdelivr.net/canvas2image/0.1/canvas2image.js"></script> <script src="https://github.com/niklasvh/html2canvas/releases/download/0.4.1/html2canvas.js"></script> <link href="https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css" rel="stylesheet"/> <link href="style.css" rel="stylesheet" /> <script src="https://code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script> <head> <body> <div … | |
Hi All, when i click the save functionality my request is processing and values are stored in database.but the request is coming from chrome browser its not processing and redirected to my error.jsp page.could you please help for this issue. | |
hi, the question is simple how they made the 1st compiler Ever ! | |
Hi all, I'm quite a new developer, and I've spent a long time trying to figure out what is causing this error: "SQLSTATE[HY093]: Invalid parameter number: parameter was not defined" As far as I can tell, all my parameters are defined? My code is below: $mySQL_query = "INSERT INTO vd_users … | |
Noob Question. I need some clarifications with using class as a reference datatype or if you have any links that direct to a straightforward explanation,i'd highly appreciate that. (I had been surfing the net for hours, read some books but the explanation is either vague or just an introduction.) | |
Hi, from the result in my "for" loop, have stored four value. How to extract that value to show the value(sprintf) ? Kindly refer to the attached the image file. Thanks Regrads, nazif | |
Hello all, There is my table in database. want to delete multiple rows from MYSQL database. I have created this selectcon.php file to select various links and delete them using checkboxes. but it doesn't here is my code <!DOCTYPE html> <?php include("emty.php"); ?> <center> <?php include("dbcon.php"); $result = mysql_query("SELECT * … | |
Can you please explain the reason of the garbage output instead of the each words in the string.. #include <stdio.h> #include <string.h> #include <stdlib.h> int count = 0; //char** memptr = NULL; char** push(char* word, char** memptr){ if(count > 1) memptr = (char**)realloc(memptr, (count * sizeof(char*)) ); memptr[count - 1] … | |
Hi All Masters This is my Second question and problem ...i have some code here Sub SetLabels() Call MySqlConnect() Dim str As String str = " Select * from room " da = New MySqlDataAdapter(str, conn) ds = New DataSet da.Fill(ds, "room") For i = 0 To ds.Tables("room").Rows.Count - 1 … | |
Hello i have created an API account for oauth services. I did it so that our users could log in to our website through their google acount credentials i want to use that google API so that the users could import their contacts to out website and i am getting … | |
Hi I have a php script which creates an xml file //Select the Database mysql_select_db("personeelsbestand",$db); $result = mysql_query("select * from XMLAfdeling", $db); //Create SimpleXMLElement object $xml = new SimpleXMLElement('<xml/>'); //Add each column value a node of the XML object while($row = mysql_fetch_assoc($result)) { echo $row['Afdelingnaam']."\n"; $mydata = $xml->addChild('mydata'); $mydata->addChild('AfdelingID',$row['AfdelingID']); $mydata->addChild('Afdelingnaam',$row['Afdelingnaam']); … | |
Hello Guys, How can i check if it happend new events in server in real time without refreshing the page with js? I dont want to use node.js or ajax or html5 SSEs. | |
Hi all, I have website links: $link = animeid.moe/stream/QXQt3tPjEPskXRE4MxGmU8/1439976893.mp4 Now I want to download video from this link. I searched and used different ways but no result. Help me. Tks all. | |
> The holy grail of software delivery is to commit to your source repository and watch the new version of your code automatically deployed and running to your beta or QA stack. If you're deploying to a PaaS, such as Heroku, you can already do this today. However, for the … | |
Hi, I got error in send_string(lala): how to fix it ? thnaks ... #include <p24Hxxxx.h> #include <libpic30.h> #include <stdio.h> int FBS __attribute__((space(prog), address(0xF80000))) = 0xCF ; //_FBS( // BWRP_WRPROTECT_OFF & // Boot Segment Write Protect (Boot Segment may be written) // BSS_NO_FLASH & // Boot Segment Program Flash Code Protection … | |
I'm working on a website that uses System.Runtime.MemoryCache to cache information from a SOAP service that's running on another server. I'll start out by saying that I don't know a lot about the application or how the cache works, the issue however is that I just finished migrating the application … | |
Please take a look at the following codes and explain what’s happening here: a = 256 b = 256 a is b #True its ok c = 257 d = 257 c is d #False why e = 258; f=258; e is f //True // why? | |
hi I am new with ajax and i want to multiple image upload in a ads post site. please help me | |
While referring to a particular course I came across the following code to retrieve the current day: int julianStartDay = Time.getJulianDay(System.currentTimeMillis(), dayTime.gmtoff); long dateTime; dateTime = dayTime.setJulianDay(julianStartDay); day = getReadableDateString(dateTime); private String getReadableDateString(long time){ SimpleDateFormat shortenedDateFormat = new SimpleDateFormat("E MMM d"); return shortenedDateFormat.format(time); } My doubt is why are we … | |
I'm referring to my snippet [Inheriting the stack class](https://www.daniweb.com/software-development/csharp/code/498828/inheriting-the-stack-class) After looong loong searches and many tries and tests, I finally came up with a version that works as I wanted to. Stacker can now handle any type of object, even with arethmetic methods in place. The virtual way as proposed … | |
Hi all. Here is my problem. I'm a newbie to PHP programming. For my project I just need to run 3 Insert statements in a single button click. The concept is I have a registration form. It has parent details and children details. If parents want to register more than … | |
//How dinamically adding textbox and textarea of the given code can take after submit button is clicked in php? <!DOCTYPE html> <html> <head> <title>Add or Remove text boxes with jQuery</title> <script type="text/javascript" src="//code.jquery.com/jquery-latest.js"></script> <style type="text/css"> <!-- #main { max-width: 800px; margin: 0 auto; } --> </style> </head> <body> <div id="main"> … | |
I am trying to integrate elFinder and TinyMCE using the advanced method found here: https://github.com/Studio-42/elFinder/wiki/Integration-with-TinyMCE-4.x When I click the image icon in TinyMCE, elFinder will appear in a popup window, and when I double click on a file in elFinder, it should include it in the editor. However, the following … | |
Thank you in advance. I believe the items below should give a whole view. .Net 4.5.1 / x86 When using a SqlAdapter with new SqlParameter() { SqlDbType = SqlDbType.DateTime, ParameterName = "@FromDate", Value = "09/01/2008" }, I get the error "Conversion failed when converting date and/or time from character string" … | |
I have lot of values in mysql database. I want to display all that data in excel file. How to do? without plugin is it possible? or how to do? Without any plugin, is comfortable. I am new to this concept. | |
what are the things a new developer should keep in mind while writing a program? please reply. | |
I have a JSON decoded array in php with foreach that includes a select option in a form every time I select an option from this drop down it returns the last value in the list. The option is just the selector not the value I'm trying to save. I'm … | |
May sound all too easy for some, but I'm just getting started on android development and I can't find out why I got an error when everything is exactly as it is in the tutorial. Weird but I'm confused so I thought I'd post to see if someone can help … | |
I have been trying since long to extract data using xpath in google sheets but everytime 'am getting message 'imported content is empty'. i need help . The url is http://reports.ieso.ca/public/IntertieScheduleFlow/PUB_IntertieScheduleFlow.xml |
The End.