132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for VBNick

Hi, I am trying to make a windows forms application that starts using Sub Main instead of the Form1_Load event. I have tried putting this in Public Class Form1 [code="vb"] Public Shared Sub Main() MsgBox("ASdf") End Sub [/code] and also tried putting this at the top of the programs code …

Software Development vb.net
Member Avatar for VBNick
0
164
Member Avatar for Kanem

••••i am trying to build a clock using python where the clock is about 1/2 an earth second, it would have 11 seconds in a minute, it would have 5 minutes in an hour, and it would have 3 hours in a day. it would also have 3 months per …

Software Development python
Member Avatar for TrustyTony
0
146
Member Avatar for coffeeMan21

I am getting an error, Inconsistent accessibility: return type " " is less accessible than " ". Not sure what is going on, I would appreciate some help [code] public List<point2d> get_myList(ReturnData3 rd) { List<point2d> points = new List<point2d>(); List<double> x = rd.X3; List<double> y = rd.Y3; int h = …

Software Development c#
Member Avatar for vdeych
0
612
Member Avatar for Stefano Mtangoo

Hi Guys, I need to make remote app control via network where I can lock a computer and terminate all applications running. currently I don't have any technical direction on how to lock and terminate. I have no problem where to start on network and sockets! please point me to …

Software Development c++
Member Avatar for Stefano Mtangoo
0
638
Member Avatar for Member 784833

hey could you please help me :( (((write a function called acronym which read a file which contains words, and create an acronym by taking the first letters of the words in a phrase and making a word from t hem. Then save all acronyms to a file called myacronym.txt.)))

Software Development python
Member Avatar for Member 784833
0
114
Member Avatar for RHaynes

Hi, I'm hoping some of the wonderful minds here can assist me. I have written a Windows application that takes user supplied locations, and extracts data from an Access db and puts it into Excel for a few manipulations (calc a percentile, get a few totals). It works, but it …

Software Development ide vb.net
Member Avatar for RHaynes
0
125
Member Avatar for rajdey1

hi i have written a program that edits registry........now the application works fine for computer administrator but doesnot work for limited user how i can programatically make it possible that my application always run with administrative right irrespective with user account right once the program has been properly installed by …

Software Development operating-system
Member Avatar for PierlucSS
0
165
Member Avatar for faby

Hello everyone, I am presently working on speech synthesis/speech to text on Ubuntu 10.04. So far I've been using festival but I discovered espeak which is also cool by reading other people's previous questions and answers. My main goal is to develop a communication system whereby festival or espeak can …

Software Development python shell-scripting ubuntu
Member Avatar for fpmurphy
0
632
Member Avatar for bbman

Hey, How would I go about finding the amount of values, say "DaniWeb" in a List<string>? I just need a number, not their index. Cheers

Software Development
Member Avatar for bbman
0
134
Member Avatar for Dehatim

I am taking my first class in Java and am having problems with converting lowercase letters to uppercase and am not having success. The program compiles and executes. However, the lowercase letters input by the user are not converted to uppercase. I think the problem is very simple, but I …

Software Development java
Member Avatar for Member 784908
0
703
Member Avatar for Kanoisa

Hi guys, As some of you may know im working on learning more c++ and trying to become a good programmer, iv got things like classes, function pointers and template classes under the belt as far as i can see (although to be honest i have never found a place …

Software Development c c# c++ opengl
Member Avatar for Ketsuekiame
0
198
Member Avatar for bondito

I am a final year computer/networks student, i would like to build a chat/video communication system between two computers or more.I need advice on what sort of software/develpoment methods is required to build the system. I was thinking of using Java to program the system, but really dont know where …

Software Development java video
Member Avatar for Nick Evan
0
214
Member Avatar for prashanth s j

Hi, I get a the following as output after executing a command remotely: for example; No of records Date Status 1 7/7/2010 Progress Total Number of records Processed so far: 1012 Currently active records: 1 Now evidently Python treats this out put as a string. Now my problem is how …

Software Development python
Member Avatar for Beat_Slayer
0
104
Member Avatar for Member 784453

I decided to just try and make a program that would identify what KIND of expression you entered, not even evaluate it. Just for it to say: “You entered an addition equation. ” when you enter an equation with a value, a plus sign, then another value … and so …

Software Development c++
Member Avatar for Member 784453
0
121
Member Avatar for Member 784795

A program that will ask only 3 times for inputting the correct password. The input/output in main.'Four user defined methods -add(), multiply(), arraymanipulation(), stringcases(). While or do-while should be used to repeat the process. On the: arraymanipulation() - input three integers then get the sum and average(2 Decimal only) using …

Software Development java
Member Avatar for javaAddict
0
71
Member Avatar for asad_80

Hi, I am writing a program to change the image of the button when it is clicked and image gets replaced to the original image when the button is clicked again. Have used array of button to do this. I have used integers whose value will continue to change as …

Software Development java java-swing
Member Avatar for NormR1
0
102
Member Avatar for yap_1991

Hi All I really need help in this. Im supposed to "extract" information from text files . the text files looks somethings like this: MODEL 1 ATOM 1 N SER A 253 -19.559 -25.512 -41.130 1.00 0.00 N ATOM 2 CA SER A 253 -18.749 -26.500 -41.895 1.00 0.00 C …

Software Development java
Member Avatar for NormR1
0
644
Member Avatar for NewOrder

[CODE]import java.io.*; class Ex33 { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter the next number"); String input; input=console.readLine(); int n1; n1=Integer.parseInt(input); int sum=0; int sum2=0; int input2=0; input2=n1; int count=1; char dot=','; String Number=""; int RealNumber2=0; String All=""; String RealNumber=""; while(count<5) { System.out.println("Please enter the next number"); …

Software Development java
Member Avatar for Unbidden Ghost
0
170
Member Avatar for Jack_1

I am new to C++. i want to write a program that finds factors of a no. and puts them in array and prints it. i have written a program but it is wrong. PLease correct it.Thank you. [CODE]#include<iostream> using namespace std; int main() { int b,c,i; int myarray= [10]; …

Software Development c++
Member Avatar for AkashL
0
125
Member Avatar for saksaz

hi i have create a database in sql , it is opened in my system, and i shared the database into another system,i was updating my datas from another system, form and database everything is working fine , but the problem is when i try to open the report it …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
2K
Member Avatar for dima shawahneh

Hello every one I am new to Bluetooth programming .. so I need your help plz what I want to do is to make an application programmed in C#.net this application will search for devices with bluetooth on them , then start a secure channel with a mobile via bluetooth. …

Software Development c c# c++
Member Avatar for Ketsuekiame
0
172
Member Avatar for Member 784648

i have problem in displaying a single line in different line... my code is Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.TextBox5.Text = Me.ListView1.Items.Count Dim oFile As System.IO.File Dim oWrite As System.IO.StreamWriter oWrite = IO.File.CreateText(" E:\ " & Me.ComboBox1.Text & ".txt") oWrite.WriteLine(" ") oWrite.WriteLine(" ") …

Software Development vb.net
Member Avatar for G_Waddell
0
94
Member Avatar for Stefano Mtangoo

Hi, I'm beginning JDBC and I'm conversant in SQL. But I need to Connect to database and that where the problem lies. All I have done is adding mysql/j connector Jar to Netbeans project and wrote code below to test. It cannot connect to database. Also IDE throws error: [CODE=JAVA] …

Software Development ide java java-netbeans
Member Avatar for Stefano Mtangoo
0
490
Member Avatar for phoenix911

Hi i have a program that transforms my xml files with the stylesheets i applied and saves them as html file. i also used cooktop to create my stylesheet as well as to see the result... my problem is, that when i transform it, i have a <hr />tag, the …

Software Development c# xml
Member Avatar for phoenix911
0
104
Member Avatar for xaop

Please let me know where i have done the mistake [CODE]#include <stdio.h> #include <conio.h> #include <math.h> void main() { int f=0,s=1,n; n=f+s; if(n<=18); { printf("%d" ,n); f=s; s=n; n=f+s; } getch(); }[/CODE]

Software Development c
Member Avatar for xaop
0
195
Member Avatar for Member 784565

Hi, I have dettach my database from SQL server2005 and attach it on Visual Studio2008. and then make the connections. when i run the program it shows the data is avaliable but when i stop the program and then run it.it show u dosent have any data why its happends. …

Software Development
Member Avatar for Member 784565
0
105
Member Avatar for Naruse

hi all, i want to use asterix character (*) in input box. ho to do this???

Software Development visual-basic
Member Avatar for Member 784683
0
202
Member Avatar for thego!team

Hi, If it's not too much trouble I would appreciate some help with this - how can I iterate through multiple files in the current directory, opening one after another? For example all files with a name matching students_*.html format. I'm not concerned with files contained in sub-directories. I've searched …

Software Development perl
Member Avatar for raul15791
0
504
Member Avatar for Member 784653

Hello, i have created a Office management software in vb.net & access, but i m not able to run it multiple machines.

Software Development vb.net
Member Avatar for raul15791
0
76
Member Avatar for daudiam

When a variable goes out of scope in Java, is it immediately removed from stack and one strong reference to the object it pointed to removed ?

Software Development java
Member Avatar for daudiam
0
4K
Member Avatar for leiger

I have imported the Apache XML-RPC jar files, and got them working (has taken me all day to figure out how to get it working - so I'm kind of frustrated at the moment ;D) ... but that used the execute(..) method which requires two parameters ... there was no …

Software Development api client-server java xml
Member Avatar for leiger
0
2K
Member Avatar for Member 784588

Hello, This code captures an defined area from screen and transfers it into text. But, i have 2 problems here. 1st. - I cant delete temp file ( File.Delete(strFileName) - it says - the file is used by another process. 2nd. - If i capture an area, where isnt any …

Software Development microsoft-office
Member Avatar for nick.crane
0
228
Member Avatar for ishwarverma

Hi guys, i am having some problm while building my C code through VC++6.0. The following error i am getting while building: --------------------Configuration: ReportVARS - Win32 Debug-------------------- Linking... ReportVARS.obj : error LNK2001: unresolved external symbol _BTRV@24 PHCLUST.OBJ : error LNK2001: unresolved external symbol _BTRV@24 BTRVUTIL.OBJ : error LNK2001: unresolved external …

Software Development c
Member Avatar for Member 784668
0
353
Member Avatar for Member 784419

Hello and good evening I'm trying to make a a program that will take text from a input file to a variable in main then use that variable with nested while loops to count all the spaces in the text then display it using cout. I been at this for …

Software Development c++
Member Avatar for tesuji
0
114
Member Avatar for SerialSpiller

only 1 error. the compiler says it 'cannot find symbol' in the line of code approximately 12 rows down that reads "Payroll employee = new Payroll();". Thank You[code]import java.util.Scanner; // Needed for the Scanner class public class PayrollDemo { public static void main(String[] args) { //Declare vaiables String name; int …

Software Development java
Member Avatar for peter_budo
0
88
Member Avatar for youngmoolah

Hi I was wandering if sql tables can determine the order in which forms appear in a delphi application and if so how does it determine this order and will I be able to go in and edit the order. Thank you in advance

Software Development delphi pascal sql
Member Avatar for youngmoolah
0
77
Member Avatar for Hunter2379

Hello. I want to convert a byte[] array to a string, then post it on JTextArea without having it do this: [url]http://img706.imageshack.us/img706/3342/outputc.jpg[/url] [url]http://yfrog.com/jmoutputcj[/url] [url]http://yfrog.com/5soutput2j[/url] [url]http://img208.imageshack.us/img208/7049/output2.jpg[/url] Any ideas???

Software Development java
Member Avatar for peter_budo
0
70
Member Avatar for modalgvr

Hello, I need help to write a Python code in order to from this input (a string, len (data) = 5, len (data[0])=63): ["['1426', '1095', '1094', '1093', '1092', '974', '869', '1572']\n", "['1495', '1305', '1264', '1227', '1215', '1142', '1141', '1115']\n", "['1001', '997', '927', '904', '871', '776', '712', '612']\n", "['567', '538', '429', …

Software Development python
Member Avatar for TrustyTony
0
178
Member Avatar for EnderX

I'm working on a Delphi program designed for use with an Access database. In addition to the onscreen output, however, my boss wants me to provide PHP reports for it as well. We have PHP installed on our servers, so that's good, but the database in question is installed on …

Software Development delphi pascal
Member Avatar for Wolfgan
0
2K
Member Avatar for c++learner

Hello, I am trying to create a function that accepts an integer and a double and squares both values. I have to pass the values by reference. I am new to c++ and don't understand this and I do not understand functions very much when trying to pass more than …

Software Development c c# c++
Member Avatar for NP-complete
0
1K
Member Avatar for youngmoolah

Hi I am new to delphi and I am trying to add a new form to an existing MdiApp program which links to various SQL tables The existing buttons that move the user from one form to another have the OnClick event (CmdBeginTestingClick). This OnClick event automatically attatches the following …

Software Development delphi gui pascal
Member Avatar for Wolfgan
0
365
Member Avatar for Maya Pawar

I have a table which contains InvNo,product,............ Another table 'Product' contains Type,subtype,....,InvNo I have form which has Datagridview and textboxes I want to what, when i go to 1st record (InvNo=101),the datagridview should display how many product which has InvNo=101. How can i bind Datagridview to currencyManager?? Plz help me............. …

Software Development vb.net
Member Avatar for hirenpatel53
0
96
Member Avatar for abbyo

I'm having problems figuring where I need to go next in this project to create an applet from this application... any suggestions where I should start (in layman's terms)? [CODE] import javax.swing.*; public class storageSP { public static void main(String[] args) { //declare variables float res; String kfilm; String sfps; …

Software Development java java-swing storage
Member Avatar for NormR1
0
218
Member Avatar for sisterjo

I need help trying to write the c++ code on the following algorithm. Can anyone please help! I am totally confused on what to do. // Set TotalTax to 0 // Set TotalGrossEarnings to 0 // Set TotalMedicalLevy to 0 // Set TotalEarnings to 0 // Display Heading // Read …

Software Development algorithm c++
Member Avatar for Kanoisa
0
188
Member Avatar for leiger

I am attempting to access an XML-RPC API method using a Java client. I'm fairly certain that the server is written in Python. The API is part of the wiki farm Wikidot.com API info: [url]http://www.wikidot.com/doc:api[/url] API method info: [url]http://www.wikidot.com/doc:api-methods[/url] Does anyone here know what the equivalent of this statement is …

Software Development api java python xml
Member Avatar for leiger
0
549
Member Avatar for rayborn66

I am new to C++ so I am trying to understand why the program behaves differently if you do this [CODE] #include <fstream> #include <iostream> #include <cstdlib> using namespace std; int main() { ifstream fin; ofstream fout; fin.open("getfromthisfile.txt"); if(fin.fail()) { cout << "Input file opening failed.\n"; exit(1); } fout.open("sendtothisfile.txt"); if(fin.fail()) …

Software Development c++
Member Avatar for Kanoisa
0
232
Member Avatar for student.09

Hi, I need help getting started on this program: Write a sort method that uses the bubble- sort algorithm. The bub-ble- sort algorithm makes several passes through the array. On each pass, suc-cessive neighboring pairs are compared. If a pair is in decreasing order, its values are swapped; otherwise, the …

Software Development algorithm java
Member Avatar for student.09
0
324
Member Avatar for blah32

Is there any built in functionality in python as to rename files smartly in windows. I am using os.rename to move files to a higher directory. The problem is, the directory I move the file to could have a file that has the same name. I want to do what …

Software Development file-system gui python
Member Avatar for blah32
0
135
Member Avatar for dreamy_ananya

Hi, I have a project that has 11 classes. Now each class refers to the tasklayer ( another set of multiple classes) and instantiates them everytime. For ex: TaskLayer: contains 3 classes under same namespace. A.cs ------ [CODE]public class A{}[/CODE] B.cs --------- [CODE]public class B{}[/CODE] C.cs -------- [CODE]public class C{}[/CODE] …

Software Development
Member Avatar for vdeych
0
353
Member Avatar for bibiki

hey there, I have two pieces of code that I expected would behave the same. However, what I noticed is that one of them works fine, the other does not at all. I need help from someone experienced to explain what's going on under the hood. the code that does …

Software Development java
Member Avatar for NormR1
0
138

The End.