132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for voidyman

Hi, I want to ftp a file to a location and then kickstart a process there to work on the file. I tried using !rexec but it does not seem to be working too well. I am not using the .netrc file(if that helps you understand my problems better) Thanks …

Software Development session shell-scripting
Member Avatar for voidyman
0
104
Member Avatar for fruitymo

Hello, does anyone know how to unwrap an Object? for example z and y are of type Element and 5 is a primitive double. I can write an operator+ function to add the two object together ie (z+y) but I don't knw what to do to add 5+z, Z is …

Software Development c++
Member Avatar for fruitymo
0
197
Member Avatar for dappe

Hey, I just started programming but im stuck. so lets say I have a wordlist with words containing 2-12 letters and I want to remove all words containing less than 3 letters or more than 7 letters. How would i do that? Another problem I have is, I want to …

Software Development python
Member Avatar for TrustyTony
0
8K
Member Avatar for denvious

Hello All, I'm currently having an issue trying to retrieve elements that have been saved within my arraylist. I currently have two classes, Project and Staff. In the Project class, i have declared an ArrayList of type [i]staff[/i], as seen below: [CODE]public static ArrayList<Staff> staff = new ArrayList<Staff>();[/CODE] In the …

Software Development java
Member Avatar for denvious
0
9K
Member Avatar for chandnigandhi

how to use video files in c#???in which format we can use video files in c#???which control we can use for video files in c#???

Software Development c# video
Member Avatar for shrutipopat
0
2K
Member Avatar for Chuckleluck

So I want to make a text-based game that has different maps, displayed in ASCII art-style. I've been tinkering with fstream, and I wrote up this code: [CODE]#include <iostream> using namespace std; #include <fstream> int main() { ifstream indata; int i; int j; int k; char grid[9][9]; char letter; indata.open("grid.txt"); …

Software Development c++ file-system
Member Avatar for Chuckleluck
0
607
Member Avatar for Cap'nKirk

Hi, just started today with trying to implement a Thread in my application and have come across a problem that I can't seem to figure out. The application asks the user to enter their userid into a TextBox on the main form which is used to download a specific XML …

Software Development api hard-drive
Member Avatar for Cap'nKirk
0
236
Member Avatar for akhilchandranms

[CODE]#include<stdio.h> #include<conio.h> void main() { int x=01234; printf("%d",x); }[/CODE] the above c code will produce output 668(value of x) why?

Software Development c
Member Avatar for cse.avinash
0
102
Member Avatar for zachattack05

Any idea how to determine if the vertical scroll bar is active in a multiline textbox? Active as in, the user can click the arrows and the text is long enough to scroll. Similiar to being enabled/disabled? I'm trying to have a mouse event so when the user moves their …

Software Development
Member Avatar for zachattack05
0
1K
Member Avatar for Cainer

Hi, I found a problem with operator overloading. Consider following class: [CODE]class Number { public: int value; int operator +(int v) { return value + v; } }; Number n; n.value = 5; [/CODE] Now, n+5 successfuly returns 10, but 5+n gives error [QUOTE]error C2677: binary '+' : no global …

Software Development c++
Member Avatar for gerard4143
0
235
Member Avatar for harsimran05

i have taken two fields date of issue and date of maturity like this [CODE]try { tDateofIssue=new JFormattedTextField(new MaskFormatter("##-##-####")); tDateofIssue.setBounds(200,130,125,30); c.add(tDateofIssue); } catch (Exception ex) { ex.printStackTrace(); } try { tDateofMaturity=new JFormattedTextField(new MaskFormatter("##-##-####")); tDateofMaturity.setBounds(200,400,125,30); c.add(tDateofMaturity); tDateofMaturity.addFocusListener(this); } catch (Exception ex) { ex.printStackTrace(); }[/CODE] and taken both the field of date/time …

Software Development java
Member Avatar for JeoSaurus
0
97
Member Avatar for Reverend Jim

I wrote this 3D Breakout game as a sample project to learn both Python and the visual module, vPython. It is based on a similar game I had on my Amiga back in the 80s. I don't expect that my Python is either standard or as elegant as it could …

Software Development gaming image python
Member Avatar for Reverend Jim
0
499
Member Avatar for king_saqib

