199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for babis87

Hello, I'm writing a lexixal analyzer on FLEX, and i want to open an #include file. Calling fopen(yytext,"r"); as shown in flex manual http://flex.sourceforge.net/manual/Multiple-Input-Buffers.html#Multiple-Input-Buffers does not open the file, although that the string in yytext has the value "<filename>". Instead, when i use fopen("<filename>","r") the file opens normaly and the …

0
72
Member Avatar for starlight22

My membership script works fine, except I can't login, because this check.php script doesn't work. Login form action is check.php. Once I login with username and password, check.php gives me an error message "Please enter ALL of the information". The only information on login form is username and password. The …

Member Avatar for rajarajan2017
0
122
Member Avatar for completehoax

Okay, so I'm basically trying to create a C++ program that determines the case of the letter. The program will basically ask for a letter input, uppercase or lowercase and then the program will say whether that letter the user inputted is an uppercase or a lowercase letter. Help is …

Member Avatar for Kanoisa
0
104
Member Avatar for anraevlus18

Hi I am new to perl...I have a file in which sections are seperated by "//************************************************" How can i search for the asterisk character using regular expressions? =-------------- open(IN, "<$inFile") while (<IN>) { if (/^\/\/**/) #here is the error..search for multiple '*' character { print "Seperater found" } } pls …

Member Avatar for anraevlus18
0
1K
Member Avatar for phalaris_trip

how do I launch a python script within the IDLE python shell from the command line? basically I want to use Notepad++ as my editor, but when I press F5 I want my script to run in the IDLE python shell (NOT in a cmd window). If I do C:\Python26\Lib\idlelib\idle.pyw …

Member Avatar for phalaris_trip
0
203
Member Avatar for Roulaa

helleo all i want to delete from 5 tables with inner join like that: Category=CategoryId,CategoryName,.. Item=ItemId,ItemName,pictureId,VideoId,AudioId,CategoryId Picture=pictureId,pictureName Video=VideoId,VideoName Audio=AudioId,AudioName the user will Enter category name in text box iwant to delete Category+Item+picture+audio+video help me please :)

Member Avatar for Roulaa
0
215
Member Avatar for lucammino

Hi everybody. I have an UserControl (Windows Application - .NET Framework 3.5) which is composed of a TextBox and ListBox: it should pretty much emulate a "suggestion box" just like the ones in Google and other various search engines. Now, the initial status of this control (TextBox blank) imply the …

Member Avatar for lucammino
0
156
Member Avatar for chaituu

In the main table there are two sub tables are there.when user click addRow button main row and also subrow should be created.i have written the code but when i click addrow alignment is missing and apart from that mainrow and subrow is not displaying properly. [CODE] <html> <head> <script> …

Member Avatar for azegurb
0
111
Member Avatar for stephen lowry

hi guys this is probley simple and i have an external board controlling various things on the board is a button which i would like when pressed activates code within a button on my vb form i have tried button1.select but that only well selects the button on my form …

Member Avatar for Luc001
0
139
Member Avatar for jt86442

[B] Hi, Actually my requirement is when i move my mouse on the link, One alert box shoulb be appear and it will count how many times i move on that link. I already written the code in javascript but it didn't reach to my requirement. Please go through the …

Member Avatar for rajarajan2017
0
2K
Member Avatar for isayas

#include <iostream.h> void main () { int i,j,temp,smallest; int list [10]; for (i=0;i<10;i++) { cout<<"enter a number\n"; cin>>list[i]; } for (i=0;i<10;i++) { smallest=i; for (j=i+1;j<10;j++) { if(list[j]<list[smallest]) smallest=j; } temp=list[smallest]; list[smallest]=list[i] list[i]=temp; { for(i=0;i<10;i++) cout<<list[i]<<endl; getch(); }

Member Avatar for avarionist
0
130
Member Avatar for altXerror

