132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for captainhair

I am trying to make a program that will take a list of words from a .txt file and add the alphabet to the end of each word. the code i have just makes it read and re-read the first line. since each list will be different i cant just …

Software Development
Member Avatar for sepp2k
0
300
Member Avatar for skliz

I have a window application. I want to obsfrucate the code. To make it very secure. Please what is the best and most secure obsfruscating tool for .Net applications

Software Development
Member Avatar for skliz
0
103
Member Avatar for Jacklittle01

I am wondering on how to make a very simple gui with the ability for the user to click a button and perform the ability as if it were a user input. (ie raw_input). I would also like it to have the title of the program (game) on top and …

Software Development gui python
Member Avatar for ZZucker
0
159
Member Avatar for new_developer

Hi there, I have read that when we create object of a class, its default constructor is automatically called and default constructor assigns default values to variables e.g. to int it assigns 0 and to float it assigns 0.0 ... But I have write a program in which I have …

Software Development c++
Member Avatar for new_developer
0
272
Member Avatar for Diaphanosoma

Hello, I would like to scrape http://www.cpso.on.ca/publicregister/default.aspx?id=2048. by city. Specifically I have list of city names I would enter on the "form", hit submit and then collect/ parse all the results (across all pages), and then repeat for each city. I have never had to do a "post" before and …

Software Development asp.net python
Member Avatar for Diaphanosoma
0
123
Member Avatar for Aishu Karthik

I have a gridview with information like Period, FromTime and ToTime. In each row, I have an Edit(linkbutton). On clicking Edit, I open a popup window. The popup has 2 dropdowns - FromTime and ToTime, 1 button. When I click the button, the times get added to the grid. I …

Software Development asp asp.net open-source
Member Avatar for Reverend Jim
0
150
Member Avatar for leghorn

hi all only the weirdest thing happened with me just now. I was debugging a shell script and I found that a step that was supposed to execute later ws getting executed prior to another step for no reason. You know any ? i mean have a look at the …

Software Development shell-scripting
Member Avatar for Watael
0
119
Member Avatar for siddiquedu

Can you please help !! Here, you see that const int size=25; Actually, How can i use infinite number like (n). I used "n" like bellow int n; const int size = n; however it only takes 8 values. My txt file can contained different value(n) evrytime, so, i dont …

Software Development c++
Member Avatar for siddiquedu
0
409
Member Avatar for Nomas11

