Featured Editorial

After page loading , when I click on the ellipsis , horizontal tabs transform from bottom of the product image . After opening of the tabs menu bar , first tab should open by default.I tried multiple solutions but none of them worked out.

Continue Reading

I have a Py file that consists of 100+ frames, aprox 80+ radio buttons and 65 textboxes. I have attached shortened exert from main file. Textbox 1 takes on a value when a radio button is pressed. When button "Show Values is pressed it inserts the accumulated of all textboxes …

Continue Reading

Recommended Topics

Member Avatar

hi all iam working as software developer i wish to create my blog website using asp.net and C# so any one have idea so please help me in this Please thak you in advance

Member Avatar
1
1,898
Member Avatar

i have start to convert by hand a python script to php its an example how to mine in python but i want implement a kind of same in my php project **That its what i did until now** $MAX_NONCE = 100000000000; $prefix_zeros = need convertion; //execute sql statement and return a single field value $params = array('active'); $value = $db->rawQueryValue("SELECT id FROM mdlabsnetwork WHERE id = ? LIMIT 1", $params); $block_number = $value; //execute sql statement and return a single field value $params = array('active'); $value = $db->rawQueryValue("SELECT hash FROM mdlabsnetwork WHERE hash = ? LIMIT 1", $params); $previous_hash= …

Member Avatar
0
45
Member Avatar

