132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aarviii

**how can i read a specific text from a text file back to a textbox?** **so here are the text** `heburn@YAHOO.COM, TAGUIG, 9460593, ASRock, 2.4 GHz, Dual, Core, HDD, 160 GB,5, 200, 2 GB, 2,512 MB, YES` **and i just want get the text** `TAGUIG` and `HDD`

Software Development vb.net
Member Avatar for Reverend Jim
0
463
Member Avatar for jaison2

well basically i have to draw a stick figure for which is my first question... i cant figure out how to draw a horizontal line and also a line at a angle for the legs... here is the code for the first one def drawStickFigure(): from graphics import * win …

Software Development python
Member Avatar for bumsfeld
0
10K
Member Avatar for grgrl

I would like to know how to take selected information from a listview and add them to a .dat file This is what i got so far but it is to save into a text file Sorry for any mistakes i am a noob Private _filepath2 As String = Application.StartupPath …

Software Development listview vb.net
Member Avatar for grgrl
0
2K
Member Avatar for cobaltbravo

I'm currently working on an assignment for my intro python class in school. The program is a "guess my number" variant, but its focus is on global variables and the try/except operation. I've managed to figure out most of it, but I'm having trouble calling my function that gives a …

Software Development python
Member Avatar for cobaltbravo
0
303
Member Avatar for jakewebb

Hi the problem I am faced with is after adding around 35 video files of both .avi and .mpg with a total file size of around half a gig to the resources of my project, I get an error message on debug telling me "Error 1 Unable to write to …

Software Development file-system vb.net visual-studio
Member Avatar for tinstaafl
0
1K
Member Avatar for spowel4

