199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aligatorfurr

I'm having problems writing to a seqential access file in VB 6 [code] My.Computer.FileSystem.WriteAllText(path & "checkinfo.txt", _ ourCheck.employee.PadRight(20) _ & ourCheck.check.ToString("N2").PadLeft(10) _ & ourCheck.chkdate.ToString("N2").PadLeft(10) _ & ourCheck.total.ToString("N2").PadLeft(10) _ & ControlChars.NewLine, True) [/code] my debugging errors are 'padleft' is not a member of char... any advise?

Member Avatar for aligatorfurr
0
100
Member Avatar for emhmk1

Hi there, I have recently added a login system to a site i'm doing and i'm stuck on something thats getting quite annoying! The user registers then gets an email with an link to follow to activate the account. The problem is the $link in the email is just text …

Member Avatar for emhmk1
0
138
Member Avatar for edward_paul05

<email/password snipped> ...,then,if u have an entered now in inbox download the filename system problem for my thesis. my program is in there,the problem is? how can i less and add the quantity of my items in database, for example ball 16 pieces if u have borrow 6 only all …

Member Avatar for jireh
0
114
Member Avatar for serkan sendur

Do i need to declare private class member functions in header files? or just the public functions are enough?

Member Avatar for serkan sendur
0
81
Member Avatar for jdm

I was wondering if it was possible to call a random image in c++. I'm using Dev C++. [code=cplusplus] #include <time.h> #include <stddef.h> #include <iostream> #include <string> #include <ctime> #include <cstdlib> using namespace std; const string password("password"); int main() { string x; cout << "Type the password to gain access …

Member Avatar for Freaky_Chris
0
196
Member Avatar for nishant52

I have some important PHP scripts on my server. My problem is that with the help of a download manager, the user can download those scripts and thus can view the entire source code. For e.g:- If my php script's URL is [url]www.mydomain.com/index.php[/url] Then the user is able to download …

Member Avatar for almostbob
0
121
Member Avatar for nmcgoo108

Hey Guys, I just set up a contact form on my site and used an image as the "send" button. When I get an email from the form, I get x= some number and y= some number. So the form is sending the coordinates where the user clicks on the …

Member Avatar for nmcgoo108
0
200
Member Avatar for daniellamae

[COLOR="Green"][B][COLOR="Green"]uhm... i really need your help about this... below is the problem but i have my own turbo C code. and the problem in my code is that i cannot total and average the scores that i restore in my arrays...[/COLOR][/B][/COLOR] write a program that will process the exam scores …

Member Avatar for ajay.krish123
0
293
Member Avatar for jsosnowski

I am trying to use a clientdataset without an associated Table. I am attempting to extract and edit data from a Cad program. The Cad program has an interface in which the user selects specific entities within the Cad file (lines, circles, text etc) and provides basic information and attributes …

Member Avatar for mcrosman
0
923
Member Avatar for nagatron

Hallo to all VB programmers. . .I need help in viewing database using list. Please help me. . .I have this list of names in the database and I want to view it using listbox. Thank you for the help. . .God Bless Regards, Neil

Member Avatar for jireh
0
90
Member Avatar for RahulV

Hi, My parent MDI form (MDIForm1) has opens various child forms on their respective menu click events. I want to know that : 1) How will I check if a particular child form is already open? 2) On closing the MDIForm1 if any of the child forms are open then …

Member Avatar for jireh
0
236
Member Avatar for RahulV

Hi, Im not able to center a child form of a parent MDIForm (MDIForm1) it shows up error message "Invalid property value" while setting the StartUpPosition property to 1-CenterOwner, or 2-CenterScreen, or 3-WindowsDefault of the child form. How can I set all the StartUpPosition property of the child form? Please …

Member Avatar for jireh
0
691
Member Avatar for dileeppaul
Member Avatar for ddanbe
0
178
Member Avatar for riahc3

Lets say people say 1,3,4,6,9,10,44 And the correct answer is 5. How do I calculate the closest number to 5? Thanks.

Member Avatar for ajay.krish123
0
124
Member Avatar for skatamatic

