132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fashxfreak

hi. i want to know that how to delete or remove items from a file, keeping the file intact itself ???

Software Development
Member Avatar for Momerath
0
95
Member Avatar for NeoKunal

i wrote a code to create a csv file in java and it works fine for english characters but not for chinese characters. How can i Solve this. i tried modifying it but then it does not show comma separated values when opened in text file. please reply. [CODE] package …

Software Development apache display java
Member Avatar for mKorbel
0
2K
Member Avatar for JoshuaBurleson

I'm doing the google code U python class and came across a problem trying the following problem, which is the commented out region, the solution needs to be a function. I'm on the second part and trying to find a way to count the values which meet the requirement,i[0:2]==i[-2:]. I …

Software Development python seo
Member Avatar for TrustyTony
0
501
Member Avatar for ZIA_JAPPA125

Hello everyone this is the correct ans for your problem....this program is working propely but but int thing is that i can't solve is that the decimal number range between 1 to 7. if any character in my number will increase from 7 thou it shuold give output the number …

Software Development c
Member Avatar for Adak
0
140
Member Avatar for judithSampathwa

hi i am using C#.net to code. I am using windows desktop application. I have a main form with a menu stript. and in that i have add details update details and some other menus too. i want to know how can i design a interface for each menu stript. …

Software Development asp.net web-design
Member Avatar for nick.crane
0
271
Member Avatar for JoshuaBurleson

I got this snippet out of my text book but it's giving me a type error, I'll just give you the whole code, tell me if you get it too, if you would. [CODE]import urllib.request import math whips=int(0) rate=float(4) while rate <= float(20): improve= rate*float(.15)+rate rate= improve whips=whips+1 print(whips) def …

Software Development api json python
Member Avatar for JoshuaBurleson
0
319
Member Avatar for BCMusic24

I've developed an application that runs a program (specified in the code) when a button (10 buttons for 10 different programs) is pressed. What I want to do now, is make it so that when a button is pressed, you are asked what application you want to run. The selection …

Software Development
Member Avatar for nick.crane
0
92
Member Avatar for julylee06

Hi - I am a newbie - so I hate to ask for help, but your site has been so useful even before I joined, so I hope you will have pity on me. I am doing a java program using 2D arrays. It covers 4 quarters of sales across …

Software Development java
Member Avatar for julylee06
0
651
Member Avatar for Stefano Mtangoo

Anyone who knows how I can download boost library manual in zipped html chm or pdf? I'm not always working with internet and I will be working with some boost libs(latest). Thanks

Software Development c++ pdf
Member Avatar for vijayan121
0
855
Member Avatar for dyingatmidnight

I swear I used to know how to do this ... so I have this array: BYTE bcdData[6]; and a function that returns it: [code] BYTE * BCD::GetBcdData() { return bcdData; } [/code] and I have this other array in another class: BYTE tpIdByte[2]; And what I am trying to …

Software Development c++
Member Avatar for ChaseRLewis
0
105
Member Avatar for p1nchbeck

Hello you guys, i'm new to this community and relatively new to c++. right now i have a big problem with namespaces and i'm not able to resolve this issue on my own, so here we go: I want to integrate 2 simmilar projects into my project. they are so …

Software Development c++ visual-studio
Member Avatar for p1nchbeck
0
284
Member Avatar for IndianaRonaldo

If I write windows API application using vc++ 10,does the .exe file work in any windows computer or is vc++ a necessity in the other computer also?

Software Development api c++ microsoft
Member Avatar for play_c
0
176
Member Avatar for ithelp

Hi, Has anyone ported CLIPS rules engine (which is written in C) to java ? Is there any better alternative available than that of porting CLIPS to java ? How big is the CLIPS source code base ?

Software Development java
Member Avatar for JeffGrigg
0
126
Member Avatar for Mits14