Hello Daniweb Community, I have been talking on a couple [Facebook](http://www.facebook.com) groups such as sale pages where you post your own stuff for people to buy. Most groups like this have rules about bumping like once per day, every 12 hours etc... So it got to the point where it became annoying to have to bump my posts every so oftern so I managed to construct this script that'll do it automatically with the help of a cronjob that can be set to bump at whatever time you like. So I have made a simple easy to use (ha may …

Member Avatar
3
2,659
Member Avatar

Can anyone suggest me which one is a better platform for e commerce website development?

Member Avatar
9
3,346
Member Avatar

Hello. I'm new to the whole Linux thing and I have something for a topic. In Windows you can produce characters with accents via a shortcut. For example: " followed by e brings forth ë. I miss this in Linux. Somebody told me that I should ask for help writing software by myself to make this possible. That's why I opened this topic. I'm not very experienced with programming. The only thing I ever did is creating a game. It's not even finished. I have a Github account. I'm hoping to meet someone who gets me through this. Thanks, Leon

Member Avatar
0
53
Member Avatar

I'm looking for a .NET tool/component I can use in WinForms that works like [mermaid](https://mermaid-js.github.io/mermaid/#/) but does not require a browser component. Something that generates an image is preferred.

Member Avatar
0
110
Member Avatar

Hello everyone, Hope you are doing , I am too much confuse to buy a gaming laptop for my younger brother, Someone suggest a website like https://pcmag.com, https://cartvela.com, and Techradar but there are too much content, I can't make a decision.

Member Avatar
2
3,533
Member Avatar

I'm trying to learn how to do some simple things with MFC - I'm not used to the toolkit. I want to load a png image from disk and display it at a chosen location in the program's window, but am getting a debug assertion error: atlimage.h Line: 1624 Expression: hBitmap == m_hBitmap ----- The only initialization is: CImage genericImage; genericImage.Load(fName); (it returns normally, with no errors) Inside the WM_PAINT routine, the code is a simple: genericImage.Draw( hdc, 0, 0); Any ideas? It fails to paint anything if I ignore the debug error, and I can't find any suggestions in …

Member Avatar
0
51
Member Avatar

Hi guys I'm having a bit of a problem with php and linux. I'm using the following function, to find files with specific file extensions within a given folder and all subfolders : function FindVideoFiles($startfolder,$specificextensions){ $it = new RecursiveDirectoryIterator($startfolder); foreach( new RecursiveIteratorIterator($it) as $file) { if (in_array(strtoupper(substr($file, strrpos($file, '.') + 1)), $specificextensions)) { $files[]=array('nomedapasta'=>pathinfo($file,PATHINFO_DIRNAME)); } } return $files; } $specificextensions is an array with 'avi','mkv' and 'mp4' as values. $startfolder is a string with "/mnt/HD1_4TB/refazer/A View to a Kill" as value. When i try to run the function, it throws me an error saying "failed to open dir: No such …

Member Avatar
0
103
Member Avatar

![Inked235345364566556546_LI.jpg](https://static.daniweb.com/attachments/4/b5bf788aff340f6e41ee2b6d28f1f5c9.jpg) Sample output: Enter number of guests: 40 40 guests have been invited. Enjoy the party!

Member Avatar
0
253
Member Avatar

Unable to open file with fstream. it always seems to jump to the else statement and gives me the error message "Error: can't open input file ". I have included in the header file [CODE]#include <iostream> #include <fstream> #include <sstream>[/CODE] and in the class file i have the following code and yes i do have a txt file called studentFileName.txt in the same directory. [CODE]void StudentRecord::addFile(const string& studentFileName){ ifstream infile; infile.open ("studentFileName.txt"); if (infile.is_open()){ string line, word, StudentName, ProgramCode; while(getline(cin, line)){ istringstream stream(line); while (stream >> word) { int i = 0; if (i % 2 == 0) { StudentName …

Member Avatar
0
2,926
Member Avatar

hi there i have some python coding which i need to convert to java can ne1 help me please email me back if you can help then i will show you the coding much appriciated

Member Avatar
0
53,928
Member Avatar

What is the best game in 2018

Member Avatar
5
4,210
Member Avatar

Hey guys and gals, any ideas on gaming laptops with good cooling system. Mine just melted ... :/

Member Avatar
1
66
Member Avatar

I have a database where there is an table `wm` for water meters : +------+---------------+ | Code | name | +------+---------------+ | wm1 | water meter 1 | | wm2 | water meter 2 | | wm3 | water meter 3 | +------+---------------+ and another table c`ounters` where there are counters value : +------+---------+-------+------------+ | Code | Code_wm | value | created_at | +------+---------+-------+------------+ | 1 | wm1 | 100 | 2020-10-18 | | 2 | wm1 | 0 | 2020-10-19 | | 3 | wm2 | 0 | 2020-10-18 | | 4 | wm2 | 100 | 2020-10-19 | …

Member Avatar
1
60
Member Avatar

Having problem in pin code if the user will input less than 4 digit number and a character type..could some1 help me from this.. (@@, #include<stdio.h> #include<conio.h> #include<iostream.h> float choice2(); float choice3(); float ball[11]={1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000}; float mypin; float withdraw, deposit; int transaction, myaccount; char transaction1; main() { pin:{ system("cls"); printf("Enter pin code: "); scanf("%f",&mypin); } if (mypin==1234) { myaccount=0; } else if(mypin==2345) { myaccount=1; } else if(mypin==3456) { myaccount=2; } else if(mypin==4567) { myaccount=3; } else if(mypin==5678) { myaccount=4; } else if(mypin==6789) { myaccount=5; } else if(mypin==7890) { myaccount=6; } else if(mypin==8901) { myaccount=7; } else if(mypin==9012) { myaccount=8; } else …

Member Avatar
0
5,015
Member Avatar

I am very new to VB.NET. That said, I have developed a windows form that utilizes an SQL Server back end. I am developing using Visual Studio 2008 and the 3.5 Framework. The SQL server is 2005. I do not have any warnings or errors, and the project compiles without error. When I run the install package on another computer, everything appears to install correctly, and the shortcut is placed on the desktop. However, when opened, the cursor goes into wait mode for a few seconds then returns to normal and the form does not open. I am using windows …

Member Avatar
0
840
Member Avatar

Has anyone started working with PHP 8 yet? Any big backwards compatibility issues? I finally got around to upgrading to php 7! Lol better late than never.

Member Avatar
2
146
Member Avatar

Hi, I'm curious on how and which tools are used to develop an 8 ball pool game. The one I'm referring to is that you play online with strangers, and friends for coins and tournaments. Can anyone point me to the right direction. This will be my first attempt in game development, but I'm a full stack developer and a software developer with Java, VB.NET, C++ ( very new)

Member Avatar
0
555
Member Avatar

Now I am going through a project with colors. And then I think that if I try to display color values with their names in a simple combobox, it could be amazing. I tried and did it and it is looking like ![Capture3.png](/attachments/small/4/4473f7608016edcb5981090cccc80593.png "align-left") And ![Capture4.png](/attachments/small/4/87a5e5686d66033648a3e0ab787d6778.png "align-left") And finally the project looks like ![Capture2.PNG](/attachments/large/4/28adcd5b3021552683dc4fd791d2f813.PNG "align-center") In that codes, firstly I tried to bind combobox with colors. Private Sub BindWebColors() 'binding combobox with color vaues 'assign combobox drawmode cmbWebColor.DrawMode = DrawMode.OwnerDrawFixed cmbWebColor.ItemHeight = 20 Dim colType As Type = GetType(System.Drawing.Color) For Each prop As PropertyInfo In colType.GetProperties() If prop.PropertyType Is GetType(System.Drawing.Color) …

Member Avatar
0
3,611
Member Avatar

Hi, I tried to view crystal report by using crystal report viewer in Visual Studio 2010. However when i tried to declare ReportDocument, it is underlined with blue curly line. I had done the following in the code behind file. [CODE]Imports System.Data Imports System.Data.Odbc Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports CrystalDecisions.Web[/CODE] the first two crystalDecisions was underlined with green curly line as well, and i had no idea how to solve it. i had done the following in asp.net page [CODE]<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %> ... <form ID="crystalForm" runat="server"> <div> <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" EnableDatabaseLogonPrompt="False" EnableParameterPrompt="False" PrintMode="ActiveX" …

Member Avatar
0
962
Member Avatar

Hey I want to Develop A mobile app in android for my food business. Can anyone suggest me any company and the cost of the App? Thanks

Member Avatar
2
1,693
Member Avatar

I created an html page with days of the week Mon Tue Wed Thu Fri Sat Sun The corresponding page is linked to each day I would need that when the page opens, the day is automatically highlighted based on the day of the week and that there is a bar under the day to highlight it Example: if today is Friday, Fri becomes a different color than on other days I've seen similar things on web pages, but I don't know where to start. Is there anyone who can help me? Thanks

Member Avatar
1
270
Member Avatar

Like the title says, I'm trying to coloring an empty cell in bounded datagridview. I've got this code to coloring a cell with specitic value and is working well. This code is in the DatagridviewCellFormattingEventargs. If e.ColumnIndex = 5 AndAlso e.Value <= Date.Now.ToShortDateString Then e.CellStyle.ForeColor = Color.DarkGreen e.CellStyle.Font = New Font("Adobe Caslon Pro", 11, FontStyle.Bold) End If How can I change this code that in the same column and the cell is empty the backgroundcolor becomes red? Thanks in advance.

Member Avatar
0
219
Member Avatar

If you run the following code (on Windows 7, Python 2.6.5), you should see a light border around a black square and some text below it. How do I get rid of that border? Thanks! [code=python] from Tkinter import * class App: def __init__(self, master): #background frame self.bgFrame = Frame(master, bg="black", bd=0) self.bgFrame.grid() #image area self.canvas = Canvas(self.bgFrame, width=200, height=200, bd=0, bg="black") self.canvas.grid() #some filler text self.title = Label(self.bgFrame, text="Hi there.", bg="black", fg="white") self.title.grid() root = Tk() app = App(root) root.mainloop() [/code]

Member Avatar
0
4,729
Member Avatar

What's the best cloud accounting software for small businesses that handle multiple sales tax rates? Or is there an affordable web-based small business accounting software?

Member Avatar
1
170
Member Avatar

Using PHP / MySQL This is a sort of long explanation, but trying to provide all the information the first time. Hopefully someone can tell me what I’m missing or doing wrong, without too much criticism. I am trying to create a FUNCTION that I can use to retrieve a list of the most recent friends that a member has referred to their website that have subsequently registered as a client(member) I’m doing it in a function because this information will be displayed in a block on their back office dashboard, along with other data blocks on the same page …

Member Avatar
0
142
Member Avatar

Hii :) I have a list which is presented on one line so I am using css 'float: left' to do this. In one list there is 3 entries. It should look like this <ol> <li> 1 </li> <li> text </li> <li> 1.30 </li> </ol However the way it is layed out for me, it means that the middle entry doesnt fit properly so what I have done is set the overflow property to hidden and when hovered over it would show the full name. However when I hover over the text then is below the 3rd entry. Is there …

Member Avatar
0
95
Member Avatar

My website has a mirror of the download directory in the U.K.. On my download page I have 2 buttons, one for a U.S. download and one for a U.K. download. The current download page passes the filename to the download script. The download script (located in the download directory) for the U.S. download reads as follows: <?php $php_scripts = '../../php/'; require $php_scripts . 'PDO_Connection_Select.php'; require $php_scripts . 'GetUserIpAddr.php'; function mydloader($l_filename=NULL) { $ip = GetUserIpAddr(); if (!$pdo = PDOConnect("foxclone_data")) { exit; } if( isset( $l_filename ) ) { header('Content-Type: octet-stream'); header("Content-Disposition: attachment; filename={$l_filename}"); header('Pragma: no-cache'); header('Expires: 0'); readfile($l_filename); $ext = …

Member Avatar
0
92
Member Avatar

So i have to create a programm that reads 7-49 numbers and makes all posible combinations (6 number each) from the given numbers. Do you know how can i do this? I dont ask for the code ready but i cant think of a way i can create the combinations.

Member Avatar
0
100

The End.