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 place CMD within a panel of a vb.net form. ![form1](/attachments/small/3/form1.png "align-left") Example: Please Help

Software Development vb.net
Member Avatar for Reverend Jim
0
189
Member Avatar for Rizwana Begum.A

what is the meaning of strtok(NULL,"$")?

Software Development c
Member Avatar for somjit{}
0
169
Member Avatar for ashvyas

I want 1 dialog box which is having a login username and Password field. ANd it must have 12 buttons. whenever i click on any button, it must open 1 Excel sheet associated with it. Just want 1 skeleton code.

Software Development microsoft-office vb.net visual-basic
Member Avatar for kRod
0
169
Member Avatar for rajilakshmi

I want to create a windows appliation in java using Swing in Netbeans. I want to create the student maintenance details, with Mysql as backend. I dont know how to load the frames in single form. Example, if the user give user name and password in the text box and …

Software Development java java-netbeans java-swing
Member Avatar for stultuske
0
130
Member Avatar for kmlilo

#include <iostream> #include <cmath> #include <string> #include <fstream> #include <windows.h> using namespace std; struct Grade{ int getA; int getB; int getC; int getD; int getF; float marks[100]; }; void init( Grade* student ){ student->getA=0; student->getB=0; student->getC=0; student->getD=0; student->getF=0; for( int i=0; i < 100 ; i++) student->marks[i]=NULL; } int readFile( …

Software Development c++
Member Avatar for deceptikon
0
290
Member Avatar for sagaragrwal197

Hi sir, I am student and I like to know about the algorithm for developing a MLM software for my final submision So, kindly tell me which algorithm works for the MLM software developement...need urgently please help....

Software Development algorithm java
Member Avatar for Taywin
0
333
Member Avatar for vicky30312

Hello, I am new at c++ and need some help. The project we were given is to write a program that asks the user to think of a number between 1 and 100, then attempts to guess the number. The program should make an initial guess of 50. The program …

Software Development c++ gaming
Member Avatar for Gonbe
0
333
Member Avatar for taylor.mitchell.353

