132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ARIGAR

A sub procedure in Visual Basic that sets the vertical and horizontal sizes of a form named DemoForm to half the vertical size of the screen and to three-quarters the horizontal size of the screen respectively. ******************************* A program that can be used to generate and display the following multiplication …

Software Development vb.net visual-basic
Member Avatar for tinstaafl
0
270
Member Avatar for Zeeshan_6

i am developing attendance software with sms support current i have tried sending sms with one gsm modem , but the it took 1.5 hour to send 3500 sms , so i wan to use 4 gsm modems having separate com ports , now the problem is i am unable …

Software Development c c# c++
Member Avatar for rproffitt
0
479
Member Avatar for lefteven20

I am working on a program and I almost have it working the way I want except for two problems. The first is major; I can not for the life of me get my answer for the population to equal anything but zero. I have a feeling this is due …

Software Development vb.net
Member Avatar for Reverend Jim
0
201
Member Avatar for Dave Sinkula

Many times [inlinecode]strtok[/inlinecode] is recommended for parsing a string; I don't care for [inlinecode]strtok[/inlinecode]. Why? [list][*]It modifies the incoming string, so it cannot be used with string literals or other constant strings. [*]The identity of the delimiting character is lost. [*]It uses a static buffer while parsing, so it's not …

Software Development c
Member Avatar for anti_neoliberal
0
10K
Member Avatar for Schmelz

Hi, I a real newbie when refering to programming. I keep having this error but I don't know what it means. Can somebody help me? I looked it up on google but I couldn't find anything of usefull so I tought posting it. Can you please tell me what an …

Software Development c++
Member Avatar for rubberman
0
274
Member Avatar for preslav_milev

Hello ! How i can find the smallest number, higher than average value. For example in deque I have these numbers: 46 84 25 93 91 25 37 32 64 49 17 81 59 38 79 22 57 17 61 11 (transferred from file Stack.txt to deque.txt). Тhe average of …

Software Development c c# c++ ios
Member Avatar for David W
0
364
Member Avatar for DenisOxon

Hello, I have for a number of years supported a VB5 application which controls customers equipment. We are now going to do some major changes to software because hardware is changing. It now seems the ideal opportunity to upgrade to a newer/latest version of visual basic, which if we go …

Software Development vb.net visual-basic visual-studio
Member Avatar for DenisOxon
0
388
Member Avatar for musthafafarhan

I want to assign a single KEY in Keyboard to enable/Disable function. Initally, the button should be disable. when I press the button1 it should get enable and when I press tha same button1 again it should get disable. How can I do that in visual studio C# for windows …

Software Development c c# c++ visual-studio
Member Avatar for rproffitt
0
293
Member Avatar for Saboor880

Hello to all! I am doing practice for JDBC and using netbeans 8.1. I created a table in mc access and wrote a program. But the problem is that when i pass column index then my program runs successfully. But I pass column name as in my table in mc …

Software Development java java-netbeans
Member Avatar for stultuske
0
245
Member Avatar for David_64

I knew how to use combo box to read the database in Microsoft access, let say I have 7 option and I can make it into conbo box. But now I want the 7 option in the form of button (means got 7 button). Can anyone help ?? While (acsdr.Read()) …

Software Development microsoft microsoft-access vb.net
Member Avatar for David_64
0
207
Member Avatar for Saboor880

Hello guys! I am using netbeans8.1 and apache Tomcat8.0.27.0 I am making a simple web application for practice. I have made two html pages "index.html" and "welcome.html". On page index.html I am taking two parameters from user 'name' and 'sirName'. If user enters Saboor and Siddique in 'name' and 'sirName' …

Software Development apache java session
Member Avatar for peter_budo
0
183
Member Avatar for Callie C.

I'm not sure what I'm doing wrong so if you could take a look and give me some ideals it would be great. Thanks so much Specifications: Write a program that uses a two-dimensional array to store the highest and lowest temperature for each month of the year. The program …

Software Development c++
Member Avatar for David W
0
375
Member Avatar for lefteven20

