132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for andrew.mendonca.967

CSCI 15 Assignment #3, introduction to classes/objects. 100 points, due 10/21/13 A mixed expression is an expression of the form a + b/c, where a, b, and c are integers, b >= 0 and c > 0. By convention, b/c is always non-negative, and has the property that 0 <= …

Software Development c++ open-source
Member Avatar for tinstaafl
0
249
Member Avatar for iFrolox

Hello, How can I search for specific proccesses example "abc.exe" and add it to a listView and read values in it like an specific labels to add the processes on a specific group in the listView. Any articles would be nice.

Software Development listview
Member Avatar for iFrolox
0
225
Member Avatar for ReyJEnriquez

Hi Guys, I hope everyone is doing great:-) I have a question... How To check if datatable is empty or no data is inside a datatable yet? Can you provide me with just code snippet?.. Thanks:)

Software Development vb.net
Member Avatar for ReyJEnriquez
0
2K
Member Avatar for ariannas

Code the keypress event of the textboxes. Allow numbers, the backspace key, and the decimal point. Only write the code once and use Handles. Answer Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress End Sub

Software Development vb.net
Member Avatar for ariannas
0
158
Member Avatar for ariannas

Code the keypress event of the textboxes. Allow numbers, the backspace key, and the decimal point. Only write the code once and use Handles. Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress If e.KeyChar = ControlChars.Back Then MessageBox.Show("error") e.Handled = True End If End Sub

Software Development
Member Avatar for Ancient Dragon
0
159
Member Avatar for ariannas

Compute the Sub total ( Beginning Balance + Deposits – Withdrawals) d. Compute the Interest Earned. If the Subtotal is greater than 5000.00 the interest rate is 2 percent otherwise 1 percent. e. Compute Endin g Balance (Sub Total + Interest EarneD) Display the Interest Earned and Ending Balance in …

Software Development visual-basic
Member Avatar for tinstaafl
0
125
Member Avatar for JOSheaIV

Hey everyone, So awhile back I built a program that contained a function to merge two databases (well SQLite ones that are read in as Lists). When the first database is read in, well the file, it's read into a Binary Search Tree, while the second is read into a …

Software Development algorithm sqlite
Member Avatar for JOSheaIV
0
214
Member Avatar for Ahmed.C

Hey Guys! So i've been thinking about how to make this program which involves a person Logging on and gettings certain information and statistics throught the website. A good example and also something i've been wanting to do is use this page: http://puu.sh/4IEkQ.jpg to get the information below. How can …

Software Development vb.net
Member Avatar for Ahmed.C
0
244
Member Avatar for joester007

>I am trying to write a proram that will search for character or letter and count how many times that character appears. The user will enter a phrase in a text box then press the search button, then an Inputbox will appear asking the user to enter a character. then …

Software Development vb.net
Member Avatar for joester007
0
250
Member Avatar for laklaker

Good day! I would like to ask on how to reverse arrays and putting it on another array of char? string str; int k=0, count = 0,namelength, acc=0; char name[80]; char extract[80]; char reversing[80]; for(int j=0; j<strlen(extract);j++){ reversing[strlen(extract) -j]= extract[j]; } for(int w; w<=strlen(extract);w++){ cout << reversing[w]; } Is it …

Software Development c++
Member Avatar for Ajit_2
0
262
Member Avatar for ariannas

Code the keypress event of the textboxes. Allow numbers, the backspace key, and the decimal point. Only write the code once and use Handles Answer Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress End Sub

Software Development vb.net
Member Avatar for ddanbe
0
111
Member Avatar for Abhishek_12

I am trying to add a List(Of T) to a Listview in Windows form application.But not able to do it. I have made a form and took the value of textboxes in a list and trying to bind the list to ListView

Software Development listview vb.net
Member Avatar for tinstaafl
0
193
Member Avatar for Spider_14

I made a button "yes". If the button is clicked, how do I insert "5" into an entrybox (aldready existing).

Software Development python
Member Avatar for woooee
0
127
Member Avatar for cambalinho

