132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to get only the visible section of the image from picturebox1 and place it in picturebox2. So what I have is picturebox1 set to a certain size, and the image size mode is set to center. Picturebox2 is also set …

Software Development html-css image vb.net
Member Avatar for joshl_1995
0
1K
Member Avatar for Rahul47

Hi guys, here is my code that am working on this morning, and I came across a point when pointer operation went wrong. #include<stdio.h> int main(){ char a[20]="Hello World !!!"; char *ptr=a; FILE *p; p=fopen("new.txt", "w"); int i; for (i=0; *ptr != '\0'; i++){ fprintf(p,"%c", ptr[i]); } fclose(p); getch(); return …

Software Development c
Member Avatar for Rahul47
0
190
Member Avatar for cleve23

Hi I just started learning on making gui on Java. I watched some youtube videos and i realise one of the them uses DefaultTableModel. At first i thought it was to allow access to the function of the table but i realise i can directly write and get value from …

Software Development gui java java-netbeans
Member Avatar for cleve23
0
244
Member Avatar for obspsalm22

I having major issues trying to make a GUI for this program. How do I connect my program to my GUI? I don't get it?Can someone help me with this? I also can't get result to read on my GUI. ![e23b489d81b74c698e1f29a66ca236f6](/attachments/large/4/e23b489d81b74c698e1f29a66ca236f6.PNG "e23b489d81b74c698e1f29a66ca236f6") /* * To change this license header, choose …

Software Development gui java java-swing oracle
Member Avatar for cgeier
0
358
Member Avatar for giovanni.arrastia

Herro there :) i'm having serious trouble understaning even the basics of regular expressions in perl. im trying to make a rainmeter skin that lets you search google from desktop and parses the first five links, and a picture if possible.

Software Development perl
Member Avatar for 2teez
0
167
Member Avatar for Delano_1

Hello everyone, I am extremely confused and I have no idea how to fix this: When I compile the program I get this message :Error:Incompatible Types:got "SHORTSTRING" expected "CHAR" Here's the section of the program that's giving me issues: IF selection=3 then Begin Writeln('Welcome to option 3'); Writeln('The winners for …

Software Development pascal
Member Avatar for Delano_1
0
497
Member Avatar for hodnee

Hi, I have been trying to get my program to run for a few days now. I have gotten it almost completed I think, but keep getting "error: variable checkFee might not have been initialized" on line 37. import java.util.Scanner; // scanner class public class PROB3_CHAL15 { public static void …

Software Development java
Member Avatar for scudzilla
0
253
Member Avatar for Andrew_10

Hi people, I am doing some unpaid work for a friend on an Access/VB application they have. Everything worked for 5 years and then suddenly one day they got the following error: Run-time error '91': Object varialbe or With block variable not set. When I click on debug it shows …

Software Development visual-basic
Member Avatar for Andrew_10
0
229
Member Avatar for marium.aslam.18

“Guess the number” game One of the simplest two-player games is “Guess the number”. The first player thinks of a secret number in some known range while the second player attempts to guess the number. After each guess, the first player answers either “Higher”, “Lower” or “Correct!” depending on whether …

Software Development algorithm python
Member Avatar for BearofNH
0
283
Member Avatar for martin3885

Hi, i'am a c# developer but I don't have much experience with c++. I'am curious if it is possible and how to add drad & drop functionality to a window of an external application. From my application I start an external application. I want to be able to drag an …

Software Development c++ microsoft
Member Avatar for rubberman
0
244
Member Avatar for singularity~

I am learning how to program with MPI and I can't seem to find an example anywhere about scattering two different arrays. Can someone point me in the right direction? I'll post some of my code below, that way you'll have an idea about what I'm trying to do. Thanks! …

Software Development c++
Member Avatar for rubberman
0
200
Member Avatar for somyms

I am an M.Tech Computer Science student..as per the syballus we need to do a thesis...can you please suggest some new and innovative topics for doing thesis. Recently i heard about hybrid app and am interested in that.Is that a good topic to do as a thesis.?

Software Development
Member Avatar for rubberman
0
207
Member Avatar for lewashby

greens = dict(green="#0080000", olive="#808000", lime="#00FF00") >>> print("{green} {olive} {lime}".format(**greens)) -> #0080000 #808000 #00FF00 In the program above what are green, olive, and lime in the dict function? I've seen and read about supplying a function with keyword arguments but only when the function was written with default argument. Even then …

Software Development python
Member Avatar for TrustyTony
0
166
Member Avatar for Valkrem

Hi all, I want to write a script to do the following job I have a record like day ID var Month 1 11 x March 2 11 y April 3 11 y March 4 11 y April 5 11 y March 1 22 y April 2 22 x march …

Software Development shell-scripting
Member Avatar for L7Sqr
0
101
Member Avatar for Iurie

HI ALL, I am trying to sketch the beging of function and the end, #include<ctype.h> #include<graphics.h> #include<conio.h> #include<math.h> #include<dos.h> #include<stdio.h> #include<stdlib.h> int xmax =1024;// getmaxx(); int ymax =760;// getmaxy(); float r,h;//??? int i; void grafica(){ //int gd=DETECT, gm; //initgraph(&gd, &gm, "..\bgi" ); initwindow(xmax,ymax, " Miscare "); setcolor(15); } float f(float …

Software Development c c++
Member Avatar for Iurie
0
224
Member Avatar for Spyderbane

I am trying to created a program that will check for updates then restart the computer and recheck for more updates. I want to know how to restart the application with elevated permission but only ask for permission when the program was first launched. I am not looking for someone …

Software Development vb.net
Member Avatar for Deep Modi
0
155
Member Avatar for tawanda_1

HI GUYS I HAVE 2 WEEKS INTO THIS SUBJECT C++ AND OUR LECTURER HAS SINCE GIVEN US AN ASSIGNMENT.ONE OF THE QUESTION STATES; CONVERT THE FOLLOWING ALGEBRAIC EXPRESSIONS TO C++ a) M= A+B+C+D+E/5 B)Y=MX+B C)Z=PR+Q+W/X-Y D)Y=X(SQUARED)/B(SQUARED) E)Y=AX(SQUARED)+BX+C F)3(a+17) g)x+2=28 h) 50 n+5 =10 i)7x(squared)+4x-10 j)A IS NOT EQUAL TO B

Software Development c++
Member Avatar for ann.mughal.5
0
305
Member Avatar for ifeanyiben

i need a c++ and java compliers.please help

Software Development c++ java
Member Avatar for rubberman
0
155
Member Avatar for blitznck_1

I have included a copy of the aspx file and the work behind code file, my problem is I am trying to figure out how to get the text entered in the text boxes so I can update a mysql database. I have tried using the findcontrol but I'm not …

Software Development asp.net c#
0
145
Member Avatar for Shinedevil

This is something that I made a while back during thanksgiving 2007. If you want to add on to it you can, it's not very well made as in the organization sucks. But it is pretty cool in the fact that you can navigate your acii environ with color and …

Software Development c++
Member Avatar for mrpi64
0
2K
Member Avatar for johnroach1985

I am currently trying to write a simple multi-threading program using Python. However I have run on to a bug I think I am missing. I am trying to simply write a program that uses a brute force approach the problem below: ![376dc6dd28649dd49ee987fbaf913b75](/attachments/small/0/376dc6dd28649dd49ee987fbaf913b75.gif ) As can be seen from the …

Software Development python
Member Avatar for Gribouillis
0
234
Member Avatar for Jeffrey_1

I have a 31,000 line spreadsheet, that will become a printed book. Based on the current column width (which has to stay the same for printing purposes) there are many lines that are only one line of text, and others that wrap to multiple lines. For some reason, for lines …

Software Development visual-basic
Member Avatar for Jeffrey_1
0
2K
Member Avatar for V3N0M

Hi everyone I would like to ask if the code below can me modified to a 3x3 array if not I am ok with that too. The variable is board[3][3]; #include <stdio.h> #include <stdlib.h> /************************************ function prototype ***********************************/ void displayBoard(); int verifySelection(int, int); void checkForWin(); /************************ gloobal variables ***********************/ char …

