843 Recommended Topics
Remove Filter | |
I am working on an exercise from Google's Python class dealing with popular baby names. I have the program running properly when using only one filename, but when I try to use the wildcard to get all files with baby####.html files I get differing errors every time I run the … Software Development python | |
I am trying to extract three values from the td tags in an html downloaded file. <tr align="right"><td>236</td><td>Roy</td><td>Allyson</td> <tr align="right"><td>237</td><td>Marvin</td><td>Pamela</td> <tr align="right"><td>238</td><td>Micah</td><td>Kristine</td> <tr align="right"><td>239</td><td>Collin</td><td>Raquel</td> I am using the pattern match = re.findall(r'<td.*?>([\d+])([.*?])*<\/td>', file) The file is created with a read() statement. The output should look like (236, "Roy", "Allyson") (237, … Software Development python | |
how can i convert these C line: (py>>6)<<6) to VB6? Software Development c++ visual-basic | |
how can i convert cursor files to image? i need see the cur\ani on picturebox?(just for learning) Private Sub btnChooseImage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChooseImage.Click If (ofdChooseFile.ShowDialog = Windows.Forms.DialogResult.OK) Then If (ofdChooseFile.FilterIndex = 6) Then Dim cur As New Cursor(ofdChooseFile.FileName) PicShowImage.Image = cur 'error yes Else … Software Development visual-basic | |
I was thinking that one way that a coding team could work would be that coders would be rotated through several roles. This would prevent people from getting too comfortable towards the goal of preventing problem areas (code quality wise) from developing in the department. * Architecture * Production Coding … Software Development developer-tools software-architecture | |
Hello friends, I am stuck at a point in downloading multiple files as a single zip such that - the generated zip by my code for user download seems to be not a properly formed one. While trying to open the generated zip, I get an error as - "Cannot … Software Development file-system java | |
The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) My Code is Private Function GetXlUsedRange(ByVal filePath As String) As Object(,) Dim xlApp As Excel.Application Dim xlWorkbooks As Excel.Workbooks Dim xlWorkbook As Excel.Workbook Dim xlSheets As Excel.Sheets Dim xlWorkSheet As Excel.Worksheet Dim xlRange As Excel.Range xlApp = New Excel.Application xlWorkbooks … Software Development listview microsoft-office vb.net | |
I am building a crawler+parser in Python. It has to be run for, like 20 hours. How can I modify the code such that the code execution pauses (before next urllib2.urlopen) when the internet is disconnected, and AUTOMATICALLY resumes with the same variable values, when the internet connection is back … Software Development python | |
heres my RayCasting function: Private Sub DrawRays2() Dim AY As Double Dim AX As Double Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As … Software Development visual-basic | |
how to convert from vb.net to C# ? | |
i'm using CreateDIBSection(): Public Function NewImage(ByVal ImageWidth As Long, ByVal ImageHeight As Long, Optional color As ColorConstants = vbBlack) As Long If (Width > 0 Or Height > 0 Or hBitmap > 0 Or PointerPixelData > 0) Then DeleteImage Width = ImageWidth Height = ImageHeight 'Criar HDC MemoryHDC = CreateCompatibleDC(0) … Software Development visual-basic | |
**What is e-commerce software development?** The term eCommerce was coined in 1972 and it has slowly gained popularity as a buzzword since then. Today, we understand it as an umbrella term that covers all online buying and selling, including everything from selling physical products to providing digital services. There are … Software Development microsoft-access pascal | |
Need help with JTable header group : Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.table.JTableHeader cannot be cast to id.co.aal.common.GroupableTableHeader this is the part of table drawing ..... if(tabledraw) { tabledraw=false; for (int k = 0; k < m_data.getColumnCount(); k++) { TableCellRenderer renderer; if (k==Kehadirantable.COL_ALOKASI) renderer = new CheckCellRenderer(); else { DefaultTableCellRenderer … Software Development java java-netbeans | |
how send parameters on CreateThread()? on a class: Option Explicit Private Declare Function CreateThread Lib "kernel32" (lpThreadAttributes As Any, ByVal dwStackSize As Long, ByVal lpStartAddress As Long, lpParameter As Any, ByVal dwCreationFlags As Long, lpThreadID As Long) As Long Private Declare Function TerminateThread Lib "kernel32" (ByVal hThread As Long, ByVal … Software Development visual-basic | |
i have tried several ways, but i always get an overflow error :( how can i combine the ARGB color elements? Public Function ARGB(ByVal alpha As Byte, ByVal red As Byte, ByVal green As Byte, ByVal blue As Byte) As Long Dim color As Variant color = CDec(alpha) * 256 … Software Development visual-basic | |
| |
Hello, everyone!:) I am new to Daniweb and I would like a little help in implementing Binomial Heap subroutines in C, especially insertion in Heap. For my application it is necessary to implement max-heaps(i.e., roots storing the maximum value) in stead of min-heaps(i.e., root storing minimum value) in ANSI C. … Software Development c data-structure | |
what unique characters are there in c? So far, I've found these: ¦ ¯ • | ÷ ¶ £ ¢ € ¥ © ® ™ › » « ‹ ‰ % ˜ 8 § Software Development c | |
see these 'for' loop: Public Function SetTransparentColor(color As Long) Dim X As Integer Dim Y As Integer Dim c As Long Dim h As Long Dim w As Long Dim temp As BGRAQUAD ' substitua BGRColor pelo tipo de dado correto usado em bDibBGRA h = Height - 1 w … Software Development visual-basic | |
Hi, I'm transitioning to assembly, starting with processor 8086. The attached code is Masm 5 compatible and is a step up from Hello World, which linked and ran okay. An endless loop exists, giving credence to this note. Any comments or suggestions to resolve it would be appreciated, thanks! .model … Software Development assembly | |
Hello , I always had a distant relationship with C++ (writing in it small programs (or libs for other languages) only when performance really matters) but I have found myself writing more and more C++ bots. I learned that you need to separate the definition of the class (interface in … Software Development c++ | |
Hello all. I'm relatively new to libcurl C++, and I have been hopelessly stuck. Bit of a background for this app. It is very legacy, having been made in the early 2000s. LPSTRs abound. It looks in FTPs for files from suppliers (who have an SFTP they interact with and … | |
THIS IS THE LINK FOR QUESTION:https://practice.geeksforgeeks.org/problems/subarray-with-given-sum/0 #include <iostream> using namespace std; int main() { long long int s,n,a[10000000000],e,d,l,flag=0,t; cin>>t; while(t--) { cin>>n>>s; e=0; flag=0; for(long long int i=0;i<n;i++) { cin>>a[i]; } for(long long int j=0;j<n;j++) { e=a[j]; for(long long int h=j+1;h<n;h++) { e+=a[h]; if(e==s) { l=j; d=h; flag=1; break; } … Software Development c++ | |
Is it OK to have if statement in the constructor Thanks [CODE] public class CTime { private int start_hour; private int end_hour; private int start_minute; private int end_minute; public CTime(int h1,int m1,int h2,int m2){ if(h1>=7 && h2<17 && h2*60+m2>h1*60+m1){ setStartHour(h1); setStartMinute(m1); setEndHour(h2); setEndMinute(m2); } }[/CODE] Software Development java | |
AI is good for content writer. but some time AI have not perfect solution . so AI not good for future as a content writing prospective. Software Development image seo visual-basic | |
1. Analyze the problem below and make a c++ program to enter on the keyboard the required data for process. Compute the time of flight of a projectile and its height above the ground when it reaches the target. Display all the inputed data and the processed or compute data. … Software Development c++ | |
I use apple's x code, my system is OS X 10.4.11 Im getting a warning you must be familiar: [CODE]"#ifdef __DEPRECATED #warning This file includes at least one deprecated or antiquated header. \ Please consider using one of the 32 headers found in section 17.4.1.2 of the \ C++ standard. … Software Development c++ | |
how to create a program about number system converter using c++ Software Development c++ | |
I'm making a software similar to Grammarly in C++. I want to get data from the clipboard, then if a certain sequence of data that is a certain number of letters is contained in it, then it has to be replaced by a predefined string. Software Development c++ | |
Hello I want to print some data that appear in Form. I print some data( image, labels....) then at point y = 415, I will print all rows of datagridview, at here all is right, but when i want to print rows that need more page, i had wrong result, … |
The End.