class test { virtual void created(){}; //i must do these. //or when i call the function the compiler give me an error test() { void created(); } }test; void test::created() { cout << "hello world"; } these code have 1 error. but how can overrride the created function?

Software Development c++
Member Avatar for cambalinho
0
412
Member Avatar for 2mhzbrain

Is it posible to connect my vb6.0 program to a wamp(mysql, myphpadmin) server on my pc. If i use my program to other part of our country, can i still connect to the wamp server? This is my challenge for a job, the IT personel from a company i am …

Software Development visual-basic
Member Avatar for ikocrush
0
928
Member Avatar for TheCodeCrimson

Hello! Pretty new to Python but I'm kind of loving it. Already involved in illustration, design, and creating web content for clients, but I'm hoping to expand beyond that into full-fledged web development as well. I know a fair amount of html/css, and was looking for advice on other languages …

Software Development html-css python web-design
Member Avatar for TheCodeCrimson
0
283
Member Avatar for riudo

good day.. i have a slight problem in my enrolment sytem. im new in vb programming, and this problem perfectly work in stressing out and pressuring me as begginer. i have a listbox that contains all filtered data from my database. and i want it (all entry in the filtered …

Software Development microsoft-office vb.net visual-studio
Member Avatar for riudo
0
1K
Member Avatar for Masood_786

Hi All, I want to grab TV Tuner Raw Samples for implementing FM receiver. I need to have mechanism to Tune desired frequency and then grab Samples of that frequency, in this case it would be IF samples and then implement FM receiver over it. I have already seen various …

Software Development audio c++
Member Avatar for abbott@lantic
0
991
Member Avatar for dogface13

Hi Daniweb community, I have implemented a node class, DoublyLinkedList class and a SinglyLinkedList class. For each DoublyLinkedList node created, there is supposed to be a reference to a NEW SinglyLinkedList. Meaning each DLL Node has its own SLL. I have such a reference created which is a single node …

Software Development java linked-list
Member Avatar for dogface13
0
322
Member Avatar for ibpet11

Good Day All, I like to seek assistance for reading a file that has header and trailer information. I want the application to ignore the header lines (say the first 6 lines of the file) and also ignore the trailer which is always the last 2 lines of the file. …

Software Development vb.net
Member Avatar for ibpet11
0
154
Member Avatar for GeekPlease

Hello Guys, Is it possible to connect C++ Console app to MS Access?

Software Development c++
Member Avatar for Ancient Dragon
0
483
Member Avatar for Anelkajona

I need to make one app for android and i have xamarin studio...but i don't know to where start!! ...i need you help me!! please!! thanks!...

Software Development android xamarin
Member Avatar for castajiz_2
0
81
Member Avatar for gennesis

Good day! Im developing a client server application that send dataset from the server going to client. I have successfully send my dataset from the server after converting it to xml string. My client had also successfully recieve my xml data from the server. I had also successfully load my …

Software Development client-server data-structure dataset xml
Member Avatar for gennesis
0
804
Member Avatar for Thundermax

Hello guys, is there any function to search for a word within a string and replace it with another? (Of different sizes) example: 1 string [] = "bla ble ble ble bli blo" word to replace = bli by 123456 2 string [] = "bla ble ble ble 123456 blo"

Software Development c
Member Avatar for Ancient Dragon
0
229
Member Avatar for Triryche

I am following this toturial. [Click Here](http://msdn.microsoft.com/en-US/library/vstudio/dd492139) In the try other feature section: *Set it up so that the game only plays a sound when the mouse pointer hits a wall, but doesn't play a sound when the program starts. * I figured moving `hitWallSoundPlayer.Play();` from `private void MoveToStart()` to …

Software Development
Member Avatar for Triryche
0
181
Member Avatar for sneha_

[CODE]//To convert postfix expression into an expression tree #include"stdio.h" #include"conio.h" #include"process.h" #include"string.h" #include"stdlib.h" struct node{ char item; struct node *lnode; struct node *rnode; }*stc[30],*temp,*root; typedef struct node *NODEPTR; char expression[50]; char c; int top=0; NODEPTR pop(); void push(NODEPTR); void getinput(); void inorder(NODEPTR p); int main (){ getinput(); int i,j; for(i=0;i<strlen(expression);i++) …

Software Development c data-structure
Member Avatar for deceptikon
0
2K
Member Avatar for Andy90

I m trying to convert C code to C++. Facing some difficulties help me out! //This is struct typedef struct index { int id; char word[20]; int count; }indexs; // Function prototype void fileScanner(FILE * ifp,int i); void fileRead(FILE *ofp); int findString(char s[],char u[]); int searchEntry(indexs [],char key[],int n); void …

Software Development c++
Member Avatar for Schol-R-LEA
0
229
Member Avatar for android_gl

i have a java project for my resume that i put it on github. and i want a fastest way to some one else to run my project. should i just put all my files there? likesrc, bin, .setting, etc... or should i just put 'src' files. or should i …

Software Development github java
Member Avatar for JamesCherrill
0
308
Member Avatar for pritaeas

I'm starting an external application with `Process.Start()`. I'm looking for code that can check if this process is already started, and if so bring it to the front. The only solutions I've found so far require me to import `user32.dll`. Question: are there solutions that do not require the import?

Software Development
Member Avatar for Ketsuekiame
0
198
Member Avatar for reincom

private class LogReserve extends JFrame{ public LogReserve(){ setTitle("Hotel Reservation"); setLayout(null); lblNTitle1 =new JLabel("RESERVATION SYSTEM"); lblNTitle1.setBounds(220,5,150,40); lblNTitle1.setBackground(Color.DARK_GRAY); lblNTitle1.setForeground(Color.BLACK); add(lblNTitle1); JLabel lblUsername =new JLabel("First Name:"); lblUsername.setBounds(55,30,80,40); lblUsername.setForeground(Color.DARK_GRAY); add(lblUsername); txtUsername=new JTextField(""); txtUsername.setBounds(130,39,150,22); add(txtUsername); JLabel lbllastname =new JLabel("Last Name:"); lbllastname.setBounds(310,30,80,40); lbllastname.setForeground(Color.DARK_GRAY); add(lbllastname); txtlastname=new JTextField(""); txtlastname.setBounds(390,40,150,22); add(txtlastname); JLabel lblBirthd =new JLabel("Check In Date:"); lblBirthd.setBounds(55,70,90,40); lblBirthd.setForeground(Color.DARK_GRAY); …

Software Development java
Member Avatar for reincom
0
1K
Member Avatar for andrew.mendonca.967

CSCI 15 Assignment #3, introduction to classes/objects. 100 points, due 10/21/13 A mixed expression is an expression of the form a + b/c, where a, b, and c are integers, b >= 0 and c > 0. By convention, b/c is always non-negative, and has the property that 0 <= …

Software Development c++
Member Avatar for nullptr
0
224
Member Avatar for tooota

hi all, i want to start building an authentication server which authenticates the clients to the e-commerce web site . do i need -for example- apache server,or WAMP and then write my code on it, i've not did a server side prgramming before.iam going to use Qt . i don't …

Software Development apache c++ qt
Member Avatar for tooota
0
214
Member Avatar for saintrenz

I am making a login system that records time in and time out for students.. but the student can't sign in if already "Signed In" and student can't sign Out if already "signed out" that is why i have three form. **THE CONCEPT OF THE PROGRAM: When i log in …

Software Development dataset open-source vb.net visual-studio
Member Avatar for elie.karkafy
0
244
Member Avatar for Nitin Daphale

Hi all, I have installed SAP Crystal report for Visual Studio 2010 successfully on PC(.NET4.0, Windows Vista, Visual Studio Ultimate 2010). Now When I am going to add rpt file in my existing project, It automatically create .mht file and not .rpt file, that .mht file containing instructions and link …

Software Development file-system visual-studio windows-vista
Member Avatar for santhosh_iyer
0
562
Member Avatar for Andy90

Hi, I m facing difficulties in replacing this C code with C++? For e.g : Can we use Fopen in C++? Please suggest me changes here to make it c++ equivalent! How to write this in C++ --> void fileRead(FILE *ofp); void fileScanner(FILE * ifp,int i); void fileRead(FILE *ofp); int …

Software Development algorithm c++
Member Avatar for mridul.ahuja
0
517
Member Avatar for skyyadav

I have to write a fn squeeze(const string &s, char c) for ex squeeze("haaaaah" , 'a') should give the output hah

Software Development c++
Member Avatar for mike_2000_17
0
1K
Member Avatar for Nicholas_1

I'm trying to write a text based game using C. To do this the way I want, I need to include a save system that will output all of the necessary variable values to external files, then be able to load the values fro those files later. Any advice?

Software Development c
Member Avatar for Nicholas_1
0
183
Member Avatar for ses03

i have four tables (1) tbl_module: modNo | modName _ _ _ _ _ _ _ _ 1 | module 1 2 | module 2 (2) tbl_subject subNo | subName | modNo _ _ _ _ _ _ _ _ _ _ _ _ 1 | a1 | 1 2 …

Software Development sql vb.net
Member Avatar for Reverend Jim
0
256
Member Avatar for TalentedIndividual

hello fellow programmers, i am doing an assignment for class and i am having a bit of trouble. So the assignments reads Given two sorted (in ascending order) lists of size M and N, write an O(M+N) algorithm to find the sorted (also in ascending order) union of the two …

Software Development c c# c++ linked-list
Member Avatar for tinstaafl
0
535
Member Avatar for H_beginner

I am new to classes and was trying to create an elmentary program to understand classes and objects. I ve created three files 1) header file for class declaration 2) class definition .cpp file 3) class implementation main .cpp file I cannot understand the error I am getting. Please help. …

Software Development c++ visual-studio
Member Avatar for tinstaafl
0
228
Member Avatar for Mr.M

Hi Dw I would like you to help me here, i've googlished for this but it seems as if my problem is a bit complecated. I've created a program in java which has the '.jar' extention and then I created a program in VB.net which is an executor of the …

Software Development vb.net
Member Avatar for Mr.M
0
180
Member Avatar for AcmeUK

Hi Guys I want to use ModemDriver.py (v2.0.13) to send and receive SMS via a Mobile Broadband modem. Please don’t tell me to use Wammu/Gammu etc. I have wasted weeks trying to get then to work correctly! I can get things working via the command line. What I want to …

Software Development api python
Member Avatar for AcmeUK
0
237
Member Avatar for khelkely

This is just an exercise. And i need to complete this. This is the question : Write a program in C++ that calculates the amount to be paid to an employee based on the hours worked and rate per hour. A user will enter hours worked and rate per hour …

Software Development c++ ios
Member Avatar for khelkely
0
242
Member Avatar for Anelkajona

quiero saber como puedo hacer una aplicacion para android, en mi caso, ya tengo xamarin studio, pero no puedo configurar un emulador que me haga la maqueta de diseno! gracias, de antemano por su ayuda!!

Software Development android android-development xamarin
Member Avatar for Anelkajona
0
104
Member Avatar for Andy90

Hi, I m trying to convert c code to c++. I m stuck at some part! Please help. What will be c++ equivalent of this snippet? void Scanned(FILE * ifp,int i) void Read(FILE * ofp) int Checker(char s[],char u[]) void Stored(FILE *) void Printed(FILE *ifp,FILE *ofp) These are file pointers …

Software Development c++
Member Avatar for Ancient Dragon
0
674
Member Avatar for saintrenz

THIS CODE IS WORKING,, BUT WHEN THE SECOND TIME LOGGING IN IT DOUBLE CHECKED LIKE 2 FORMS OPEN and 4 MESSAGE BOX APPEAR Private Sub btnSign_Click(sender As Object, e As EventArgs) Handles btnSign.Click Dim connectionString As String connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Renz\Documents\Visual Studio 2012\FINAL\Database\AuditDB.mdb" sql = "Select ID, LASTNAME, FIRSTNAME, LOGINSTATUS …

Software Development open-source sql vb.net visual-studio
Member Avatar for saintrenz
0
198
Member Avatar for bhanu1607

Hi All, Can any one tell me the algorithm for MD5,SHA-256 encryption and decription. I can found MD5 emcryption but not unable to found decryption. Thanks & Regards Bhanu Teja M.

Software Development algorithm encryption java
Member Avatar for gusano79
0
1K
Member Avatar for somjit{}

I'm a bit confused about the use of "for" in the above statement.( i read the line from the [oracle tutorials](http://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html) ) I suppose a thread has its run() method , inside which there is some code. That code might call a method **of** an object... and by this point …

Software Development java oracle
Member Avatar for JamesCherrill
0
179
Member Avatar for reincom

` import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.net.URL; import javax.swing.JDesktopPane; import javax.swing.JFrame; import javax.swing.JInternalFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.SwingUtilities; public class Main1 extends JFrame{ JDesktopPane jdpDesktop; public Main1() { JFrame frame = new JFrame("MainForm"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); jdpDesktop = new JDesktopPane() { @Override public Dimension getPreferredSize() …

Software Development java java-swing
Member Avatar for JamesCherrill
0
201
Member Avatar for whatthebobo

So the assignment is to : Design a program that generates 100 random numbers, and keep a count of how many of those random numbers are even and how many are odd. The function must return a Boolean value. I wrote a code but I do not know if it …

Software Development
Member Avatar for whatthebobo
0
975

The End.