Software Development c
Member Avatar for Suzie999
0
151
Member Avatar for np complete

I want to extract this data from a website `You need to add the numbers present in this string. Your string is: 3754537dd2f082ad578e0ff1806d86a6` This is what I was doing url = opener.open('http://www.website.com') data = url.read() extract = re.search('your string is: <strong>(.*)', data) ans = extract.group(1) ans = string.split(ans, '</strong>')[0] print …

Software Development python
Member Avatar for snippsat
0
257
Member Avatar for Isaac O2

I'm about to create my project to present at the end of my courses in computer science department. In that case i need your help as the world programmers. I want to ask you how i can get to the best skill to use in my war of build my …

Software Development web-design
Member Avatar for Anima Templi
0
263
Member Avatar for himanshusharma

I wrote a simple prog. for drawing a circle . Compiled it .. n THERE WAS NO ERROR. But at the Execution time Error Occured : BGI ERROR: Graphics not intialized use 'initgraph I used initgraph olready . [B]1.[/B]Then i copied EVAVGA.BGI from BGI to BIN.. i tried again .. …

Software Development c c# c++ image
Member Avatar for RAHULtripathi86
0
334
Member Avatar for cool_zephyr

I'm packaging my java program as a jar..it includes mysql-connector.jar..it runs fine when i run it in eclipse..now i need to distriute the jar file..I packaged the jar file and when I run it through command line using java -jar myprogram.jar, it throws ClassNotFoundException: com.mysql.jdbc.Driver could anyone please tell me …

