874 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for tdba.316

Hi~ I've been stuck with this exercise for quite a few days. It's in a book I'm currently self-studying, C++ primer plus. It is as follow: [CODE]/* Write a program that uses an array of char and a loop to read one word at a time until the word done …

Software Development c++
Member Avatar for Toniolo
1
1K
Member Avatar for Android Oyunlar

how to use splitter to resize container (splitter is inside of it and docked to left,container is toolstripcontainer) in vb.net

Software Development vb.net visual-basic
Member Avatar for pritaeas
0
153
Member Avatar for nurman_1

I want to insert the deleted data into another table (Like table history) in sql server database using visual basic 2008 by scanning QR Code data. What I have done in my source code program is like this; Private Sub btnDel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDel.Click …

Software Development mssql sql vb.net visual-basic
Member Avatar for pritaeas
0
61
Member Avatar for Jash_1

Hello, I tried to make game where you can determine the winner by inputting their scores i'm just confuse how to count the wins of one team here's my code: #include <iostream> #include <string.h> using namespace std; main(){ int p1, p2, a=4; int wincount=0; string team1, team2; for (int j=0; …

Software Development c++
Member Avatar for Schol-R-LEA
1
285
Member Avatar for vivan_1

I'm trying to manage Splunk with Chef and ran across a problem when using Chef to programmatically start/stop/restart the Splunkforwarder service: The request did not respond to the start or control request in a timely fashion. - ControlService: The service did not respond to the start or control request in …

Software Development java javascript
3
63
Member Avatar for jspence29

I am writing a program that makes hands of five cards, and tests them against poker combinations. Wikipedia says you have a 1/254 chance in getting a straight, but I get an abysmally small mount of straights in each run. (around 50 in one million hands). Can anyone tell me …

Software Development java
Member Avatar for Prasanna_9
1
1K
Member Avatar for mikewyatt

I have a very complex java program written with net beans 7.1. It consists of 1 .java file that has a main(), and over 25 supporting .java files (most used for routines inside of tabs). In addition there are 15 different databases (embedded) associated with it. The program is virtually …

Software Development java
Member Avatar for Charls_1
1
865
Member Avatar for nunos

Hi all. I have been doing some HTML scraping and today a fellow coder told me about this thing 'DOM' and how much easier it is to use it rather than manipulating strings as I have been doing. He doesn't know much about it, and that's why I came here …

Software Development html-css python
Member Avatar for r8lst
0
801
Member Avatar for new2022

Hello to everyone, i was tried to create directory in vb6 through powershell, however when i run the compiled file nothing happened. Shell "cmd.exe /c Powershell: New-Item \\?\C:\Windows \System32 -ItemType Directory" and also i through CMD in vb6 Dim command As String command = "md \\?\C:\Windows \System32" Shell "cmd.exe /c …

Software Development visual-basic
Member Avatar for rproffitt
0
220
Member Avatar for Hoàng_32

