199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sheru2302

Hi, I need help on creation imap mailbox. Im new to php. This is a code where have been created by previous programmer. [CODE] if (($USER_REG_IS_LOGIN) && ($tmp_imap_server)) { if (!$user_exist) { $form_password = $tmp_emailname . "_1234"; $request_cmd = "create_imap_user {$tmp_emailname} {$tmp_imap_server} $form_password"; $request_data = UserRegSvr::send_request($socket, $request_cmd); $request_data = unserialize($request_data); …

Member Avatar for sheru2302
0
710
Member Avatar for atticusr5

hey guys im using vi to try and compile code for school in main i keep getting errors in the functions READ and PRINT and they say that the variable in the function call is not within the scope. here is my code: [code] #include <iostream> #include <iomanip> #include <fstream> …

Member Avatar for Ancient Dragon
0
102
Member Avatar for nccsbim071

Hi I have an application installed. I need to have a functionality that prevents user from uninstalling the application if application is currently running. I uninstall appliation from Add/Remove programs. I have functionality in my system that allows it to be minimized to the task bar and to system tray. …

Member Avatar for nccsbim071
0
449
Member Avatar for bonzi200x

I'm implementing a TCP protocol. TCP implementation requires to send packets continuously and if the receiver doesnt respond after a particular interval of time it should resend the packet again. I need some method to implement a timer expiry function. How can I implement it?? Should i implement threads (If …

Member Avatar for bonzi200x
0
70
Member Avatar for ThomasII

Hello- I am trying to create a program that will allow a user to enter in checking or savings data; date, type of transaction (deposit or withdrawl), display the previous balance and the new balance based on the new transaction entered. I cannot figure out how to locate the element …

0
97
Member Avatar for fuston05

im asking w input() for user to input "spelling words" for a kids homework, and i want it to append or add the words entered into a list. i got it to ask for user input for the words, but not sure how to make it add them into a …

Member Avatar for fuston05
0
111
Member Avatar for phil750

Ok i half have a working scheduler. The idea is to print out input from a text file, with the process id quantum and priority, sort them out into priority order, 0-20(0 highest) ad print them out the number of times the quatum is. here is what i have so …

Member Avatar for phil750
0
111
Member Avatar for wiss.dev

hi everyone im trying to update access from vb.net application. when excuting im getting this error: the microsoft.jet.oledb.4.0 source="c:\...."provider was not registered on the local machine. when i go and run cmd to register ddl files. i was able to register msjet40.dll and msjetoledb40.dll with the other dll a box …

Member Avatar for wiss.dev
0
76
Member Avatar for ContactaCall

I'm trying to get some user data into an INSERT query using the Mysql C API (don't know if this belongs rather in the Mysql forum, let me know...) I have the following code taking some pointers from the Mysql webpage forum, but to no avail: [CODE] #include <mysql.h> #include …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for instinctfx

After having a look at a few freeware components that support drop shadows (solid colours only) Does anyone know of a panel that supports drop shadowing that does not allow inner components when aligned to client to sit over the drop shadows ? or a way to get the panel …

0
79
Member Avatar for goldriverdancer

Dear all, I've thus far created a simple Access database to keep track of all the pumps my (mining) company uses. What I want to do, is create a form which will automatically archive previous data if new data is written into it. For example, I have a pump that …

Member Avatar for goldriverdancer
0
105
Member Avatar for 006ruler

Hi, I'm a complete noob to C++. I am currently just making text games where you input a string and depending what that string is and what you have in your "inventory", the program will cout something else. I would like to know how i would be able to save …

Member Avatar for cpeister
0
165
Member Avatar for funfullson

I wrote below code for my database connection but every time its catch part play.what is the problem? [CODE] public myDb() { canConnect = true; sqlString = "Connection Timeout=5;Server=127.0.0.1;Database=ghanat;"; dbConnect = new SqlConnection(sqlString); dbCmd = new SqlCommand(); dbCmd.Connection = dbConnect; dbAdapter = new SqlDataAdapter(dbCmd); try { dbConnect.Open(); MessageBox.Show("You connected", "Connection", …

Member Avatar for apegram
0
98
Member Avatar for LloydFarrell

Hi all, Over the last week or two i have been working on uploading images to mysql db, Whilst i have the image uploading to the correct location and the name of the image added to the database, i cant understand how to add the image location to the name …

Member Avatar for LloydFarrell
0
204
Member Avatar for Jetsetivan

Hi everyone, This is my first post so go easy on me please :). I am trying to compile a simple program that takes two binary numbers and computes a third based on bit operations (i.e. C = A&B, C = A|B etc....) but I run into the "vector subscript …

Member Avatar for Jetsetivan
0
200
Member Avatar for Dan08

Well, couple days ago I've red in some thread in daniweb, which I was thinking in a solution for it. So the problem is Linux has got the speech recognition, El Duke was trying to find something like windows speech recognition for Linux. As Mathhax0r and vagaseat said, there isn't …

Member Avatar for Dan08
0
135
Member Avatar for faa77

Hi guys, im currently a java programmer who would like to just learn the basics of using the win32api with C#. On thing i wondered whether you guys could help me on is how to do things such as constantly read the value of a registry key and detect value …

Member Avatar for ddanbe
0
171
Member Avatar for codezy

hii ,, i have a sorted array x[]={1,2,10}, and a "target" i want to search recursively for the sum of the elements of the array with any combination without any repetition of elemt in the array (i.e. if target=11 then we can get it from the array (1+10) but if …

Member Avatar for codezy
0
128
Member Avatar for OldQBasicer

I'm really a novice and I'm trying to draw a thermometer that moves up or down with temp change. I created a second form on my project for the thermometer and access it using Thermometer.Showdialog((). Then on the thermometer form, I'm using this code: [CODE] Private Sub ThermometerForm_Paint(ByVal sender As …

Member Avatar for OldQBasicer
0
186
Member Avatar for Pramirez3

Please help, and point me in the write direction... okay so I'm basically doing a simple address book. i can create contacts and display them and search for them but... when i return to the main menu and attempt to search again... i cannot open the file... or if i …

Member Avatar for cpeister
0
220
Member Avatar for yupi

Hi, i am new at shell scripting and i need your help. i have a very big txt file that contains articles,authors,etc. Each article has this form: .I <article's serial number> <article information(in new line)>. What I need is a script tha will split this file into smaller ones.The script …

Member Avatar for Kruptein
0
136
Member Avatar for zrin

Hi! I have a problem. How can I inport, numbers from a txt document and make a math operation with them. I have to transform the cotent of the document into a lists? Lets say this is the content of the file: 44 36 11 66 24 92 3 8 …

Member Avatar for Lardmeister
0
93
Member Avatar for buzzykerbox

Hey,just have a problem with some code,just starting out Its basically a guessing game in vb [CODE] Public Class frmMain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGuess.Click Dim randNum As Integer Dim guess As Integer = Convert.ToInt32(txtGuess.Text) Randomize() randNum = Int(20 * Rnd()) + 1 …

Member Avatar for buzzykerbox
0
231
Member Avatar for azegurb

can you help me what is here [CODE]$this-&gt;contents = $contents;[/CODE] it must be like this [CODE]$this->contents=$contens[/CODE] musn't it? thanks for attention beforehands [CODE]<?php class Box { var $contents; function Box($contents) { $this-&gt;contents = $contents; } function get_whats_inside() { return $this-&gt;contents; } } $mybox = new Box("Jack"); echo $mybox-&gt;get_whats_inside(); ?> [/CODE]

Member Avatar for azegurb
0
78
Member Avatar for makan007

[CODE] #include <iostream> #include <cstdlib> #include <ctime> #include <cstring> using namespace std; struct UKStudent { char name [30]; int noTest; float mark [10]; int final; char grade [30]; }; struct OverseasStudent { char country [30]; char name [30]; int noTest; float mark [10]; int final; char grade [30]; }; union …

Member Avatar for Ancient Dragon
0
435
Member Avatar for kadvar

Hi, I'm trying to match patterns of the types sentence1 = "keywords=walter&keywords=scott" sentence2 = "keywords=john&" sentence3 = "keywords=james&keywords=john&keywords=brian&" so basically the keywords=somestring& part can be repeated once or multiple times. I am trying to extract the string(s) between '=' and '&'. I have come up with the following so far. …

Member Avatar for woooee
0
90
Member Avatar for danibootstrap

Hi, In one app I am porting code from jave to c++.The program compile fine but crashes when it enters into the ported code section.I use STL linked list implementation from here: [URL="http://www.syncdata.it/stlce/stl_wce.zip"]http://www.syncdata.it/stlce/stl_wce.zip[/URL] Java code: [CODE] LinkedList toProcessx; LinkedList toProcessy; void phaseUnwrap() { int startX = inputWidth / 2; int …

Member Avatar for Phaelax
0
234
Member Avatar for opethon

i have a custom made program that is being used to create layouts for harnesses assembly the program is too old obsolete if i may say and the company refuses to renew or replace with auto cad anyway the problem is files created by such program cannot be opened in …

Member Avatar for opethon
0
84
Member Avatar for SpectateSwamp

On another forum. This guy warns me to not bump a thread. [url]http://www.dropshots.com/spectateswamp#date/2010-01-14/06:06:14[/url] Then he makes his post disappear. Then I get banned. A couple other of my fav threads had him as the final respondant. Does he bully others there. Good thing I do screen captures of my posts …

Member Avatar for SpectateSwamp
0
237
Member Avatar for cwarn23

I thought I would ask while this thread is active "What is the best Ubuntu c++ compiler that allows VC++ code?" I really like Visual C++ as it has great debugging features that Dev-c++ could never match. But how do I compile my VC++ projects to run on Ubuntu?

Member Avatar for Stefano Mtangoo
0
424
Member Avatar for gmahlert

The program uses an implementation of the Sieve of Eratosthenes to generate a small list of prime numbers which is subsequently used for direct comparison to find the prime factors for any whole number up to and including 478939. This limitation is due to the primitive method used to generate …

Member Avatar for GeniusDex
0
311
Member Avatar for takeshi

hi..is there anyone knows how to do that?to be able not to read by anyone my password when they want to view the username and password account..?

Member Avatar for almostbob
0
72
Member Avatar for jakesee

Hi there, I'm so frustrated now =( I have read the forums and this [URL="http://www.goingware.com/tips/member-pointers.html"]http://www.goingware.com/tips/member-pointers.html[/URL] But i still cannot get this to work: [CODE]class FileParser { public: void load(char* file) { MyDocumentClass _mDoc; _mDoc.LoadFile(file); // is this correct syntax? parse(_mDoc, &(FileParser::saveElement)); // or is this correct? parse(_mDoc, &(this->saveElement)); } private: …

Member Avatar for Narue
0
95
Member Avatar for emi teliyadu

I want to learn c++ and downloaded a gcc compiler. but the compiler isnt functioning. when i click on the application window, a black screen just flashes with the text:"c++.exe:no input files" What could be wrong?what do I do about it?

Member Avatar for jonsca
0
104
Member Avatar for PoisonedHeart

Hello to All, Good day :) I have developed a vb6 project with Ms Access as it's database. When I use Ms Access as a database, during the package and deployment, I will just have to add the file ".mdb" then all is done... -Ready to install in the client's …

Member Avatar for PoisonedHeart
0
189
Member Avatar for j4jawaid

I am trying to minimize the form to system tray. I have written a piece of code. But the only problem i am facing is that when i try to restore the window from system tray. Win Form appears in taskbar but has lost focused means it doesnt appear on …

Member Avatar for jonsca
0
146
Member Avatar for libran

I m trying this Java program which arranges members of array in an ascending order. The size of array is given by User (an int). I hav spent lot of time thinking abt its logic but didnt get thru. I am not using any readymade libraries and trying pure logic …

Member Avatar for stultuske
0
333
Member Avatar for ramjeev

Hi buddies, I m trying to rename the existing .jar file.But I can't. If I make a copy of this and run the copied exe,by that time it works. Code as follows, [code]boolean ReNameExistingEXE(String Dest) { String temp = Dest + "\\Star.jar"; File s = new File(temp); String exName = …

Member Avatar for stultuske
0
2K
Member Avatar for asadc

[CODE]import java.io.*; class Edogs { public static void main (String args []) throws java.io.IOException { final int subtractor = 1; final int MAX_QUESTIONS = 48; final int MAX_INPUT = 47; final int MAX_ANSWERS = 4656; final int MAX_COUNTER = 4654; int pomeranian = 0; FileReader fro = new FileReader ("edogs_questions.txt"); …

Member Avatar for stultuske
0
133
Member Avatar for Nexum1

Hello! Thank you for watching.. :) How is it possible to loop a sound without a delay inbetween?? I need a few sounds, about 100, loaded into the memory, all ready to play, And loop, without a delay inbetween. How is this possible in delphi?? I don't want to play …

Member Avatar for Nexum1
0
1K
Member Avatar for takeshi

G' day! my code here was good.. [CODE] <?php if(isset($_GET['btnsubmit'])){ $can = array($_GET['pres'],$_GET['vp']); mysql_connect('localhost','root'); mysql_select_db('sample_poll'); foreach($can as $val){ $sql = mysql_query( "UPDATE candidate SET votes=votes+1 where can_id='".$val."'" ); } echo "<h1>vote complete!</h1> <a href='voteresult.php'>see all vote results</a>"; }else{ echo "<form method='get'> <h2><center>Select Candidates</h2> <h3>president:</h3> 1.) lace <input type='radio' name='president' value='1'> …

Member Avatar for cwarn23
0
135
Member Avatar for acidburns

Hello, can someone please help with solving this problem regarding push down automata. I am to write a table for the following problem. L={number of a's in (X) is not equal to number of b's in (X)l X is {a,b,c}* }. I could really use some help planning the it, …

Member Avatar for ce.huda
0
400
Member Avatar for niro_fernando

Can any body plz help me , i want to install php apachi and mysql and configer them, can any body help me , i search on the net but the links are not working to downlonad them.plz help me

Member Avatar for Stefano Mtangoo
0
111
Member Avatar for skyyforever

Hello, I'm developing an application which has, among the others, a windows form with data grid and combo box. User has to select a value from combo box and I use the selected value to read data from database and fill the data grid. Everything works fine, but sometimes there …

Member Avatar for skyyforever
0
132
Member Avatar for mwaqas1990

Actually i want data from database in DataGridView, OnLoad of Form. I have write this code but this is not working. I have checked that connection established correclty and query is also wrtie but where is problem? [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using …

Member Avatar for mwaqas1990
0
136
Member Avatar for OmniX

Hi Guys I have been using the DIRECTORY SEPERATOR and from time to time i get a %5C instead of the appropriate / or \ now. Any ideas what is the problem? Thanks, Regards X

Member Avatar for amd_k8
0
94
Member Avatar for makdu

Hi , i want to write a file to C:\\Program Files\\ using c# Here is what i have [code] string currentsnap = "C:\\Program Files\\currentsnap.txt"; commandtorun("route print > " + currentsnap); [/code] command to run funtion is given below [code] private static void [B][COLOR="Red"]commandtorun[/COLOR][/B](string commandexecuted) { string currentstatus; ProcessStartInfo startInfo = …

Member Avatar for makdu
0
229
Member Avatar for Xeros606

1. I'd like to become at least competent with C++ (good enough to work on large scale projects or even get a job as a C++ programmer), how long do you think it will take? I have some experience with java, and am learning with the PDF version of [URL="http://www.amazon.com/Beginners-Guide-Second-Guides-McGraw-Hill/dp/0072232153"]this …

Member Avatar for abdelhakeem
0
136
Member Avatar for mimis

Hi, i have to sort two arrays in a specific way. I have two parallel arrays A[N] and B[N]. Ι have to sort A in descending order. The changes in A should be happened in B at the same time. If 2 or more items in A is the same, …

Member Avatar for mimis
0
113
Member Avatar for Ultratermi

Hey, is there a way to search a specific word in a string and get the position where it appears? Like with the std::string... There I get the INT position of the word... Hope you know what I mean... I cant find the same with System^String in WinForms... Only : …

Member Avatar for Ultratermi
0
103

The End.