132,726 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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? | |
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 | |
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 | |
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# | |
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 | |
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 | |
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 | |
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 | |
Hi friends, Please suggest me how to display the line number in C program. without using predefined macros, or windows library files. | |
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++ | |
[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 … | |
how can i convert date such as 20/03/2011 0r string 20032011 to twentieth march two thousand and eleven Software Development visual-basic | |
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 | |
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 | |
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 | |
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] … | |
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 | |
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# | |
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 | |
What's happening in this commands:Dim StudentName As String,Dim pincode As Integer,Studentname = "David",pincode=2011 Software Development visual-basic | |
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# | |
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 | |
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++ | |
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 | |
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 | |
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 << … | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 ![]() | |
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 | |
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 | |
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 | |
guys...i m trying to make a simple program to input 3 nos n print their all combinations(......plz help!!!.... thanx...:) | |
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 | |
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 … | |
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 |
The End.