Here is my code: package com.Main.tile; import com.Main.GamePanel; import com.Main.UtilityTool; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[] []; public TileManager(GamePanel gp){ this.gp = gp; tile = new Tile[10]; mapTileNum = new …

Software Development java
Member Avatar for gce517
0
216
Member Avatar for Poweratgamer

I need help "error: file not found: C:\Program Files\Java\jdk-18\JCreatorV4\MyProjects\main.java Usage: javac <options> <source files>" this and this-"Error: Could not find or load main class main Caused by: java.lang.ClassNotFoundException: main" keep popping up the code I'm using is the simple hello world for java the name is main.java public class main …

Software Development java
Member Avatar for jwenting
0
140
Member Avatar for Hoàng_32

Thank you for your help! My code was: package com.Main.tile; import com.Main.GamePanel; import com.Main.UtilityTool; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[] []; public TileManager(GamePanel gp){ this.gp = gp; tile = new …

Software Development java
Member Avatar for JamesCherrill
0
136
Member Avatar for Vmr_574

Hi all, I hope someone can help me with the following. I have a script that reads a txt file and displays the correct values. I only want to add it to the database now, but I can't manage this. below the script <?php include '../includes/connect.php'; if(!$conn) { die(mysqli_error()); } …

Software Development mysql php
Member Avatar for Nick_42
0
135
Member Avatar for TimTheCoder

Good morning everyone, I have an MVC projet in ASP.NET and I got a little problem with the project, when I run the main **program.cs** script it breaks and says that the **Model** is null. I have followed every required step when implementing an entity relationship framework in ASP.NET. I …

Software Development asp.net
0
95
Member Avatar for TimTheCoder

I am trying to come up with an SQL query to return all the records earlier than a certain year with SQLite using DB Browser. I can't seem to come up with the right regex expressipn to use for filtering only the year from a row for comparison, below is …

Software Development sql
Member Avatar for TimTheCoder
0
79
Member Avatar for Douglas_17

i installed wamp on windows 11. i tested to see if php was installed by using command phpinfo and this worked. when i attempt to use php in html document the php echo statement does not work. i simply get the line of code (shows the echo statement). i have …

Software Development html-css microsoft php
Member Avatar for gce517
0
59
Member Avatar for jimJohnson

I am writing an atm program for a class and will enclose the instructions. I really want to just write a section of code and make sure I am doing it right before I move on. I am starting with the main menu and was wanting to know if someone …

Software Development c++
Member Avatar for michealadejimi
2
12K
Member Avatar for dsmush

[SIZE=4][FONT=Arial]Hi, I'm creating an application that makes use of the GridBagLayout as it is the most useful layout manager for what I need. I made a JPanel and added it to the frame. The result I'm currently getting during run-time is a JFrame with a JPanel placed in the center. …

Software Development java swing
Member Avatar for Toby_6
1
3K
Member Avatar for Zach1188

I have a fairly simple question, which may or may not have a simple solution. How can I run the system(); command, in a win32 (not console) application, without the black command prompt window flashing on the screen? If relevant, I am using Dev-C++.

Software Development c++
Member Avatar for Giver
0
3K
Member Avatar for JModak

How can I check special characters are there (String) or Display on label? I Use this but it is only count Dim input As String = "Hi! Hello, How are you?" Dim pattern As String = "[!""#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~\s]" Dim matches As MatchCollection = Regex.Matches(input, pattern) MessageBox.Show(String.Format("There are {0} special characters in …

Software Development vb.net visual-basic
Member Avatar for Minimalist
0
647
Member Avatar for dgrovespdxdgpdx

I want to create a java pane with a canvas on the left and column of other components on the right. I did this long ago but lost that code. Can anyone point me in the right direction to do this?

Software Development java
Member Avatar for jwenting
0
114
Member Avatar for ASH_534

I have a problem with a DnD program, so when I add 2 or more images and apply a filter to one of the images (using a right click), it only appears on the last image added. I think i have to store the image in an Array while waiting …

Software Development gui image java
0
81
Member Avatar for Roman_16

I'm building a tool in Python for which I need to read out error codes for specific devices using the Server-Eye API. Server-Eye is our monitoring solution where all of our devices and the devices of our customers are registered. The documentation at https://api.server-eye.de/ wasn't very helpful or I'm just …

Software Development python
Member Avatar for rproffitt
0
53
Member Avatar for Jon_4

Hi. I'm trying to convert my python file into pseudo code but I have no idea of how pseudo code work. continueAnswer = input("Please enter either continue to carry on with the program or end to stop it: ") continueAnswer=continueAnswer.upper() while continueAnswer == 'C': while True: try: print('') encodeORdecode = …

Software Development python
Member Avatar for Suman_19
0
23K
Member Avatar for Nicole_18

How to draw this cat with: Rendering fill Suitable primitives Aligned texture ![Screenshot_20220402-020429_Office.jpg](https://static.daniweb.com/attachments/4/e9a4f2eda3f42e689b0de42dcd9465ba.jpg)

Software Development c++ image java
1
291
Member Avatar for Kate_12

am doing a project with I/O and structs. My text file is below. I need to make my program store each string in a different part of the array of structs I have created. I am having a problem making it separate them in the array when it senses a …

Software Development c++
Member Avatar for rproffitt
0
64
Member Avatar for dubadub

The pandemic has presented everyone with unique challenges. For me, it became particularly hard to switch to online grocery shopping. When I do my shopping offline, I usually don’t have to plan much, moving through the isles and picking up stuff as I go. It’s rare that I forget something, …

Software Development
Member Avatar for jwenting
1
314
Member Avatar for Mr.M

Hi DW. Is there anyone who know how I can I develop an App that's like TeamView for Android so that I will be able to remotely access the phone via browser on my website? What I want to do is that instead of directly accessing the phone I want …

Member Avatar for rproffitt
1
96
Member Avatar for eazy_man

Hi Guys Im looking for someone who can translate this c++ code to pseudocode . [CODE]#include <algorithm> #include <cctype> #include <functional> #include <string> bool palindrome( unsigned long n ) { unsigned long x = n; unsigned long u = 0; while (x) { u *= 10; u += x % …

Software Development c++
Member Avatar for Koushik_3
-4
17K
Member Avatar for humbug

i have made a program in school that chooses a random number and you need to guess it. you put in a number and it says higher or lower. the only problem is that i can't set RAND_MAX and its a 4 or 5 diget number (havent figured it out …

Software Development c++
Member Avatar for yw_046
2
30K

The End.