Using this example json file: { "stores": [ { "storeName":"AUGUSTA", "company":"CC", "emailAddresses": ["spowel4@gmail.com", "spowel4@yahoo.com", "steve@compsysplus.com"] }, { "storeName":"CHATTANOOGA", "company":"CC", "emailAddresses": ["spowel4@gmail.com"] } ] } I have this code to try to parse the file: public static void main(final String[] args) throws Exception { // TODO code application logic here ObjectMapper …

Software Development java json
Member Avatar for spowel4
0
9K
Member Avatar for clubberlangMayo

hi guys , im designing a c++ code for an assignment and im badly stuck.i have to create a programme word checker to change plurals to nouns. i have it completed but have to store it as statistics. so when the user selects the VIEW button at the end of …

Software Development c++
Member Avatar for clubberlangMayo
0
993
Member Avatar for anirbanengg

Hi, Long I am listening the two term that debug mode and release mode ?Can anyone please explain what are those ? I have heard that depends on gcc and its options -O0 or O2 and -g but not sure exactly about those .Can you please explain with example. Thanks …

Software Development
Member Avatar for anirbanengg
0
255
Member Avatar for game06

i making a game. i have a player and i want him to shoot different kind of bullets. i already have created my player class and bullet1 class. i am think of making bullet2 class, and bullet3 class. than i can make a variable. main start with like this: String …

Software Development oop
Member Avatar for Schol-R-LEA
0
116
Member Avatar for ikeh theacla ij

write a program in c++ to determine the highest score of any set of scores

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

Hi guys im writing a program and was wondering what the code would be to prompt for a password when pressing a button ie. I have a button that checks who earns the most money and only certain people have access to that button through a password.

Software Development vb.net
Member Avatar for Mr.M
0
164
Member Avatar for milkman93

Hey Fellas, I created 10 JTextFields using and ArrayLists: `ArrayList<JTextField> textFArray = new ArrayList<>();` textFArray.add(new JTextField()); gbc.gridx = 1; for (int i = 0; i < 10; i++) { gbc.gridy++; add(textFArray.get(i), gbc); textFArray.add(new JTextField(i)); } What I need to do: I need to get the values of what ever the …

Software Development java
Member Avatar for JamesCherrill
0
293
Member Avatar for savedlema

Hi all! I use VB.NET + Mysql. I have two tables (tblstudents & tblpayments). I want to view payments details of a selected student. Thus, I'd like to select some values (firstname,middlename,surname) from tblstudents and (all values from tblpayments WHERE class = @class -I know how to deal with @class, …

Software Development vb.net
Member Avatar for savedlema
0
552
Member Avatar for game06

i have two classes, enemy class and level class. in level class i am changing the counter value. note i set up my if statment so it will only goes in onces and never again. so if u reach lvl 2 than it will go in lvl2 if statment onces …

Software Development java
Member Avatar for JamesCherrill
0
167
Member Avatar for Allorango

i have asdecr.dll file and i have to call c++ 2010 dll made file in vb 6 tell me process in detail.. like after open vb 6 what should i have to do to open dll file... step by step

Software Development visual-basic
Member Avatar for Allorango
0
225
Member Avatar for IT_Techno

hi, i have agridview in desktop application, i fill it with data using dataset, how can i chose arow from gridview and make right click on that cell then do search for that info i chosed from gridview? Best Regards, IT_Techno

Software Development dataset
Member Avatar for IT_Techno
0
398
Member Avatar for Kujee

I am new to VB. Currently i am doing a Stock manage program with VB and SQL 2008. When Receive new stock from Supplier,I put recive item in a winform with DataGrid view. some thing like this **Item Description Received Qty UnitPrice Total** 1001 Acer Laptop 10 455 4550 1005 …

Software Development vb.net
Member Avatar for Kujee
0
454
Member Avatar for connor.wells.7946

I'm writing a binary tree program to do the following actions: a. Print out the tree in inorder b. Print out the tree in preorder. c. Print out the tree in postorder. d. Print out the number of nodes in the tree. (Traverse the tree and count the nodes) e. …

Software Development c++ open-source
Member Avatar for VernonDozier
0
295
Member Avatar for lauraroxi

Hello! I use the Serializable interface in one of my projects but I have a problem. I serialize some objects and when I try to deserialize them after I run the application several times, the only object that is deserialized is the last one that was serialized. Do you have …

Software Development java
0
84
Member Avatar for M.S.

Assuming that every person has a National ID number, I am trying to check if the Entered number is a valid ID number, under these conditions: 1. ID number must be of 10 digits length. 2. If ID length is greater than/equal to 8 and less than 10 digits, add …

Software Development python
Member Avatar for M.S.
0
2K
Member Avatar for Stpdoug

I have a small problem why is this code not writting information into the userdata.txt file? I am not getting any errors in code blocks it runs but the file does not get any data. While in visual c++ the code gives me "debug assertion failed...expression: str(!=NUll)". What am i …

Software Development c file-stream file-system
Member Avatar for Stpdoug
0
210
Member Avatar for sudipta.mml

my input file contais this text DOPC 1024 PW 30903 CL- 1 arg01 1 My output file should be DOPC 1024 PW 100 CL- 10 arg01 1 I have used this following command for the single substitution and it works well. read no_water read length sed s/"PW 30903"/"PW $no_water"/ arg01.top …

Software Development shell-scripting
Member Avatar for sudipta.mml
0
184
Member Avatar for StefanRafa0

Hello guys i have started project that i want to translate text from Latin to Cyrillic so i have just this and i dont know how to continue any help will be appreciated - Thanks :) private void TranslateActionPerformed(java.awt.event.ActionEvent evt) { String TextToTranslate = textToTranslate.getText(); char[] latinica = { 'a', …

Software Development java
Member Avatar for StefanRafa0
0
177
Member Avatar for nova37

hello am trying to start another exe from my c program , am usign createprocess() but am getting error that , the commond is not recognized as internal or external STARTUPINFO startupInfo = {0}; startupInfo.cb = sizeof(startupInfo); PROCESS_INFORMATION processInformation; CreateProcess( bpath, // bpath is char and have C:\myf\myapp.exe NULL, NULL, …

Software Development c++
Member Avatar for untio
0
252
Member Avatar for AmrMohammed

When I wrote something like cout << "Every age has a language of its own"; It's supposed that the sentence between the two quotation marks will not be targeted directly to the screen, but will be stored somewhere first before directed to the screen. What is that place in which …

Software Development c++
Member Avatar for Tumlee
0
259
Member Avatar for Papa_Don

Group, After asking what seems to be a thousand questions, clearly there is so much more to learn about Visual Basic. So this prompts my "Today's Question": Are there some good online courses or classes at a local college that I can take? By the way..... I live in the …

Software Development vb.net visual-basic
Member Avatar for Papa_Don
0
183
Member Avatar for nomorelogic

so basically the thing is nearly complete, and im just trying to get it to work, im pretty sure i just havent closed off some statments and such, but i cannot for the life of me see where, or how to get the error messages to leave me alone in …

Software Development c++ gaming
Member Avatar for nomorelogic
0
527
Member Avatar for peymankop

Hi...! I was working on a basic chess game it shows the possible move for each of the piece that you've selected. I uploaded the file in [This](http://www.mediafire.com/?4lhwjbu2ahbfl14) link : When you click on a button form title is the postion of the button you've selected but i don't know …

Software Development
Member Avatar for peymankop
0
457
Member Avatar for Pgmer

Hi Guys, I need to track the application usage statistics using webservice. Basically i need to write a service which can be used in any application to record the usage of application which is calling this service. or Could be a DLL. I need idea's for this. Thanks, pgmer..

Software Development vb.net
Member Avatar for Pgmer
0
242
Member Avatar for pepyrs

Hey guys, I have a few Lists of strings containing elements saved from a Gridview on the page. (2 different gridviews with datasource from same database and table but showing different information) I need to write a logic which is ~10 if statements checking some conditions and then write a …

Software Development asp.net programming-construct
Member Avatar for sankit
0
315
Member Avatar for pearl.kumar1

Hi,I need to retrieve the Datetime from Employee details After entering Empno in a 1st text box. Please help ASAP This is My Coding for VB.NET Private Sub View_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con.Open() cmd = New SqlCommand("regd_regdetail_Empid", con) cmd.CommandType = CommandType.StoredProcedure cmd.Parameters.AddWithValue("@Empid", Integer.Parse(Trim(TxtEmpid.Text))) dr …

Software Development vb.net
Member Avatar for TnTinMN
0
119
Member Avatar for odohben

please how can i create a database and link it to my VB6 application. i designed a VB application to hold bio-data that will be updated from time to time but am finding it difficult to create the access back-end for it. please any urgent help will be most welcomed.

Software Development visual-basic
Member Avatar for jhai_salvador
0
232
Member Avatar for jakewebb

Hi, I have written a small application which plays video files which are saved into a directory C:\Video. Once loaded these files never change. The problem is simple, I cannot find a way to add the folder (Video) containing the files to the installer package. I would like the program …

Software Development vb.net
Member Avatar for Begginnerdev
0
189
Member Avatar for krystosan

on linux i have been using pwd to get the file owner, but how do i do for Windows in python 2.6 since pwd module is supported in linux only..?

Software Development file-system python
Member Avatar for krystosan
0
116
Member Avatar for IsaacMessi10

It sort of works - the thing is without clicking the picturebox or anything, the form, whenever I move the mouse, it moves any help? Thanks Public Class Form1 Dim drag As Boolean Dim mousex As Integer Dim mousey As Integer Private Sub CloseButton1_Click(sender As Object, e As EventArgs) Handles …

Software Development vb.net
Member Avatar for IsaacMessi10
0
154
Member Avatar for mical700

C program that extends my.c to take file names as command line arguments. It will read each named file and write the first 10 lines to standard output. If there are no command line arguments, it will read from standard input. If "-" is given as a file name, it …

Software Development c file-stream unix
Member Avatar for mical700
0
148
Member Avatar for bops

Hi I would like to create a function that appends a character to a character array.. this is what I have got so far.. [code=c] char * appendCharToCharArray(char * array, char a) { char * ret = (char*)malloc(sizeof(array) + 1 + 1); strcpy(ret,array); ret[strlen(ret)] = a; ret[sizeof(ret)] = '\0'; return …

Software Development c++
Member Avatar for NathanOliver
0
5K
Member Avatar for SylvanSagacious

I have created a simple UDP client and server, but I have some problems with how to actually structure the servers operational handling, whether its if Else or case selections. 1.The user sends a Packet to the server, containing a string that they've typed in. 2.The server receives it and …

Software Development java
Member Avatar for JamesCherrill
0
350
Member Avatar for ef_mag

Hi to all, i am newbie in java. I have created a program to read data from excel files with APACHE POI and show them in my console. I am using Eclipse as editor. Now I an trying to import these data in database so I can store them. The …

Software Development apache java oracle
Member Avatar for stultuske
0
13K
Member Avatar for Tinnin

I'm trying to change an excel file to csv but the methods I've used so far have corrupted the file. I've tried renaming the file and using saveas from excel. Dim importsFileList As New ArrayList Dim sFile As String Dim extension As String Dim newExtension As String Dim file As …

Software Development vb.net
Member Avatar for Tinnin
0
170
Member Avatar for phats more

hi, am to create a morabaraba game and i have no idea with coding with c#.

Software Development
Member Avatar for Schol-R-LEA
0
250
Member Avatar for ramy.merc

I need help in implementing iris recognition using C# language. I am doing a program on android but I am using xamarin for coding which uses c#. If there is anyone who had experienced this before, please provide me with the code or steps to do it. Thanks in advance

Software Development android android-development xamarin
Member Avatar for ramy.merc
0
312
Member Avatar for Violet_82

Hi chaps, what do we define as a client of a class please? I keep reading about "clients of a class" but I don't understand what that means. Maybe it is better to have some examples: take the following 2 files: //Employee.java public class Employee{ public static void main(String[] args){ …

Software Development java
Member Avatar for Violet_82
0
168
Member Avatar for krystosan

i have downloaded and installed from this [page](http://sourceforge.net/projects/pywin32/) but still when I import any of the modules[win32api, win32security, win32con] i get import error, please help me if I am not downloading the right version

Software Development python
Member Avatar for krystosan
0
828
Member Avatar for imBaCodes

Hi, i have a form and i have 2 input box. Is there any way to restore the last input in reopening the Form. 'is there any code like this? userform1.input_date.value = userform1.input_date.lastValue Thank you in advance.

Software Development visual-basic
Member Avatar for imBaCodes
0
129
Member Avatar for nah094020

Ok so i have implemented a program that simulates a post offie, but now i cant figure out why my threads arnt join and printing, also not sure why my threads are not interleaving. Anyone care to take a look at my code?, its kinda long thats why i dint …

Software Development java
Member Avatar for bguild
0
130
Member Avatar for chdboy

How to know which version 1.Microsoft SQL Server 2008.(Express) 2.Microsoft SQL Server 2012.(Express) Both installed on my machine,am I running(using)?

Software Development sql vb.net
Member Avatar for chdboy
0
106
Member Avatar for jakewebb

Hi All I can get the WindowsMediaPlayer1 to do is change it's status to ready. Can someone confirm that it is possible to play .avi and mpg files from resourses before I spend hours and hours only to discover it cannot be done or that it is far beyond my …

Software Development vb.net video
Member Avatar for jakewebb
0
363
Member Avatar for mical700

How to convert C++ code to C. Write a program in C that asks a user for the name of a file. The program should display the first 10 lines of the file on the screen (the "head" of the file). If the file has fewer than 10 lines, the …

Software Development c c++ file-stream file-system ios visual-studio
Member Avatar for deceptikon
0
1K
Member Avatar for trishtren

Hello, Iv recently been having trouble with a java project im working on as i need a button to add a sentence to a Swing list box. The problem im having is it uses an observable class and an observer. Fundamentally the list adds the elements to an array in …

Software Development java java-swing storage
Member Avatar for trishtren
0
208

The End.