1,430 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for mweshk

Dear the gurus; I am a developing a small program for voting of about 5 candidates. The program should compute and return the candidates and their total tallied votes. If a voter enters a number outside 1-5 it should count it as faulty vote. I have the following program but …

Software Development c++
Member Avatar for 4075/2019
0
13K
Member Avatar for arun.gtm11

I make the windows form on which on a single button click performs like this ' private void button1_Click(object sender, EventArgs e) { Excel.Application exapp=null; Excel.Workbook exbook=null; Excel.Worksheet exsheet = null; object misvalue = System.Reflection.Missing.Value; exapp = new Excel.Application(); exapp.SheetsInNewWorkbook = 1; exbook = exapp.Workbooks.Add(misvalue); exsheet = (Excel.Worksheet)exbook.Worksheets.get_Item(1); exsheet.Cells[1, 1] …

Software Development c#
Member Avatar for jackflint
0
4K
Member Avatar for makamanlol

Hey guys, im sort of working on little project and i have these picturebox arrays, so when button1(capture) is pressed the image in the [drawing]picturebox is set to the image of the picturebox[i], then when you press play, it repeats all the images captured eg if i = 100, it …

Software Development vb.net
Member Avatar for Waraporn
0
2K
Member Avatar for joemalaya

Hello guys, how to track the mouse click coordinate inside the form , save it to listbox or variable. Right now i am using checkbox method which already specify the coordinate. I attach the image to illustrate my program

Software Development visual-basic
Member Avatar for hasan_15
0
449
Member Avatar for MagnusTheRed90

The following code is not working correctly. It is supposed to be associating an ip address of a user with a post's content, which in an online scenareo you know can be two different ip addresses. It is therefore showing exactly what was done with an account in the event …

Software Development c# c++ vb.net
Member Avatar for MagnusTheRed90
0
290
Member Avatar for joshi1984

Hi, i want to change my IP-Adress (IP + Subnet + Gateway/DNS) in a Virtual-Box (VBox - System = Windows 10 and 7) to a static-IP. Til today I use "netsh", but sometimes it doesn´t work and I don´t know why. Thats why I am looking for an other method …

Software Development microsoft vb.net
Member Avatar for joshi1984
0
107
Member Avatar for zeekie22

I am a developer who recently started working on my own, and I've come across some projects that I can't handle by myself (mostly in React). What resources would you guys recommend for finding / putting together a team of remote developers to join me on these projects?

Software Development c++ java python sql
Member Avatar for benjamin79
5
180
Member Avatar for Xozz

I'm reading a book about C++. I'm on arrays now. It seems that a two-dimensional array is taken in this way: void Function( int arr[][numberof2nddimension] ) { } Why is that so? Help please. Thanks

Software Development c++
Member Avatar for JamesCherrill
1
363
Member Avatar for wesley_overton

Hi all, I've been having a problem adding a record to an Access database using datasets and da.update etc. I'm trying to create a simple program that displays the records of a database table in a series of text boxes. I've managed to get my next and previous buttons working …

Member Avatar for EricAJB
0
2K
Member Avatar for Andrei_11

Hello all! I have an excel file that looks like this: Time of Day Lap Lap Tm Speed 14 - Stoicescu Dan - Regularitate Coupe 9:40:50.835 1 2:47.462 88.763 9:43:37.584 2 2:46.749 89.142 9:46:33.319 3 2:55.735 84.584 9:49:58.901 4 3:25.582 72.304 9:53:13.988 5 3:15.087 76.194 9:55:50.639 6 2:36.651 94.889 9:58:49.884 …

Software Development microsoft sql vb.net
Member Avatar for Andrei_11
0
608
Member Avatar for macroasm

Visual Tkinter is Python 2.6 GUI builder. Visual Python programming language for advanced Visual Python IDE that offers the possibility. As of December 2008 starting and writing fasting Editor. This software is using Scintilla editing component. <URL SNIPPED>

Software Development python
Member Avatar for Titus_1
-4
2K
Member Avatar for griswolf

I'm writing a utility that will likely be called by a script that uses `argparse`, but should be useable by any script. The engine object constructor needs a dozen or so parameters to tune its behavior. The question is: What is the best way to allow the caller to send …

