132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Charizardly

Ikd what the error is telling me as when it compiles, no red lines appear. Plz help me >_< ! thanx in advance #include "stdafx.h" #include <iostream> #include <stdlib.h> using namespace std; #include "Shapes.h" #include "ShapeFeatures.h" int main() cout << "\n\n\n"; return 0; } //Shapes.h #pragma once class Shapes { …

Software Development c++
Member Avatar for AssertNull
0
356
Member Avatar for zetologos

im having a bit of trouble using the object i add to my arraylist. i used this as my reference: [url]http://www.java2s.com/Tutorial/CSharp/0220__Data-Structure/ArrayListandyourownobjectAddobjectstoArrayList.htm[/url] [CODE] import java.util.ArrayList; public class TestArrayList { public static void main(String[] args) { Object item1 = new ObjectMaker(); Object item2 = new ObjectMaker(); Object item3 = new ObjectMaker(); ArrayList<Object> …

Software Development java
Member Avatar for jwenting
0
25K
Member Avatar for Aina_1

I got this problem while trying to disable or enable ports. It works well when Im using my friend's laptop but when I tried using my laptop, it give this error. Why was this happen and how to solve it? Thanks ^^ Private Sub DisableBtn_Click(ByVal sender As System.Object, ByVal e …

Software Development vb.net
Member Avatar for rproffitt
0
476
Member Avatar for Sashika_1

hey everyone. I need you experties help to the correct this login form code. After the best effort I find this code. But it occur one error. Before the explain error I'll describe how this work. This login form check user name and password from the mysql database. After Normaliy …

Software Development vb.net
Member Avatar for Sashika_1
0
2K
Member Avatar for Linzi c++

I'm trying to make an interactive calculator to solve the volume of a sphere. The thing is that I can't seem to make the program let the user input their own number for example, What if the user wants to the number four as the radius? Here is what I …

Software Development c
Member Avatar for David W
0
349
Member Avatar for zzQwerty

I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include …

Software Development c++ file-system ios
Member Avatar for David W
0
510
Member Avatar for Sponge_1

Now, i have Set up the Connection to MySQL,and i have this Layout: |ID|Class|Name|Password| The Names are ALL shown in Combobox2.But i have a Combobox1 with Numbers.Now if i select 1, i want only the Users with Class 1 to show in my Combobox2,when i Select 2, only Class 2 …

Software Development dataset mysql vb.net
Member Avatar for Sponge_1
0
210
Member Avatar for IcyFire

I made a client server program to send an image from the server to the client. The image is being sent being but its not showing up in client window immediately. If i click send on the server then i minimize (or maximize) the client window then open again the …

Software Development client-server image java java-swing
Member Avatar for rproffitt
0
7K
Member Avatar for manugm_1987

Hello Can anyone please help me out in how to get or read two values from single textbox. i.e when i read the first value it should be stored in string str1 , when i click button the textbox shld be cleared and shld wait to accept second value.The second …

Software Development
Member Avatar for rproffitt
0
980
Member Avatar for Bronwyn_1

My client is wanting a 'simple' stock update system in MS Access. I have a form and subform (which is a packing slip) where the user will select the style of shoe eg ASHE_Choc and then enter the number of stock wanted for each size eg 5 for size 6_40. …

Software Development
Member Avatar for Bronwyn_1
0
259
Member Avatar for AssertNull

I've always been bad with regular expressions syntax. I am converting text into Bezier curves, polygons, etc. Part of that is identifying points in the form `(x,y)` where x and y are coordinates in a graph. I am extracting x and y as doubles and creating Point objects with those …

Software Development java regex
Member Avatar for AssertNull
0
379
Member Avatar for sarah_15

Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for seitan

to all programmer out there! i'm a new visual basic 6.0 user.. i wonder if there is possibility that i can run .exe program in visual basic that without installed visual basic? or is there any application needed. thanks in advance..

Software Development visual-basic
Member Avatar for Paul Simon
0
1K
Member Avatar for ddanbe

