64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for lost_scotsman

Hello all, I have what at first glance seems like a very simple problem but I have been getting bogged down with it for the last few days now and would appreciate some help. I have a series of text files to read in, and wish to convert them to …

Member Avatar for lost_scotsman
3
982
Member Avatar for walter clark

I've copied an entire project/solution to another folder so I could create a different version. I made some changes in the source code that is unrelated to the Windows user I/O stuff. I've done that before, but this time, it found errors in a... form1.h instead of Form1.h Where did …

Member Avatar for walter clark
0
160
Member Avatar for atrophiedsoul

I could use some assistance in trying to streamline this jumble of code into maybe a function, or at least slimming this down some. with this code I am counting the amount of images in a folder (4 folders actually) and then getting that result, and supposedly adding one to …

Member Avatar for atrophiedsoul
0
103
Member Avatar for mamtha

I have to create a report based on the customer for particular order. For example find all the customers who ordered an item ‘ABC’ for current month and look back 11 months to find out if the same customers ordered the same item and list all the customers who ordered …

Member Avatar for cgyrob
0
107
Member Avatar for exzibit23

how can i connect SQL(local server) to VB6?? Please give me the STEP BY STEP PROCEDURE.. i dont really have idea on how to connect SQl to Vb6

Member Avatar for vb5prgrmr
0
74
Member Avatar for hashinclude

Hello, please bear with me if this question is stupid. I'm fairly new to this and i really need to know. is it possible to use [B]"SELECT COUNT"[/B] to get the number of DIFFERENT values one column currently holds grouped by a value from another column.?

Member Avatar for cgyrob
0
155
Member Avatar for tdeck

I'm probably going about this in the wrong way, but I have a stack of Objects, and some of these can be ArrayLists. I want to be able to pop an object that is actually an ArrayList off the stack, unbox it, add something, and then pop it back on. …

Member Avatar for tdeck
0
151
Member Avatar for trtcom1

Hi there, I am having problems with editing/updating a record. I have 3 tables: Student (studentNum,firstName,lastName,ClassRoom), course (courseID,courseTotalCapacity), course_allocation (studentNum,courseID). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. The total number of students allowed for each of the 3 courses is courseTotalCapacity = 20. Meaning that only 20 students can register for MATHS, …

Member Avatar for trtcom1
0
464
Member Avatar for goody11

I can't figure out how to make my save function append to the txt file it always overwrites. Also, I'm trying to figure out how to make each set of words on a newline in the text file. Here is the function: [code] BOOL SaveTextFileFromEdit(HWND hEdit, HWND hEdit2, HWND hEdit3, …

Member Avatar for bdusablon
0
128
Member Avatar for tulipputih

I have error on this line.. what should I change..thank you [code=php] mysql_query("INSERT INTO lesson (subject,year,learningArea,objectives,ability) VALUES ('<?php echo $onrow["subject"]', '<?php echo $onrow["year"]', '<?php echo $onrow["learningArea"]', '<?php echo $onrow["objectives"]', '<?php echo $onrow["ability"]' ") or die(mysql_error());[/code]

Member Avatar for tulipputih
0
188
Member Avatar for Yaserk88

Hello! I am trying to open this CSV file separated by semicolons. I know how to open a text file and I tried searching the way to open a CSV, but most methods seemed extremly complicated. Does any one have a simple suggestion that would work with what I already …

Member Avatar for Ancient Dragon
0
4K
Member Avatar for auhuman

Hi, i searched a lot in JAVA documentation, but couldn't find a buffer API 1) can grow dynamically. 2) the existing content must shift right if i insert a new element in the existing content index

Member Avatar for auhuman
0
86
Member Avatar for Stals

Im using [code]For Each foundFile As String In My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.SpecialDirectories.MyDocuments, _ FileIO.SearchOption.SearchAllSubDirectories, "*element.txt") ListBox1.Items.Add(foundFile) [/code] to get file paths. There are 3 elements for example. And i need them to become variables. (a,b,c) And show in labels [code] Label1.text= a Label2.Text =b Label3.Text =c [/code] Label1 will show the …

