199,114 Archived Topics
Remove Filter ![]() | |
Can anyone tell me how to calculate yesterday's date using c++? | |
This is my soap code try{ $client = new SoapClient( "https://www.tntexpress.com.au/webservices/booking.svc?Wsdl" , array('username' => "xxx",'password' => "yyy") ); $params = array( "SenderAccount" => 30017823, "SenderDetails" => "ROSEHILL 2142 NSW EAST", "CollectionDetails" => "ROSEHILL 2142 NSW EAST", "ReceiverDetails" => "MELBOURNE 3002 VIC", "ItemCount" => 1, "TotalWeight" => 10, "MaxLength" => 10, … | |
Hi Im trying to Populate my datagridview from data scraped off of webpage i Want to be able to report progress when datagrid finished updating.. with a progressbar.. Please Help!!!!!! Thank You.. Heres My code Dim theElementCollection As Windows.Forms.HtmlElementCollection theElementCollection = Form1.WebBrowser2.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In theElementCollection Form1.DataGridView1.Rows.Add(curElement.GetAttribute("title"), … | |
Hello, on Hotmail/Outlook webmail, when I receive an email message in the spam folder (formally Junk), I can mark the message as **Not Junk**. The server will then start to deliver the messages from that source, directly into the Inbox, working like a whitelist. Is it possible to do the … Programming email php socket-programming | |
Hi all! As of recent, I have been attempting to change a startup form using normal procedures (Project --> Properties -->Application --> Startup form) to no avail. The old startup form (login) still continues to work as a startup one. I tried: 1. Rebuilding the solution 2. Rebuilding [project name] … | |
**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 … | |
Good afternoon, Currently, I’m trying to consolidate all my financial information into one place so that I can see (the solution I’m currently using is Excel – see attached): 1. Valuation at a particular date 2 .Breakdown by investment product 3. Various other analytics (Allocation by class etc.) I’ve tried … | |
Hello My Turbo C/C++ 4.0 was working properly in my Windows 7 64-bit but from two days i am not be able to use keyboard in Turbo C. I can't type any text. But mouse is working. Tried with DOS BOX Turbo C3, reinstalled it many times but could not … | |
Hi guys. Well according to the research I had, and MP3 file structure is as follows: ` AAAAAAAA AAABBCCD EEEEFFGH IIJJKLMM ` which is refered to as frames, and each. Each letter is one bit. I've seen samples demonstrating how to get data from this but what I want is … | |
My current program is text based, is there a way to convert it to a GUI based one? import sqlite3 from tkinter import* import sys import random from random import shuffle import time #------------------------------------------------------------------------------------------------------- def database1(): conn = sqlite3.connect("Database1.db") #connection to database #directory will need to be changed in order … | |
Hi all, I have a lot of long boring work ahead of me, unless this long shot comes up roses. I have a lot of classes I need to add a ToByteArray() method to, and I'm wondering if Visual studio 2015 has any tricks up its sleeve where I can … | |
I'm planning to create a web project, I'm wondering Angular 2 is stable or not. Or Should I work with Angular 1 now ? I scare that Angular 2 is not released now, it means that maybe it has a lot of issues. I really don't want to go so … | |
Hi, can we import .xls file in mysql? or how to upload .csv(Comma delimited) with multiple language using Load data? how to save multiple languages in .csv(Comma delimited) ? | |
Email not send .What is this error using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Net; using System.Windows.Forms; using System.Net.Mail; using System.Threading.Tasks; namespace send_email_new { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void existbutton_Click(object sender, EventArgs e) … | |
I am a member of another forum and forgot my password, so I clicked the "Forgot password" link and was told "fill this form out and we'll send you your lost password" or words to that effect. It occurred to me that I had never seen language like this and … | |
If I made a program, and I wanted a random number. I know it's not compleatly possible, since it takes numbers out of the ram. Although there must be worse and better ways to do this. What are the better ways do do it. | |
Hi, I have a project which runs on 'dual monitor' PC's. I only want to use one monitor at a time, but I want the user to pick which monitor they want to use (Primary or Secondary). I have set form1 to have a manual start position, and the user … | |
![]() | 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. … |
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 … | |
So I'm having a huge brain fart here and I know for a fact I am going about this the wrong way. Unfortunately, I can't refer to previous work I've done where I have done this correctly as I no longer have access to them. I have my index page … | |
Ok, so this site sell me on developing a website saying "Death to the DIY" MoPro is another cookie cutter platform that says they will build it but..... well you tell me. eeshop.us I need help to understand how to put content, products and vblogs on the site. And if … | |
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 … | |
Hi, All Presently I am working on a MLM (Multi Level Marketing) Software using PHP & MySQL. But I am not being able to display the Down line Tree of any particular member. I am using Pre order Tree. But my product should support Spill Over Binary Tree. Please Help … | |
![]() | If user enters a file path "C:\ProgramFiles\Blahblah\Blah.exe" in the textbox and presses enter it also changes the filepath in the code. How can I do that? Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Process.Start("C:\Users\Tj\Downloads\Catchem Releases\Catchem\Catchem.exe") End Sub Can the same thing also be done for Button label/name? |
I have developed an x86 application using Visual Studio 2008 with Visual Basic as the programming language. It uses .NET Framework 3.5. My databases are created in MS Access 2007. I have deployed my software on Windows XP all the way through Windows 10 with no problems up until now. … | |
Hi, I am new to this concept. How to export data from database in EXCEL for various standards with "dynamic headings" . | |
Hello, i want to make a categories menu which each will have its own sub-categories and that category will have own sub-categories im trying to make with arrays but i'm not really good at it.. im trying right now with bunch if statements but is there any other method of … ![]() | |
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 … Programming php | |
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 … | |
I m using vb.net with Sqlserver2014.The under mentioned code works fine at the time of save but in update it works only when i update the picture column, If I want to update any other column it gives the Error: "A generic error occurred in GDI+" Can anybody correct my … | |
show slow textbox array ie display the item and wait a few seconds to display the following c # , its gonna be like a process roundd 1 //wait a few seconds to dislplay another line for (i = 1; i <= r; i++) { label3.Text += ("round " + … | |
Hi there guys, I have a code in VB.net that is subtracting the items sold from the stock in the database When the program is run and the neccesary input are provided on the form and when the sale button is clicked the program is throwing an erroe message "Object … Programming open-source vb.net | |
[CODE]<?php header('Content-type: image/JPG'); $username = "root"; $password = ""; $host = "localhost"; $database = "image"; @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $query = mysql_query("SELECT * FROM img"); while($row = mysql_fetch_array($query)){ echo $row['image']; } ?> [/CODE] that code display … | |
Hi all, Ive been looking to convert one of my programs to include a GUI, and am having issues with the timing aspects of it. Ive included a mock scenario of what my problem is below: Ive defined my GUI as an object via a class, and am using the … | |
The GitHub Repo is [here](https://github.com/apkrieg/foovm). This was part of a contest with someone I met on Omegle. The goal was to see who's VM could run a set of example app the fastest, the catch: We had about 24 hours to implement the solution. My language of choice was Golang, … | |
I have been trying to insert,update,delete,select with separate queries.But when i try to write a query after a pre-written query i get an error that the string is predefined.I am working on a PBL project so i have to show all that in one program itself. Here is the current … | |
I'm having a lot of issues wring codes in C++ specialy when 3 files are required (.h, .cpp and main.cpp). Very different to C that it was very easy for me but not now with C++. I nee to write a program to do the following: Create 3 files for … | |
Hey everyone, was looking around and couldnt find any courses that dive deep into HTML / CSS. I finished the code academy course and want to go more into html and css. Does anyone know of any? Thanks | |
Hello! I am looking for some assistance with adding code to my program for handling non numeric data/user input, specifically letters. The program is coded in java. import java.util.*; public class AnArray { public static void main (String [] args) { // creates an array of interegers between 0 and … Programming java | |
#include<iostream.h> #include<conio.h> class twonum { private : int x,y; public: void getvalues() { cout<<"enter any two numbers"; cin>>x>>y; } void putvalues() { cout<<"\n\n"<<x<<","<<y; } int add(int x,int y) { return(x+y); } int multiply(int x,int y) { return(x*y); } void swap(int x,int y) { int c; c=x; x=y; y=c; cout<<x<<","<<y; }; … | |
Hello, I have a multidimensional array i like to make every category to be clickable and to show its own sub-categories i have something like this... pls help to achieve this. function makeList(array $Array) { $Output = '<ul>'; foreach($Array as $Key => $Value) { $Output .= "<li><input type='submit' name='value[$Key]' value='$Key' … | |
I want to generate a list of passwords of a cretain length passwords from a packet FILE. The packet file means a .txt FILE which contains more than 1M passwords of certain lengths. I want to store password of DIFFERENT length in a various .txt FILES /*this code is used … | |
Q.Write a program using 2D array. A company manufactures three products P1, P2 and P3. Company has hired five salesman. Each salesman sell all three products. Accept from user number of each product sold by each salesman. Find the product whose sale was largest.Also find the salesman whose sales were … | |
How to read properties file in Python? I found ConfigParser() but it has a 'section' limitation, so looking for other alternatives. Thanks, Harsh | |
<?php error_reporting(E_ALL ^ E_DEPRECATED); // connection to database include 'database.php'; ?> <?php if (isset($_FILES['image']) && $_FILES['image']['size'] > 0) { //// Temporary file name stored on the server $tmpName = $_FILES['image']['tmp_name']; // // Read the file $fp = fopen($tmpName, 'r'); $data = fread($fp, filesize($tmpName)); $data = addslashes($data); fclose($fp); } $name=$_POST['name']; $email=$_POST['email']; … | |
Dev-C++ v 4.9.9.2 IDE When I compile and run my program as a console project, a window flashes very briefly on the screen and disappears. The compile log says compilation was successful and execution terminated. How to I keep the window (my output window?) from disappearing? | |
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 … | |
Hi, I'm looking for a good tutorial or other source I can use to learn how to create calendar view using UICollectionView. I would be happy to receive your help. | |
I am struggling to do somehting so simple in Crystal Reports I have some numbers I.E 2.851 3.481 0.791 I want to round them up so they are 2.80 3.50 0.80 |
The End.