132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lancelot_1

import requests.packages.urllib3 requests.packages.urllib3.disable_warnings() from flask import Flask from flask import request import requests from requests_toolbelt import MultipartEncoder import requests app = Flask(__name__) import requests import json from datetime import datetime botEmail = "" # botun email adresi accessToken = "" # Botun access tokeni host = "https://api.ciscospark.com/v1/" # CISCO Spark …

Software Development api c# cdn json python
Member Avatar for rproffitt
0
331
Member Avatar for nitin1

Hi, How can I pass a c# string to C++ side of the app? Right now, I have all handling in Const char * format . When I pass c# string, c++ working fine when using Platform::String . But there is no good way of converting Platform::String to const char …

Software Development c c# c++
Member Avatar for ddanbe
0
5K
Member Avatar for Edward_16

I've written a code that creates a Checkerboard Array application. There are no errors when I compile the code. Once I run the application, the window pops up but its just a blank white window. The code is as follows: import java.awt.*; import java.awt.event.*; public class Checkerboard extends Frame implements …

Software Development java
Member Avatar for JamesCherrill
0
229
Member Avatar for complete

In Microsoft c# Visual Studio I am using XPathNavigator to read and manipulate an XML data set. The exception that is thrown is very descriptive in pinpointing the problem with the XML file that is read. There is one text field that exceeds the limit of what is allowed for …

Software Development open-source visual-studio xml
Member Avatar for tinstaafl
0
617
Member Avatar for Max_26