Software Development python
Member Avatar for JamesCherrill
0
311
Member Avatar for RJPII

I have been browsing the web for days now trying to find a solution to my problem and have yet to come up with anything so far so I figured I would ask some professionals. Basically I need to read a text file which contains records along the lines of: …

Software Development c++
Member Avatar for Syed Umair Mohsin
0
12K
Member Avatar for Climber Ty

So I am trying to wrap my head around link lists and the theory is there but the magic isn't (at least in my program)... my problem runs with the void traverseRecord() function. For some reason it automatically shows all the nodes. Maybe I haven't totally grasped the concept of …

Software Development c++
Member Avatar for JamesCherrill
0
6K
Member Avatar for smachee

I have written the code for the following problem and would just like some feedback before I move on. The problem states: [QUOTE]Write a class names TestScores. The class constructor should accept an array of test scores as its arguement. The class should have a method that returns the average …

Software Development java
Member Avatar for patrick_25
0
5K
Member Avatar for kamilacbe

Hi , Am new to teamcity build configurations . so somehow i get a builderror when the source code js build for first time after rebuild its sorted in my local machine . Unfortunately the same happends in teamcity build where it cannot get the nugget package and it produce …

Software Development
1
36
Member Avatar for Shaitan00

First - so I don't get in any trouble - I've posted a similar question on other forums but have not gotten any responses so branching out in my quest for help as well as changing the question a little. Previously I was trying to find out why calling LoadUserProfile(...) …

Software Development c#
Member Avatar for Pooja_20
0
6K
Member Avatar for pROKO

I programmatically edit my datagridview cell values. I use the vertical scrollbar to find the row I want to edit, select the row then click an edit button that takes me to another form where changes to the record are made. I then click a button which saves the changes …

Software Development vb.net
Member Avatar for Trần Hoàng Sơn
0
5K
Member Avatar for monkey_boy_401

can you please tell how you would invert the mouse control so that up is down, left is right etc.

Software Development c++
Member Avatar for D_5
0
3K
Member Avatar for Syada

Write a complete C++ program for WorldParking Sdn Bhd. to perform the following: a. Write a return-value function named calcCharges() to calculate and return the parking charges for the customers. The company charges a RM1.00 minimum fee to park for up to one hour. An additional RM0.50 will be charged …

Software Development assembly c++
Member Avatar for Fatur_1
0
607
Member Avatar for MagnusTheRed90

I am trying to pass url parameters to an angular js page for page setup. I was wondering if anyone could tell me whether I am missing something from these two code samples. The following is some code from a game related program that I am writing. The $routeProvider parameter …

Software Development asp.net c# html-css java javascript vb.net
Member Avatar for MagnusTheRed90
0
139
Member Avatar for ppel123

Hello everyone, I am working on a project, which corrects user input (reads input stream from keyboard with keyboard module hook) based on some rules. I am trying to find the fastest way to delete and write the corrected word, after a user enters a wrong one. Currently I am …

Software Development python
Member Avatar for griswolf
0
393
Member Avatar for davidmoffitt1

Following The New Boston on youtube, he is using is in an if statement and doesnt show any error, on mine I get a syntax warning and it asks if I meant ==, but still displays the output the way it should be.

Software Development python
Member Avatar for tinstaafl
1
304
Member Avatar for newcoder310

Hi have 2`springboot` applications running on ports `8085` and `8084`. When I try to use `RestTemplate` to try to connect from one service to another, I get a `BadGateway 502` exception. Below is the stacktrace head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.9</center> </body> </html> ]] with root cause org.springframework.web.client.HttpServerErrorException$BadGateway: …

Software Development java
Member Avatar for newcoder310
0
3K
Member Avatar for tony75

Hi Try to extract password from my chrome browser but I got this error below How can I solve this problem? Traceback (most recent call last): File "Chromer.py", line 13, in <module> password = win32crypt.CryptUnprotectData(website_data[2], None, None, None, 0)[1] pywintypes.error: (13, 'CryptProtectData', 'The data is invalid.')

Software Development python
Member Avatar for rproffitt
0
352
Member Avatar for janedelsantos