For my class I am asked to complete a program: create an application that will predict the approximate sie of a population of organisms. the user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a …

Software Development vb.net
Member Avatar for lefteven20
0
572
Member Avatar for Mr.M

Hi Dw. Is it possible to search through "*.COM", "*.exe" files and check if they are encrypted and so check which encryption was used in VB.NET?

Software Development encryption vb.net
Member Avatar for Mr.M
0
480
Member Avatar for kayleigh0411

I am trying to make a calculator, but I can not seem to figure out how to get the = operation to work. Everything else seems to be working fine, but I am just really struggling with the =. Any guidance in the right direction would be super helpful! import …

Software Development java java-swing
Member Avatar for JamesCherrill
0
1K
Member Avatar for themathprof

I installed VB6 on my new windows 10 computer and it installed fine. My compiled program works fine. However, in the IDE mode it does not 'recognize' the on error resume next (or any other on error statement) and shows in a popup that there is an error and will …

Software Development ide visual-basic windows-10
Member Avatar for rproffitt
0
333
Member Avatar for trishtren

Hello, Iv been working on a project for a while now in java and i read somewhere that the GCJ can compile java classes into native binaries, after a quick google search it was revealed that this was true. However after reading a number of posts across the web and …

Software Development java
Member Avatar for jwenting
0
225
Member Avatar for queenofdrama365

list of 28,500 words (read in from text file), one word per line Do not actually store the words in the hash tables; rather use integer arrays initialized to all zeros. If a word hashes to position i, simply increment the value in position i. In running your trials, use …

Software Development java
Member Avatar for JamesCherrill
0
212
Member Avatar for rose_2

I need some help in that program to read 2 numbers and print sum of them the program will be tested on one or more test cases. The first line of the input will be a single integer T, the number of test cases (1 ≤ T ≤ 100). Followed by …

Software Development c++
Member Avatar for rose_2
0
177
Member Avatar for phoenix254

How can i return an array from function in c++.. I have this code: #include <iostream> #include <string> using namespace std; int ordincreasente(int num[], int len){ int curMax,curMin,ordinato[len]; for(int i=0; i<(len-1); i++){ for(int j=i+1; j<len; j++){ if(num[i]<num[j]){ swap(num[i], num[j]); } }//end second loop }//end first loop for(int i = 0; …

Software Development c++
Member Avatar for 2teez
0
669
Member Avatar for overwraith

Am having some difficulty, I had some code that had a static helper method in C#, and now I am looking to port it to vb, but unfortunately vb doesn't seem to have a yield return operator. How do most vb developers do this, and why is there no yield …

Software Development vb.net
Member Avatar for ddanbe
0
412
Member Avatar for LinuxGuy80

My question may be unclear but, can integer pointers be in any type of data structure? I mean like in a list, tree, graph, etc. Like say a linked list: struct list { struct list *next; int *some_data; }

Software Development c data-structure linked-list
Member Avatar for rubberman
0
169
Member Avatar for COKEDUDE

I'm having trouble getting the parameters correct in my cat function. I would think since I'm changing temp that I would need to pass the address since I want to be able to see that in main. I think I'm getting screwed up by the decaying. #include <stdio.h> #include <stdlib.h> …

Software Development c
Member Avatar for rubberman
0
2K
Member Avatar for nathan.pavlovsky

Hello Programmers! I am working on a C++ phone number class. The class has overloaded stream manipulators, cin and cout for output. It has three private members: areaCode, exchange, and line, strings that represent the numbers that are used in a telephone call. It is supposed to default to (000) …

Software Development c++ data-structure ios
Member Avatar for 2teez
0
588
Member Avatar for catby

Hi, I was wondering if someone could help me please.... I am new to java and have been struggling with this for about 2 weeks now!! At the moment I am just trying to get the program to print out a 5x5 matrix with the alphabet in it, using a …

Software Development encryption java
Member Avatar for catby
0
887
Member Avatar for Farhan_8