Software Development java mysql
Member Avatar for cool_zephyr
0
350
Member Avatar for Violet_82

Hello, I need to build the following GUI ![b1ec49424775312369c320b6b57981d8](/attachments/large/2/b1ec49424775312369c320b6b57981d8.jpg "b1ec49424775312369c320b6b57981d8") and as usual I was hoping to have some advice before I start building it. In particular, I wonder if you guys think I should have any JPanel at all or if it is better to attach everything to the …

Software Development gui java
Member Avatar for Violet_82
0
724
Member Avatar for wallet123

Hello. I want to be able to create a listener for a cell in my JTable. Whenever write a number in a JTable (every key release) I want the value on the other column to decrease something like this: Quantity|Borrow 10 | 0 8 | 2 i use window builder …

Software Development java
Member Avatar for wallet123
0
915
Member Avatar for mixelplik

I'm practicing my parsing, and I'm writing a program with an overloaded function that counts the words in a user entered cstring and regular string. Suprisingly the cstring was easy peasey but the string object is has me a stumped. I don't think my cstring was the most efficient solution, …

Software Development c++
Member Avatar for mixelplik
0
326
Member Avatar for mixelplik

This code is supposed to randomly assign numbers to an array of structs, but isn't working at all. I have no clue why, everything looks fine to me, can some one take a look and tell me why it's crapping out on me? #include <iostream> #include <cmath> #include <cstdlib> #include …

Software Development c++
Member Avatar for mixelplik
0
99
Member Avatar for symon_1

I have text file in D drive named "data.txt". It have several columns and rows like A B A B V B B V A B A A B B A A B A I want to read it and then convert it to say A=1, B=2, V=3 and then …

Software Development c
Member Avatar for Rahul47
0
238
Member Avatar for brandon66

Hello everyone im not very good with using pointers, maybe just need more explanation of using them/how i would change my code. Well i have to update this program i have to read in item number cost and qusantity from a file instead of getting it from the user. the …

Software Development c++ file-stream file-system
Member Avatar for brandon66
0
279
Member Avatar for Doogledude123

So I just finished up a way to solve Standard Form Quadratic Equations, Now I want to code a way to automatically Convert a given Standard Form equation to Vertex Form, or Vertex to Standard. Is it possible due to the fact that you have to get a perfect square …

Software Development github java
Member Avatar for Doogledude123
0
1K
Member Avatar for CoilFyzx

Hello good afternoon. I have successfully serialized data in the past, however it seems as if I don;t fully understand the process. I have a class called ProgramState which stores a variable (called lastCreated) with custom class LinesProject and an ArrayList variable(called recentProjects) of this custom class. The purpose of …

Software Development java
Member Avatar for CoilFyzx
0
391
Member Avatar for dsimonovski1

