199,112 Archived Topics
Remove Filter ![]() | |
Hi, I just want to know if i can remove a part of a string Exemple : in Textbox1 i have "C:\Users\Someone\Desktop\test.exe" and i want delete the string until the "\" so in the textbox i get "C:\Users\Someone\Desktop\" Thanks if you reply me and sorry for the bad english, its … | |
I'm trying to figure out why my removeProduct method won't actually remove the product from the list please give me some feedback. InventoryApp.java class package JayJuan; import java.util.Scanner; import java.math.BigDecimal; import java.util.Scanner; /* Main class used to add a product, remove a product, update a product, or view the product … | |
I am having difficulty formatting the XML response from a php curl xml api for infobip. My code below loops sms to mobile numbers. But i want to format the XML responses to show the messages successfully sent and those that were not successful using a conditional if else statement. … ![]() | |
Hey everyone, I have posted a couple of threads looking for a plugin that gives some of the features of CakePHP if not all. However, the threads were going dead. I'm just looking for a good editor that is going to provide me an auto-completion code like HTML helpers, functions … ![]() | |
Hi I am working on windows services. i can bale to run the service for every 1 min. I creating multi thread. but i required the service to run in single thread. can any one please help me to fix my issue. **Code** using System; using System.Collections.Generic; using System.ComponentModel; using … | |
I am trying to allow my users to upload videos to my site and i have the php file upload but it will not work, it worked with images but once i changed it to video it stopped working this is the code <?php $allowedExts = array("mp4", "mov", "avi", "flv","mpg", … ![]() | |
How can we insert two independent random number to two equations (x,y) contain two parts like this: x = a* randomnumber1 + b* randomnumber2 y = c* randomnumber1 + d* randomnumber2 these two random number should be independent. Thank inadvance. Programming c++ | |
https://jsfiddle.net/cr72vqhb/1/ Follow 2 scenario's. First Scenario: Click on **client-side**, get message, menu slides out. Click on **server-side**, get message, first menu hides, second slides out. Perfect, right? # Hard refresh the Fiddle # Second Scenario: Click on **server-side**, nothing. Absolutely nothing. It's as if I mistyped the selector. Why is … | |
I'm stuck on adding a feature to my program where a user types in the email address and stores email and raffle into a database.Also the raffle entires will be selected at random from all stores entries.heres my code from __future__ import print_function from random import seed, randrange, shuffle, sample … | |
I just figured out the answer to one of my previous questions but now I have a new problem, before I was just being a tad silly and forgot how to properly write a function but now my question is if I have the following function `int findMobile( string word, … | |
i want to disable the Alt Tab, windows key, ctrl esc key. FOr my Log On Security that start up in coomputer like windows log on. Thanks for the help. Try to search hours for this but i cannot find the right solution im using vb.net 2005 and OS is … | |
As soon as I find out exact manner of communication between the server and the software. I realized how easy it is to use programs to intercept it, analyze it and then send malicious (or rather illegal) query through. So. I was wondering is there a way to make sure … | |
I'm not even sure what it's called or even if it's possible, what I'm trying to do. I'm hoping the code might explain it. Each class that derives from Base has a method named oPrint, and I want to call them in the below fashion(ish) if possible. namespace nSpace { … | |
Hey, is there any way to get this: `$(document).on('keyup', "*[data-field='quantity'],*[data-field='price']", function(e){` to run whenever there's a change the whole table? At the moment it only changes on the keyup in the [data-field='quantity'] and [data-field='price']. But thing is I have a button to delete a row, and once ones deleted it … | |
Hi, I tried to get this code to work, and the gist is I am trying to allow the user to edit their inputs by allowsing them to edit past submissions. But even after I put "<?php echo ?>" tags in there, it still does not work. It worked perfectly … | |
Hello everyobody, I'm trying to do a presentation of MD5 algorithm in my class. I would like to give an example of md5 hash in every programming language. I found a useful website like http://md5-sha.com/ a with examples in all other languages, but i still want to present Java too … Programming java javascript mysql | |
Most of the email autoresponder provides various types of services, but a customazie autoresponder needed for my cpa business, i am try to make a autoresponder with server scripting language (PHP) , but i dont know how its possiable or not? | |
I am trying to call a method in a javascript class when a button is clicked. My test program is below. I've tried a number of things based on what I've found on the internet, but I can't get it to work. I would appreciate any help you can give … | |
I inserted into user_name and user_password the values zach and sha1('zach'). I then tried to retrieve it with SELECT * FROM user_data WHERE user_name='zach' && user_password=SHA1('zach'); But it shows zero results. When I insert it it shows, but I can't retrieve it. Any ideas? | |
Hi there Am a new student in C# and am using Microsoft Visual C# 2013. My aim is to i. open a child form inside its MDIparent form ii. disable the MDIparent form when the child form is active/opened it was easier in VB.net with frmStuDetails.ShowDialog() I have tried 1. … | |
package admin.entity; import java.util.Random; public final class PasswordGenerator { // DATAS // characters with which the password will be composed private static final int charactersSize = 100; private static char [] characters = new char [charactersSize]; // keep the counts of used characters private static int charactersCount = 0; // … | |
Hi, tried to save the textbox color T11 based on rating value but unable to save. For example, if the rating=Good, the textbox color T11 =green. But when i click save, T11 color goes back to black and select option goes back to "Please select an option". T11 textbox color … | |
I am trying to declare a function to find the largest mobile element for a program to list permutations using johnson-totter algorithm. Here is my definition of the function in the header file: `int findMobile( string, int[] );` and here is my actual declaration of the function: `int findMobile( string … | |
Hello, I need some guidance with my third button. I have created a GUI that so far displays contents from from two folders by using folder browser dialog. All I want to do is compare the filenames between both folders and display the differences in a third listbox. I would … | |
Here is a small extention of the Panel class that allows you to 'collapse' it. So far, the user can place a control on the parent form and perform a collapse/expantion by: 'Where cpNew is a Collapsible Panel If Not cpNew.PanelCollapsed Then cpNew.Collapse() 'or If cpNew.PanelCollapsed Then cpNew.Expand() I will … | |
Dear all, So I am trying to run a watir test application. Everything seems to be going well except I need to log each step that happens. I am able to log using the php script, but have not yet figured out how to write to a log file using … | |
how to get date from data grid view into datetime picker by clicking on cell ?? private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex >= 0) { DataGridViewRow row = this.dataGridView1.Rows[e.RowIndex]; textId.Text = row.Cells["Appointment ID"].Value.ToString(); textMobileNumber.Text = row.Cells["Mobile Number"].Value.ToString(); // Problem in this line --> dtpAppointmentdate.Text = row.Cells["Appointment Date"].Value.ToString(); … | |
Hi can you help me. I was assigned to create a stack in c++ and my professor asked to put arrays inside each stack. how do i do that? Programming c++ | |
I got the program to run, but the output is not the way it should be and I don't know where I went wrong. The output is supposed to look like this: Sample Input 6 8 7 3 8 3 8 Sample Output - - - - - - - … | |
A simple graphical year calendar. Compiler: Turbo C In main current year is set manually, for more generic way use date function to get current year. | |
I always get confused with while when I need to use multiple condition. I believe this is correct. 1 and 1 = 1 1 and 0 = 0 1 or 1 = 1 1 or 0 = 1 Is there something special I need to do with while loops? If … | |
at last i got the checkboxes to work and add to database but the only this i need advice on if i refresh the page the selected items disappear how can i solve this the php file is as follows <?php include("config/db_connect.php"); extract($_POST); $check_exist_qry="select * from interests"; $run_qry=mysqli_query($conn,$check_exist_qry); $total_found=mysqli_num_rows($run_qry); if($total_found … | |
Hi How can I install and use pyinstaller under Kali linux I appricate your help with an example | |
Hello, I am getting a linked error when I changed file name to cpp. 1>main.obj : error LNK2019: unresolved external symbol "void __cdecl func_name(double * *,int,int,int,double * *,double * *,double * *,double * *)" I am using objects in my new code but this function which was there earlier is … | |
Public Class Form1 Private Sub cmdmark_Click(sender As Object, e As EventArgs) Handles cmdmark.Click Dim intsum As Integer, intnum As Integer Dim inthighest As Integer Dim intlowest As Integer intnum = InputBox("Enter the mark") intsum = intnum + intsum intnum = InputBox("Enter the mark For subject 2") intsum = intnum + … Programming vb.net | |
Hello I have VB.NET System ; I wanna to make setup (.exe) for the program. The Program depend on SQL Server Database. How I can make it exe file with the database, and to install all the configuration on any PC. What I shall do according to the connection string … | |
Hi all. Can anybody help me? Yesterday I work with my access file with necessary data for my work and today I can’t open it. The version of Microsoft Office is 2003. Windows 7. Thank you! | |
Acually i'm new in web designing and i'm working on menu. But i'm facing problem in decorating hover...See Code Below and help me...Thanks <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Design By Jagdeep</title> <link rel="stylesheet" type="text/css" href="style.css"> <link rel="stylesheet" type="text/css" href="normalize.css"> </head> <body> <nav class="nav-bar"> <div class="nav-hold"> <a href="#" class="logo"><img src="../Documents\22-1-2016\img/logo.png" … | |
"Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2)" Here's my code: <?php $dbhost=$_POST['dbhost']; // Host name $dbusername=$_POST['dbusername']; // Mysql username $dbpassword=$_POST['dbpassword']; // Mysql password $db_name=$_POST['database']; // Database name $tbl_name=$_POST['tablename']; // Table name $action=$_POST['action']; if($action == 'connect') { if(mysql_connect("$dbhost", "$dbusername", "$dbpassword") == true) { if(mysql_select_db("$db_name") == true) { echo('Connected … | |
![]() | Recently I saved boolean value by radio command button . Now I want to retrive that value to search form. Please help me ???? |
I'm really confuzed about this problem i have the same code on all files and is working fine but just it does problem on `home.php`. The problem is that the dropdown menu doesn't showing here is the code please take a look and tell me what wrong am doing ? … | |
Hello there! I've got the following assignment: Write a method in Java called FirstDNAMatch(shortDNA, longDNA) that receives 2 strings with the letters that have to do with the four main nucleobases found in the nucleic acids DNA (A for Adenosine, G for Guanine, C for Cytosine and T for Thymine). … | |
Hy Guys,I Need Your Help Regarding This Question.. I run this Program on Dev c++ and Compiler did not Show Error but During INput I can not input Name and Address in both student class and School Class.. Sorry For bad English.. :) #include<iostream> #include<string.h> #include<fstream> using namespace std; class … | |
I have a form on our website that a user can fill out for custom product. I want the form data to be 1) stored into a mysql database AND after storing said data, 2) email the same data to our sales department. 1) The form data DOES get stored … | |
The website weblup(dot)net/templates/template3 looks 100% correct on the computer thusfar. The overflow is hidden and you can't see the mobile menu bar or the pictures that slide in. But when opened on the phone you can scroll over, and see where the mobile menu is and where the next photo … | |
Hi,i want to use this ClassParser to parse another file(class) in another package , in my code i used ClassParser to parse only existing file (class) in existing package ,,,how can i use it to parse any file and from any package ,if i can't use it ,is there any … | |
Why can't I use || or && with double as in sample below? if (((mDiameter = 1 || mDiameter = 1.2) && mPitch = 0.25) || (mDiameter = 1.6 && mPitch = 0.35) || (mDiameter = 2 && mPitch = 0.4) || (mDiameter = 2.5 && mPitch = 0.45) || … | |
Hi all, I'm currently developing an Android application with Android Studio that allows visitors to enter information such as their name, company and reason for visiting our work premises and have this information stored in a SQL database. The app would have to allow for the printing of this information … | |
Hey guys, I have this forloop reading an array: $data = $_POST['data']; foreach ($data as $array) { foreach ($array as $key=>$prices) { $message .= ''.$prices.' '; } $message .= '<br>'; } It currently displays like this: item1 item2 item3 item4 item1 item2 item3 item4 etc Is there any way to … | |
Design a java program that generates 100 random numbers, and keeps a count of how many of those random numbers are even and how many are odd. This is what I have and it is not suppose to be an array just simple coding with a boolean. import java.util.Random; public … |
The End.