199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pure_evil020

Hi there, I have recently put together a net send messenger in a .bat file for a program of mine. I would like to make it so, if the "net start messenger" line fails/has an error, It echo's " messenger service is currently disabled on your computer. press F1 for …

Member Avatar for pure_evil020
0
96
Member Avatar for htmlforums

Hi, I having problem with c# combo box control with multiple columns. I have one combox with 2 columns: code(char 5) desc(char10) d1 day1 d10 day10 I using Add items to add in those code and desc, but the column position is out. I was thinking of taking the 5 …

Member Avatar for htmlforums
0
100
Member Avatar for PomonaGrange

HI All, I've been trying to make a membership management type script. This script would have a database with the members contact info and which office they hold, if any. The problem I am having is I would like the script to show the president's and vice president's Contact info …

Member Avatar for langsor
0
164
Member Avatar for plike922

can you check the code... it doesn't work for some reason i tryied everything [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" int Fibonacci(int fnum); int main() { int fnum; printf("Please enter in the Fibonacci number: "); fnum = GetInteger(); printf("The number for f(%d) is %d\n", fnum, Fibonacci(fnum)); system("pause"); } int Fibonacci(int …

Member Avatar for Aia
0
113
Member Avatar for sreesai

Hi, I want to know how to program to find memory leak. my idea is to find whether there is a free() for every malloc before exiting the function. x() { malloc() .... if() { abc return; // thr is a memory leak as thr is no free n we …

Member Avatar for dwks
0
129
Member Avatar for huyfamily

Dear All, I'm writing a code which could read the following file: (input.raw) contained: 11 12 13 21 22 23 31 32 33 While reading this file I want to do the following: -Move cursor to the beginning of that file which is before "11", then start reading -After reading …

Member Avatar for Duoas
0
93
Member Avatar for ohyeah

Hi I just started out with python.. I'm trying to write some code that will request a file with HTTP GET, be able to send custom headers to the remote host, download this file and save it locally, and show some kind of percentage downloaded which updates WHILE its downloading. …

Member Avatar for EAnder
0
488
Member Avatar for jorze888

We have a filemaker db collecting email subscriptions. We need to export those on a regular basis and import them into a listserv. We would like to write a script to have this all happen on it's own. Is this possible with FileMaker? There is a script in it that …

Member Avatar for Bookman
0
171
Member Avatar for justinmyoung

I've been able to put together a basic search form that allows users to search my database by entering their last name. My question is how do I offer them an option, using a radio button, to allow them to search by, for example, a city or state or age, …

Member Avatar for justinmyoung
0
113
Member Avatar for cellus205

Can anyone help me translate this regex match in Perl to a VB.Net Regex match? Heres the perl regex: if ($line =~ /\\([\w\d\s\-]+?\.\w{3})\"\t\"/) { print "LINE: $1\n" } # regex match And heres what I have for the VB regex, but its currently not working: [code=VB] Dim fs As New …

0
74
Member Avatar for jp2sql

Can a stored procedure be written with a column name? For Table1 with ColA, ColB, ColC, I want a query like: EXEC sp_Mine 'ColA', '100%' I want the results to be like: SELECT ColA, ColB, ColC FROM Table1 WHERE ColA Like '100%' I tried setting up this stored procedure, but …

Member Avatar for AntonioGK
0
81
Member Avatar for Clockowl

Hey guys, I've written quite a large piece of code the past few days, and today I've cleaned it up a bit, divided it into functions (I know, bad, should've done it the other way around) etc. etc. The project is a simple 3D thingamadingy, the program is able to …

Member Avatar for Clockowl
0
210
Member Avatar for harsh5235

I'm not sure where to exactly post this. There is a website called mint.com which let's you enter your username and password for a bank, stock broker, etc and the aggregates all your information from all different accounts onto one screen (balances, transactions, etc). How does mint.com do this? I …

Member Avatar for langsor
0
84
Member Avatar for Morty222

Can anyone tell me how to write a PHP script to update this shell command? /usr/local/psa/bin/domain.sh -u domain.com -passwd password I am trying to update FTP passwords using a PHP script, in place of logging into Plesk everyday to change an FTP password. I have a web based tool that …

Member Avatar for MVied
0
109
Member Avatar for Computersaurus

Hello all! I have a page with multiple forms on it and they are all using relative addresses in their action lines, but I have a strange discrepancy I cannot figure out. All of the forms have lines like this. <form action="indexreport.cfm?fuseaction=casereport" etc. etc. But one of them has to …

Member Avatar for Computersaurus
0
156
Member Avatar for edek

Hi! Is there any way I can save a database as an SQL file? Or at least save schema if saving data is not possible. Thanks in adv.

Member Avatar for AntonioGK
0
152
Member Avatar for Q8iEnG

Hi guys I'm working on my site, and I want to include this page [url]http://www.q8ieng.com/renders/index.php[/url] the code inside (renders/index.php) is [CODE]<?php if(@ini_set ( 'zlib.output_compression', 'On' )) @ini_set ( 'zlib.output_compression_level', 9 ); else @ob_start ( 'ob_gzhandler' ); require 'gallery.php'; ?> [/CODE] to my page this one [url]http://www.q8ieng.com/renders.php[/url] I used to include …

Member Avatar for MVied
0
170
Member Avatar for CoolGamer48

Hey, I've been trying to create an RPG, and I really have trouble moving with it. I really can't find any decent tutorials (or even books). The only book I've heard of (Making RPGs with DirectX, or something, by Jim Adams) got pretty bad reviews. The part I can't really …

Member Avatar for Ezzaral
0
866
Member Avatar for Nemoticchigga

Does anyone know if vs2005 has the borland equivilent of a "scrollbox"? Thanks.

Member Avatar for Nemoticchigga
0
169
Member Avatar for thatoneguyx

I'm new to C++ and trying to find a compiler I tried using visual 2008 but it didn't work... then I re-installed it and can't even open it so I need to find something else I need something thats noob-friendly and is updated thanks

Member Avatar for ArkM
0
122
Member Avatar for dmpop

Hello, I need to fetch and display message subjects containing a specific word. Here is what I've got so far: [CODE]import imaplib imap = IMAP4("imap.mail.com") imap.login("username", "password") r, data = imap.select('INBOX') r, data = imap.search(None, '(SUBJECT "Reminder")')[/CODE] What I need now is to print a list of subjects of the …

Member Avatar for dmpop
0
7K
Member Avatar for teh noobshow

ok heres what im currently doing... [/code/] (autocast)) == (15348) { cast manual with spell 1155; spell cast starts at position X Y; } } } } } itemID)) == 15348 { } return 406; { Case 1505: UsingMage) = true; else if (ItemID == 15348) [13] > 70 caster …

