199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hemgoyal_1990

I m working on a MLM project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child of 3 7 …

Member Avatar for Manabendra
1
19K
Member Avatar for Leem_1

I do the class but there are some codes I need to help me please : -Write a number of member functions that do the following: •Calculate the student GPA •Search for the highest mark taken in a particular course •Print the ID, first name, and last name of all …

Programming java
Member Avatar for nourimane
1
944
Member Avatar for jkon

The facts: We are talking about a small company (5 persons) with many clients that making real money (we don't) . We provide our own software that has unique features against the e-commerce completion. The problem: the first glimpse of the problem arose around 2012 and made clear around 2014 …

Member Avatar for Trasser
1
2K
Member Avatar for Michael_93

Hi All, As part of a university project I need to create a website that sells cosmetic products. The customer will need to go through the motions of selecting the items, placing them into a basket and going through the checkout process. However I wouldnt need to use a card …

Member Avatar for anon1
1
2K
Member Avatar for Fernando_14

Hello! I am interested in the issue of protecting the code from hacking. Do you protect your code from decompiling and hacking? Why did the question arise? I worked in a team that developed games for Android. They all used obfuscators! So almost no one could hack their application. Now …

Member Avatar for StarDrago
1
3K
Member Avatar for coldkiller

I am working on a equation balancer for my 12th class computer science project.But somehow i am not able to balance the chemical equation.Please if anyone can provide me the source code it will be a great help.Urgently needed!

Member Avatar for Hariharan_1
1
7K
Member Avatar for HiHe
Member Avatar for martineau
1
21K
Member Avatar for John221

Hi, I need your help with my project. I'm doing traffic simulator, but I don't want it to be static map with moving cars, I want it to have methods to generate the roads with intersection (for now I have few simplifications like the roads are straight vertical or horizontal …

Member Avatar for JamesCherrill
1
3K
Member Avatar for Sara Tech

[B][COLOR="Green"]Hi Guys :).. I hope you fine :), I need the best and easist way for printing the form ,nested of PrintForm tool coz it is very bad :angry:,it prints the form [U][COLOR="Red"]like screen shot :angry:[/COLOR][/U] ,what I want print entire form on A4 ... Any suggestions ? :( Thanks …

Member Avatar for Nezar Al-Akhras
1
4K
Member Avatar for steffanylo465

Hey everyone, I'm working on one project of mine and for that I need legit credit card details for testing purpose. Can I develop any small tool or script which can help me out everytime to generate unique credit card details. This way, I can test my billing or payment …

Member Avatar for aiylaarnold
1
586
Member Avatar for cambalinho

heres my actual code for find\search a folder: string FindDirectory(std::string FindDirectoryName[2], std::string StartDirectory="C:") { WIN32_FIND_DATA file={0}; string str=StartDirectory+ "\\*"; HANDLE search_handle = FindFirstFile(str.c_str(), &file); static bool blnFindDirectoryName=false; static string strFolderName =""; //testing if the folder is valid: if (search_handle != INVALID_HANDLE_VALUE) { do { //if the folder was founded, then …

Programming c c# c++
Member Avatar for cambalinho
1
2K
Member Avatar for Jose_21

[[Depths (Made with Processing)](https://www.ktbyte.com/projects/project/94051/depths?ref=20181210daniweb)](null)

Programming java
1
2K
Member Avatar for mksaeed

Hi guys, This is my first post and so glad to start sharing the knowledge. I am using Mysql database with VB.NET and I have this code : Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim str As String = "Server=localhost;Port=3306;Database=testdb;Uid=root;Pwd=password" Using con As New MySqlConnection(str) Dim …

Member Avatar for Santanu.Das
1
3K
Member Avatar for Awilum

**HELLO GUYS!** I'm Sergey Romanenko a web-developer with strong will for learning and researching new technologies and architectural solutions. I like creating and using specialised tools for making development processes as efficient as possible. Let me introduce my pet project - Flextype! Flextype is Open Source, fast and flexible file-based …

1
1K
Member Avatar for chopsthescot

So I'm trying to create a UI that allows multiple buttons in the same window. All of the are toggles to control GPIO outputs to control relays. I've managed to get them to all work individually in their own files, but when put into the same file is all on …

Member Avatar for rproffitt
1
2K
Member Avatar for Ahmed_112

hi all, I am new to Codeigniter, start learning because of one of our customer want the conversion of their some Oracle Forms to web app and I found it is much easier to use CI framework of PHP but one thing I can't connect / work with their Oracle …

Member Avatar for Ahmed_112
1
6K
Member Avatar for Nbrase

i'm trying to make price lable printer and i was able to print a single page for a single id, but my problem is when i'm trying to print more that one id i was not able to make it work, i'm still learning but i was hoping that someone …

Member Avatar for Minimalist
1
2K
Member Avatar for Sandy0221

I'm having a difficulty to write this program in c++ please help me First generate 100 random numbers in the range [11, 25] and store them in a file named “random.txt”. Write just one number in each row. Then open and read data from the file “random.txt”. Calculate the average …

Programming c++
Member Avatar for rproffitt
1
251
Member Avatar for Suman_9

First program is adding a new topic on forum second program reprtesents a form where we can fill data. so it will showing error undefined index conent and topic and the data is not inserted in my database please help me

Member Avatar for N.
1
2K
Member Avatar for gahhon

I am using Netbean IDE 8.1 to build the website. I build a very simple website with simple Javascript function, window.alert(). Upon my testing, I put the button triggered function in the javascript but the function is not triggering. If I put the function under the HTML, it does triggered …

Member Avatar for gentlemedia
1
2K
Member Avatar for Dani

I need help with implementing MySQL transactions with PHP. Specifically, I'm confused between the flags `WITH CONSISTENT SNAPSHOT`, `READ WRITE`, and `READ ONLY`, what their differences are, and how they relate to table locking. I already read the MySQL reference manual but I'm still confused.

Member Avatar for Dani
1
2K
Member Avatar for dwlamb

I am a novice at JavaScript an jQuery. I am writing a project and trying to incorporate $(this) to read a data attribute. Once the data attribute is determined and assigned to a variable, I intend to use that to access other form elements. Instead of reading the data attribute …

Member Avatar for Dani
1
1K
Member Avatar for jyotiu

Hi all I am a beginner and i was wondering can we write a code in PHP by which we can enter keyword in search box of any website and submit. so there will be 2 inputs to this php function: [CODE] function enter_keyword($website_url, $keyword) { } [/CODE] It will …

Member Avatar for AngelEyes
1
3K
Member Avatar for Ethan Marr

Im Stuck With Something, Iv Been Searching, And Searching And I Canot Find Any Information On How To Make SQL Database Show The Samething For Everyone, When Updated Of Coarse... I Can Make The DataTable And Put It On A Form But I Cannot Make It To Where I Add …

Member Avatar for Ethan Marr
1
1K
Member Avatar for Snowdo

The entire point of this dice game is for a user to first roll four dice, if the answer to this roll is a 9,11,18 or 24 the user wins. If they roll a 6, 12, 13, 17, 19 or 23 the user loses. But if the user rolls any …

Programming java
Member Avatar for JamesCherrill
1
3K
Member Avatar for SimonIoa

Hello i want to create a script that allows the user to use the device mic and record audio, then display it using Typescript (.ts) file. Here is what i have so far. home.ts import { Component, ViewChild } from "@angular/core"; import { NavController, App, AlertController, Platform } from "ionic-angular"; …

Member Avatar for lil_c
1
578
Member Avatar for tony75

Hi I have python code that can list all drive letters but now I need also list the name of drive letter (Label) and the size of hard drive like below! Ltr Label Size ---- ------ --------- C Windows 800 GB E Local Disk 200 GB F My Passport 500 …

Member Avatar for tony75
1
7K
Member Avatar for Nancy_16

I am using PySide2 for GUI. I have a "Rename Project" QAction. The function must be like this: 1. set enable to false if tab name is "*Untitled" or file is unsaved. 2. set enable to True if file is loaded. How to do this? 3. Whenever switching to tab, …

Member Avatar for jacklin
1
1K
Member Avatar for COKEDUDE

If you have a counter that gets incremented through multiple functions, is it better to use a global counter or pointer counter? They both work just curious which is better and why.

Member Avatar for Reverend Jim
1
1K
Member Avatar for cambalinho

how avoid memory leaks? from here: http://www.winprog.org/tutorial/bitmaps.html i learned: GetDC() - ReleaseDC() BeginPaint() - EndPaint() CreateCompatibleDC() - DeleteDC() i must get the old selected object. select it when isn't needed and then delete it. so seen these constructor and desctructor: image(const int width, const int height) { if (isimgused==true) delete …

Member Avatar for Topiary
1
1K
Member Avatar for Darius_1

Hey guys, I'm searching for free sports data api or sports data widgets for a website that is gonna be starter level. I did my research and found some options but I need more alternatives. Some providers like Opta or Sportradar offers a lot as sports widgets but they give …

Programming api
1
489
Member Avatar for SimonIoa

Hello i want to add fa fa-users (the users icon from font awesome) but when i do <i class="fa fa-users" aria-hidden="true"></i> i am not getting the icon, html displays the code of the font-f0c0 that is. Any guess why? p.s. i am using other fonts just fine e.g. contact, search …

Member Avatar for Dani
1
815
Member Avatar for Herminia CS

I'm a newbie in php and I want to create a single login page for Admin and user.When admin log in it should go to an admin page and when user log it shoult go to index page.I want help with my code, it works fine login normal users but …

Member Avatar for alan.davies
1
9K
Member Avatar for developer707

Hello, In my project I have a form with many inputs and one object is using DropzoneJS to attach files. Since I store all the inputs when I post the form I need somehow to read the file names of the uploaded files in my server, currently I can only …

Member Avatar for developer707
1
11K
Member Avatar for mikeandike22
Member Avatar for Reverend Jim

vb.Net - Regular Expression Tester Every now and then I find another use for a regular expression. For those not familiar with regular expressions, they can be as cryptic to read as strings of Greek letters. Simply put, regular expressions are just patterns. If you've ever used the DOS command …

Programming gui ide vb.net
Member Avatar for Reverend Jim
1
9K
Member Avatar for ivay14

Hi guys! I have a problem with login into the system. Everything seem to be fine but it passes an error when i click the login button. Pls help Thank you in advance ////////login.php////// <? /* *********************************************************** **********# Name : Shambhu Prasad Patnaik #***** **********# Company : Aynsoft #********** **********# …

Programming php
1
421
Member Avatar for Reverend Jim

vb.net 2010 Windows Pro 7 ## Create a Video Library with an Embedded Windows Media Player ## I have close to 400 video clips in my home movie library. In order to quickly locate any given video I have added certain words into the file names. Even so, locating specific …

Member Avatar for Reverend Jim
1
3K
Member Avatar for abrogard

You know the Pareto Principle? The 80/20 rule? That 80% of the work gets done by 20% of the people? Or 80% of the money belongs to 20% of the people? And so on? Well it is 'recursive' inasmuch as it can be applied again to the 20% first recognised. …

Member Avatar for JamesCherrill
1
519
Member Avatar for rproffitt

Yes, you've been told it's dead, gone and to move off this old beast of a system from 1998 but here you are, tasked with fixing an old legacy app so let me share that I've been there and how I got around some of the issues. These are: 1. …

Member Avatar for Julius_5
1
4K
Member Avatar for davy_yg

Hello all, I am quite impress knowing that Python has been the most popular programming language in July 2018. Check this statistic: https://pypl.github.io/PYPL.html It looks like there is a changing in trends - in 2015 PHP is rank no 2 and now rank 4. While Python rank 3 moves up …

Member Avatar for rproffitt
1
471
Member Avatar for Reverend Jim

##vbScript - Run an External Program and Capture the Output Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. When you want to execute an external program for a particular result (such as resizing an image, as shown in a previous snippet) you can simply use …

Member Avatar for Reverend Jim
1
12K
Member Avatar for Reverend Jim

Over the last few days I have been converting old video files from avi to mp4. I've been doing this using the command line version of DivX. This is the process behing the DivXPro GUI and it is named `DivXEngine.exe`. Converting video files takes a big hit on the CPU …

Programming gui vbscript windows-10
1
2K
Member Avatar for OMG_1

Hi, I am a legacay (cobol) developer and wants to learn how to build websites. For this I decided to do a little project for myself. The site would be a places/travel tracker kind. It would show a certain map (ex, London, Taiwan, Greenland). Then you can click on a …

Member Avatar for pty
1
539
Member Avatar for Reverend Jim

##vbScript - Some Useful String Functions Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. vbScript provides a number of functions for manipulating strings. I find that a few more simple functions would have made things a lot simpler. For example, I find myself checking to …

Programming vbscript
Member Avatar for SN Technologies
1
1K
Member Avatar for Reverend Jim

##vbScript - Identify File by Perceived Type Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. There are times when you want to operate on all files of a given type. For example, you may want to enumerate all files in a folder or a drive …

Programming audio file-system vbscript
1
936
Member Avatar for Reverend Jim

##vbScript - Get Drive Letter by Volume Label Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. I have all my computers partitioned with two partitions. The drive letters are C (OS and applications) and D (user data). I use Macrium Reflect to take monthly full …

Programming hard-drive vbscript
1
4K
Member Avatar for Reverend Jim

##vbScript - Sorting With and Without Code Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. Sorting is something that must be done from time to time. I'm going to examine three ways. The first is the well known (at least by name) QuickSort method. Rather …

1
1K
Member Avatar for overwraith

This is surprisingly difficult. Consider it a snippet. Deletes all tables from a sql server schema. Useful for those times on your dev machine where you need to tear down all the cruft that has built up on your server due to refactoring of object relationally mapped tables. --Author: Cameron …

Member Avatar for overwraith
1
483
Member Avatar for JModak

hello sir how can I get my system short date format in a label in vb. net. I try this code : Label1.Text = System.Globalization.CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern() but show wrong data. all time show "M/d/yyyy" format. I change it(to "dd/MM/yyyy") manually and by coding result is same("M/d/yyyy") please help me..... For Change …

Member Avatar for xrjf
1
8K

The End.