I took a different view with Delete States. I decided to implement it like the InsertAfter method by using a Boolean, but I am pretty sure I am doing it right, but it only displays one state after I implement it. My Code for the Delete /** * * @param …

Software Development java linked-list
Member Avatar for Taywin
0
162
Member Avatar for RozenKristal

import java.util.*; public class ArrayListTesting { public static void main(String []args) { LinkedList<String> list = new LinkedList<String>(); list.add("apple"); list.add("pear"); list.add("tree"); Iterator <String> iterate = list.iterator(); System.out.println(iterate.next()); System.out.println(iterate.previous()); System.out.println(iterate.next()); System.out.println(iterate.hasNext()); } } it keep telling me it an error.

Software Development apple java
Member Avatar for stultuske
0
271
Member Avatar for xcarbonx

Hello, I've been trying to find a place that explains how a pre-built 3D array is populated, but it seems like there is only help on how to declare it out there. Can anyone explain it? I know what data i want to put into the array, I just don't …

Software Development vb.net
Member Avatar for Reverend Jim
0
241
Member Avatar for lilwizz770

I'm new to asp.net and i will need help with my csharp, i will be glad if anybody can assist.

Software Development c#
Member Avatar for Michael27
0
115
Member Avatar for ZmohJ

My game is like "space invader". can someone tell me how can i move the ship at the same time i can also shoot bullets.. . TIA

Software Development c
Member Avatar for deceptikon
0
130
Member Avatar for umesh314

Hi I am trying to run the post fix and pre fix operation in C++. The code which I tried is given below. #include <iostream> using namespace std; int main() { int a =0; cout << ++a + ++a + ++a << endl; // 7 a =0; cout << ++a …

Software Development c++
Member Avatar for Lucaci Andrew
0
252
Member Avatar for Sevyt

I got a few labels which show a entire week. It's displaying the long date like this LblCurrentDay.Text = Date.Now().ToString("D") LblCurrentDay1.Text = Date.Now().AddDays(1).ToString("D") LblCurrentDay2.Text = Date.Now().AddDays(2).ToString("D") LblCurrentDay3.Text = Date.Now().AddDays(3).ToString("D") LblCurrentDay4.Text = Date.Now().AddDays(4).ToString("D") LblCurrentDay5.Text = Date.Now().AddDays(5).ToString("D") LblCurrentDay6.Text = Date.Now().AddDays(6).ToString("D") The labels are all inside each of their own small panel. But …

Software Development vb.net
Member Avatar for Sevyt
0
211
Member Avatar for diptid

Hi I am working on a project where i am using open source files. I am getting error ' Starting a second message loop on a single thread is not valid operation'. First I changed Application.Run to Form.ShowDialog but still I am having same issue. Other thread (Application.Run) is in …

Software Development open-source
Member Avatar for caKus
0
696
Member Avatar for Blank808

**Can you help me with this** TEXT will not accept the number zero and negative numbers.

Software Development visual-basic
Member Avatar for Jx_Man
0
162
Member Avatar for kaizen202

Hi, I have a custom combobox(say comboboxEX) derived from System.Windows.Forms.ComboBox. OnPaint() event I have some background color and styles for the combobox. Every thing works fine. My problem is, I can't set background color when DropDownStyle is "**DropDown**" and **Enabled = false**. But it workes when DropDownStyle is "DropDownList" and …

Software Development html-css
Member Avatar for kaizen202
0
265
Member Avatar for lucasbernst

Hello all, This is my first time posting in this forum. I searched and found a similar post from years ago, but was unable to find an answer. I'm hoping some of you may be able to help me. I've been assigned a problem in which 20 integers must be …

Software Development c++
Member Avatar for Lucaci Andrew
0
2K
Member Avatar for rithish

hii i finished these topics 1.linked list 2.stack and queues.how much time will it take me to finish trees 1.binary tee 2.avl tree 3.b-tree 4.binary search 5.threaded binary tree??? actualy ill try through linked list will it be easy???

Software Development c linked-list
Member Avatar for Gonbe
0
114
Member Avatar for rithish

hello im trying to delete a middle node in binary tree .but i have tried it in a linked list but here how to do that does any one them has links or video tutorials???????????

Software Development c linked-list
Member Avatar for Gonbe
0
143
Member Avatar for padton

Hi all, I am looking at neat ways of re writing this code below, especially the for loops as I would have over 50 of these statements if I did this the manual way shown below. n = 50 files = [open("files%i.txt" % i, "w") for i in range (n)] …

Software Development python
Member Avatar for Gribouillis
0
232
Member Avatar for robert.montgomery.75054

I am having problem with my python homework. My homework is asking to create a Python program to calculate a student test averages regardless of how many tests will be averaged. Also, it is asking to allow the teacher to continue averaging grades for any number of students. This is …

Software Development python
Member Avatar for robert.montgomery.75054
0
226
Member Avatar for Dudearoo

**Dudearoo** *Useing Code::Blocks* How do i Parse??? Can you guys Teach me how to parse a Config File? i Do have the Boost Librarys Installed so if any of you have a way to do Parsing with it then thats ok, I will be able to Follow :) Here is …

Software Development c++
Member Avatar for ravenous
0
189
Member Avatar for daino

Has anybody ever installed libjpeg for windows. I have a MingW compiler, MSYS if needed and the instructions are leading me nowhere. It seems to require an understanding of one thousand obsolete systems to get anywhere. Must I have MSYS installed? Can I install using the windows CMD Prompt? Is …

Software Development c++ unix
Member Avatar for vijayan121
0
3K
Member Avatar for challarao

hi all, In the book "Programming Languages-Pragmatics" second edition by Michael l. Scott and Morgan Kaufmann, there is a sentence while explaining about copy constructor: "In recognition of this intent, a single-argument constructor in C++ is called a copy constructor." This is about the constructor of the form foo::foo(const foo& …

Software Development c++ oop
Member Avatar for mike_2000_17
0
1K
Member Avatar for nUmbdA

Thank you for looking at my issue. I am a beginner in school and we have an excercise that asks us to write a program that uses nestes loos to draw this patter: ******* ****** ***** **** *** ** * and ** * * * * * * * * …

Software Development python
Member Avatar for snippsat
0
119
Member Avatar for anisha.silva

I have a class proxy, Process Track Manger. To the constructor of the Proxy I sent an instance of Process class. Process class has a list As public List<TrackManager> l = new List<TrackManager>(); I add 2 instance of track manager to the list. From another class call UpdateClient, how do …

Software Development
Member Avatar for anisha.silva
0
84
Member Avatar for Archaismic

I have found a LOT of info on searching the screen for a pixel color, but none of it even remotely definitive (as far as i can tell, because i'm rather noobish) I understand programming on a fundemental level, but I'm new to C++ I'm hoping to figure out how …

Software Development c++
Member Avatar for Archaismic
0
1K
Member Avatar for Seswing142

Here is my Code...Im just confused on how to make a Driver class for this. Any help would be great! I know there shouldnt be a Main but it was the only way i could test my drawing on eclipse since i dont really get how to use a driver. …

Software Development java
Member Avatar for Seswing142
0
98
Member Avatar for xxwikkixx

Hey everyone need some help again with finding the min and max from a text file. its my college lab assignment. here is my code till now. #include <iostream> #include <fstream> using namespace std; int main() { ofstream fout; fout.open("Text.txt"); ifstream fin; fin.open("Lab6.txt"); float c; int count = 0; float …

Software Development c c++
Member Avatar for xxwikkixx
0
1K
Member Avatar for Yoink

Hi, I had an assignment where we had to fox a program and get it working correctly. I fixed 99% of the problems and the program runs correct. The only thing that is wrong is my insertionSort() method. It runs correctly, but in the wrong order. Currently its listing names …

Software Development java
Member Avatar for Yoink
0
3K
Member Avatar for taylor.mitchell.353

I have to insert State objects into the link list, but the linklist is sorted I placed my notes in my code. Any help would be appreciated. public void insertAddStack() { int probe=0, index=0; States key=null; for (; index < addStackItems; index++) //loops through keys { for (; probe < …

Software Development java linked-list
Member Avatar for taylor.mitchell.353
0
333
Member Avatar for de Source

hi i have an string array in which i have combinations of 0's and 1's like on index 0 i have "01", on index 1 i have "11", on index 2 i have "00", on index 3 i have"10" etc is their any possibilty that i can take these values …

Software Development
Member Avatar for ddanbe
0
218
Member Avatar for aunog.arafat
Member Avatar for deceptikon
0
69
Member Avatar for pmark019

This code is a java code. Can you please help me convert this to c#? private static URL URLObj; private static URLConnection connect; static String source = ""; public static void main(String[] args) { try { URLObj = new URL("http://students.usls.edu.ph"); connect = URLObj.openConnection(); connect.setDoOutput(true); } catch (MalformedURLException ex) { System.out.println("The …

Software Development c# http-protocol java
Member Avatar for cale.macdonald
0
466
Member Avatar for gazzy1

I WANT THIS BUT I CAN NOT UNDER STAND PLZ HELP WHAT CHANGES I SHOUL DO HERE I WANT TO MAKE quick estimation by taking the temperature in Celsius, double it and add 32 AND WANT TO Write a program that takes temperature in Celsius; convert it to Fahrenheit both …

Software Development c
Member Avatar for deben.salemme
0
155
Member Avatar for MrEARTHSHAcKER

Hi people, I am making a little experiment to see something. I wished to inherit "string" class and add a function to child class. Function should take a char as parameter and return bool depending on is there such a character in our string or not. I have started off …

Software Development c++
Member Avatar for deceptikon
0
119
Member Avatar for dooboosjsdjs

A coffee shop offers a range of drinks * Tea - $1.00 * Coffee - $1.50 * Hot Chocolate - $2.00 * Chai Latte - $1.75 * Flat White - $2.20 You will need to create a program that keeps track of the total spent after each order. * At …

Software Development c
Member Avatar for Delnith
0
158
Member Avatar for oneoderja

Ask an user to type in a password, a qualified password should follow the constraints, such as: Length of password >= 8 Include at least one uppercase character Include at least one lowercase character Include at least one integer Include at least special character Write a program to check if …

Software Development java java-swing
Member Avatar for Taywin
0
152
Member Avatar for plasticfood

public class QS { public static <T extends Comparable<? super T>> T[] quickSort(T[]array) { return doSort(array, 0, array.length - 1); } //some other methods................. public static void main(String [] args){ QS qs = new QS(); int [] nums = {4,7,23,1,2,45,23,11}; qs.quickSort(nums);//gives error } } I am getting an error in …

Software Development java
Member Avatar for plasticfood
0
137
Member Avatar for anonb

Im trying to get the output to read on one line such as this: Reference String 1 2 3 where 1,2,3 is the number the user enters. Instead the output is as such: 1 2 3 Reference String. How can I improve this to read correctly? import java.util.Scanner; public class …

Software Development java
Member Avatar for deben.salemme
0
137
Member Avatar for xxwikkixx

Hey everyone I am New here.... need some help with my coding for my college HW assignment.... I need to make a rock paper scissor game. I can think of the game in my brain on how I am gona code it but when I try to program it doesnt …

Software Development c++
Member Avatar for xxwikkixx
0
404
Member Avatar for mahela

In vb6 I installed in my computer it has microsoft windows common controls 5.0(sp2).I want to know how to have full row select option in listview component.how can i select full row at listview.in listview properties there is no fullrowselection check box.it has only 5 chechboxes.

Software Development listview microsoft-windows visual-basic
Member Avatar for mahela
0
2K
Member Avatar for Delnith

how do I set visual studio to read my C code by default instead of C# or whatever its doing?

Software Development c visual-studio
Member Avatar for Delnith
0
101
Member Avatar for solomon_13000

The code below works: public class concat { public static void main(String[] args){ String[] filters = {"A","B","C","A","K","C"}; String[] values = {"1","2","3","4","5","6"}; String a = ""; for(int i=0;i<filters.length;i++){ String temp = filters[i]; for(int j=0;j<filters.length;j++){ if(filters[j].equalsIgnoreCase(temp)){ a += values[j] + " "; values[j]=""; } } if(a.trim().length()!=0){ System.out.println(temp + " [" + a …

Software Development java
Member Avatar for Taywin
0
115
Member Avatar for mathews123

Hi there i am wondering if there is easy way of writing the following problem in C:- For everytime constant A increases, constant B should decrease by 10 until A is equals to 120 !! Thanks in advance guys I dont really want to clutter my project with tons of …

Software Development c c# c++
Member Avatar for deceptikon
0
191
Member Avatar for on93

Anyone who know what is the code that i have to write in to get the answer ????? with the formula : 1+2!/((x-2))-3!/((x-3))+4!/((x-4)) - ... n!/((x-n)) ------------------------------------------------------------------------------------------------- #include<iostream> using namespace std; int fact (int no) { int total; for (int i=0; i<=no; i++) { if(i ==0) total = 1; else …

Software Development c++
Member Avatar for Schol-R-LEA
0
126
Member Avatar for on93

with the formula : Result = 1+2!/((x-2))-3!/((x-3))+4!/((x-4) )- n!/((x-n)) i want the output as : Please key in x value: 8 Please key in n value: 5 result = 1 +2!/6-3!/5+4!/4-5!/3 = -33.8667 ------------------------------------------------------------------------ i have done the code , still cannot get the output , can anyone help me …

Software Development c++
Member Avatar for on93
0
138
Member Avatar for SuburbanSamurai

Hello, I am fairly inexperienced with coding and have been having trouble with a program I am trying to write. The problem is that when reading from a text file the program will only read some of the file not all of it. Any help would be greatly appreciated. Here …

Software Development c++ file-system
Member Avatar for Gonbe
0
223
Member Avatar for kirtee2209

Hello. I have a picture box on a form. The imageLocation of the picture box is set to a url like for example "http://www.google.mu/imgres?imgurl=http://1.bp.blogspot.com/-w6AJJ5Xoulg/T3AymMKbFlI/AAAAAAAAACI/EslCtw42HHg/s1600/jpeg.jpg&imgrefurl=http://zainriasat786.blogspot.com/2012/03/discuss-impact-that-file-format.html&h=480&w=640&sz=36&tbnid=fkqhzaWg8cSK4M:&tbnh=90&tbnw=120&zoom=1&usg=__54xTPooPnJOFy8xQS0TJXOtV1d8=&docid=JkpXnRk64SCIzM&hl=en&sa=X&ei=LjxoUO_uEsXRrQf28oDYBw&sqi=2&ved=0CD0Q9QEwBA&dur=24". When the form closes, we can see that memory is not released. I have added code to dispose the picture box on form closing but when …

Software Development image
Member Avatar for kirtee2209
0
2K

The End.