Member Avatar for Ezzaral
0
146
Member Avatar for vkk

Hi, I have the following data in a table called staging, and it is in the format. C1,C2 and C3 are column Headers. C1 C2 C3 41 te cc 51 te cc 42 te cc 41 te cc 51 te cc 42 te cc 41 te cc 51 te cc …

Member Avatar for vkk
0
136
Member Avatar for sciwizeh

i want to make a code template in netbeans with the abbreviation of cn that will expand into the name of the current class being worked on, is there a way to do this? i cannot find anything about it. google won't turn up any good info

Member Avatar for sciwizeh
0
96
Member Avatar for asma_ab

hi ... i have a query i have created an application in c# i have put this code in button [code] string strXmlPath = ""; XmlDocument doc = new XmlDocument(); strXmlPath = ("C:/App_Data/Document.xml"); DataSet ds = new DataSet(); XmlTextWriter writer = new XmlTextWriter(strXmlPath,System.Text.Encoding.UTF8); writer.WriteStartElement("folder"); writer.WriteElementString("FolderName", "App_Data"); writer.WriteElementString("FolderPath", "C:/App_Data/Document.xml"); writer.WriteEndElement(); writer.WriteStartElement("folder2"); …

Member Avatar for nnobakht
0
1K
Member Avatar for witza

:$ Ok people, bare with me for a second (or 60...) I'm developing a part of a larger application, and to cut to the chase, i now need to access an Hashtable that I've made global. This aplication is multithreaded, but I'm trying to access this hashtable from the same …