I'm trying to right a red-eye reduction algorithm for an assignment at school. The user is asked to click on 2 eyes in an image, then the algorithm takes over and corrects the redness. The algorithm works just dandy, but I'm having a hard time capturing the actual location (in …

Member Avatar for skatamatic
0
163
Member Avatar for RenFromPenn

Hi, I am working on a program that opens a file, reads the text, converts the text to uppercase, and then displays it on the screen. If I write the program to just type in a string and convert it, it works fine. If, however, I write it to open …

Member Avatar for ajay.krish123
0
140
Member Avatar for arunprabhu.1

Hi all i've a file sysdef.dat which looks similar to this : temp = 43; data = 23; temp2 = 34; ... and it goes on up to some values... how do I read only the values of temp and temp2(i.e 43 & 34) from this file... I've also tried …

Member Avatar for me_ansh
0
82
Member Avatar for kishendra

C PROGRAMMING ASSIGNMENT 1. Express, using pseudo code, the algorithm to compute the nth root of a whole number (for example, the square root of the whole number for is 2). 2. Prepare a flow chart for the above algorithm. 3. The following has to do with the design of …

Member Avatar for me_ansh
0
158
Member Avatar for desiguru

In my mysql data is something like this Name 1.0 Name 6.0 Name 5.2 Name 4.8 Name 10.00.258 now when I short that column it shows up like Name 6.0 Name 5.2 Name 4.8 Name 1.0 Name 10.00.258 I want that 10 to be on top Is there any way …

Member Avatar for desiguru
0
107
Member Avatar for arvindikchari

Hello I have a template creator script where the user pays for a template and then downloads it. What i want is this: there should be Download Template button on the page which should be initially disabled. In an IFRAME within this page, the user will be directed to paypal …

Member Avatar for buddylee17
0
102
Member Avatar for Avaviel

This is for a class. Two of the files are provided, and I need to write the third. I'm having trouble with a constructor in a class. The constructor is called with 'Logbook testLog(month,year)' and it saves the month and year correctly. The daysInMonth function works fine. My problem is …

Member Avatar for Avaviel
0
175
Member Avatar for shasha821110

is there have a way the stack's initial size is 0, it should still be possible to push values onto the stack. Here is my code: [code=cplusplus] class IntStack { int *p; int top; int maxlen; public: IntStack(); IntStack(int); ~IntStack(); void push(int); int pop(); void push (int a[], int array_size); …

Member Avatar for shasha821110
0
92
Member Avatar for Dendei

Hi i got an problem i need to read from an text file that i got from an excel file at start. so i want each block in the excel file to have one space at the array i saved it so it got seperated by ; example: [code] 4 …

Member Avatar for Dendei
0
231
Member Avatar for rajeesh_rsn

hi What is wild card search ? How can make it using php and mysql to search a "shop" from a mysql table which contains as follows |Shop Name | Address | Phone Number | Details I need to search all in this details and show the results.. Please help …

Member Avatar for jrdark13
0
103
Member Avatar for ashishchoure

hi i want to know how to delete lines from text file using command prompt .is there any specific MSDos command for doing this. or any tool available which read,write text file by running command prompt.

Member Avatar for Murtan
0
95
Member Avatar for AdRock

I'm trying to get each line of text of a file split into words and then put into an array I found an exmaple oc cpluscplus.com and their example works but when i try to edit to make changes to read the line of text from a file i get …

Member Avatar for Murtan
0
2K
Member Avatar for daviddoria

I would expect this to ouput the 5 doubles, but instead I get the output below. [code] vector<double> a(5); a.push_back(1.2); a.push_back(1.3); a.push_back(1.4); a.push_back(1.5); a.push_back(1.6); vector<double>::iterator i; i = a.begin(); while( i != a.end() ) { cout << *i << endl; i++; } [/code] [code] 0 0 0 0 0 1.2 …

Member Avatar for daviddoria
0
77
Member Avatar for Nicklorion

Hi peeps i've got an problem with space and tabs in a text file. i've build an app that reads a file and creates an array out of every line. this works just fine but then I noticed that the array is cut of after every space and/or tabular. it …

Member Avatar for Nicklorion
0
143
Member Avatar for rciprogrammer

I am writing some code to talk to a device via a serial port. I am testing my program by using a loopback, so I can see that what I send is correct. I am sending an unsigned hex array, and when I display the values (before they are sent), …

Member Avatar for death_oclock
0
121
Member Avatar for harish_s

Hi All, "incremental" flag is used for incremental compilation i.e. when this flag is used, csc compiler will compile only those file that have changed. [B]This flag is exist in C# 1.1, but obsolete in C# 2.0 compiler[/B]. Can anybody tell me the replacement of this flag in C# 2.0 …

Member Avatar for ddanbe
0
196
Member Avatar for prethum

hi How to reverse a string without using strrev() i want the output to be like Two dogs in the farm owT sgod ni eht mraf thank you

Member Avatar for prethum
0
69
Member Avatar for adam291086

I have this script and it was working a couple of weeks ago. Now when i run it nothing is printed out other than white space. WHY??? [CODE]#!/usr/bin/env python from xml.etree import ElementTree as ET import os import urllib def find_text(element): if element.text is None: for subelement in element: for …

Member Avatar for adam291086
0
106
Member Avatar for revenge2

hello there. I'm using notepad++ at the moment and i want to switch to something a little more 'better' suited to python. Ive already gone through the huge list of text editors on [URL="http://wiki.python.org/moin/PythonEditors"]wiki[/URL]. but yeah cant decide.... what would you recommend?

Member Avatar for Ene Uran
0
91
Member Avatar for Aundrey

Hi Guys, I'm looking for this program that i can type in about 10 letters and 10 numbers and it will generate for me all the sequences that exist in those numbers, is there such program?

Member Avatar for Nick Evan
0
142
Member Avatar for palaboy
Member Avatar for TobbeK

Hi I am completely new to C#, so please bare with me .... What I am like to do is to pass variable values between the methods below, and finally print the results in the last method. I have commented the code with explanation. This is for test purposes and …

Member Avatar for ddanbe
0
163
Member Avatar for csharplearner

Hello all, Are UDFs written only on SQL Analyser in within the SQL? Can we use them in programming code?How to use them in the code? What are the actual benefits of UDFs? We can write the method in the code and connect to the database and execute which yeilds …

Member Avatar for csharplearner
0
117
Member Avatar for sciwizeh

Hi, I've been testing GLFW joystick, trying to write a simple program to rotate a cube with the joystick. The fact that I'm using GLFW may complicate matters for debugging, but it's the only OpenGL library with joystick support that i have found. I don't believe that it should be …

Member Avatar for MattEvans
0
1K
Member Avatar for jake88

Hey, I have a template xml file that i am passing a pointer to into a function. In that function i need to read and write into the template and pass it as the output file. What is the best way to go about reading and writing in the template? …

Member Avatar for jake88
0
289
Member Avatar for riahc3

Hey Why does the following code comply in Dev-C++ and it DOESNT in MS VS 6.0? [code=C] #include <ctype.h> #include <errno.h> #include <limits.h> #include <float.h> #include <locale.h> #include <math.h> #include <setjmp.h> #include <signal.h> #include <stdarg.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> void main() { int num; …

Member Avatar for riahc3
0
134
Member Avatar for Ole Raptor

I have a program that uses a Stored Procedure to create a report. Unfortunatly the SP has a problem in the VB6 code. The program could pull the information perfectly until 2 days ago. Now the program times out after 60 seconds after sending the params to the sp. I …

Member Avatar for Ole Raptor
0
91
Member Avatar for navinlearns

I have been working on a program that Should Scan a small Subnet i.e for eg 10.1.1.1 to 10.1.1.255 with the subnet mask 255.255.255.0 I am attaching screenshots of the main screen of my project as "Screenshot 1" source code :jMenu.java I am posting the code here: [code=java] package projectpack; …

Member Avatar for masijade
0
177
Member Avatar for tzushky

Hello , I have had a little surprise and maybe because I haven't read the manual well enough or can't understand all the underlying details. Imagine a small class and another file's main using an instance of that class. If I try to modify (not define !) an INEXISTANT attribute …

Member Avatar for Gribouillis
0
227
Member Avatar for morecrab

Hi all, I wanna take file from a folder in ftp. I have connected. But when i want to change directory, it throws an exception : 505 Here's the code : nmFtp.Host := '10.11.12.3'; nmFtp.UserID := 'anonymous'; nmFtp.Password := 'kob3'; nmFtp.Connect; nmFtp.ChangeDir('/apolo/'); Any Adv?

Member Avatar for LizR
0
116
Member Avatar for maykofs

Hello! Can somebody help me? I'm reading C++ for Business Programming and there is a exercise asking for a program able to write the folowing: X XXX XXXXX XXXXXXX XXXXXXXXX XXXXXXXXXXX XXX Using nested loops someone can solve this?

Member Avatar for yukapuka
0
141
Member Avatar for ezkonekgal

When you put an item on a queue, how do you show the items inside the queue? do you use peek method? the situation is a linked queue...

Member Avatar for ezkonekgal
0
139
Member Avatar for Speedy Hawk

I am only beginner in this. I don't understand all of code, most of it was given to me to work on. I am trying to do checks on MySQL on workshift table. There is dayshift, eveningshift and nightshift (Other two fields are shiftid, name and date). They are drop …

Member Avatar for diafol
0
86
Member Avatar for Speedy Hawk

This is my coursework. It is test a web server written in C++ code. It must be concurrent server using Posix threads. I have got skeleton server programe already given to me (Everyone gets that). That works perfectly. I am using linux to test and write the code. I need …

Member Avatar for Speedy Hawk
0
131
Member Avatar for Board22

plz help me , i would be very thank full to you i want to build a software in vb6 with folloeing features 1. i want to enter a numerical data sequenc vise in five rows and unlimeted colums like entering a data in microsoft office exel. whether it would …

Member Avatar for Board22
0
143
Member Avatar for dinilkarun

Please help me in positioning the scroll bar at the bottom of text. Please help me by providing the code snippet.

Member Avatar for Comatose
0
264

The End.