hey guys! i decided to make my own programing language. it is called tempestX. the beta is not ready yet but when it is, i will provide a link for any one who wants to try it. here is a brief explanation: i was used to programing in windows batch, …

Member Avatar for avarionist
0
183
Member Avatar for ayesha789

hi this is a code for [B]export to excel[/B]. I want to color the headers light blue and all result of query like one white then one grey and repeat. [CODE=php]session_start(); $a= $_GET["id"]; function cleanData(&$str) { $str = preg_replace("/\t/", "\\t", $str); $str = preg_replace("/\r?\n/", "\\n", $str); } # file name …

Member Avatar for pritaeas
0
3K
Member Avatar for avarionist

Lods byte ptr ds:[esi] ;i know that it loads a byte that is a pointer my question is " is the pointer ds with esi as an offset or is it the other way around or am i just plain wrong" ?

Member Avatar for avarionist
0
349
Member Avatar for avarionist

i realize the topic isnt much descriptive but i thought that my code was a bit strange so i hope dw can give me a bit of info this is the most random thing ive ever made. on windows it produces quite a bit of ruckus in the console but …

Member Avatar for avarionist
0
243
Member Avatar for nortech

Hello All, I am currently in the process of adapting an application that previously worked only with Microsoft Access to work with SQL server or Access. Previously, all database interaction was designed based upon using the XSD file to create queries (etc). I wasn't sure how to handle the new …

Member Avatar for nortech
0
180
Member Avatar for RMelnikas

Im trying to make a little program that gets the computers IP address i have got it to do all of that and have got it to use the default email program to add the email address, subject and body but i cannot get it to add an attachment. [CODE]Imports …

Member Avatar for Oxiegen
0
147
Member Avatar for s2xi

Hi guys, I have a table that outputs all my contacts via a while loop from my database. my syntax is like this: [CODE]SELECT * FROM contacts WHERE id = $_SESSION['user_id'] ORDER BY name ASC LIMIT 5[/CODE] that pulls out all my data and only gives me 5 results. Now …

Member Avatar for s2xi
0
586
Member Avatar for carylle

Can someone please help me. I want to call an MS Word Document in my system using VB.net what should be the syntax? Thanks!

Member Avatar for augamal
0
285
Member Avatar for MDanz

Need help doing this. On a drop down list, on click of an option an input textfield appears. e.g. [CODE]echo "<select> <option>What is your opinion on</option> </select>"; echo "<div id='pop'><input type='hidden' id='opinion' size='20' name='opinion' value='Type Keyword Here' /></div>"; [/CODE] i want it to be hidden and then appear on click …

Member Avatar for PsychicTide
0
894
Member Avatar for Jothe

High guyz am tryin to get hint from my database but i am managing to do so,though if i list the array am able. please help if any one has an idea here is the html code [CODE] <html> <head> <script type="text/javascript"> function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; …

Member Avatar for Jothe
0
179
Member Avatar for Danth6961

Good afternoon everyone, I am trying to figure out the best solution for the following database. Any comments would be appreciated. The product will track recurring training. The part that I need suggestions is this. For simplicity, let's say the org has 20 employees and there are 20 training classes. …

Member Avatar for Danth6961
0
110
Member Avatar for TommyRay

Hi, I've made a browser project and beyond making it a default browser, I am having a problem with the Favorites feature TreeView control saving, loading and repopulating it with the users data. It's tough finding the correct code as there are so many variations of this control in various …

Member Avatar for Oxiegen
0
578
Member Avatar for freiheit

Hello all I have this query [CODE]$query_Totals_i = "SELECT (kinisis_1c + kinisis_1e + ((kinisis_1c / kinisis_1b) * kinisis_1a)) * (1 - fpa) * 1.005 AS kinisis_1, (100c+ 100e+ ((100c/ 100b) * 100a)) * (1 - fpa) * 1.005 AS `100ara`, (super_1c + super_1e + ((super_1c / super_1b) * super_1a)) * …