Hi, I have been assigned Blood Bank Management System as java oop project.So i was wondering i someone can give me a headstart on which classes and methods to implement first so i can modify them applying all the oop concepts first.This is what i have worked on so far. …

Software Development java oop
Member Avatar for JamesCherrill
0
310
Member Avatar for Sai Jyothsna

Question: Trying more than two weeks but not getting corect program due date is already over.please hel me anyone For this project, the students are to use MS Visual Studio to program and run a simple multi-process console program using MPI in visual C++. The MPI libraries can be downloaded …

Software Development c c# c++ visual-basic visual-studio
0
100
Member Avatar for coder91

Hi I recently started a new job and i've just been giving my first proper coding task. It is to write a method that will take a value and convert it to something else. eg. If the method receives Payment it will return 'P'. I'm just looking for the best …

Software Development java
Member Avatar for JamesCherrill
0
222
Member Avatar for napo15

How would I implement the rand or the srand statement into this C Programming language. I have been reading about these 2 statements but I am a bit confused still. In need of assistance. I am a beginner in Programming.... #include <stdio.h> //Main header #include <stdlib.h> //Standard header tells the …

Software Development c c# c++
Member Avatar for David W
0
379
Member Avatar for dreamvivek

I have added code for plus button, but how i write code for other buttons? My code is double total1 = 0; double total2 = 0; private void plus_Click(object sender, EventArgs e) { total1 = total1 + double.Parse(textBox1.Text); textBox1.Clear(); } private void equal_Click(object sender, EventArgs e) { total2 = total1 …

Software Development vb.net
Member Avatar for Reverend Jim
0
190
Member Avatar for monching

I want to add 12 players in 1 transaction only. My codes here can only save 1 player. Here's my codes: Private Sub savebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles savebtn.Click Dim conn As MySqlConnection Dim myCommand As New MySqlCommand Dim commandB As MySqlCommandBuilder Dim data As MySqlDataAdapter …

Software Development vb.net
Member Avatar for icebergman
0
2K
Member Avatar for can-mohan

Hi , Below is the code of template smart point implementation. in below code snippet we are not allocating any memory in smart pointer constructer for ptr but still delete is called in destructor for ptr. Is it right way to implement the same ? can we delete the pointer …

Software Development c++
Member Avatar for can-mohan
0
154
Member Avatar for kayleigh0411

I am trying to use a hash set to do a Monte Carlo analysis of the Birthday Paradox. Here is my pseudo code: Set number of collisions to zero Loop (10 to100 by 10) Loop: Generate a birthday. (use 1-365) See if it is already in the set. If it …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for sun_2588

Hi, I am trying to build a scrapper and for that I am using mechanize to get the page source then beautiful soup to parse it. But yesterday I faced a very strange error the page source which I am getting is kind of binary, though from browser I can …

Software Development python web-browser
Member Avatar for chriswelborn
0
300
Member Avatar for Mr.M

Hi Dw. I'm developing a software but now due to some complexity of the program I had to do some engine with C++ and I want to be able to call and receive the events from a service. Here's the C++ code that receives calls when an application tries to …

Software Development c++ vb.net
Member Avatar for Mr.M
0
266
Member Avatar for Darth Vader

Hello, I have a question about the webBrowser control. It does work good to display webpages but it seems that the control have problem to display certain webpages. (I think it has to do with javascript on the webpage). When trying to display this webpage, it will not FULLY load …

Software Development
Member Avatar for Vignesh Kumar
0
2K
Member Avatar for Paul_37

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication22 { public partial class Form1 : Form { private double subTotal = 0; public Form1() { InitializeComponent(); } private void btmAddItem_Click(object sender, EventArgs e) { double numberOne; double numberTwo; double …

Software Development
Member Avatar for ddanbe
0
142
Member Avatar for cambalinho

i have my own region class: class region { private: BYTE* Get24BitPixels(HBITMAP pBitmap, WORD *pwWidth, WORD *pwHeight) { // a bitmap object just to get bitmap width and height BITMAP bmpBmp; // pointer to original bitmap info LPBITMAPINFO pbmiInfo; // bitmap info will hold the new 24bit bitmap info BITMAPINFO …

Software Development c++ windows-api
0
155
Member Avatar for Doogledude123

Looking for complete code snippets to read through and try to understand. Post them below and I'll post back with what I think it does.

Software Development java
Member Avatar for JamesCherrill
0
151
Member Avatar for Ivan_9

Hi, could somebody help me how to write a function that sort elements in two dynamic stacks(contained in an external file) by the quicksort method?I think I have written the other functions correctly but I find hard time on this one.Please help me if you can, I will appreciate it …

Software Development c++ ios
Member Avatar for David W
0
2K
Member Avatar for cool_zephyr

Hey everyone, I have the following list in my code public class order { private float amount; public float getAmount() { return this.amount; } } and in main function I have the following list List<List<Order>> ordersList I want to iterate the list through Streams in java 8 in order to …

Software Development java
Member Avatar for cool_zephyr
0
260
Member Avatar for bryann

Hi, I'm trying to write code that will allow me to assign values to lists of strings. I then want to compare user input to the lists and create a scoring system based on what has been typed in. For example if the input contains letters in list1 then the …

Software Development python
Member Avatar for snippsat
0
267
Member Avatar for Abdulkabir_1

My issue is much. I have a csv file, and want to select where Arrival or Departure and must be the same "date and time" have the same value. I can only read from csv file but can't go further import pandas as pd df = pd.read_csv("data.csv") row = next(df.iterrows())[1] …

Software Development python
Member Avatar for Abdulkabir_1
0
578
Member Avatar for muthu1802

I am able to read 4byte data using byteBuf.getInt() and same way till 8 bytes I am using getLong. I am not able to read 16 byte data. when I googled I understand that java BigDecimal will support 16 byte data. Could any one please help on reading 16 byte …

Software Development java
Member Avatar for JamesCherrill
0
220
Member Avatar for Suzie999

I tried this code and it did not do what I expected. byte byt = byte.MaxValue; BitArray bitArray = new BitArray(byt); Debug.WriteLine("bitarray " + bitArray.Get(0).ToString()); Debug.WriteLine("bitarray " + bitArray.Get(5).ToString()); What I expected was the opposite of what I got, which was the following. bitarray False bitarray False I thought `byte …

Software Development
Member Avatar for ddanbe
0
421
Member Avatar for DarkRm

Hi everyone I am new with you. I study in the university, they teaching us many programming languages. I wont you to help me to found the best to focus on. thank you by the way I am good in java ...

Software Development java python
Member Avatar for rubberman
0
372
Member Avatar for Violet_82

HI guys, as mentioned in my revious post, I'll redo my wordCount application using the GridBagLayout approach. The functionality of the application hasn't changed at all: I've only removed the various Jpanels and, for simplicity, used only the JFrame and attached all the comonents to the JFrame. I've had a …

Software Development api java java-swing oracle
Member Avatar for Violet_82
0
1K
Member Avatar for gishi

hi! i want to place the contents of a dictionary into a csv file. Can someone help me with this? i already have the code in reading the csv file [CODE] import csv reader = csv.reader(open("c:\sample.dat")) for row in reader: print row [/CODE] i want the first element of the …

Software Development python
Member Avatar for Gribouillis
0
15K
Member Avatar for writerervin

i had an idea to create an epub editor that I can use on android or on desktop using java. can someone tell me where would be a good place to start? I already have ebooks on learning java.

Software Development android java
Member Avatar for rproffitt
0
104
Member Avatar for 9tontruck

Hi, I am dealing with the shape drawing functions in C# and I am trying to resize DrawingGroup after drawing some shapes on it. Here is my code: DrawingGroup drawingGroup = new DrawingGroup(); Pen redPen = new Pen( Brushes.Red, 2 ); DrawingContext drawingContext = drawingGroup.Open() drawingContext.DrawRectangle( null, redPen, rect); double …

Software Development c c# c++
Member Avatar for ddanbe
0
171

The End.