hi to all geniuses i have created a webbrowser but how can i copy any text foem a website and how can i save the passwords can anyone heip me please help me in this project

Software Development visual-basic
Member Avatar for SpiritualMadMan
0
115
Member Avatar for king_saqib
Member Avatar for SpiritualMadMan
0
115
Member Avatar for dakaboguy

Im trying to select data from a MS access database, i have done this for SQL server before with no problem, but now with a Access database i get a run time error for "No value given for one or more required parameters". Below is my code [CODE] Private Sub …

Member Avatar for dakaboguy
0
1K
Member Avatar for eddieteddie

Hi everyone... I feel like this is the end of everything....I cannot do this java, I have reviewed the lecture slides again and again and I still cannot do it....Yes I know I am stupid but I really do need help.... This is my assignment, and it is simple (For …

Software Development java pdf
Member Avatar for NormR1
0
191
Member Avatar for noamwegner

i have the groups names in the database after getting them i get the manager from the active directory using directory searcher like this [CODE] public string getGroupManagersMail(string groupname) { DirectoryEntry drtEnt = new DirectoryEntry("LDPA=//DC=domain,DC=mil"); DirectorySearcher ds = new DirectedorySearcher(drtEnt, "sAMAccountName" + groupname); ds.PropertiesToLoad.Add("managedby"); SearchResult sr = ds.FindOne(); [/CODE] i …

Software Development
Member Avatar for piyush.agrawal
0
243
Member Avatar for TIP.Synergy

i got an error >>> Arithmetic operation resulted in an overflow. please help thanks in advance [CODE]Private randomClass as new Random For i = 0 To CInt(10) - 1 strId &= Mid(strCodes, Int(Len(strCodes) * randomClass.Next() ) + 1, 1) Next For i = 0 To CInt(4) - 1 strId2 &= …

Software Development vb.net
Member Avatar for Pgmer
0
702
Member Avatar for delcatto

A fast and universal way to get all the user information on the active directory with export to csv. Don't forget to make a reference to system.directoryServices. [CODE] 'CONNECT 'with Authentication 'Public enTry As System.DirectoryServices.DirectoryEntry = New DirectoryServices.DirectoryEntry("LDAP://YOURSERVER", "USER", "PASSWORD", DirectoryServices.AuthenticationTypes.Secure) 'no Authentication Public enTry As System.DirectoryServices.DirectoryEntry = New System.DirectoryServices.DirectoryEntry("LDAP://YOURSERVER") …

Software Development vb.net windows-server
Member Avatar for piyush.agrawal
0
2K
Member Avatar for NetJunkie

So, I am running into an issue. I am wanting to display the contents of the open CMD window in my Rich Text Box. Any help? Thanks.

Software Development vb.net visual-basic
Member Avatar for Teme64
0
542
Member Avatar for gedas

hi guy, i am trying to create a text wrapping method soemthing like this [CODE] public void textwrap( String text, int width){ } [/CODE] what i need it to do is to print the text in a column of specified width. for example a user set width to 20, what …

Software Development java
Member Avatar for Zaad
0
227
Member Avatar for pro_gee

help please i am creating a game and i would like to record the score and name ounce the player is game over.. you can also view the records

Software Development vb.net
Member Avatar for Lipe Shtogu
0
122
Member Avatar for Lipe Shtogu

Hello to everyone i have a problem with my project. in one form i have 2 textboxes in one i have displayed the serial number. in the second i want display the current user logged on software. how can i display the current user logged in ????? the code for …

Software Development display vb.net
Member Avatar for Lipe Shtogu
0
139
Member Avatar for mehmedean

Let's think about a small program that has a form and two panels. There is a menu strip at the top and under the "File" menu there are 2 options: "New Form" and "Admin" (and "Quit"). There are 60 fields in different groupboxes in panel1 (a detailed registration form). A …

Software Development c#
Member Avatar for mehmedean
0
1K
Member Avatar for coroll

Hi all, I have a windows apllication project. Last night i saved it. Today i opened it and started to work with it by adding new methods and etc. then i compiled and ran. But it does the previous things not the new ones. Always last night version runs. PLZZZ..help …

Software Development
Member Avatar for coroll
0
83
Member Avatar for vn412

Hi, I generated columns from database and getting cell values from database too. my problem is that for some columns I have to generate checkbox in each cell at runtime. I m using visual studio 2010. Please Help Thanks

Software Development vb.net visual-studio
Member Avatar for Patel Pritesh
0
300
Member Avatar for Kyren5058

Hi there, right now my teacher wants me to make an outline of a half-diamond with numbers, using for loops, kind of like the following: [code] 1 2 3 4 5 4 3 2 1[/code] The number 5 is a user input, so the half-diamond's width would be controlled by …

Software Development c++
Member Avatar for cherrymae.calma
0
282
Member Avatar for walid86

hi there, i'm creating an app in C# which allows users to select an image by double clicking the "pictureBox1", from there it selects the image, creates a new Graphics object and passes the Bitmap to it. Once the picture has been loaded the user should be able to move …

Software Development c#
Member Avatar for walid86
0
1K
Member Avatar for valestrom

Pretty sure this would be the right area to post this, I recently started to make this program in Visual c++ 2010, and Before I added the GCF.h form, I had no errors at all. Now I get all these 1>------ Build started: Project: Valestroms Calculator, Configuration: Debug Win32 ------ …

Software Development asp.net c++ visual-studio
Member Avatar for pseudorandom21
0
673
Member Avatar for siaswar

Hi, I want to call my simple stored procedure in my app's local database. This is my procedure: [CODE]ALTER PROCEDURE dbo.booklist AS select * from book RETURN[/CODE] ---------- Actually I should run my query that is simple and return list of books (SELECT * FROM book). I should do this …

Software Development
Member Avatar for ChhayaDeshmukh
0
137
Member Avatar for RedexProGamma

[CODE]Public Class frm_Main Private Sub btn_Start_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Start.Click Timer1.Start() End Sub Private Sub btn_Stop_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Stop.Click Timer1.Stop() End Sub Private Sub btn_Reset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Reset.Click tbx_Min.Text = "10" tbx_Sec.Text = …

Software Development vb.net visual-basic
Member Avatar for hericles
0
248
Member Avatar for dolfan55aj

I'm a new member and this is my first post, so be gentle ;) It's been a while since I've gotten a chance to practice with recursion so to say I'm a bit rusty is an understatement. Not to mention I've never implemented it with a linked list. My current …

Member Avatar for mike_2000_17
0
525
Member Avatar for existinglady

This is our new and revised program... for the registration: I thank all of those people who helped me. for the search function: so I've manage to, actually my teammate managed to get a search function working for edit function: we havent figured it out on what methods are gonna …

Software Development c++ ios visual-studio
Member Avatar for existinglady
0
2K
Member Avatar for Anil2447

Here is the codes for Binary Search and Linear Search. [B]Binary Search[/B] [CODE] #include<stdio.h> int main(){ int a[10],i,n,m,c=0,l,u,mid,j,x; //variable assigning printf("Enter the size of an array->"); //Entering the size of the array scanf("%d",&n); printf("\nEnter the elements of the array->");//Entering the array elements for(i=0;i<n;i++){ scanf("%d",&a[i]); } for(i=0;i<n;i++) { //loop to sort …

Software Development c programming-construct
0
116
Member Avatar for guccimane

I wrote a program that opens a file using the command line (cmd), calculates a bunch of numbers, then outputs the results to another file. The program works fine, but when I tried to alter my code using classes, all of a sudden the program is not fine. Here is …

Software Development c++
Member Avatar for guccimane
0
948
Member Avatar for SquigsSquigley

Hi all. I know that others have posted about Rock Paper Scissors, but none of their posts are exactly what I am needing. My issue is that for my program, we are required to use at least 1 switch and 1 if statement, as well as keep track of the …

Software Development c++ gaming
Member Avatar for raptr_dflo
0
1K
Member Avatar for dooper

here is my code: [code]#include <fstream> #include <iostream> #include <string> #include <fstream> #include <string> using namespace std; void displayjulianDates(int, int, int, int, int, int); int main() { //Declare variables int month1; int day1; int year1; int month2; int day2; int year2; //Gets input from user cout << "Please enter the …

Software Development c++
Member Avatar for Masterlynx
0
308
Member Avatar for perly

Hi, I have a code (below) that reads from a file and output the file content a fter inserting a tab and & in-between different elements into another file. [CODE]my $REPORT_FILE = 'report.txt'; $allRfile = 'AllidentifiedMetabs1.txt'; open(ALL,"<AllidentifiedMetabs1.txt") || die "can't open $allRfile $!"; my $line = <ALL>; ($ID,$name,$M2, $M3, $M4, …

Software Development file-system perl
Member Avatar for perly
0
116
Member Avatar for NexG

import java.util.Scanner; public class fibonacci{ public static void main(String[] args){ int n=0; int fib = n+1; Scanner X=new Scanner(System.in); System.out.print("Enter # of the term: "); n = X.nextInt(); for (int i=3; i<=n; i++) { i = i-1 + i-2; } System.out.print("Term is: "+n); } } I know the algorithm is …

Software Development algorithm java
Member Avatar for NexG
0
157
Member Avatar for valestrom

I have a function, kinda like a main menu. But no matter what it always picks the first statement, even if it doesn't match the parameters of it's if statement, so it nevers get to the exit game function. So I can't use my close game function, and I would …

Software Development c++
Member Avatar for valestrom
0
2K
Member Avatar for ceyezumma

Soon I will be needing to generate reports and have a way to send emails. Is there a good approach to accomplishing this? I will have data coming from Apache Derby Database and forms. If I could get some key words etc I could start to study Possibilities. Any links …

Software Development apache api java
Member Avatar for masijade
0
87
Member Avatar for ceyezumma

Hello: TABLE NAMES : /////////////////////////////////////////: : TABLE NAMES : 10.6.2.1 - (999685): : TABLE NAMES : Apache Derby: : TABLE NAMES : Apache Derby Embedded JDBC Driver: : TABLE NAMES : 10.6.2.1 - (999685): : TABLE NAMES : /////////////////////////////////////////: : Hello I have a problem understanding why my Prepared Statement …

Software Development apache java
Member Avatar for masijade
0
368
Member Avatar for JoshuaBurleson

I hate to complain, but I'm not terribly impressed at the documentation for utilizing binding, it covers quite a bit but not common stuff, or maybe I'm just missing it. I was wondering how I could make the <RETURN> key equivalent to a <BUTTON1> click when a button is highlighted …

Software Development gui python tkinter
Member Avatar for TrustyTony
0
370
Member Avatar for OblibSystems

Have just finished my first attempt at a playable and interesting game in VB. Originally started in VB 6 i decided to re-write and expand in VB 2010. Just wondering if anyone has any ideas or comments on how it could be expanded/improved. :)

Software Development gaming visual-basic
Member Avatar for OblibSystems
0
97
Member Avatar for mhillig1

[B]What I want on the first run thru[/B] is to ask for input, print input, ask for 2nd input, print 2nd input. End the first run, saving inputs to text file. My results are: input 1 input 1 again. input 2 input 2 again. On the 2nd time thru, it …

Software Development python
Member Avatar for JoshuaBurleson
0
1K
Member Avatar for Um num num

heyy pplz I'm new to programming and C just now decided to set myself a project and chose to make a simple roulette game so far i got a basic idea but would require too much code and am sure there must be a simpler way.. if anyone could help …

Software Development c
Member Avatar for ProgrammingGeek
0
158
Member Avatar for Lek Plepi

i have two DatePickers on form and I want filter between two dates. So when i click search in lsitview display the dates between can anyone tell me how to deal with?

Software Development vb.net visual-basic
Member Avatar for sgt_toasty
0
144
Member Avatar for jonoman

Hi, I want to create a function to test the first character of a string to see if it is lower or upper case, and change it accordingly. However, the rest of the string has to stay the same. Dim S As String = "C:\Users\profile" should be returned as "c:\Users\profile" …

Software Development vb.net
Member Avatar for jonoman
0
93
Member Avatar for ntrncx

how i can pass inside a vector an array? i know how to do it without classes but i don't know how to do it with constructor. i try to create a 2nd constructor that takes array of integers and the size of array and initialize a vector. header [CODE]#ifndef …

Software Development c++
Member Avatar for ntrncx
0
147
Member Avatar for king_saqib

how to run an exe automatically we system starts

Software Development visual-basic
Member Avatar for debasisdas
0
110

The End.