Member Avatar for rajarajan2017
0
106
Member Avatar for Flux123

Hi There, I'm trying to learn a bit of assembler and have got the grasp of the majority of the basics. However I'm struggling to allow a user to enter a string, terminated by a null character when the user hits carriage return. I'd also like to be able to …

Member Avatar for NotNull
0
591
Member Avatar for adams161

i found this code to update a property on an active directory entry: [code] If user.Properties.Contains("title") Then user.Properties("title")(0) = employeeTitle.SelectedItem.Text Else user.Properties("title").Add(employeeTitle.SelectedItem.Text) End If [/code] I understand it except for the ("title)(0). why is this a double index array. what does the (0) do? Mike

Member Avatar for adams161
0
101
Member Avatar for madhub2v

which programming language is most widely using by the software devolopers to devolop software like, any OS,application software,IDEs ,computer and mobile applications.?

Member Avatar for StuXYZ
0
113
Member Avatar for irum siddique

salam i am student of computer science....... i need help of all of you....... kindly tell me that how can we acces parallel port in visual basic 6.0??? not in v.b.net...... kindly guide me....... and send me steps and guidness if anyone knows.......... my email address is [email]irumsiddiqueawaan@yahoo.com[/email]

Member Avatar for vb5prgrmr
0
382
Member Avatar for ramagiri

HI, I would like to know, what are all the scenarios under which perl is used for software testing... this will be useful to me :!:

Member Avatar for testuser_forum
0
99
Member Avatar for gingerfish

Please help me =( I'm not native english speaker, therefore some things might be not clear here I have 2 separate files: [B]Main.java[/B] and [B]Open.java[/B] inside [B]main.java[/B] there is a GUI and it has a [B]JTextArea[/B]) where i want to show text (variable) called from [B]open.java[/B] in [B]Main.java [/B] i …

Member Avatar for adams161
0
3K
Member Avatar for tiggsy

I've been going round and round trying to sort this. I have this in one of my programs: [CODE]drop table if exists temp2; rename table something to temp2; rename table temp to something; create table temp like something[/CODE] and it's not working, though it will work when I manually paste …

Member Avatar for nileshgr
0
2K
Member Avatar for waren

Hello I'm new also with the php programming language i tried to put this code. I wanted to happen is when it submit it will email to me the name of the user. <?php $alert = $user->get('username'); if (isset($_POST['continue'])){ mail("waren@unicondouglas.com","User Login",$alert); } ?> <form name="frm" action="http://enpekei.com/products/index.php?option=com_igallery&view=category&id=0&Itemid=57" method="post"> Good Day! <?php …

Member Avatar for waren
0
115
Member Avatar for MDanz

the below code is causing two records to be inserted into mysql. I have no idea why. when i remove it no record is entered. When i add it two duplicate records are entered. Any idea why? it is in an if statement. What would cause it to be inserted …

Member Avatar for MDanz
0
86
Member Avatar for WargRider

Well, I am actually making a custom 2d turn based gaming engine in Java. So far I have actually gotten a solid based down, the ability to load a seamless game world (no instances) as well as a layered world, with a terrain layer, buildings layer, unit layer then an …

Member Avatar for moutanna
0
156
Member Avatar for Jeramy

Be aware this is going to be ugly because I have never written anything in python and am attempting to quickly pick up just enough to solve my problem. I need a way to automate doing about 2 weeks of daily archives of a backup file. I think I have …

Member Avatar for Jeramy
0
110
Member Avatar for DelilahDemented

I'm doing this simple program that checks for number validation and I have an infinite loop in it. I can't figure out how to stop it. It's supposed to check for numeric digits only, but when it finds something other than the above, it hangs up in the loop. Could …

Member Avatar for DelilahDemented
0
237
Member Avatar for i2avi

Hi, I'm working on an assignment and, after a significant amount of googling and reading through my textbook, I can't seem to find a tutorial for anything similar to what I need to do. My aim is to produce a tool which draws a line on the screen based on …

Member Avatar for NormR1
0
108
Member Avatar for Want2Code

[B]Hi, im new to this forum, and as far as I know. this hasn't been posted. What I am trying to create is a log in system, and in one of my forms I want to limit the date entered into a form. For example a user cannot enter a …

Member Avatar for Smith5646
0
140
Member Avatar for Jesi523

Hi, I have a question please I am using a DetailView to Insert into a SQL Server database. I then want to get the last identity id and use it at the end of url to redirect it to another page. I've done a lot of research and I think …

0
81
Member Avatar for YasaminKh

Hi, I need help in converting a number which is written in scientific notation into the int. For example I have this number: 6.538e-5 and its format is string. Any suggestion how can I convert it to the integer?

Member Avatar for NathanOliver
0
139
Member Avatar for dansnyderECE

I have several strings in a text file and I want to search each string for a word starting with "<" and ending with ">". I then want to replace everything from < to > with a new string. So here's a couple lines I want to convert: [CODE] 400110: …

Member Avatar for NathanOliver
0
125
Member Avatar for karan khokhar

i wrote a software which would work perfectly fine on vb.net with connection string: SQLConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename='" & a & "';Initial Catalog='" & f & "';Integrated Security=True;User Instance=True" but if i try and run it on a pc with sql server 2005 installed it fails to run what changes …

Member Avatar for finito
0
147
Member Avatar for indu_k

We've been trying various tools to document our projects. Have tried everything from the Rational Rose suite to a basic Wiki with Visio to write up just the right amount of documentation, use cases and specs. Lately we've adopted a more agile approach to development and wanted some ideas on …

Member Avatar for abbyo
0
177
Member Avatar for Diamonddrake

I have a ps3 and I have been using it to stream my huge media collection to my TV. my ps3 failed, I keep reflowing it but it keeps overheating but that's not what this is about. I have all my media set up the way I like it on …

Member Avatar for Diamonddrake
0
155
Member Avatar for YasaminKh

Hi, I'm writing a code that takes a file name from user and opens it if it exist and if it doesn't asks for another file name. What i wrote is this: [CODE] #include <iostream> #include <string.h> #include <string> #include <stdlib.h> using namespace std; int mani() { string input; cout<<"please …

Member Avatar for YasaminKh
0
111
Member Avatar for shadiadiph

Sorry for another regex post but i have been trying to get a regex to work to check for unwanted characters in a string like @#?! I have tried [code] var cityreg=/^[^$%@!]+$/; [/code] but it doesn't seem to work?

Member Avatar for shadiadiph
0
2K
Member Avatar for MichaelWClark

I have been fighting with this code for 3 days. I got everything to work....except its a bit glitchy as of right now and I can't figure out why. I am sure it is simple. They basic concept is something like this: OFFICE [txtbox] [txtbox] [txtbox] [label] +add row BUSINESS …

Member Avatar for MichaelWClark
0
107
Member Avatar for mithunp

I am doing malloc(0) and then doing strcpy and then reversing, and its working, why?? and if i dont do malloc(0) and then try to strcpy program carashed as expected, but how does malloc(0) making a difference.[code]#include <stdio.h> char* reverse(char *data); void my_Strcpy(char* dest,char* source); main() { char* p_Name = …

Member Avatar for Dervish1
0
216
Member Avatar for asifakhtar

Hi, I have a form in which a user can create from 1 table to 10 tables which will dynamically create 2 HTML radio buttons, 12 checkboxes and 1 select drop down and 7 input textbox per table in JavaScript. I need help with printing the whole form with currently …

Member Avatar for fxm
0
163
Member Avatar for zia zia

Hi Guys, I'm making a login form. I want to add validation to it but don't know how to do it. I have just added the echo statement as an error message. I want the message to appear on the index page.Can anyone help? My php login form process.php [CODE]<?php …

Member Avatar for Zagga
0
140

The End.