I have a `List<double> MyList` something looking like this: 4.75/1.01/5.66/NaN/42.42/3.33 I’d like to get the minimum value of 1.01 out of it, but I get d = NaN when doing `double d = MyList.Min();` Tried, after some long internet strolls, something with LINQ to no avail. Some LINQ afictionados around …

Software Development asp.net
Member Avatar for ddanbe
0
265
Member Avatar for newbee_jv

Hellow everyone, I have a populated LinkedHashMap, and I need to insert another key/value to it, but it appears that it replaces it. How can I append it? Here's the example: Map <String, String>invalid = new LinkedHashMap<String, String>(); invalid.put("111111111111111111111", "Invalid Message # 1"); Map <String, String>valid = new LinkedHashMap<String, String>(); …

Software Development java
Member Avatar for JamesCherrill
0
175
Member Avatar for AssertNull

I am developing a Graphics package in Java that allows the user to draw triangles, squares, circles, etc. and group/move/manipulate them in order to make animated stick-figure movies. I have an interface that allows users to add figures with GUI buttons, drop-downs, mouse-clicks and the like, and also a text …

Software Development gui java user-interface
Member Avatar for AssertNull
0
1K
Member Avatar for Sashika_1

I have two forms. Form 1 and Form 2. When I choose item from the combo box , Form 2 load. After I fill Form 2 text boxes and click 'save' button I want to load these text boxes values to Form 1 text boxes and later close. Please anyone …

Software Development vb.net
Member Avatar for rproffitt
0
295
Member Avatar for AssertNull

I've been debating where to put this. Maybe the Community Center. Feel free to move if necessary. I'm sticking it in Software Development because it has to deal with Software Development, but it's more of a general topic involving different levels of expertise and familiarity, what one's "lane" is, and …

Software Development api
Member Avatar for AssertNull
0
241
Member Avatar for Sashika_1

Hi guys. Today I want help from you experts. This will help others as well. Okay. Directly to the topic. My senario is this. I want to save image to mysql database. By this way. There was table contain two data columns. which are ID and Image path. So now …

Software Development mysql vb.net
Member Avatar for Sashika_1
0
985
Member Avatar for Vsrkprasad

i down loaded 24 c++ programs from the MIT ( Massachusets institute of technology) web site. when i compiled the programs all the programs are giving the same warning messages " functions containing for, while, switch are not expanded inline". if i remove the word inline from the programs will …

Software Development c++
Member Avatar for rproffitt
0
1K
Member Avatar for zachattack05

The Membership table for our ASP.NET site has the encrypted passwords and password salts stored when a user logs in. The site is already served over an HTTPS connection, but we would like to give our clients the ability to download and save certain files and documents. We would like …

Software Development asp asp.net cybersecurity
Member Avatar for rproffitt
0
589
Member Avatar for rvotri_1

I'm noteven sure how to ask about it.. Lol... The fact is... I have my own "autocliker" thing that i use to auto repost my itens to sell over the internet in specific sites. So work this way. I have around 40 advertising itens, and to keep'em update i use …

Software Development advertising open-source vb.net
Member Avatar for rvotri_1
0
214
Member Avatar for Jovanie_1

Can anyone tell me how to calculate yesterday's date using c++?

Software Development c++
Member Avatar for deceptikon
0
4K
Member Avatar for TheGuy831

