199,114 Archived Topics
Remove Filter ![]() | |
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? | |
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 … | |
<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 … | |
Do i need to declare private class member functions in header files? or just the public functions are enough? | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 | |
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 … | |
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 … | |
as per my opinion c# is better than vb.net even if in the case of web development | |
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. | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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); … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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), … | |
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 … | |
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 | |
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 … | |
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? | |
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? | |
can you give me some samples??thx | |
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 … | |
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 … | |
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 … | |
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? … | |
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; … | |
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 … | |
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; … | |
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 … | |
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? | |
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? | |
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... | |
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 … ![]() | |
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 … | |
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 … | |
Please help me in positioning the scroll bar at the bottom of text. Please help me by providing the code snippet. |
The End.