132,726 Archived Topics
Remove Filter ![]() | |
I am using C# 2005 to develop an Windows application. I am planning to use a Tab Container to display the child forms. I have used a Menu Strip to display the menu and have set IsMDIContainer = true property of the MainMenu form. The MainMenu form also contains a … Software Development | |
Sorry for my second newbie question....well now I am dealing with a text file that has the following line: 1e+12 Anyways, so I want to go into the file (named intens.txt) and replace the "e+" so that the line will look like this : 1*(10**12) .....The line will be changing … Software Development python | |
Hi, I am modifying a script that will be run as a windows scheduled task after hours. This script was written by another programmer previously. The original script includes threading in the code. Should a script that is run as a single job from a scheduler require threading? Thanks. Software Development python | |
Dear all, I have a weird problem reading a file using fgets. The code below should read the first line of the file "F:\\filename.csv". It works for all sorts of files that I create myself, but it does NOT work for certain files that I download from the internet. More … Software Development c | |
hi, I have created a script that has some sql queries in it. It seem to work fine and e-mails me the output file but when i use this command [COLOR="Red"]'col email format a20'[/COLOR] it creates a dead.letter file and i never get the e-mail. Any help would be appreciated. … Software Development shell-scripting | |
what does this mean: read value of the integer variable [I]first_int[I][/I][/I] from the user's input? i dont know what's the proper c statement for this... i'm trying my code but there's always an error... Software Development c | |
hi, 'm a beginer. . i need a lil help to start learnin VB.. i dont hav much idea about it.. Kindly give me info of which book i can refer.. look fwd for much needed help.. Software Development mysql visual-basic | |
i couldnt find the constructor of the controls like textbox or button neither in the form.cs nor in the form.designer.cs. where are they? Software Development | |
I have used python for awhile, and am quite good with it. But last week I added the wxpython..I wanted to actually make a program and not a script. So I can do this in normal python all day long. But wxpython is alot different, so I need help with … Software Development python | |
i am developing an application where i have to break a stream of numbers which are in .txt file and save it into access database.I need to know how to do this in visual basic.I have created a database at runtime and also created table with required fields but am … Software Development file-stream vb.net visual-basic | |
How to retrieve data from database to frontend, each field in diff txtbox #1 1 Minute Ago | Add to Haimanti's Reputation | Flag Bad Post hi Hi i'm new to coding, with basis of theritical knowledge, i tried writing code for data insert n retrieval.. the code i posted … Software Development dataset | |
i am creating an app where in user selects database from the dialogbox.I have assign datasource=commondialog1.Filename to give path and name but its not working.Please help!!!!!!! Software Development vb.net | |
I've done a little looking around and found a few different ways to do this, and I was looking less for technical help, and more for opinions before I dove into the code. The software I'm sending out doesnt get installed, its just unzipped and placed in random folders on … Software Development c++ | |
I NEED HELP!!! I am trying to make a program somewhat like keynote or powerpoint in python, and I need to know how to make text evenly spread out from the center on the y-axis, I can do that on the x-axis. If you dont get what I am saying … | |
list is supposed to be an array of pointers, so hopefully I declared that correctly. This function is supposed to read lines of text and each line of text should have a pointer pointing to it so that I can sort them. What I don't understand is when I read … Software Development c++ | |
Hi, Can someone tell me how to suppress all the warnings g++ produces? Not specific warnings : I know how to do that. I want to not see any warnings at all when I build. Thanks. Software Development c++ | |
[CODE=JAVA]// This is the Debts program in Java import java.io.*; class Debts { public static void main(String[] args) throws IOException{ BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in)); String Amount, Payable, Interest, Paid; double Value, Rate, Spent; int Years; System.out.print("Enter Amount: "); Amount=stdin.readLine(); Value=Double.parseDouble(Amount); System.out.print("Enter Payable in years: "); Payable=stdin.readLine(); Years=Integer.parseInt(Payable); System.out.print("Enter Intrest Rate: … Software Development java | |
Hi everyone, Can any one tell me about the uses of let and get property in VB and how to use it? Software Development visual-basic | |
Hi all, i want to open a file with this code [code] Dim linetext As String Private Sub Command1_Click() CommonDialog1.Filter = "Text Files(*.txt) | *.txt" CommonDialog1.ShowOpen If CommonDialog1.FileName <> "" Then Open CommonDialog1.FileName For Input As #1 Do Input #1, linetext Text1.Text = Text1.Text &linetext Loop Until EOF(1) End If … Software Development visual-basic | |
I have a collection of objects descended from JComponent that are displayed on an object desended from JPanel. Basically these JComponent-based objects are components that can be added and placed arbitrarily and can be dragged about on the panel. The panel is in charge of repainting all the tools/components that … Software Development java java-swing | |
Good day to all, i'm just starting to learn c language...and i have a something to know ... is the opening curly bracket and closing curly bracket mean that it will end and begin a segment in c? thank you... Software Development c | |
hey every1, im a noob pythoneer.. i wanted to change the names of all music files using their metadata obtained from mminfo utility. I came up with the following hideous looking code.. [CODE=python] import os os.chdir(raw_input('plz enter directory name: ')) lst=os.listdir(os.getcwd()) class process(): def getmetadata(self,filename): command='mminfo %s|grep artist>temp.txt'%filename;#print command os.system(command) … Software Development python | |
Hey, I've just joined up here hoping somebody might be able to help me with a project I've got on at work at the moment. I've been learning python using the method, let's just do it and see what happens and I appear to be coming up to conflicts consistently … | |
Here is what I have: [CODE]} else if ( argc > 1 ){ for ( int arg = 1; arg < argc; ++arg ){ infile.open( argv[arg] ); if ( infile ){ list = read_file( &infile, &lines ); } } } [/CODE] argv[1] = text.txt gets opened, but argv[2] = text2.txt … Software Development c++ file-system | |
Create a console application to display the personal details of a Malaysia’s Resident. System only request the full name and Identity Card number from user as input. Information of user should be generated automatically by system base on their IC number. System must able to display the following personal detail … Software Development | |
i have a text file abc.text having 32 characters only. 2b7e151628aed2a6abf7158809cf4f3c i want to load this file in char *key[16] as below char *key[16] ={"2b", "7e", "15", "16", "28", "ae", "d2", "a6", "ab", "f7", "15", "88", "09", "cf", "4f", "3c"}; i use the following code char ch; int i=0; ifstream … Software Development c++ | |
Hi guys, I have a simple question, I want to store the output of the following command: [QUOTE]sudo iotop -t 0 -C 3 | grep "load: "[/QUOTE] As you can see it is running all the time, and we get a new line every 3sec. I just want to store … Software Development shell-scripting | |
Drag treeview named TreeView1, textbox named TextBox1, button named Button1. I m adding nodes programmatically. Select the node,Enter text in TextBox1 & then click on Button1 to add the node. Mine code is doing this, I want that when the user add nodes it automatically sorts. Suppose user selects All(node) … Software Development vb.net | |
hi i'm designing a management system using visual studio 2008 and i'm using a local database(.sdf). i'm kinda new at vb.net and from wat i've read, i need to design a dataset that connects to the database. i defined my tables in the dataset and the.sdf database, my problem is … Software Development database-design dataset vb.net visual-studio | |
I am reading a file that has a column of words, but each time the column is read, the first letters are the only things that are outputed. Does anyone have any simple solutions to this? I don't want to have each letter be a separate variable. [ICODE]#include <iostream> #include … Software Development c++ | |
Hello there, i have a class user, and i also have implemented a collection for the same user class - users. users will store user objects. users collection class implements the generic collection class - collection<user>. i want to cast the LINQ query result into an object of my collection … Software Development user-interface | |
| |
Hi Alls, I need your help regarding crystal report....i have access database, application form,crystal report.rpt......the application form i build it with VB.net..... Crystal Report already done...but i need to link data into it and print...Assume i keep in the data like student id , name into Application form..then i need … Software Development vb.net | |
Since i am a Ph.D student in material science, i have no previous experience in programming, and for 1 week now i am trying to write a simple program...where i can use some help from you. I have written a program that can read every line in a txt file … Software Development c++ data-science file-system | |
Greetings, I'm writing an application for membership maintenance, part of this is to record if a member is [B]deceased[/B]. The data is stored in an [B]access 2007 [/B]database ([B]accdb[/B]), the deceased field being of '[B]Yes/No[/B]' datatype with no default value. In Access I can write SQL to retrieve rows where … Software Development vb.net | |
Hello i have extend wxPanel to create a template like this [CODE] import wx class Age(wx.Panel): """ Template per gestione Anagrafiche""" def __init__(self, parent, id,content,content,size = wx.DefaultSize): wx.Panel.__init__(self, parent, id, wx.Point(0, 0), size, wx.SUNKEN_BORDER) ## Create the vertical sizer for the toolbar and Panel self.box = wx.BoxSizer(wx.VERTICAL) tb = _NavigationTool(self) … Software Development python | |
Hi Everyone. I am busy building a VB 6 APP that will access a MS Access database. For the sake of this problem I will abreviate the DB. It has two tables. the main table has 6 bound text boxes to a data control. They work fine on there own. … Software Development visual-basic | |
hi i have a requirement to write tamil word (indian language) in a txt file using c#. some one help me Software Development c# | |
The question is to write a function that dynamically allocates an array of integers. the function shoud accept an integer argument indicating the number of elements to allocate The function shoud return a pointer to the array Here is what i have so far, and it kinda works but at … Software Development c++ | |
I posted a code on this link [URL="http://www.daniweb.com/forums/post915333.html#post915333"]http://www.daniweb.com/forums/post915333.html#post915333[/URL] and the thread was solved, but I'm looking forward for another method using switch case.... but an error says : incompatible types found: java.lang.String required: int is the re a possible way that forces switch case method to use string instead of … Software Development java | |
ok so i want to read a .txt file line by line. I have the code for that BUT i want to keep track of what line im on, i might be completely braindead from working on this whole project forever but heres the line by line code i am … Software Development file-system java | |
Hello How do I create an array when the size of the array is unknown? IE; the size of the array will depend on the contents of a file I am reading, so sometimes the array will end up being 10 sometimes 100. The way I have tried, is to … Software Development c++ ![]() | |
/* *It's a Running program that generates DBF file *Question is: How can I make an IDX file Out of this. *I tried to changed the extension by .idx but I'm not sure if it is *correct. */ package src.maintenance.DBFextraction; import java.awt.Dimension; import java.awt.Font; import java.awt.Point; import java.awt.Rectangle; import java.awt.Robot; … Software Development apache file-system java java-swing | |
hello.. uuhhmm ... i have a problem here.. i want to know how can i do that if the tuition paid "yes/no": "N" .. then message_error exist that "you need to pay first.." ,. and dont print the result,, but if the answer is "Y" then .. it proceed to … Software Development engineering java java-swing | |
[CODE]#include <iostream> #include <iomanip> using namespace std; int main() { string name; char indicator = 'c' ; // Input indicator char answer1,answer2,answer3,answer4,answer5; int count1,count2,count3,count4,count5; cout << " Welcome to Risk master, answer those 5 questions to calculate how risky your partner is"; cout << " Rule : press Y for … Software Development c++ | |
hi! I have 2 pcs in LAN, I wish to create a vb.net application in one of the pcs which displays a button on clickling which I can run any application on the conncted pc screen. How do I do this???? This is really urgent, plz reply soon................Thanks Software Development vb.net | |
Please let me know how to stop Thread B from Thread A ? Software Development java | |
I'm trying to write a code that will allow for items to be displayed and when two are selected those two will be displayed in a different list box as a "receipt". If I'm not mistaken the code and everything is correct, but for some reason the items are not … Software Development visual-basic | |
im just new here..and i really need some1 who can help me do our exercises..its about java(using looping/iteration)..i know others in java but not yet 'bout looping.. Software Development java |
The End.