I have class with main method like: public class Main { public static void main(String[] args) { long timeCheck; long periodOfTime; ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(2); long initialDelay = 0; // the time from now to delay execution long period = 1; // the period between successive executions scheduler.scheduleAtFixedRate(new FeedReader(img, url, …

Software Development java
Member Avatar for Max_26
0
564
Member Avatar for rezhin_1

hey guys I'm new in perogramming the question is that (if your salary is 10000 after how many years will be doubled if each year increases by %5)??!!

Software Development java
Member Avatar for jwenting
0
196
Member Avatar for Robert_79

Hello I am trying to create chaper links for my Vimeo videos on my site. I have managed to get a script working with direct links but cannot get it to work with a drop-down menu. Here is my code: <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script> <script src="https://f.vimeocdn.com/js/froogaloop2.min.js"></script> <script> $(window).load(function(){ var link_1_track = 26; …

Software Development api java javascript-jquery
Member Avatar for JamesCherrill
0
384
Member Avatar for abhinav_8

hi! I want to create a procedure which execute given below query using dynamic sql. i am getting some error i.e. "Msg 156, Level 15, State 1, Line 1 Incorrect syntax near the keyword 'GROUP'." my query which i want to run by procedure is: ;with cte as (select *,t.opening+Recieve+returnback-Issue …

Software Development sql
Member Avatar for abhinav_8
0
377
Member Avatar for dongtrien

I have show example merge cell the datagridView but actually deleting the duplicate line (demo: https://stackoverflow.com/questions/16774966/how-to-merge-datagridview-cell-in-winforms), I want after merge cell the text in the middle of the cell as the image file attached to the code write how ? http://www.mediafire.com/view/h005tuc3aawaray/1.PNG/file

Software Development c
0
338
Member Avatar for batoolhussain

Hi Every Body i have a server and a numbers of clients and i when i want to open a page on the clients machine it is open in the server insted of the specified client machine. i am using host to open the required page and i am trying …

Software Development oracle
Member Avatar for rproffitt
0
488
Member Avatar for batoolhussain

Hi Every one, i have a server and a numbers of clients and i have a C# program on that server. My question is how to run that program on these clients without installing the visual studio on the clienets computers????? you very much

Software Development c# visual-studio
Member Avatar for KushMishra
0
423
Member Avatar for dongtrien

I want to color cell of the listview, how to write code ? You see my image file. http://www.mediafire.com/view/uoq3qw4o9c90jwd/chamcong5.jpg/file

Software Development c listview vb.net
Member Avatar for rproffitt
0
988
Member Avatar for Onur_2

Hello, I'm trying to create a program for a multiple choice test. I have 12 students, and I have the answers, all I need is to learn which student chose how many correct and wrong answers and left how many empty. All I need is something like this Students Correct …

Software Development java
Member Avatar for JamesCherrill
0
265
Member Avatar for Wong_2

i'm newbie in the programming in language c++ can i know what the code of update function and delete function?I have no idea to do this 2 function someone can help me? please...

Software Development c++
Member Avatar for Softvelopers
0
179
Member Avatar for dev01

Hello, I'm trying to edit existing pdf file. More precisely add new text or replace some text with another text. When i try to replace some text with another the problem is that it simply overlays ontop of the field which is not what I need. I need the text …

Software Development c# pdf
Member Avatar for pty
0
3K
Member Avatar for scheppy

Guys, Im wondering, If I have another class with a jpanel in it... and I add this to the jPanel, this should work correct? jpanel.add(new DoughOverviewList()); jpanel.repaint(); for some reason its not showing in my jpanel, /* * To change this license header, choose License Headers in Project Properties. * …

Software Development java java-swing
Member Avatar for scheppy
0
408
Member Avatar for dongtrien

Suppose there are two forms: frmMain and frmPopup, frmPopup is always on frmMain, when select frmMain inputting data then frmPopup always on frmMain, frmPopup is always on frmMain, how is it to write code ? you see attach file http://www.mediafire.com/view/bq32fcb3ept329r/PopUpInput.jpg/file

Software Development c vb.net
Member Avatar for ddanbe
0
299
Member Avatar for josh_9

dbconn.Open() s = "Select Max(cheque_no) + 1 As NewValue From tblEntry" Dim cmd As SqlCommand = New SqlCommand(s, dbconn) Dim dr As SqlDataReader = cmd.ExecuteReader() If dr.HasRows Then dr.Read() If IsDBNull(dr("NewValue")) Then empId = 1 Else empId = CInt(dr("NewValue")) + 1 End If Else empId = 1 End If dr.Close() …

Software Development vb.net
Member Avatar for josh_9
0
209
Member Avatar for andrewll2

This snippet converts a CIDR notated IP address to a range of IP addresses in decimal, dotted notation. Eg.: 192.168.1.255/31 => 192.168.1.254 - 192.168.1.255

Software Development c lan-wan
Member Avatar for JamesCherrill
0
4K
Member Avatar for scheppy

Hey Guys, So I have a JTextfield in the cells of 1 of the columns in my JTable I want to allow only numbers and up to one dot/period. Doesant need to contain a period. The persiod can be anywhere except at the end of the number. 1 ok .1 …

Software Development java regex
Member Avatar for JamesCherrill
0
774
Member Avatar for Jack_44

I'm trying to compare 2 different CSV files, mark those differences respectively, then produce it as an output. However, my code seems to be only reading the last part of the lines from sample1.csv and sample2.csv as you can see below: Sample1.csv Planet,Account,Name,Station,City Earth,1234,Pete,Nebula,Phoenix Earth,1234,Pete,Nebula,Phoenix Earth,1234,Pete,Nebula,Phoenix Sample2.csv Planet,Account,Name,Station,City Earth,1234,Pete,Nebula,Wakanda Earth,1234,Pete,Nebula,Montgomery …

Software Development python
Member Avatar for Ramij
0
1K
Member Avatar for dongtrien

I have a data file called Access 2003 Table The question "TABCAUHOI" has the following fields: ID int; NOIDUNG memo; The "NOIDUNG" field has data type as memo, I pour data from excel text file into this table in this access file to check the contents are full as excel …

Software Development c
Member Avatar for dongtrien
0
251
Member Avatar for Addison111

I have a web server app, and a client app that works like a browser. I get the desired response from the server app if I type my IP in the browser window, if I read the response to the client app I get an empty string. The client app …

Software Development algorithm c++ regex web-browser web-server
Member Avatar for rproffitt
0
510
Member Avatar for JModak

automatically duplicate rows in sql server 2008 r2 select query i have two table name 1) tbl_Stock_Journal 2) tbl_Stock_Journal_Details i run a select query with where condition i have 5 data in table1 and in table 2 have 3 data when i run the query result is showing 15 row …

Software Development sql
Member Avatar for pty
0
651
Member Avatar for Jingex

Hi,my problem is when I choose yes to go for customer number 2 and when I simply choose either a combo(even thought A,B,C or D) it will straight end the whole program and show press any key to continue instead of continue the looping for return the selection(case A,B,C,D or …

Software Development c
Member Avatar for Reverend Jim
0
1K
Member Avatar for ALosh99

How can I calculate the average weight in python for two columns (x,y) data file, between 8<r< 9. in python I have tried this put it dose not work with my np.average(X,Y, weights=[8,9]) I have calculated the average weight which is 12.14, now I am trying to use this weight …

Software Development python
Member Avatar for vaishali_2
0
317
Member Avatar for Phantess

I'm trying to get a pop up as soon as a user logs in. I already have the pop up, but it keeps popping up all the results one at a time when I only need it to pop up within 15 minutes before the appointment time. How can I …

Software Development java
Member Avatar for JamesCherrill
0
455
Member Avatar for imBaCodes

Below is my code for adding parameters in my vb .net code for prepared statements of npgsql. Dim xConn As NpgsqlConnection = ConnectDB() Dim xCmd As NpgsqlCommand = xConn.CreateCommand() xCmd.CommandText = "UPDATE " & xTable & " SET previous_tot_adj = @prev_adj ,tot_adj = @tot_adj WHERE version = " & _version …

Software Development asp.net vb.net
Member Avatar for rproffitt
0
677
Member Avatar for Phantess

I am trying to display this SQL query in a table. String query = "SELECT COUNT(`appointmentId`),EXTRACT(MONTH FROM `start`) FROM `appointment` WHERE YEAR(start) = '" + year + "' GROUP BY EXTRACT(MONTH FROM `start`)"; Unfortunately I cannot alter the database. I am trying to list the total appointments per month on …

Software Development display java
Member Avatar for Phantess
0
1K
Member Avatar for Joshiko

hey guys, I already have a database that can add a person with the RFID card number, I just want a little help of you guys if how can I code the rfid and when I tap the card, the RFID# of that person will be there together with the …

Software Development vb.net
Member Avatar for Joshiko
0
938
Member Avatar for WDrago

All, For the life of me I cannot get this program to compile. The error message "error: non-static variable this cannot be referenced from a static context" occurs on lines 23 and 24. Here is the entire program: [CODE]public class ThreadTest { public static int x = 0; public class …

Software Development java
Member Avatar for JamesCherrill
0
28K
Member Avatar for gonzi.p12

hey guys, Can any body tell me how shall i start with the project. I will be using Java and C together(JNI) in netbeans for coding. I will be embedding the C code in Java(Interface). First i want to read the wav file in C and sample it and apply …

Software Development algorithm c java-netbeans
Member Avatar for iranano
0
2K
Member Avatar for Daniel_93

I am becoming confused with visual studio v. Vb.net. I am findings hundreds of pieces of code tells me how to connect. Snippets elsewhere that tell me how to access data in the database I connected to. I am not finding snippets/examples that walk one thru connecting, adding, deleting etc. …

Software Development vb.net visual-studio
Member Avatar for JamesCherrill
0
572
Member Avatar for jaimin4829

we r trying to insert date from datetime picker into mssqlserver 2005 but it also enter defult time(00:00) with it in database. using we want only date... [CODE]& xyzdtp.value.date &[/CODE]

Software Development client-server sql vb.net
Member Avatar for uzma_2
0
27K
Member Avatar for Addison111

I'm trying to build a client and a server in the same program. For example, user 1 sends a packet of data to user 2, user 2 after receiving the packet sends back a different packet to user 1. The problem is, after running the program neither user receives the …

Software Development api c++
Member Avatar for kevenm
0
935
Member Avatar for Leonardo_6

Could anyone please review my code https://github.com/LeoUpperThrower4/GeneticAlgorithm

Software Development algorithm github python
Member Avatar for rproffitt
0
249
Member Avatar for scheppy

Hi Guys, I ussually dont post anything here often, just get everything off of everyone elses questions, but I'm having a strange problem that im scratching my head over, I have a JTable where I can Add and remove rows... This is just for testing purposes, I'm about to make …

Software Development java java-swing
Member Avatar for scheppy
0
752
Member Avatar for DAVID_135

I want the method to append a new person object according to the form each time the save button is clicked, and read the new content of the file each time the retrieve button is clicked, unfortunately it only reads the last entered person. am now here for help package …

Software Development file-system java
Member Avatar for JamesCherrill
0
586
Member Avatar for sidyusuf

how can i limit a user to enter 10 digit no like telephone no in textbox without using regular expressions?????

Software Development vb.net
Member Avatar for ddanbe
0
16K
Member Avatar for Aqib_2

SELECT SUM([BTL].dbo.OrderTable.Quantity) AS 'Totalquentity',Count(BTL.dbo.OrderTable.OrderID) as TotalOrder FROM [BTL].dbo.OrderTable JOIN [BTL].dbo.Products ON [BTL].dbo.OrderTable.ProductID=[BTL].dbo.Products.ProductID Left JOIN [BTL].dbo.Brand ON [BTL].dbo.Products.BrandID=[BTL].dbo.Brand.BrandID WHERE [BTL].dbo.OrderTable.EmployeeID='1' Group by [BTL].dbo.Brand.BrandName,[BTL].dbo.Brand.BrandID" I Want to get avg

Software Development
Member Avatar for pty
0
235
Member Avatar for party_1

G'day, Im about to have my big brake and i'm gonna ask you about creating a music app like spotify? Do you know where to start from?

Software Development
Member Avatar for John_206
0
295
Member Avatar for brittany435

Hello, I am working on a small program that reads ten numbers, computes their average, and finds out how many numbers are above average. This is the set up I have so far: #include <iostream> using namespace std; int main() { double myList[10]; myList[0] = 89 myList[1] = 56 myList[2] …

Software Development c++
Member Avatar for Reverend Jim
0
3K
Member Avatar for Alzen John

Hi, I would like to know how to get IP Address of the devices connected to the hotspot of my PC using a VB program that will run on the same PC where the hotspot is running. I have no idea how to get it strated. I searched internet but …

Software Development vb.net
Member Avatar for Reverend Jim
0
740
Member Avatar for kamilacbe

Hi , i have a collection of html element to render the output , and i wanna change element tag for eg h2 tag to h4 and then send to the render output markup in react js . I can do them in jquery but wanna try in reactjs .some …

Software Development api html-css javascript
Member Avatar for rproffitt
0
4K
Member Avatar for John_165

Hey guys, I have a little bit confused on below code and output **Main ** public class Main { public static void main(String[] args) { ClassA classA = new ClassA(); System.out.println("====== Before ====="); classA.checking(); System.out.println("===== After ====="); classA.checking(); } } ** Class A** public class ClassA { boolean b = …

Software Development java
Member Avatar for Buy Business
0
589
Member Avatar for prnjn

Hi , For my major project i have 7 months in hand. I have decided to make a video chatting application using java (like yahoo messenger or skype) with features , 1. Authentication of user name and password before logging in 2. one to one online video chatting . 3. …

Software Development gui java java-jsp java-swing video web-browser
Member Avatar for JamesCherrill
0
8K
Member Avatar for JModak

Sir. I create a project in vb.net 2010 sql server 2008r2 and crystal report 13. i use this code for showing the report. Public Sub PrintSaleRInvoice() Dim PrintSale As New DataSet objsale.saleinvid = txtSaleInvid.Text PrintSale = objsale.PrintSaleInvoice() ' Procedure name PrintSale.Tables(0).TableName = "DataTable1" Dim rpt As New SaleInv rpt.PrintOptions.PaperOrientation = …

Software Development dataset vb.net visual-studio
Member Avatar for rproffitt
0
586
Member Avatar for tshukela.george

what is causing this error here "Operator '&' is not defined for string "select * from Miscellaneouse whe" and type 'DataRowView'." provider = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source =" dataFile = "C:\Users\PrintServer\Documents\Visual Studio 2010\Projects\Hr and Payroll1\HR and Payroll.accdb" ' Change it to your Access Database location connString = provider & dataFile myConnection.ConnectionString = …

Member Avatar for Reverend Jim
0
267
Member Avatar for student_x

Coin game: Alice and Bob are playing a game using a bunch of coins. The players pick several coins out of the bunch in turn. Each time a player is allowed to pick 1, 2 or 4 coins, and the player that gets the last coin is the winner. Assume …

Software Development c++
Member Avatar for G._1
0
3K
Member Avatar for deadmarshal

Hi, I've written this code which i send below. now i have a listview, and when i click each item in my listview, i want it's related word to be fetched from db and shown in my textview. now it fetches all the data :(. look at the picture, for …

Software Development gui listview python sqlite tkinter
Member Avatar for rproffitt
0
524

The End.