Would someone please helpe me out and tell me where i'm missing up with this code.? I want the result(output) in order to be table of row and column. but i was trying and trying but i couldn't. import java.util.Scanner; public class MultiTable { public static void main(String[] args) { …

Software Development java
Member Avatar for JamesCherrill
0
140
Member Avatar for newbie26

hi. how can i determine the work week number based on the date inputted by the user? for example, user selects May 27, 2013 (from a date picker), and when he clicked the command button, it will display the work week number. the result will be 22. thanks in advanced.

Software Development visual-basic
Member Avatar for rishif2
0
111
Member Avatar for krystosan

I have a list of filenames fileNames = ['Aamde Mustafa Marhba (mr-jatt.com).mp3', 'Aaj Me Peeni (Ft.Sanjay Dhaliwal)(Mr-Jatt.com) 1.mp3', '01 Aal Izz Well [www.DJMaza.Com].mp3','17 Aarons Plea.mp3', 'AARIYAN.mp3','17 Aarons Plea.mp3'] i want to get rid of brackets([],{},()) as well as web addresses inside the braces but i want to keep braces and …

Software Development python
Member Avatar for TrustyTony
0
124
Member Avatar for jony_munsi

I want to a C# console application code... My problem is... i want take input from keybord a ID like 10510023.. and the 1st 2 digit of this code indicate the year of a student like if ID is 10510023 the year is 2010 or if it is 13510023 the …

Software Development c c# c++
Member Avatar for tinstaafl
0
150
Member Avatar for cdea06

So I just started a "C" class and I've done my first few assignments but I feel like I'm over complicating the codes by using to many if else statements. Here's the assignment and my code. Please let me know what you think: [B]Write a program that asks the user …

Software Development c
Member Avatar for rubberman
0
301
Member Avatar for kamalashraf

hi, i have written a program to find area of triangle, but i meet some errors, i can not fix this error, kindly help me to fix the error. thanks. //******area of triangle******// #include<iostream> using namespace std; float trianglearea (float a, float b, float c, float d) { float r=a*b*c*d; …

Software Development c++
Member Avatar for tinstaafl
0
270
Member Avatar for soche123

What's wrong with this code guys? #include <iostream> #include <conio.h> #include <cmath> using namespace std; int main() { char 'A''B','C','D','E','F'; int numbers; cout<<"Enter numbers"<<endl; cin>>numbers; if (numbers==90) {cout<<"Grade is A"} else if(numbers==80) {cout<<"Grade is B"<<endl;} else if (numbers==70) {cout<<"Grade is C"<<endl;} else if (numbers==60) {cout<<"Grade is D"<<endl;} else if(numbers < …

Software Development c++
Member Avatar for tinstaafl
0
629
Member Avatar for o Chantelle o

Hi guys. I'm stuck. How can I use a custom color (rgb 25, 25, 25)(for example) as my fill rectangle color instead of the default blue? 'Private Sub ListBox10_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ListBox10.DrawItem ' e.DrawBackground() ' If (e.State And DrawItemState.Selected) = DrawItemState.Selected Then ' e.Graphics.FillRectangle(Color.??, …

Software Development vb.net
Member Avatar for o Chantelle o
0
2K
Member Avatar for Anark10n

Pk, so here's the code I'm running for a checkboxlist object public void regSubjects(object sender, EventArgs e) { int courseCount = 0; for (int i = 0; i < coursesFound.Items.Count; i++) { if (coursesFound.Item[i].Selected) coursesCount++; } if ((courses < 4) && (courses > 6)) clabel.Text = string.Format("Choose between 4 - …

Software Development
Member Avatar for rubberman
0
325
Member Avatar for o Chantelle o

I'm puzzled. Somebody built a program that hooks into the API of a chat program called "Paltalk". With the program, you are able to control the room and do things like send text, restrict users from talking on the mic, etc. However, the program (from now on called 'bot') will …

Software Development api vb.net
Member Avatar for o Chantelle o
0
131
Member Avatar for LeNenne

Hi I just wonder how to enabled the X in the right upper corner of a form. When I press the X then I will that it goes to cmdquit and the program is ending. How to do that Lennie

Software Development visual-basic
Member Avatar for Jx_Man
0
246
Member Avatar for kipslem

Hello, Could someone please assist here? I have a program that reads a text file and copys the contents separated by a $ sign and writes the details to another new text file excluding the $ Sign. What I need assistance is to do a count and get the total …

Software Development vb.net
Member Avatar for kRod
0
213
Member Avatar for happymadman

Hey, when I execute the following code I get "App instance has no attribute rolls" I have no clue as to why this is and any help would be awesome, Thanks. import Tkinter class App: def __init__(self, master): self.sticky_all = Tkinter.N+Tkinter.W+Tkinter.E+Tkinter.S self.frame = Tkinter.Frame(master) self.frame.pack() # Dice Buttons. self.bd4 = …

Software Development python tkinter
Member Avatar for bumsfeld
0
164
Member Avatar for rohit.dudhbhate

Hi, I WANT TO WRITE/READ DATA IN PARTICULAR COLUMN NO. IN NOTEPAD BY USING VB 6.0. CAN ANYBODY SEND ME THE CODING FOR THAT.

Software Development visual-basic
Member Avatar for Reverend Jim
0
181
Member Avatar for CloudZELL91

hi there... first of all i dont know where to post this,but still its a java thing so i post it here.. ...i need help on this,,dnt know how to fix,, when i play video or a video chat,,it failed to load and have a java application error, down is …

Software Development java queue
Member Avatar for ccbutler
0
338
Member Avatar for omgnametaken

This should be easy but ive gotten quite fatigue from coding. I have a multiline textbox which all i need is a loop to count up by 1.5 and the range is from 5 to 23. i found the while loop worked best but i just cant get it to …

Software Development
Member Avatar for ddanbe
0
106
Member Avatar for vishalonne

Is it possible to iterate using foreach loop on multiple groupBox. I have 6 GroupBox named as gBox1,gBox2,gBox3,gBox4,gBox5,gBox6 AND each gBox contain 21 ComboBox named as slot1,slot2,slot3,slot4,slot5.... so on out of which I want to select only 7 comboBoxes for operation. For eaxmple if user enter 2 in textbox then …

Software Development programming-construct
Member Avatar for tinstaafl
0
668
Member Avatar for Aethir

Here is my first program I'm working on. I have built a framework here showing the sort of output and user interaction I would like during runtime, but it feels grossly oversized and unintuitive. Here is the code: # This is an advanced guess the number game. import random # …

Software Development python
Member Avatar for chriswelborn
0
313
Member Avatar for Suzie999

Hi. In a project of mine, I have many different files 1.h, 1.cpp, 2.h, 2.cpp, 3.h, 3.cpp etc. Some of the functionality in them depend on veriables or functions in the others. If I juggle the #includes around I can get around most of it, for instance, if functionality in …

Software Development c++
Member Avatar for Suzie999
0
203
Member Avatar for poopuh

I have this line of code if (passLength >= 1) { for (i = 0; i <= 62; i++) { if (ascii[i] == inPass[0]) { outPass[0] = inPass[0]; i=100; } } } else { return "Please enter a Password"; } I basically want the program to check through an array …

Software Development java
Member Avatar for JamesCherrill
0
195
Member Avatar for kgizo

Hi I've already read data in another file which is an array, which is now in a string format, what I want to do is change the array into an integer so that I can add the elements of that array. Code given below import java.io.BufferedReader; import java.io.DataInputStream; import java.io.FileInputStream; …

Software Development java
Member Avatar for JamesCherrill
0
184
Member Avatar for sourabhyogi

Hi, I am trying to write a program which read a certain input in a particular format and then gives an ouput. I wrote a code to read the file. Input is something like this. X 20 60 80 90 X 78 98 97 96 X 34 35 43 23 …

Software Development c
Member Avatar for sourabhyogi
0
269
Member Avatar for kendaop

Hey everyone. I'm new to Python and Django, and I've been trying to get Django up and running for over 10 hours now. I've scoured the web, but with very little good documentation available, I thought I'd ask others for help. I'm trying to write a program which will connect …

Software Development python python-django
Member Avatar for chriswelborn
0
3K
Member Avatar for ferizhandi

i want to write a sever application.my sever have some service to client. some of the answer of my server is long(transfer file) and some of them is short(list of online client). when server transferring file to a client , other client request to get online client list. i want …

Software Development c client-server socket-programming
Member Avatar for rubberman
0
208
Member Avatar for sk8ergirl

hi, I'm trying to write simple culaction programe using stack .. the GUI is simple one textField and one textBox for the outbut and one button this is what I wrote in the button I tried the first operation "-" and it work but I got stuck doing the other …

Software Development gui java
Member Avatar for JeffGrigg
0
219
Member Avatar for daniel.king.39794

in my code (below) im looking to stop using long list of if statements to randomly select a phrase, how would i use an array to accomplish the same task? link to code http://ideone.com/0l8xiI

Software Development python
Member Avatar for bumsfeld
0
104
Member Avatar for broccoli

Hello everyone. I have to connect to a running server on another host [COMPLETED]. Then, I have to perform a webchat with any chosen single client in the server and I have some questions about that. I am able to connect to any chosen client in the server, I am …

Software Development c
Member Avatar for iamthwee
0
189
Member Avatar for dp121307

I'm using cs1graphics module. I'm like really stuck as to what do next. What I'm attempting to do is create a handler that counts the number of clicks on the canvas and when the exit button is clicked it exits the canvas. I originally added the exit canvas outside of …

Software Development gui python
Member Avatar for bumsfeld
0
341
Member Avatar for boiishuvo

How do you create a node with fullName and studentID in the "add" method and then put them into the correct positions which the name_first and name_second should move until the name in the name_first is larger than the new_Name and name_second is smaller than the new_Name? public class NodeDemo{ …

Software Development algorithm java linked-list
Member Avatar for JamesCherrill
0
278
Member Avatar for superbhimanshu

Hello everyone, I have multiple lists of variables. Every list contains the variables corresponding to a single/unique entity. listVar_Entity1 = [x1, x2, x3, x4] listVar_Entity2 = [x5, x6, x7] listVar_Entity3 = [x8, x9, x10, x11, x12] # and so on Every member in a list has a mapping to each …

Software Development algorithm python
Member Avatar for TrustyTony
0
164
Member Avatar for Pobunjenik

Hello! I've been busy passing exams, but now I'm free to code around again. So, in my usual style! **The goal:** I've been playing some Battlefield 3 during study breaks, and I've often been pissed off by BF3's autobalance mechanism. It's bad. Horrible. It makes me sad. I usually have …

Software Development java
Member Avatar for Pobunjenik
0
478
Member Avatar for siddiquedu

I choose a program that can read data from a txt file. Now, I input two column from txt file and i want to substract first value of 2nd column to every value of 2nd column. finally I want the sum of substracted values. Can anyone please help me. Actually, …

Software Development c++ mathematics
Member Avatar for siddiquedu
0
253
Member Avatar for loso09

I'm pretty stumped. I need to read a textfile using Streamreader in VB but not reall every single line I have to look for the line that has a specific character in a specific position to indicate that this is a start point, then read that line and the remaining …

Software Development vb.net
Member Avatar for Reverend Jim
0
2K
Member Avatar for emily.webb.9026

Hi All, I am very new to image processing and my requirement is to detect whehter the given large image consist the given subimage (small image) using Java and FAST algorithm. I have found the java lib (jfeaturelib) which support APIs for FAST algorithms and other descriptors etc. Follwing link …

Software Development algorithm api github image java
Member Avatar for JamesCherrill
0
745
Member Avatar for PM312

for my combobox i want to prevent user from typing **further text** if the typed text **do not match part** of combobox items i.e from starting Autocomplete mode set to SuggestAppend Autocompletesource set ot Listitems Private Sub ComboBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox1.KeyPress Dim i As …

Software Development vb.net
Member Avatar for Reverend Jim
0
2K
Member Avatar for aslam.junaid786

**Create a class Employee with name, Id and salary as data members. Provide appropriate constructors, set, get and display methods in the class. In the main program, use a do-while loop to enter data for employees as long as the user desires and save all data to a file. Once …

Software Development c++ file-system oop
Member Avatar for Schol-R-LEA
0
241
Member Avatar for IT_Techno

When I use the insert function I can see new data at the front end. But I cannot see the new data in Access. Other times when I close the application and restart, new recorded is not there. If I look in Access application and closed it then open VS2010 …

Software Development dataset perl
Member Avatar for Momerath
0
188
Member Avatar for zbzHenry

hello, i am trying to save data in my listview item to access database.. i am new to programming and i am currently working on a project i need to submit very soon, this is really urgent and i will be much happy if i could get assisted as soon …

Software Development listview microsoft-access vb.net
Member Avatar for Dili1234
0
615
Member Avatar for Ariah17

Hey all, Sorry if this is really simple but I couldn't think how to phrase what I'm looking for on google. I've designed a piece of software for a friend for their business. When I learned VB we were always taught how to use it with Access Databases. I've decided …

Software Development sql vb.net
Member Avatar for Dili1234
0
147
Member Avatar for Rasool Ahmed

Hello guys, I'm using MapViewOfFile to map a file and try to edit its data and save it on the file. The problem I have extra data to the file required to expand its size. So, how to append data to the end of memory mapped file using CreateFileMapping and …

Software Development assembly c++ file-system
Member Avatar for Rasool Ahmed
0
707
Member Avatar for nicfred

I have to do a project where the imust create a class that draws a crayon and then an applet that draws a box of those crayons. I can get the box to draw, just not the crayons. Help? CLASS import java.awt.*; public class Crayon { private final int BOTTOM …

Software Development java
Member Avatar for pbj.codez
0
276
Member Avatar for Kesarion

Hi, Im trying to connect to a database but it doesn't seem to work. This is the code I'm using: [CODE] #include "stdafx.h" #include <iostream> #include <my_global.h> #include <mysql.h> using namespace std; int main(int argc, char **argv) { MYSQL *conn; conn = mysql_init(NULL); if (conn == NULL) { printf("Error %u: …

Software Development c++ mysql
Member Avatar for Ancient Dragon
0
1K

The End.