Member Avatar for nnobakht
0
182
Member Avatar for nimloman

I need my output screeen to looklike this. So far i can do all of it except my traingle comes out in a right angle and i dont know how to make it into an traingle shown below. Ive tried usind 'setw" but it doesnt seem to be working. [B]This …

Member Avatar for Radical Edward
0
211
Member Avatar for knrakesh

Hello friends, iam new to the .NET when i run the page in ASP.NET a small symbol is comming in lower task bar at timer can u please tell me how to run the webpage in localhost please Thank u

Member Avatar for nileshsarode
0
104
Member Avatar for SNN

I have two data sets Hdata.txt and Edata.txt that are tab delimited. Both data sets contain information about two groups of people. The first column in both data sets contains the last name of the individual. I wrote a perl program to make a comparison and print out the individuals …

Member Avatar for SNN
0
96
Member Avatar for jgoering

I'm working on a project that just needs to know that its 08:00 or 14:01. I dont need or want to store anything about date. When I store the time and then try to check it against the current time I'm runnig into problems. where (timeofevent = Convert(char(19),current_timestamp)) this doesnt …

Member Avatar for AntonioGK
0
152
Member Avatar for nlblnx

Hi all, I am trying to grab data from the database that this application is connecting to and then show entries in a treeview. [CODE] public void dbcall() { SqlConnection sqlconn = new SqlConnection("user id=USERNAME;" + "password=PASSWORD;server=SERVER;" + "database=DBNAME;" + "connection timeout=30"); SqlCommand select = new SqlCommand("SELECT * from MAIN", …

Member Avatar for nlblnx
0
178
Member Avatar for Seagull One

Hello again, everybody. Now that I've just about learned all I can for programming my robot with 'smarts' (I think), I think I'm ready for a bigger challenge: Having my robot program aspects of itself. Right now I'm going to try to implement it into my robot's human socialization program. …

Member Avatar for Seagull One
0
457
Member Avatar for fortiz147

i can't figure out how to delete my records in php. my page displays all the records from the database, and i want to place a checkbox beside each record and the function delete. please help me. code is php code [code language="english"] <?php //Connect to MySQL Server mysql_connect($dbhost, $dbuser, …

Member Avatar for langsor
0
85
Member Avatar for nnhamane

Hello friends..[B]Ugly number is a number whose prime factors are only 1,2,3 or 5.[/B] I had written a program for finding n`th ugly number in the series.Now the series is 1,2,3,4,5,6,8,9,10,12,15...these are first 11 ugly no`s. Now In my program if we put m=11 then output will be 15. It …

Member Avatar for Salem
0
1K
Member Avatar for chanthung

Hi guys, I have completed one project and have created a setup file also. I have taken help from one of you guys and corrected a setup error, about "[B]DllSelfRegisterEx[/B]" to "DllSelfRegister". But now the problem is after complition of installation, i get the following error message during installation to …

Member Avatar for gsatya
0
373
Member Avatar for Cosa

I am writing a program which reads in a database of albums into an array of structs, the data can then be deleted, modified etc. The problem i am having is that when i try to modify a specific record using a search term and then strcmp to the album …

Member Avatar for Cosa
0
101
Member Avatar for Naween

In my java code I get this error. Enyone fix it for me Plz? cannot find symbol `:method getSelectedItem()` This is my code. import java.awt.*; import java.awt.event.*; import java.applet.*; public class soda extends Applet implements ActionListener, ItemListener { Label lblhead,lblfoot,lblsize,lbltype,lblamt,lblbal,lblavilability; Button b1,b2,b3,b4,b5,b6,b7,btnref; Choice choice1; Checkbox ch1,ch2,ch3,ch4,ch5; float num,money,change; CheckboxGroup cbg,cbg1; …

Member Avatar for sciwizeh
0
105
Member Avatar for aalhamad

I have a line to pharse like this: 1.2 2 3 4 5 2.4 2.4 2.6 3.5 5.6 3.7 3.4 4.7 3.4 56 I need to sort them in a map of string and vector<double> The problem I'm having is I'm trying to get each colum and store it in …

Member Avatar for ArkM
0
92
Member Avatar for mksakeesh

[code] #include<fstream.h> #include<string.h> using namespace std; class emp { public: char *per; void write() { ofstream out("ss.txt",ios::app | ios::binary); cout<<"Enter some character ....\n"; cin>>*per; //out.write(per,sizeof(per)); out.write(per,strlen(per)); } }; void main() { emp e; e.write(); } [/code] Why this is not working?

Member Avatar for Clockowl
0
162
Member Avatar for nimloman

Example: There are literally hundreds of programming languages. The number of nonblank characters is : 48 So far i have come up with: for (cin.get(inputLetter); inputLetter != '\n'; cin.get(inputLetter)) { if ((inputLetter >= 'A' || 'a') && (inputLetter <= 'Z' || 'z')) numUpper++; }

Member Avatar for ArkM
0
114
Member Avatar for coveredinflies

Hi, I have got to the section on command line arguments on my online textbook. All the information I can find on it seems to assume that I know how to put command lines into my program but I don't have a clue :$ Can anyone help?

Member Avatar for coveredinflies
0
107
Member Avatar for atish00

#include<iostream.h> #include<conio.h> #include<stdlib.h> #include<stdio.h> class array { private: int A[20]; int ele; public: void input(); void display(); void bub_sort(); void insert(); void del(); }; void array :: input() { int i;char ch[20]; for(i=0; ch[0]!='x'; i++,ele++) { gets(ch); A= atoi(ch); } ch[0]=0; ele=(ele-1); return; } //======================================================================== void array :: display() { …

Member Avatar for atish00
0
103
Member Avatar for brittaink

Hi, I am using Microsoft Infopath to try and create a front end for a access database. I have a data source which stores an id number for the customer. This id number relates to a secondary data source called tblUsers. the id field then relates to the users forename, …

Member Avatar for brittaink
0
224
Member Avatar for Cosa

I have a problem where i want to compare strings, however the comparison cant be case sensitive. I have tried to use stricmp strnicmp strcmpi They do not seem to be part of the <string> or <cstring> libraries on my compiler. I am using the GNU compiler. Is there a …

Member Avatar for Cosa
0
91
Member Avatar for JaxsWastedLife

I'm stuck with a big problem. :sad: :sad: :sad: I have the following script resizeing my iframe based on height. The problem is if my site is on one domain say [url]http://mydomain.company.com[/url] and the target page is on another domain say [url]http://anotherdomain.mycompany.com[/url] the script does not resize the page. I …

Member Avatar for naksindia
0
489
Member Avatar for cosby

hi everyone i am new in php and i want to serch the specific words on text file using pregmach . i have try the patterns of the pregmatch() but it seems like i dont doit right. can someone look into my code and help me out with this problem. …

Member Avatar for cosby
0
112
Member Avatar for ulquiorra

Hello all, I am in need of some assistence. So if anyone could help that would make my day;). This is a piece of my code [code] for( int i = 0; i <= 13; i++ ) { cout << "SLOT : " << slotNumber; fprintf( HashTable, "\t%i slot : …

Member Avatar for ulquiorra
0
305
Member Avatar for dinilkarun

Hi, I am using the following syntax in VB 6.0 to copy distinct values from strTableName to TableName strOpen = "Select distinct * into" & " " & strDupTableName & " from " & strTableName rst.Open strOpen, db, adOpenDynamic, adLockOptimistic But I am getting a runtime error "-2147217833". I have …

Member Avatar for dinilkarun
0
458
Member Avatar for manzoor

[CODE]#include <iostream> #include <vector> using namespace std; // global constants const char X = 'X'; const char O = 'O'; const char EMPTY = ' '; const char TIE = 'T'; const char NO_ONE = 'N'; // game function's prototypes void displayBoard(const vector<char>& board); // function that displays the game …

Member Avatar for Ancient Dragon
0
122
Member Avatar for love_dude1984

hi every1.. im just starting with JSP..i run the jsp pages on a single machine using localhost:8080/examples/jsp/my pages...but what if i want to store my pages into some other directory n wish to access them then how can i do tht??is there any file wher ive to change the path …

Member Avatar for peter_budo
0
119

The End.