Hey. In VB.NET, I need to write an array of bits to the serial port, in such a fashion that I can directly control the output signal. For example, I write 00110110 in VB and I need to get exactly that on output. I have tried SerialPort.Writeline but it's not …

Software Development vb.net
Member Avatar for scudzilla
0
325
Member Avatar for dlmagers

Needing some help with a small problem. I have this program that is not compiling correctly. The instructions are simple which are: The PairTest should prompt the user for the two values, create a Pair object with the values and then print the average, distance, maximum, and minimum of the …

Software Development java
Member Avatar for JamesCherrill
0
196
Member Avatar for Jeffrey_1

I am trying to combine cells depending on the contents of other cells. If Column A has an "X", I want to combine all cells below it, values seperated with a space, until the next line where an "X" appears. There is also data in Column C, which I don't …

Software Development programming-construct visual-basic
0
126
Member Avatar for skylinedrifter

#include <iostream> #include <iomanip> using namespace std; int main(); { cout << "***************************************... cout << "** Revenue for Bayou Broadway Theater **\n"; cout << "***************************************... const double balcony = 59.95; const double mezzanine = 99.95; const double orchestra = 139.95; int balconyTickets, mezzanineTickets, orchestraTickets; double balconyRevenue, mezzanineRevenue, orchestraRevenue, totalRevenue; // …

Software Development c++
Member Avatar for Slavi
0
196
Member Avatar for lfc3798

I want a code in python, to convert binary to decimal however i want the user the choose which way to convert the number(i.e, binary to decimal or decimal to binary) thank you

Software Development python
Member Avatar for TrustyTony
0
273
Member Avatar for Evil03

Hi All, I have created a Vb.net application with back as MS.Access..I shall be very thankful if someone pls guide me on how to EXPORT DATA from the VB>NET Textboxes to NOTEPAD.. THe methof that i am using is creating a CSV file which is can Adjust in excel after …

Software Development vb.net
Member Avatar for Spyderbane
0
1K
Member Avatar for totalwar235

using a linked list in C++ i am attempting to delete a middle node from a series, and then put the series back together. ex: N1 -> N2 -> N3 N1 -> N3 delete N2 but i am getting a segmentation fault (core dumped) at the point in the code …

Software Development c++ linked-list
Member Avatar for Ancient Dragon
0
163
Member Avatar for Mr.M

Hi Dw I'm create an application that register a user and now because we accept even oldest people we have to include their years in a dropdownbox so I'm not sure if this is possible but I do think it is possible it just that I don't have a clue …

Software Development vb.net
Member Avatar for Spyderbane
0
215
Member Avatar for pprabhat

coding for printing diamond pattern using recursion as following * * * * * * * * * * * * * * * *

Software Development c++
Member Avatar for samson.dadson.3
0
115
Member Avatar for brandon66

I have a text file i want to read data from the first line of the test file is ow many lines are in it then on each line seperated by a space is itemnumber itemprice itemquantity. 3 39284 5.75 12 18372 4.50 23 27649 12.99 81 how would i …

Software Development c++
Member Avatar for cgeier
0
317
Member Avatar for willyah

How do i write a program in C to do split and merge operation. I have configured my system with opencv.

Software Development c image
Member Avatar for Suzie999
0
2K
Member Avatar for Patrick_3

Hello, I am attempting to make a section in my application where a user can enter their own code which will be executed at runtime. I have looked up how to compile and run Visual Basic code while the program is running (Below). Dim VBP As New VBCodeProvider Dim CVB …

0
174
Member Avatar for ZaneDarklace

How do i post my codes on here? I did it once by accident and don't remember how i did it.

Software Development java
Member Avatar for ZaneDarklace
0
82
Member Avatar for willyah

How can write a paralle program using the openmp threading library(omp.h) to calculate the time needed to calculate the dot product of two vectors.

Software Development c
Member Avatar for Ancient Dragon
0
187
Member Avatar for CHINMAYA_1

main() { int s=0; while(a && b && c) { s++; a--; b--; c--; } printf("%d",s); } i know that here a,b,c are undeclared, but beside that i can't find the problem. so anyone can help me out here. thanks

Software Development c
Member Avatar for rubberman
0
121

The End.