Member Avatar
# NOTE # This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply to [this thread](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/505442/read-this-before-posting-sticky). # Before you ask # - Read our [Forum Rules](https://www.daniweb.com/welcome/rules). - Engage your brain! We understand that …
by pritaeas 1,895 in Programming ()
Member Avatar
This is my xml parsor class: public class DataHandler { static XmlSerializer serializer; public static void Initialize() { serializer = new XmlSerializer( typeof( dataset ) ); serializer.UnknownNode += new XmlNodeEventHandler( serializer_UnknownNode ); serializer.UnknownAttribute += new XmlAttributeEventHandler( serializer_UnknownAttribute ); } public static void ReadXML( string filename ) { FileStream fs = …
by Devon_3 in Microsoft Windows ()
Member Avatar
Our company is developing a large, database (MySQL) system on top of the Netbeans RCP. This is a Java Swing GUI based application. We want to take advantage of Rich Client Platform to develop the "Government Platform" and use its module project type to develop the "Government Modules", essentially Java …
by Software_1 in Community Center ()
Member Avatar
Hi been trying to **click on a button.**. ![SnapCrab_NoName_2016-9-18_17-32-55_No-00.png](/attachments/small/4/0d67448b4c9a403d8045742796fd1a6e.png "align-left") heres the **code** from html** webDocument** ![SnapCrab_NoName_2016-9-21_20-35-31_No-00.png](/attachments/small/4/d21666d16295481ea3442c1cbeb44690.png "align-left") within **WebBrowser control**.. **Please Help**.. Thank You.. Heres my code so far.. Dim theElementCollection As Windows.Forms.HtmlElementCollection = Nothing theElementCollection = WebBrowser1.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In theElementCollection If curElement.GetAttribute("id").Contains("remove-over") Then curElement.InvokeMember("click") …
by TheGuy831 in Software Development ()
Member Avatar
So I'm maing a 3D game editor in Java using LWJGL (Lightweight Java Game Library), I have the editor set up so that the user can create new levels, load up saved levels, save and quick save current levels, import textured models etc.. the basics. I am now trying to …
by CJMW 5 in Game Development ()
Member Avatar
Hi im trying to **click** on a **button** within a **webbrowser control**.. to close a ad in a **iframe** wich i have no **access** to my code works on first page but not on second page heres my **Code** Dim theElementCollection12 As Windows.Forms.HtmlElementCollection theElementCollection12 = WebBrowser1.Document.GetElementsByTagName("a") For Each curElement As …
by TheGuy831 in Software Development ()
Member Avatar
**Problem** when remove any course from table list html his position in center or first it make problem in index in database **Details** IF I have list of courses as following : Delphi Flash Photoshop IF I remove flash by JQUERY remove button then click save button it delete flash …
by _1_14 in Web Development ()
Member Avatar
Hi all, I have a web application written in ASP.NET. All is working ok, except that I would like to compress the data being returned. The data is basically a List of custom models. Currently I do something like: `HttpResponseMessage json = Request.CreateResponse(HttpStatusCode.OK, my_models_list);` and return this from the method. …
by RudyM 46 in Web Development ()
Member Avatar
I want to check if the username existed in my database against the input of the user after the button is clicked. If the username existed, it will show "Username Not Avaliable" in the span and the username textbox will be highlighted in red. I tried to use ajax for …
by khun_1 in Web Development ()
Member Avatar
Hi, I was asked by my lead engineer to configure and migrate current database to elasticsearch that he believe will overcome the slow query issues . We are using laravel 5.2 , and using Amazon Web Services : Amazon Elasticsearch Service . I already done a proof of concept on …
by Muaz_1 in Databases ()
Member Avatar
I am using ms sql and php. What I am trying to do is display all the records that have the same incident number. I can get the first one to load, but im stuck how to get the rest of them. <?php $serverName = "myserver"; $connectionOptions = array("Database"=>"mydb"); $conn …
by Joe_10 in Programming ()
Member Avatar
I am trying to change the background of imageview using the following code. Here's my xml code. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.devnami.maya.maya.MainActivity" > <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/forest" android:adjustViewBounds="true" android:scaleType="fitXY" android:id="@+id/view1" /> <ImageButton android:id="@+id/button1" android:layout_width="45dp" android:layout_height="45dp" android:textStyle="bold" android:textColor="#FFFFFF" android:background="@drawable/flower" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" /> </RelativeLayout> And here's my mainactivity.java …
by MaheshKale in Mobile Development ()
Member Avatar
Hello guys, I found this C# article in daniweb forum and now I want rewrite the class described on the below link in C++ using WinSock64 lib but I'm newer in C++ programming and would like to have any idea to initiate the task. follows the link: https://www.daniweb.com/programming/software-development/code/422291/user-friendly-asynchronous-event-driven-tcp-client Best regards.
by washington_1 in Programming ()
c++
Member Avatar
I am trying to complete an assignment using stacks and I need a little guidance. My task is to make an array of 6 values and pass it to VIA stack to a subroutine where I need to increment through it and pass each value of the array to another …
by toxicandy 2 in Software Development ()
Member Avatar
Hi, I want to delete about 60 crore records from few oracle audit tables to free up some space. I am planning to delete them in batches of size 10,000. I dont want to use up lot of space while performing these deletes. Can someone suggest me a way to …
by saravind84 2 in Databases ()
Member Avatar
Hi, I am trying to create something which you can type into entry boxes, then save that information to a .txt file. I have got this to work however I wish to name the file as what is stored in one of the entry boxes and cannot figure out how …
by Blair_2 in Programming ()
Member Avatar
Hello there, i have problems with { "error": "invalid_grant", "error_description": "Bad Request" } " curl post request to https://www.googleapis.com/oauth2/v4/token I can't obtain new access_token... Here is my code: // These come from your client_secret.json file $clientID = "6590728998701b5184dev3d16dhgphu7b12me015bo9v.apps.googleusercontent.com"; $clientSecret = "pKAISh1d10k4vP7r1fDX20pJ"; $token_uri = 'https://www.googleapis.com/oauth2/v4/token'; // Build the URLEncoded post data …
by Ivan_10 in Web Development ()
Member Avatar
Needs save name in employee table and save all courses in employee courses table when click submit button in edit [HTTPPOST] Problem summary submit button save changes only and delete data exist before Problem details when click submit button in edit post .courses will save what i added or selected …
by _1_14 in Web Development ()
Member Avatar
I am in grade 11 and need help with creating a geocaching program in Delphi. It has to be intergrated with a database. Please could anyone give me ideas of what possible features this program could have Thanks
by Nadine_1 in Software Development ()
Member Avatar
Hi guys, Here is the question: I have Activity A, Activity B. Now, A --> B . Now, pressed the home button. Now, go to any image & "open with" will show my app. when pressing my app as the option, it will hit Activity A. When it will hit …
by nitin1 15 in Mobile Development ()
Member Avatar
Hello guys... i am a newbie to android development, i tried to load an image from url using picaso and it displays 'node static field, refference cannot be refferenced from static field package io.github.froger.instamaterial.ui.adapter; import android.content.Context; import android.support.v7.widget.LinearLayoutCompat; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import android.widget.ImageButton; …
by Prince_15 in Mobile Development ()
Member Avatar
using lua is it possible to download from url?? Below code i have tried but not getting 1) using curl local curl = require "luacurl" local c = curl.new() function GET(url) c:setopt(curl.OPT_URL, url) local t = {} -- this will collect resulting chunks c:setopt(curl.OPT_WRITEFUNCTION, function (param, buf) table.insert(t, buf) -- …
by Jiby_1 in Programming ()
lua
Member Avatar
error is::Error 1 The name 'InitializeComponent' does not exist in the current context Please help me in system manager: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net.Mail; using System.Web; using System.IO; using Microsoft.Win32; using System.Diagnostics; namespace System_Manager { public partial …
by Usman_10 in Programming ()
c#
Member Avatar
In php we all know file_get_contents("https://xxxxx/p.php); is there any similar function like in Lua programming language
by Jiby_1 in Programming ()
Member Avatar
hi, so ive been trying to add a splash screen to the start of my game. the user presses "e" to continue and "q" to quit. it's not working, could anyone help. import os import pygame import random pygame.init() #Colours im using in the game white = (255,255,255) black = …
by rhys1619 in Programming ()
Member Avatar
Hi. I have tried to save the Json data retrieved below in vain. When I connect the database and try to insert the post data, the script no longer retrieves or decodes the data. When I leave it, the API tells me the data was reconciled or decoded. How can …
by Eddy_1 in Web Development ()
Member Avatar
A good CMS system should: Keep you in touch with your data -- random sampling of your Video Audio Pictures and Text Help you identify corrupt and duplicate data.. It's there believe me. Make sharing your info easy. Extract specific data files and elements Fast forward / slow motion / …
by SpectateSwamp -1 in Software Development ()
Member Avatar
Imports System.IO Public Class AddEMForm Private Sub CreateCSVfile(ByVal_strCustomerCSVPath As String, ByVal EName As String, ByVal Edate As Date, ByVal ELoc As String, ByVal EDis As String, ByVal EFee As String) Try Dim stLine As String = "" Dim objWriter As StreamWriter = File.AppendText("..\..\EventData.txt") If File.Exists("..\..\EventData.txt") Then objWriter.Write(EName & ",") objWriter.Write(Edate …
by Vusumuzi in Software Development ()
Member Avatar
Can somebody will tell me how to gain more likes on Instagram selfie. If their is an easy way to gain likes then please tell me.
by Alex_52 in Digital Marketing ()
Member Avatar
How to add some data where ever a empty line is present. for ex. between line 3 and line 4 below, we have a empty line and I want to add some stuff at that empty line location. how can i do it please help me. I am new to …
by Rj_1 in Software Development ()