199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dongtrien

Perpetual program reopens error: The type or namespace name 'Properties' does not exist in the namespace 'xxx' (you are missing an assembly reference?). Suppose there is a namespace space xxx how to declare how to use attributes and resources, for example: global :: xxx.Properties.Resources.sys_h;

Member Avatar for dongtrien
0
326
Member Avatar for Abdullah_18

hi can you help me please Write a program that breaks a number into its digits. Program keeps prompting the user to enter an integer and displays the digits of that integer until user enters -1 run like that Enter a number (-1 to end): 3457 ↵ Digit1 = 7 …

Programming java
Member Avatar for pty
0
414
Member Avatar for Matias_2

We want to track weather conditions during the past year and have designated each day as either Rainy ('R') Flooding ('F') Cloudy ('C') Sunny ('S') Armegeddon ('A') Write a program that stores this information in s 12x30 array of characters, where the row indicates the month and the column indicates …

Programming
Member Avatar for Reverend Jim
0
430
Member Avatar for aya_5

I have an input signal array I have a kernel array of size 10 filled with ones 1) I need to store the input signal array in a block of memory 2) I need to find the intersection between the input array and the kernel 3) I need to output …

Programming assembly
Member Avatar for rproffitt
0
506
Member Avatar for BananaBread

Hi there. Sorry if this is in the wrong place! I am looking to create an app which allows a user to click on some words from a list (or three) to create a random sentence. What would be the easiest way to do this? I am using Android Studio …

Member Avatar for rubberman
0
366
Member Avatar for overwraith

I am creating an application that uses NHibernate, an object relational mapper that is a port of the Java Object relational mapper hibernate. Currently I am trying to represent my entities via hibernate xml files. The application I have right now is throwing an error I am thinking may be …

Member Avatar for stultuske
0
646
Member Avatar for game4tress

I'm searching for a forum for my website http://www.game4tress.com The only free forum I know is https://www.phpbb.com/ The problem is that I've used this forum in the past and I used to receive false posts (like spam). One other situation is that I also want to integrate the forum with …

Member Avatar for happygeek
0
1K
Member Avatar for Charles_25

My script merges 18 files and returns all numbers that occur >=13 times within the merger. I timed my script and array_count_values is so slow it accounts for 80% of the 2.35 sec time. The files are large, 200,000 numbers per file, so the merged array is well over 2 …

Member Avatar for benanamen
0
651
Member Avatar for masimies

Hello, I have a problem to get unique values from dateperiod-loop. There is a tons of examples how to do it, but after hours of searching, i couldn't find suitable solution for me. The code starts like this. To put it into array_unigue is hard to accomplish for me. Have …

Programming php
Member Avatar for benanamen
0
319
Member Avatar for random_1

I have a list.php which displays all the records that is in the database with 2 options Edit or Delete. When clicked its suppose to delete by id but instead it deleted everything. I'm not sure where i went wrong, please help. list.php <?php include "db.php"; try { $conn = …

Member Avatar for benanamen
0
354
Member Avatar for David_116

This problem's driving me crazy since yesterday. I have a table consist of 5 columns: kode_barang (item ID), nama_barang (name of item), qty (quantity), harga_beli (price), jumlah (total). User can input 2 items. This is the code of the form: <HTML> <?php include "koneksi.php"; ?> <form action="insert3.php" method="POST"> <table id="theTable" …

Member Avatar for benanamen
0
2K
Member Avatar for mattyd

Before I get into the specific issues, I want to provide some other details: - Normally, I work on a live, paid server (even in dev); I realize that is not advised, but it is a bad habit I developed over the years. I've tried using Xammp, but do not …

Member Avatar for benanamen
0
661
Member Avatar for Jhon_8