Help, how can I create a MULTILEVEL QUEUE ALGORITHM program? I tried it but it crashes, does not build... It would be okay if its in other language. HERE IS THE SNIPPET CODE SAMPLE (c++): --------------------------------------------- //Enter Number of Process cout<<"\nEnter the number of Processes:"; cin>>n; //INPUT Arrival, Burst, and …

Software Development c++ microsoft
0
135
Member Avatar for SoftBa

Hi, I have one Win Form app to load Excel data into DataGridView. I want to store DataGridView data into MS Access database. Everithing works great, but in some cases inside ExcelFile I have single quote mark, which breaks SQL Syntax. My question is, How to find & replace "'" …

Software Development vb.net
Member Avatar for AndreRet
0
91
Member Avatar for jliamnrich

Hello friends. I am new at programming and need to programm "X" as an assignment [](https://freeessaywriter.org/) (pic is attached) The "X" should be arbitrarily large or small and the edge length of the "X's" should be entered by the user. The code is below. Would highly appreciate any help: include …

Software Development c
Member Avatar for tinstaafl
0
90
Member Avatar for John_165

What are all num referring to ? class Sample { int num; void method() { num = 1; int num = num = 2; num = 3; } }

Software Development java
Member Avatar for John_165
0
1K
Member Avatar for subhraakasuny

Hi All, I have an excel file containg chart.I am able to read the chart from excel file using POI XSSF. But I am not able to save the XSSFChart as an image.I want the chart to be stored in my harddrive as an image(.jpg or .png).Please find my code …

Software Development image java microsoft-office
Member Avatar for GovindSharma
0
4K
Member Avatar for Mike Bishop

I normally use SQL as the backend database however for a new project I need to use MSAccess. I am trying to insert a new record, this works fine if I only have on fielid on the row but as soon as I have a second field I get an …

Software Development microsoft-access vb.net
Member Avatar for SoftBa
0
793
Member Avatar for ADeen02

A detective has interviewed four witnesses to a crime. From the stories of the witnesses the detective has concluded that if the butler is telling the truth then so is the cook; the cook and the gardener cannot be be telling the truth, the gardener and the handyman are not …

Software Development
Member Avatar for Shashikala_1
0
518
Member Avatar for Georgi_1

Hello, Can someone assist me how to create here buttons - Button7 - First - Button5 - Next - Button6 - Previous - Button8 - Last To search in database and display the results. Here is my project until now: - Also if there are mistakes or suggestions to make …

Software Development gui microsoft-access vb.net
Member Avatar for SoftBa
0
406
Member Avatar for RedWGS

So i need to make a program to my final year of college which will count on the grades and it is obligatory, im doing a program to search for recipes in a access database trough its ingredients, what i mean by this is selecting some ingredients and in a …

Member Avatar for Santanu.Das
0
208
Member Avatar for Reverend Jim

I have a Chromecast that I use to stream video from my laptop to our TV. It works great, however, until VLC (Videolan) releases their promised upgrade with Chromecase support, I am limited to streaming files in the mp4 format. Fortunately, ffmpeg allows me to convert other formats to mp4. …

Software Development vbscript video
Member Avatar for gladisfogson
1
2K
Member Avatar for ZZMike

This is Python 3.4.2 The documentation says that s2 = s1.strip('a') will strip out all the 'a' in s1. When I run it, only the leftmost character - and only if it is 'a' - is stripped. The default s2 = s1.strip() takes out all whitespace. PS: I understand that …

Software Development python
Member Avatar for tinstaafl
0
13K
Member Avatar for brettw02

Love the idea of the program. Im quite interested in seeing how to get something like this to work. Is there any chance someone could add a working version to the code snippets section or possibly send me a working snippet in PM? Im trying to educate my self and …

Software Development c++
Member Avatar for Jaynish
0
3K
Member Avatar for Fiascor

Hi there folks, kinda new too C# and want too show or hide a button using a checkbox and after trying i just gave up haha so here is the quastion! how do you do that because i am really lost here.. would show you the code. but i kinda …

Software Development
Member Avatar for JamesCherrill
0
1K
Member Avatar for Vegito1991

I was doing GUI based application, when i run the MyChatPage particularly, it able to send the text to the server and send to the client textarea, which is my objective, but if i run from MyChatIP class and create new object to open the MyCHatpage frame, it will hang, …

Software Development java
Member Avatar for Muhamad_5
0
509
Member Avatar for sujoy98

import java.util.Scanner; class bank{ public void termDeposit(){ int principle; double rate,years; Scanner sc=new Scanner(System.in); System.out.print("Enter Principle Amount : "); principle = sc.nextInt(); System.out.print("Enter rate od interest : "); rate = sc.nextDouble(); System.out.print("Enter time period in years : "); years = sc.nextDouble(); double maturityAmount = (principle*(Math.pow(1+(rate/100),years))); System.out.println("Maturity Amount after " +years+ …

Software Development java
Member Avatar for sujoy98
0
203
Member Avatar for MagnusTheRed90

I have a class which is sort of like a repository, and every time I write to the zip archive using this command, the prior activity is overwritten. /// <summary> /// Insert file into existing archive file. /// </summary> /// <param name="fullPath"></param> /// <param name="stream"></param> public void InsertIntoFile(String fullPath, Stream …

Software Development asp.net c c# c++ java javascript vb.net
Member Avatar for MagnusTheRed90
0
99
Member Avatar for Ninja_1

How can I show a div when menu item is clicked in angular? The Div show fine when I click list item, but dsn't disappear when I navigate to other menu items. <li><a class="nav-link slots" (click)="showme = true" >Slots</a> <div ng-hide="showme"> <div class="ribbon" *ngIf="game.categories[0]"> <span>TOP</span> </div> <div class="ribbon" *ngIf="game.categories[2]"><span>NEW</span></div> </div> …

Software Development
Member Avatar for Akash_26
1
609
Member Avatar for Atharva_2

I have a list of tuples where each tuple within the list contains 3 elements. 1. Is the year in 4 digits i.e 2014 2. Month in integer i.e from 1-12 3. And another integer value which is the number of months needed to be subtracted. So if the date …

Software Development python
Member Avatar for Reverend Jim
0
129
Member Avatar for Katara1

,can anyone help me to find what's the problem with this programming code! it's work so well !but there two methoods didn't work ((the max salary method and sum salary )) at (main)... Especially the output results . there's no errors \\ i have no idea how to solve it …

Software Development c++
Member Avatar for bdux
0
126
Member Avatar for shawinke

Hi all pls help me with the soln to this probelm, the catch is the interface (menu) needs to be Built in C++ as well. any suggestions would be of great help as well. thanks It is a system written using a structured programming language (e.g. C, Turbo C) that …

Software Development c++
Member Avatar for rproffitt
-1
3K
Member Avatar for janice_1

Hi i am getting the following error in a php program i am using PHP Warning: A non-numeric value encountered in xxxxxxx db_connect.php on line 60 // find age if(! function_exists('Age') ) { function Age($birthdate) { return date("Y") - substr(trim($birthdate),-4,4); //// THIS IS THE LINE FOR THE SAID ERROR } …

Software Development php
Member Avatar for Dani
0
256
Member Avatar for tian_1

hi,I'm trying write a AI calculator program on Python ,can help me how to start write this coding

Software Development python
Member Avatar for rproffitt
0
106
Member Avatar for pythonstudent28

Hello! I am creating a turtle code where I want to create multiple circles on a map. However, my turtle is currently coninuing to go around in a circle over and over again, and so the other circles cannot happen. Any help or advice will be greatly appreciated! Thanks! This …

Software Development python
Member Avatar for thinkingfield
0
283
Member Avatar for VIPER5646

Hi all I Have a CalendarvProject with a 3rd party Calendar control. the application was working fine untill I upgraded the Calendar Control . When I opened the solution two references were no longer availabe, so I had errors. One of the references was ExtremeCalenderControl the other AxXtremeCalendarControl. I was …

Software Development vb.net
Member Avatar for VIPER5646
0
185
Member Avatar for Gilbertsilva123

which code can i use to make enemy shoot at the player non stop and when the bullet catches the player the health decreases any kind of help i appreciate - pygame

Software Development python
Member Avatar for Gilbertsilva123
0
157

The End.