Hi Im trying to Populate my datagridview from data scraped off of webpage i Want to be able to report progress when datagrid finished updating.. with a progressbar.. Please Help!!!!!! Thank You.. Heres My code Dim theElementCollection As Windows.Forms.HtmlElementCollection theElementCollection = Form1.WebBrowser2.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In theElementCollection Form1.DataGridView1.Rows.Add(curElement.GetAttribute("title"), …

Software Development multithreading vb.net
Member Avatar for TheGuy831
0
3K
Member Avatar for Mr.M

Hi guys. Well according to the research I had, and MP3 file structure is as follows: ` AAAAAAAA AAABBCCD EEEEFFGH IIJJKLMM ` which is refered to as frames, and each. Each letter is one bit. I've seen samples demonstrating how to get data from this but what I want is …

Software Development c++ data-structure vb.net
Member Avatar for AssertNull
0
972
Member Avatar for Suzie999

Hi all, I have a lot of long boring work ahead of me, unless this long shot comes up roses. I have a lot of classes I need to add a ToByteArray() method to, and I'm wondering if Visual studio 2015 has any tricks up its sleeve where I can …

Software Development visual-studio
Member Avatar for Suzie999
0
381
Member Avatar for Peter_36

If I made a program, and I wanted a random number. I know it's not compleatly possible, since it takes numbers out of the ram. Although there must be worse and better ways to do this. What are the better ways do do it.

Software Development c++
Member Avatar for AssertNull
0
264
Member Avatar for Tim_8

Hi, I have a project which runs on 'dual monitor' PC's. I only want to use one monitor at a time, but I want the user to pick which monitor they want to use (Primary or Secondary). I have set form1 to have a manual start position, and the user …

Software Development vb.net
Member Avatar for tinstaafl
0
907
Member Avatar for Yivlx

If user enters a file path "C:\ProgramFiles\Blahblah\Blah.exe" in the textbox and presses enter it also changes the filepath in the code. How can I do that? Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Process.Start("C:\Users\Tj\Downloads\Catchem Releases\Catchem\Catchem.exe") End Sub Can the same thing also be done for Button label/name?

Software Development vb.net
Member Avatar for tinstaafl
0
329
Member Avatar for Michael_59

I have developed an x86 application using Visual Studio 2008 with Visual Basic as the programming language. It uses .NET Framework 3.5. My databases are created in MS Access 2007. I have deployed my software on Windows XP all the way through Windows 10 with no problems up until now. …

Software Development vb.net visual-basic windows-10
Member Avatar for rproffitt
0
353
Member Avatar for M.I.Sahil

I m using vb.net with Sqlserver2014.The under mentioned code works fine at the time of save but in update it works only when i update the picture column, If I want to update any other column it gives the Error: "A generic error occurred in GDI+" Can anybody correct my …

Software Development vb.net
Member Avatar for Santanu.Das
0
260
Member Avatar for Jose_12

show slow textbox array ie display the item and wait a few seconds to display the following c # , its gonna be like a process roundd 1 //wait a few seconds to dislplay another line for (i = 1; i <= r; i++) { label3.Text += ("round " + …

Software Development c#
Member Avatar for ddanbe
0
321
Member Avatar for Crazyscript77

Hi all, Ive been looking to convert one of my programs to include a GUI, and am having issues with the timing aspects of it. Ive included a mock scenario of what my problem is below: Ive defined my GUI as an object via a class, and am using the …

Software Development gui python tkinter
Member Avatar for Gribouillis
0
7K
Member Avatar for apkrieg

The GitHub Repo is [here](https://github.com/apkrieg/foovm). This was part of a contest with someone I met on Omegle. The goal was to see who's VM could run a set of example app the fastest, the catch: We had about 24 hours to implement the solution. My language of choice was Golang, …

Software Development github golang virtualization
0
1K
Member Avatar for Luis_6

I'm having a lot of issues wring codes in C++ specialy when 3 files are required (.h, .cpp and main.cpp). Very different to C that it was very easy for me but not now with C++. I nee to write a program to do the following: Create 3 files for …

Software Development c c# c++ objective-c
Member Avatar for ddanbe
0
662
Member Avatar for Wilda_1

I want to generate a list of passwords of a cretain length passwords from a packet FILE. The packet file means a .txt FILE which contains more than 1M passwords of certain lengths. I want to store password of DIFFERENT length in a various .txt FILES /*this code is used …

Software Development c++ ios
Member Avatar for AssertNull
0
364
Member Avatar for sumod

Q.Write a program using 2D array. A company manufactures three products P1, P2 and P3. Company has hired five salesman. Each salesman sell all three products. Accept from user number of each product sold by each salesman. Find the product whose sale was largest.Also find the salesman whose sales were …

Software Development java
Member Avatar for sumod
0
2K
Member Avatar for hpoddar

How to read properties file in Python? I found ConfigParser() but it has a 'section' limitation, so looking for other alternatives. Thanks, Harsh

Software Development python
Member Avatar for Anand_10
0
12K
Member Avatar for rwkopcke

Dev-C++ v 4.9.9.2 IDE When I compile and run my program as a console project, a window flashes very briefly on the screen and disappears. The compile log says compilation was successful and execution terminated. How to I keep the window (my output window?) from disappearing?

Software Development c++ ide
Member Avatar for Mohit_12
0
7K
Member Avatar for toxicandy

I am trying to complete an assignment using stacks and I need a little guidance. My task is to make an array of 6 values and pass it to VIA stack to a subroutine where I need to increment through it and pass each value of the array to another …

Software Development assembly
0
154
Member Avatar for Michael_57

I am struggling to do somehting so simple in Crystal Reports I have some numbers I.E 2.851 3.481 0.791 I want to round them up so they are 2.80 3.50 0.80

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
175
Member Avatar for Zent

Hello, Why is (1/0.3) = 3.3333333333333335 ? Where does the 5 come from? Thank you!

Software Development java
Member Avatar for rubberman
0
182
Member Avatar for TheGuy831

Hi im trying to Scrape a **table** of a website and list it in a **datagridview** wich has a column **Name** and a **Url Link** Please Help!!!! Heres the source.. <div class="text"><table class="links"> <thead> <tr class="thblue"><td style="width: 105px"></td><td style="width: 85px">Time</td><td style="width: 540px">Teams</td><td>Broadcast</td></tr> </thead> <tbody><img src='/img/nowplay.gif'><tr> <td colspan='5' class='accordion greybg'><span class='icon'><img …

Software Development vb.net
Member Avatar for rproffitt
0
522
Member Avatar for V3N0M

Hi guys after fixing my previous bug this one has resulted. What I am trying to do: 1. Make getchar() read only one character per input 2. Make the while loop not accept numbers 3. When the user enters duplicate characters the program should only accept the first character. code: …

Software Development c c# c++
Member Avatar for V3N0M
0
323
Member Avatar for Suzie999

Hi all. I'm working on a client server application, eventually to be a POS (point of sale) system. The model is something like, client (till) does not have access to the database, instead it sends data to the server application, which in turn deals with the database and any other …

Software Development client-server tcp-udp
Member Avatar for pritaeas
0
388
Member Avatar for Peter_36

Why wont the if look for both Peter and John? #include <iostream> #include <string> using namespace std; int main() { string Name, Mood; // obvious string cout << "Whats your name?" << endl; cin >> Name; if (Name == "Peter"|| "John") { cout << "Hello, master! How are we feeling …

Software Development c++
Member Avatar for AssertNull
0
369
Member Avatar for Callum_3

So I'm reading from a text file, that contains numbers, but i can only read as string, how can i contain it as int? string[] lines = File.ReadAllLines("C:\\Users\\Temp\\Desktop\\WriteLines.txt"); for (int i = 0; i < lines.Length; i++) { Console.WriteLine(lines[i]); }

Software Development c c# c++
Member Avatar for Callum_3
0
125
Member Avatar for Sandeep_21

suggest me whitch course is useful and booming in software industry...</>

Software Development career java python
Member Avatar for AssertNull
0
261
Member Avatar for Ashraf_6

Hello guys, I would like to know how and where I can find a grid layout after compiling my java program using blue j. I've tried checking the tools section but I cannot find it. Thank you

Software Development gui java
Member Avatar for JamesCherrill
0
157
Member Avatar for rroygaga

I need help. I am developing an application wherein the user selects multiple images and are displayed on a form. With this application, i need to convert these multiple images into a single image. Any ideas?

Software Development image visual-basic
Member Avatar for Reverend Jim
0
2K

The End.