I am testing my newly built website. I am a relatively new coder and want to improve my skills. Could you guys give your feedback please on what are the things that I could work on to make my website look better? Here you go: [swiftcodes](https://www.allbankswiftcodes.com/)

Member Avatar for Brook_1
0
249
Member Avatar for SimonIoa

Hello how do you feel about Ionic 3 and Angular 4 frameworks? Are they compatible with Ios? Do i need to know Java to use them?

Member Avatar for hericles
0
462
Member Avatar for Brandon_21

Hi everyone, so i have currently made a small antivirus project (just for me) but i want to make it cool with signiture definitions ect. Basically what ive got so far is my program reads a text file with loads of sha256 hashes to see if the file that enterd …

Member Avatar for Reverend Jim
0
691
Member Avatar for FOYSAL_1
Member Avatar for Alex_71

This is what I have, just not sure how to actually get the sum of the listbox numbers. If intNumberOfEntries > 1 Then lblTotalSnowfall.Visible = True decTotalSnowfall = lstSnowfall.Items.Add(decSnowfall) lblTotalSnowfall.Text = "The total snowfall for the city is " & decTotalSnowfall.ToString("F1") & " inches" Else MsgBox("No snowfall value entered") End …

Member Avatar for ez4u2c
0
3K
Member Avatar for Michael_9

command name can be APP_COMMAND_NAME as const Friend Module Program Private CurrentString As String = String.Empty Public Const APP_RUNNING As String = "Running" Public Const APP_TITLE As String = "Console" Public State_Output As String Public State_List As List(Of String) = New List(Of String) Private commandlist_ As Dictionary(Of String, Action) Private …

Member Avatar for rproffitt
0
428
Member Avatar for Bhuwan_1

I am creating a client server program on which client downloads server's files. it works fine in localhost, but the problem occurs in except localhost connection. I've tried googling but none of the solutions(from previously suggested to the same problem) works. Here is my code: def upload(sock): # server.py filename …

Member Avatar for rproffitt
0
709
Member Avatar for Sooraj_2

testing of independece of attributes by chi square method ,,please write a c code for this.

Programming c
Member Avatar for JamesCherrill
0
161
Member Avatar for overwraith

The following lines do not work. The bool is always false. I have been having trouble getting danni's site to work so if the reply is too short it's 'cuz I typed in the longer version three times and got errrors. FormsAuthentication.SetAuthCookie(login.EmailAddress, login.RememberMe); bool isauth = User.Identity.IsAuthenticated;

Member Avatar for overwraith
0
314
Member Avatar for overwraith

I have the following error as part of my nhibernate project; **Could not find a setter for property '0' in class 'AdHockey.Models.User'** The following is my model; public class User { /// <summary> /// Unique identifier for group used by program and database layer. /// </summary> public virtual int UserId …

Member Avatar for overwraith
0
2K
Member Avatar for overwraith

Is it possible to make a web page that takes up responsibility for backing up a web applications tables(Oracle DB, and perhaps SQL server I am trying to be multi db supportive)? Essentially I want to create a database backup script that is kicked off by pressing a button on …

Member Avatar for overwraith
0
459
Member Avatar for gentlemedia

I'm using the following to redirect http to https in my root directory htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> But this seems not to work if I access directly sub directories (http://example.com/sub-directory/) unless I place this mod_rewrite in an htaccess file in …

Member Avatar for cereal
0
465
Member Avatar for abdisa
Member Avatar for Mooyeon

My program find the amount of specific word such as "whale" and "thee", but ignore "thee,", "whale....", and so on. How can I contain them? #include<stdio.h> #include<string.h> #include<ctype.h> int main(){ FILE *md,*out; char CHA[255]; char cha[255]; cha[255]=tolower(CHA[255]); char thee[]="thee"; char chapter[]="chapter"; char whale[]="whale"; char meet[]="meet"; int th=0; int ch=0; int …

Member Avatar for ruediger.bayer
0
388
Member Avatar for random_1

Hello, is it possible to have a multidimensional array of different type? We have to create a simple "joke" application with GUI, and what I was thinking is that for each question a character(image) with a speech bubble asks a question like for example a joke about a banana would …

Member Avatar for JamesCherrill
0
278
Member Avatar for Yugandhar_1

We are making a ajax request (XMLHttpRequest) over https. The browser is Google Chrome and server has a self signed certificate. Once in a while, the request returns a response with readyState = 4 and status = 0. On refreshing the page, everything working fine. Is this a google chrome …

Programming javascript
Member Avatar for pty
0
424
Member Avatar for Dietrich_1

So I am having trouble with the last bit of the car class, I have to update the number of gallons in the car based on the number of miles driven... public class Car { private double mpg; private double mileage; private double tankCapacity; private double gasInTank; /** Constructs a …

Member Avatar for JamesCherrill
0
892
Member Avatar for Dietrich_1

Alright so I have a tester for this class and it keeps saying this message: "Now testing your drive method: *** A car with mileage of 700 miles driving 400 miles before running out of gas should not now have mileage of 1700.0 miles" However when I remove the mileage …

Member Avatar for stultuske
0
425
Member Avatar for davy_yg

Hello, I wonder why I cannot hide pages with Jquery? home.blade.php <li> <input id="c10" type="checkbox"> <label for="c10"> <!-- <a href="#" @click.prevent="togglePage()"> --> <a href="{{ action('HomeController@getArticles') }}" id="hide"> @if($uri=="home/articles") <!-- <img src="{{url("")}}/images/button-10-hover.png"/> --> <div id="circle1"><div style="margin: -10px 0 0 0;"><img src="{{url("")}}/images/add/icons5-hover.png" width="30px" /></div></div> @else <!-- <img src="{{url("")}}/images/button-10.png"/> --> <div id="circle1"><div style="margin: …

Member Avatar for davy_yg
0
396
Member Avatar for monem_1

I use a code to print a libel with all its contents and move to the next page but the problem 1 - Printing breaks the base of the first page when moving to the next page I want to have a vacuum at the end of the page 1 …

Member Avatar for rproffitt
0
500
Member Avatar for Paul Brian

#include<iostream> #include<fstream> #include<string> #include<windows.h> using namespace std; void mainMenu(); void viewtable(); int main() { mainMenu(); return 0; } void mainMenu() { int num; char ch='y'; while(ch=='y'||ch=='Y') { do { system("cls"); if(cin.fail()) { cout<<"Invalid Input..."<<endl; cin.clear(); cin.ignore(500,'\n'); } cout<<"\t\t|DLSL CURRENCY EXCHANGE PROJECT |"<<endl; cout<<"\n\n"; cout<<"1-View Latest Global Currency Exchange Rate\n"; cout<<"2-Update …

Programming c++ file-system
Member Avatar for rproffitt
0
4K
Member Avatar for davy_yg

Hello, I wonder why my ckeditor occassionally hang. Like I cannot type any text in it when it is hang. Here is the error when it is hang: ckeditor.js:438 Uncaught TypeError: Cannot read property 'getSelection' of undefined at CKEDITOR.dom.selection.getNative (ckeditor.js:438) at new CKEDITOR.dom.selection (ckeditor.js:436) at a.CKEDITOR.editor.getSelection (ckeditor.js:434) at new CKEDITOR.plugins.undo.Image …

Member Avatar for network18
0
418
Member Avatar for Dietrich_1

HI, so my code compiles but does not give the result I intended. Any help is greatly appreciated! How can we count the number of occurrences of a character or group of characters (a substring) inside of a given string of characters? In other words, how can we count the …

Member Avatar for JamesCherrill
0
452
Member Avatar for Deamanjoe

How can implement a perfect hashed data structure using the four basic operations? Could I do something like this or do I need to break up my code into two different classes and then test the methods from another class's main method? public class PerfectHashed{ int ticketNumber; // keyfield String …

Member Avatar for rproffitt
0
393
Member Avatar for Talruk

I've been reading through a beginner's book for Python, and I can't quite get this example to work perfectly. active = True age = "" while active: age = input("Please enter your age ") if str(age) == 'quit': active = False elif int(age) < 3 and int(age) != 0: price …

Member Avatar for Talruk
0
184
Member Avatar for savedlema

Peace be with you all, So, I would like to set up a website with the following: 1. Job listing where companies can list job openings and people can apply 2. Business directory where organizations can list themselves and their main activities 3. Ads component where people can put advertisements …

Member Avatar for rproffitt
0
537
Member Avatar for Zxander

Hello ! I have a task from my university that bothers me and I definately need some help. I have to create a web app in which i can add locations from the world map by taking the coordinates and make route between two selected locations from the added. Also …

Member Avatar for rproffitt
0
453
Member Avatar for Hamsterking

hello, i'm having trouble with jquery navigator i don't think the problem is my code <script> $(document).ready(function(){ alert( "welcome"); alert("twice alert"); }); </script> in chrome i have this error: Uncaught SyntaxError: Unexpected token < in firefox i have this error : SyntaxError: expected expression, got '<' i looked on astackoverflow …

Member Avatar for Hamsterking
0
8K
Member Avatar for rahaf_1

Write a java program that asks a person for his height (in meters) and weight (in kilograms) and outputs one of the messages: underweight, normal, or obese, using the BMI formula and BMI classification. Body Mass Index (BMI) is an index used to measure the body fat using the height …

Member Avatar for rahaf_1
0
2K
Member Avatar for Xytheron

this code snippet works fine on its own but as soon as it's added to Magento it doesn't work. Anyone have any thoughts? <!-- Start Edits --> <script type="text/javascript" src="jquery.autocomplete.js"></script> <script type="text/javascript" > //<![CDATA[ var jQuery = jQuery.noConflict(); jQuery(document).ready(function() { jQuery("#antique_toys_materials").keyup(function() { var tag = jQuery(this).val(); if(tag != '') { …

Member Avatar for Max_21
0
293
Member Avatar for random_1

Hi. Im new to codeigniter, so im not sure if its something wrong with the codeigniter or my php. what im trying to do is if the records from a database table is empty echo a message. The message which ,"No records exist!", does display but then underneath is is …

Member Avatar for cereal
0
436
Member Avatar for Jon_7

I'm attempting to simplify my fundraising page, and would like to show exactly how much each donation would help us out. I've listed the options below, but I would like for the first two dropdown boxes to change the third one depending on the combination chosen. Fruthermore, I'd like for …

Member Avatar for AndrisP
0
453
Member Avatar for AndrisP

Is the method in MySQL to set in SQL script dynamic log file name? e.g in Oracle PL/SQL set define on column sdate new_value sdate select to_char(sysdate,'YYYY.MM.DD_HH.MI') sdate from dual; spool 'logs/install_&sdate..log'; e.g. in PG/SQL \o ./logs/install_`date +"%Y-%m-%d_%H%M"`.log but I cant find similar in MySQL \T ??????

Member Avatar for AndrisP
0
2K
Member Avatar for davy_yg

Hello, I am having a problem showing png picture that suppose to be transparant in Ms. Edge. Any clue why my png file is not transparant in edge? Check this website: www.fresway.com in Firefox and Ms. Edge. On Ms. Edge, the transparant layer is no longer transparant I wonder why?

Member Avatar for JamesCherrill
0
404
Member Avatar for Thanuj_1

We have a flex project which called from browser by using a swf file. After flash update the swf file is disabled. Here are the list of flash versions and browsers that we used in windows 7 OS. * Installed Firefox 56.0 - NPAPI 25.0.0.170 version in Firefox . - …

Member Avatar for rproffitt
0
427
Member Avatar for davy_yg

Hello, Cek this site: www.innovation.web.id Facebook: https://www.facebook.com/pages/Innovation/398014920271702 I wonder why I cannot login to the fans page right away? Like I have to login to my facebook account first before I can login to the fans page. Any clue?

Member Avatar for JamesCherrill
0
419
Member Avatar for Adam_40

Hey there, I am trying to create a register code. So basicly im making a quiz and every time a user starts up my program he/she needs to register (making a unique username/pass) -When registered it will ask to login. Could anyone help me make the code? My code so …

Programming python
Member Avatar for Adam_40
0
640
Member Avatar for Lughen

How does POS been coded? First, get orders then store it in a container like listview or datagridview Second save data from container to xml file then import data from xml to database.

Member Avatar for Tyron_1
0
252

The End.