Hi guys.. i have a problem with my sqlupdate statement..i don't know which part is the error.. could you help me figure it out?? i even delete the codes and then type it again..but there is still this error.. [CODE] open_con() sqlupdate = "Update tblbook set Section='" & cbosection.Text & …

Software Development vb.net
Member Avatar for Naveed_786
0
104
Member Avatar for ddanbe

I saw a thread lately on this site to rotate an integer. Seemed like a fun project to do. There are probably more efficient solutions out there but this is mine, and indeed it was fun! It is mostly a demo on how you could use the less known shift …

Software Development c#
Member Avatar for kel634
0
2K
Member Avatar for pixeldroid

This is related to [url]http://www.daniweb.com/software-development/python/threads/111526[/url] However, in this case, I don't necessarily know the value of the var from which I am getting the name using vars(). Is there a way to get it? [CODE]prefix = 'char' lidControls = [] lidControls2Make = ['uprLid', 'lwrLid','lwrLidTrack', 'uprLidTrack','uprLidRef','lidRig'] for control in lidControls2Make: objTmp …

Software Development python
Member Avatar for pixeldroid
0
207
Member Avatar for stokotten

Hi. I get an (identifier) expected error when I try to write my code. The error message is: "PathFinder.java:25: (identifier) expected TList.setSelectionMode(ListSelectionModel.SINGLE.SELECTION); "PathFinder.java:25: (identifier) expected TList.setSelectionMode(ListSelectionModel.SINGLE.SELECTION); My code looks like this: [CODE]import... class PathFinder extends JFrame { Karta karta; JFileChooser jfc = new JFileChooser("."); int RitNR; JButton NP; ListGraph g …

Software Development java
Member Avatar for Aviras
0
479
Member Avatar for kasthurirangan

Friends i suppose to develop a s/w.. which automatically generates a timetable for the entire college.. on all possible classes..so plz help me in developing the coding in vb.net...

Software Development vb.net
Member Avatar for nellairahul
0
235
Member Avatar for Naveed_786

How can we disable a cell of datagrid in vb.net and how to show date in datagrid cell in vb.net

Software Development vb.net
Member Avatar for Naveed_786
0
179
Member Avatar for Falcon143

Hi friends, Please suggest me how to display the line number in C program. without using predefined macros, or windows library files.

Software Development c display
Member Avatar for nmaillet
0
2K
Member Avatar for bigdan182

i am trying to figure out how to pass structures based on the state of one of the variables. bassically there are 8 "teams" that each have a "progress" variable that is a bool. I want to be able to pass the 4 "teams" that have had their "progress" bool …

Software Development c++
Member Avatar for nmaillet
0
76
Member Avatar for westony

[CODE] private void FillList() { listView.Items.Clear(); DataTable dtPeople = GetPeople(); listView.BeginUpdate(); foreach (DataRow dr in dtPeople.Rows) { ListViewItem listItem = new ListViewItem(dr["id"].ToString()); listItem.ImageIndex = 0; // Get child rows from a parent one. // person_name is a name of relation between two // tables. DataRow[] r = dr.GetChildRows("person_name"); if (r.Length …

Software Development dataset listview
Member Avatar for nick.crane
0
111
Member Avatar for rajeshgs

how can i convert date such as 20/03/2011 0r string 20032011 to twentieth march two thousand and eleven

Software Development visual-basic
Member Avatar for Coco Chanel
0
671
Member Avatar for Cainer

Ok, here are some things I don't understand. I have defined variables: [code] byte b = 0x10; const byte a = 0x08; [/code] When I try [code] b = b & a [/code] it says "Cannot implicitly convert int to byte." How can byte & byte be an int?? Second …

Software Development
Member Avatar for Momerath
0
136
Member Avatar for estelion

Hello to everyone. I'm trying to write a piece of C++/Qt code and I always seem to get stuck at the same thing. I'm creating a DAQ System for my MSc thesis, who's purpose is to present and get some variables from the user interface (class name Interface) and when …

Software Development c++ qt user-interface
Member Avatar for mike_2000_17
0
148
Member Avatar for SETHU S

please inform, I want to connect one CPP data file with excel data file. How to connect (link) one excel file with cpp data file. Which is the header file for the same.

Software Development c++ file-system
Member Avatar for Tomtommitom
0
124
Member Avatar for Needshelp444

Is it even possible...I am not sure. Here is my code so far when I click on the Prog_1_Database buttons I want a window to pop up with more button widgets in. Currently the button widget unfortunately gets added to the top level Here is the code so far: [CODE] …

Software Development flash python tkinter
Member Avatar for Needshelp444
0
2K
Member Avatar for docdoc

I would like to write a program to be able to display the events in the windows event viewer logs. Currently I need to drill down thru menu items on the control panel to get to the event viewer and logs. Does anyone know where the event logs are held …

Software Development pascal
Member Avatar for antipin797
0
104
Member Avatar for grvs

Hi I have just started C# (again) and written a small program. I have installed Microsoft Visual C# 2008 Express Edition. Now I want to compile and run my program but "start debugging (F5)" option is faded. Also I can't find any csc.exe file in the main directory where Visual …

Software Development c#
Member Avatar for prit005
0
154
Member Avatar for Coco Chanel

Hi! I'm new and I'm not very expert with the basic code. How can I shutdownn the pc whithout using a file batch or some elements out of my program?

Software Development visual-basic
Member Avatar for Coco Chanel
0
106
Member Avatar for Goitseone

What's happening in this commands:Dim StudentName As String,Dim pincode As Integer,Studentname = "David",pincode=2011

Software Development visual-basic
Member Avatar for debasisdas
0
85
Member Avatar for sinthurika

I need to create a exam system. i have to give 20 question in a list. it should display 10 question randomly in a form. how can i do this in c#.dotnet? please anyone help me

Software Development c#
Member Avatar for ChrisHunter
0
741
Member Avatar for muzikhera

Hi guys Can anyone help me with this one? I want to insert a loop in my code to read all the data in excel file here's a portion of my code. [CODE] private void btnUpdate_Click(object sender, EventArgs e) { string directory = "D:/myFile.xls"; if (File.Exists(directory)) { Excel._Application myPartFile = …

Software Development microsoft-office
Member Avatar for lolafuertes
0
148
Member Avatar for hqt

I have 2 codes. (that I had read in one book). the explanation under each code is true (because my book say that !!!). But in my thinking, if one code is true, so the other will be wrong. (wrong mean it will not have result same with the explanation). …

Software Development c++
Member Avatar for hqt
0
201
Member Avatar for isendre

I am required to create a function that returns a list of all instances of single characters in 'text' that immediately follow 'last'. For example... def follow_char(text,last): """ >>> follow_char('as we consider the operations', 'co') ['n'] """ I think I am required to solve this using linked lists but am …

Software Development linked-list python
Member Avatar for isendre
0
74
Member Avatar for phoenx

Like a slot machine how can I see the movement of numbers and will stop 1 by 1..anyone know how to do it? [CODE] import java.awt.*; import java.applet.*; import java.lang.*; public class Lotto1 extends Applet { public int n1,n2,n3,n4,n5,n6; void button1_Clicked(Event event) { n1=(int)(53*Math.random()+1); n2=(int)(53*Math.random()+1); n3=(int)(53*Math.random()+1); n4=(int)(53*Math.random()+1); n5=(int)(53*Math.random()+1); n6=(int)(53*Math.random()+1); textField1.setText(Integer.toString(n1)); …

Software Development java multimedia
Member Avatar for phoenx
0
213
Member Avatar for thecoolman5

hi, i am trying to make a weight watchers program and heres my code: [CODE]#include<iostream> #include<fstream> #include<conio.h> #include<cstdio> #include<windows.h> using namespace std; int main (char argc) { for(;;) { system("cls"); ifstream r; r.open("cdaily.txt"); double r1; r >> r1; r.close(); ifstream r2; r2.open("cweekly.txt"); double r3; r2 >> r3; r2.close(); cout << …

Software Development c c# c++ ios
Member Avatar for VernonDozier
0
267
Member Avatar for bhagawatshinde

Hi, I have an problem while copying database file to another folder. In Brief i have develop an windows application in that one form is Data Backup and restore. Suppose i have run form separately then i will copy these file from one place to another but if i have …

Software Development file-system
Member Avatar for bhagawatshinde
0
387
Member Avatar for danieldane

Hello there, My teacher in programming require to make a phone book style using C language and I almost done this project and I trying to sort up some minor problems. Would somebody our there help me? (please try to run this program by your own to see what I …

Software Development c data-structure user-interface
Member Avatar for rubberman
0
203
Member Avatar for rhyza

i was having trouble with this couse we use an asterisk sign instead of a graph but the output is so mixed up how will i will aline the asterisk..pls help me [CODE]# include <"stdafx.h"> # include <iostream> # include <conio.h> # include <string> # include <windows.h> void main() { …

Software Development c++
Member Avatar for WaltP
0
181
Member Avatar for abc88

I have a Datatable- table1 and i want to sort/order this datatable in ascending order depending on 2 columns-column0,column1 of table1. how can i do that?

Software Development vb.net
Member Avatar for aldeene
0
105
Member Avatar for by_the_blood

I am trying to write a function that will count test scores that fall in a specific range(90-100, 89-80, 79-70, 69-60 and 60 or below) that are stored in a two dimensional array. Also, I am supposed to write a function that will do the same as above, only this …

Software Development c++ mathematics
Member Avatar for laosland
0
1K
Member Avatar for lawtan87

when the user hits enter it will display Price must be a valid positive number product_price=input("Please enter product price:") while product_price <=0 or product_price=="": print"Price must be a valid positive number" product_price=input("Enter product price:") but it get the following error when the user hits enter SyntaxError: unexpected EOF while parsing

Software Development python
Member Avatar for Enalicho
0
120
Member Avatar for kytro360

I want to save the text from several textboxes to a textfile. Then once I save it I want to open it and all the text go to their appropiate textbox. With my code when I click save it saves the file. I open the file from my computer (not …

Software Development
Member Avatar for kytro360
0
139
Member Avatar for Xrrak

I am over my head in my current class and could use help or pointers changing the program I have written. It is a mortgage calculator and I have to modify it. My class texts seem over my head and I have to drive 20 minutes and use public internet …

Software Development gui java java-swing
Member Avatar for quuba
0
124
Member Avatar for Prasadbabu

HOW TO WRITE SQL USING CRYSTAL REPORTS 9 IN VB6? Dear Friends, I designed one INVOICE crystal reports9 using vb6 and connected with access database. It was displaying all the records. Now i want to display particular invoice number. I used below code. but its not executing. default code only …

Software Development sql visual-basic
Member Avatar for Prasadbabu
0
1K
Member Avatar for bhavna04

guys...i m trying to make a simple program to input 3 nos n print their all combinations(......plz help!!!.... thanx...:)

Software Development c c# c++
Member Avatar for bhavna04
0
78
Member Avatar for ravikant_scn

Hi Experts; I am creating a project and I want user can move my form inside of the screen only. How can I do this ? Please help.

Software Development visual-basic
Member Avatar for BitBlt
0
106
Member Avatar for Naveed_786

Here is the code which is working fine for me on another form but creating problem when i use the same code on another form it gives me this error message when i try to insert a new record in DB "Value cannot be null Parameter name: Data Table" and …

Software Development dataset oracle vb.net
Member Avatar for Naveed_786
0
607
Member Avatar for bluehangook629

I am trying to retrieve a value saved in project A settings from project B in same solution set. Is this possible in VB.NET? If possible what namespace and function would I use?

Software Development vb.net
Member Avatar for bluehangook629
0
288

The End.