132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Eager_Beever

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
Member Avatar for chathuD
0
189
Member Avatar for lblazer05

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
Member Avatar for snippsat
0
133
Member Avatar for dp_neo

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
Member Avatar for wildgoose
0
138
Member Avatar for anne_1000

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
Member Avatar for Dream2code
0
296
Member Avatar for shawnk

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
Member Avatar for shawnk
0
53
Member Avatar for bryangarcia

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
Member Avatar for csurfer
0
141
Member Avatar for srivathsa_4

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
Member Avatar for srivathsa_4
0
215
Member Avatar for serkan sendur

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
Member Avatar for serkan sendur
0
74
Member Avatar for Clueless86

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
Member Avatar for shadwickman
0
368
Member Avatar for ankit007

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
Member Avatar for sknake
0
88
Member Avatar for Haimanti

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
Member Avatar for sknake
0
90
Member Avatar for ankit007

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
Member Avatar for sonia sardana
0
260
Member Avatar for headedtomexico

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++
Member Avatar for Ancient Dragon
0
155
Member Avatar for computerfreak

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 …

Software Development display python
Member Avatar for shadwickman
0
199
Member Avatar for tazboy

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++
Member Avatar for VernonDozier
0
213
Member Avatar for dumrat

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++
Member Avatar for Tom Gunn
0
431
Member Avatar for masterjiraya

[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
Member Avatar for masterjiraya
0
143
Member Avatar for Rajesh Ranjan

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
Member Avatar for Rajesh Ranjan
0
102
Member Avatar for magenta_lover

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
Member Avatar for magenta_lover
0
126
Member Avatar for applefat

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
Member Avatar for VernonDozier
0
114
Member Avatar for bryangarcia

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
Member Avatar for csurfer
0
148
Member Avatar for abhigyan91

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
Member Avatar for zachabesh
0
185
Member Avatar for Rob.Hughes

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 …

Software Development python xml
Member Avatar for zachabesh
0
108
Member Avatar for tazboy

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
Member Avatar for tazboy
0
145
Member Avatar for surima

how to output a string after a count of every 10 numbers ina count of 50 numbers.

Software Development java
Member Avatar for kvprajapati
0
78
Member Avatar for gim125

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
Member Avatar for gim125
0
133
Member Avatar for naeem1973

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++
Member Avatar for kvprajapati
0
211
Member Avatar for Thireus

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
Member Avatar for Thireus
0
192
Member Avatar for sonia sardana

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
Member Avatar for Stevoni
0
472
Member Avatar for danielagaba

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 …

Member Avatar for danielagaba
0
91
Member Avatar for Yaserk88

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++
Member Avatar for Yaserk88
0
118
Member Avatar for sanjaypsachdev

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
Member Avatar for rafaelbelliard
0
276
Member Avatar for san_sarangkar

Can anybody tell me how to overload << operator ?

Software Development c++
Member Avatar for Tom Gunn
0
148
Member Avatar for kerek2

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
Member Avatar for kvprajapati
0
110
Member Avatar for xnoiz

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
Member Avatar for tux4life
0
173
Member Avatar for Robtyketto

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
Member Avatar for Robtyketto
0
188
Member Avatar for Davide Davin

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
Member Avatar for Davide Davin
0
183
Member Avatar for craigallansmith

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
Member Avatar for craigallansmith
0
212
Member Avatar for madhan0208

hi i have a requirement to write tamil word (indian language) in a txt file using c#. some one help me

Software Development c#
Member Avatar for madhan0208
0
46
Member Avatar for pltndragon

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++
Member Avatar for tux4life
0
2K
Member Avatar for masterjiraya

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
Member Avatar for masijade
0
127
Member Avatar for gotm

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
Member Avatar for oliver_lundag
0
361
Member Avatar for gretty

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++
Member Avatar for iamthwee
0
118
Member Avatar for oliver_lundag

/* *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
0
183
Member Avatar for MonicaClare

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
Member Avatar for oliver_lundag
0
811
Member Avatar for Se7Olutionyg

[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++
Member Avatar for WaltP
0
163
Member Avatar for nice_true

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
Member Avatar for kvprajapati
0
141
Member Avatar for mangalatth

Please let me know how to stop Thread B from Thread A ?

Software Development java
Member Avatar for MoZo1
0
73
Member Avatar for ITTOBE

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
Member Avatar for firoz.raj
0
80
Member Avatar for loozax

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
Member Avatar for oliver_lundag
0
249

The End.