Member Avatar for steve11
0
108
Member Avatar for babbu

i have a datagrid view. i am using data table to display data [code] oledbcon.Open() m_daDataAdapter = New OleDb.OleDbDataAdapter("Select * from Customer", oledbcon) m_daDataAdapter.Fill(m_dtCustomer) m_cbCommandBuilder = New OleDb.OleDbCommandBuilder(m_daDataAdapter) m_rowPosition = m_dtCustomer.Rows.Count dataGridView1.DataSource = m_dtCustomer oledbcon.Close() [/code] this works great. later i want to display only those records tht the user …

Member Avatar for g@sha
0
2K
Member Avatar for ch_nilanjan

Hi, I am using VS2005, C#. Am trying to populate an image in Image(control) at run-time. The image to be populated is not fixed. It is decided by the a criterion in the previous page. Can anyone help me with code snippets.

Member Avatar for ch_nilanjan
0
106
Member Avatar for xuexue

hi guys, i already made a simple website using the localhost XAMPP, everything is going well, now i want to upgrade it, meaning i want it to be uploaded in a web server? is there any sites you could refer to me for the complete step by step procedure of …

Member Avatar for faizt1
0
113
Member Avatar for vuyiswamb

Good Day all I have a Sp that is written like this set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo].[Import_RegistrationsXM] @xml ntext AS set nocount on DECLARE @doc int EXEC sp_xml_preparedocument @doc OUTPUT, @xml TRUNCATE TABLE _RegistrationXM INSERT INTO _RegistrationXM SELECT * FROM OPENXML ( @doc , 'Import/Item' …

Member Avatar for vuyiswamb
0
90
Member Avatar for Piya27

Hi All, I have recently installed Visual Studio 2005 after system recovery... and now when I start debugging any program, it shows me the following error : [b]"Error while trying to run project : Unable to start debugging. The Binding handle is invalid."[/b] Please Help.

Member Avatar for Piya27
0
51
Member Avatar for VinayRok

Hi friends......... Am using a one Textarea and Text box and a Button in my application.. whenever i write a text in textbox and click on the button . textbox value is copied to Textarea... This logic i have written in Button_Click event. Now in an situation i dont want …

Member Avatar for kameswari
0
251
Member Avatar for alski

Hi people. I have a time and attendance module in VB6 which saves transactions (ADO) in MS-SQL if there is a LAN connection, and save it locally (MS Access) when offline. The trigger is when someone logged in. This is what I did: [Code] Set cn = New ADODB.Connection cn.Open …

Member Avatar for alski
0
104
Member Avatar for firoz.raj

simple want when user click on close form button.all the form should close except Mdi form.but MDI Form also get close.Kindly let me know. any help would be Highly appreciated.here is the code what i have written. [code=vb] Private Sub FrmClose_Click() Dim frm As Form For Each frm In Forms …

Member Avatar for firoz.raj
0
86
Member Avatar for itisnot_me

ok what i am trying to do is math between different values and then echo something if that number is in between those values [CODE] //gives % $bal = $other / $first + $second + $third; //checks what percent is in between if($bal < 50) { echo "3pt"; } //if …

Member Avatar for itisnot_me
0
82
Member Avatar for StuartMillner

I am writing a program that reads paragraphs from a word document and puts them between XML tags. I have a class which handles the loading and reading of the word document. The document loads fine, and the program can read all the words into the program, but not on …

Member Avatar for StuartMillner
0
972
Member Avatar for aparnesh

I have created a timer function using setTimeout. The function works perfectly in IE and Opera but doesn't work in FireFox or Netscape 6. I checked out my Javascript book where it says setTimeout is compatible with all browsers. So where am I going wrong ? [CODE]function showPics() { if …

Member Avatar for Nine of Hearts
0
518
Member Avatar for Whilliam

Hello. Im new to Java. I don't know much about Java's codes but I have a good background in C. Im using NetBeans 6.7. I have this code: [code=java] package javaapplication1; public class Main { public int x = 3; public int test(){ x += 4; return x; } public …

Member Avatar for kvprajapati
0
130
Member Avatar for laghaterohan

hello , here is my code below to unzip a file and list only the file names contend in that folder in the listbox below , the code is working properly however am unable to get only the file name in the list box. In the listbox i get entire …

Member Avatar for laghaterohan
0
116
Member Avatar for Jean Gwyneth

hi, i have my php pages done already and it's running good in my localhost but when i have uploaded it, search engine would not work. i have changed the appropriate database names and tables provided by the web host , but it just doesnt work still. I know that …

Member Avatar for Jean Gwyneth
0
135
Member Avatar for abu taher

at 1st: class name entry in a text box (by add new button). access file is store it. then in a another form (when a student admitt) enter all data of this student (in few text box) without class name. when I want to entry the class name then I …

Member Avatar for abu taher
0
154
Member Avatar for ablitz

Hi Everyone! I'm currently working on MySQL/PHP/JavaScript project using AJAX. I came across some weird abnormality and wanted to share with you and hopefully find a solution to this problem. for some reason alert(textarea2); shows nothing but if I place another alert(textarea2); right after the first one it works, second …

Member Avatar for ablitz
0
296
Member Avatar for laghaterohan

hello, Below is the C# code. When i run it i get an error saying cannot convert char to string in the foreach statement. Please help me out...am unable to figure out whts the problem! awating replies..... [CODE] private void DisplayFiles(string DirPath) { string Root = null; Root = txtdestination.Text; …

Member Avatar for laghaterohan
0
147
Member Avatar for Lensva

its supposed to zip folder content recursively, which it does until it encounters a folder with both an empty folder and a non-empty. or so i think. i used the following structure to zip: [URL="http://img291.imageshack.us/img291/6120/84976017.jpg"]http://img291.imageshack.us/img291/6120/84976017.jpg[/URL] if untitled folder is removed it works. any tips would be much appreciated. [code=java] import …

Member Avatar for kvprajapati
0
110
Member Avatar for Kusno

Dear all, Sorry, if this Thread is wrong room :$ . I want to return a field value from a table, so I created a function like this : [CODE]CREATE FUNCTION dbo.CheckStatusTrx(@TransNo Varchar(20)) RETURNS varchar(20) AS BEGIN DECLARE @Flag Numeric(1) SELECT @Flag = Flag, CreatedBy, ApprovedBy FROM TrxTD WHERE TransNo …

0
99
Member Avatar for ShawnH

I'm currently using the old SetWindowRgn method to create a form with rounded corners but the edges of the corners produced are horribly pixelated. Is there any way to have a form with rounded corners that are smooth?

Member Avatar for ShawnH
0
265
Member Avatar for AssaultM16

I was wondering. Is there any function like strtok to split into tokens a string, which is c++ standard? Also is there a way to store those tokens into separate char arrays? Thank You

Member Avatar for AssaultM16
0
157
Member Avatar for squanch

I'm trying to allow a user to find a specific string within a DataGridView column and replace it with another string.....not necessarily requiring them to replace the whole string but to change a word within the string. for example: Find What: GLAND it searchs the column and finds GLAND STEAM …

Member Avatar for kvprajapati
0
166
Member Avatar for iamnoangel26

I am planning on making a biometrics attendance system. I have the hardware and planning on creating a software. My question is Whis VB to use. VB.Net or VB 6.0? Or other language to suggest? I am a Intermediate user when it comes to VB 6.0 and C++. Thanks in …

Member Avatar for iamnoangel26
0
215
Member Avatar for borneo

hello everybody..can someone help me to find out the script for testimonial...i have been searching but i can't found it..please everybody..i really need it for my last year project...really need help from the pro....

Member Avatar for borneo
0
97
Member Avatar for Morika

Hi, I'm a newbie to python and I need to extract numbers from a path name. A path name such as: /grups.google.com/grup/cmp.lng.pythn/browse_thread/thread/8_ee63e_[B]17[/B]del_0c12d And I'm trying to get it to take out the 17. I thought I could just do: [ICODE]det file = /grups.google.com/grup/cmp.lng.pythn/browse_thread/thread/8_ee63e_[B]17del[/B]_0c12d index = det_file.find('del') dent = det_file[index[-2]][/ICODE] This …

Member Avatar for Morika
0
143
Member Avatar for mzprog

Hi all, I has to develop a utility GUI using java, as it is very tedious doing programmitically. Anyone knows of a good free tool or plug-in for eclips for building java-based GUI, which can be editable programmatically. i know of Netbeans Desktop application but it generates horrible code. plz …

Member Avatar for StuartMillner
0
187
Member Avatar for Uttumi

Hi, This is a very simple question, but I just couldn't figure out any set of keywords that would point to an obvious answer. So here we go. Code example: int array [size] ; Size is, for example, given as an argument. Is this array initialization static or dynamic? It …

Member Avatar for John A
0
253
Member Avatar for Toxikr3

Hi guys, I have been working on a site and have managed to add a login script. I made an "status" script myself which tells people if a user is online or not. I did that by using database(easiest way I could think of), when person logs in it changes …

Member Avatar for Toxikr3
0
241
Member Avatar for 0TheFace

Hi, I've been trying to set up a webserver for a while now, but with no luck. Here is the problem:- After I installed PHP,Apache,MySQL into a folder named 'server' on my local machine and followed the relevant steps to set them up; I used the following script to check …

Member Avatar for 0TheFace
0
260
Member Avatar for Lethys

Hi.I'm trying to make a program that blocks speed programs like speedgear. I'm currently blocking it with this code block [code] ProcessMemoryReader pReader = new ProcessMemoryReader(); pReader.ReadProcess = p; pReader.OpenProcess(); byte[] NewVal = x; int store = 0; IntPtr BaseAddress; BaseAddress = new IntPtr(0x0043B382); x = pReader.ReadProcessMemory(BaseAddress, 6, out store); …

Member Avatar for sknake
0
81
Member Avatar for leviathan185

Hi, I am trying to write an upload script and everytime i try and upload a file it will give me an error. Warning: move_uploaded_file(/home/******/public_html/dw/uploads) [function.move-uploaded-file]: failed to open stream: Is a directory in /home/******/public_html/dw/upload2.php on line 3 I have checked that the folder is there as the error suggests …

Member Avatar for leviathan185
0
176
Member Avatar for jbd4d

I am trying to create a csv file from a table in a mysql database using the following code. No errors come up, but nothing happens either... I know that i am connected to the database properly because earlier in my code a number of tables from the database are …

Member Avatar for jbd4d
0
101
Member Avatar for xiikryssiix

hello. here i go again... were learning Arrays this week, and after a lot of trial/error, ive finally created a program that actually runs and compiles. my issue of the matter now is being able to put the user's 4 numerical inputs in order from low to high. if anyone …

Member Avatar for xiikryssiix
0
194
Member Avatar for mheidi

Hi, I have installed the Google Analytics code on static HTML pages, but I have never done it on a Coldfusion (cfm) website. Is there a big difference between putting the tracking code for Google Analytics on an HTML site vs. a Coldfusion site?? If anyone could help me with …

Member Avatar for westonjeff
0
562
Member Avatar for agent154

I'm playing around with SQLite, which is very similar to what i've seen in MySQL, and I want to write some code that returns the column names along with the data for output purposes. Is there an SQL query I could use to do that, or is it done differently …

Member Avatar for agent154
0
147
Member Avatar for ebi1

Hi all., I want to make a small and simple game for kids, where they need to compare between different shapes of polygons. So in this game, there will be a button, loading different Polygons, with transparent background. i REALLY preffer it will be with the Animated GIF of RxLib, …

Member Avatar for ebi1
0
206
Member Avatar for ChrisPaul

Hello, I have a question. How can i determine if an email address is in the correct format. I use the System.Net.Mail.MailMessage to send my messages. I am getting my To email addresses from the database but when the address is not in the correct email format the program stops …

Member Avatar for ChrisPaul
0
333

The End.