199,114 Archived Topics
Remove Filter ![]() | |
Hey all, I've been searching Rohitab, CodeProject and various other sites to figure out how to write OPCodes to a file and cannot figure it out. I thought I'd ask here because it's the only site I have an account on and I usually get my answers here or hints. … | |
I am trying to write a script that will facilitate cataloguing various files on a backup medium. Looking at what's available, only **stat** seems suitable but it outputs the data with a lot of formatting I don't require and would take a lot of scripting to massage into what I … | |
I need to have a text field in a search form that pulls from our DB, to default to uppercase for the search. I tried to use java script in the html part of the form for that field but it bombs out after you submit the search. Here is … | |
I have searched this forum and see that there are quite a bunch of topics related to files being used by another process. However, none of them seem to fit or work for me. This is my scenario - I have an XML file that is used as a template, … | |
Hello, How can I get a bigger textfield? What I mean is: Let's say that I'm going to register a bunch of cars in a program I made. I want to register things like name, model, when it's made etc + description. I can make simple JTextFields for most of … | |
Hi I have a problem, I have created a site that allows for a user to bid on property but cant get a code to work where it updates a current record in the database <form id="MakeBid" action="MakeBid.php" method="get"> <div>Bid Now <input type="text" name="pricesoldfor"/></div> <input type="submit" value="Place Bid" /> </form> … | |
**Hey, so i got syntax error when i'm trying to use this file** Parse error: syntax error, unexpected $end in /var/www/vhosts/airlinesofisrael.com/httpdocs/phpvms.full/lib/skins/lolim/layout.tpl on line 129 my code is below, can someone help please? :) <?php /** * * * * * * * * * * * * * */ ?><!DOCTYPE … | |
IF someone can write this code out for me so i can use it as an example for the rest of my problems and question i have to do I would really appreciate it alot. and no this question is not Homework what so ever I am a visual person … | |
I have wikimedia tags in a text file. I need to get rid of these tags from starting to ending even when nesting. I'm using Perl. I'm facing a difficulty in nested tags. I'll give two examples of these tags that I could not to remove. Example 1: {{ text … | |
hi i connect to a web page with this code: Private Sub mnuCOLLEGAMENTO_Click() Dim TheBrowser As Object, I As Integer, orario As Date Set TheBrowser = CreateObject("InternetExplorer.Application") With TheBrowser .Visible = True .Navigate ("http://www.dir*****.com") End With end Sub then, how can i do to fill PASSWORD field and USER field? … | |
I have a GUI in which has a container for a JTable called 'listTable'. I want to populate the JTable with data stored in a linked list, using the AbstractTableModel. Basically, I have a LinkedList stored in Processing.java. It contains all the data retrieved from a text file. I created … | |
Does C++ Console apps have a TryParse equivalent.. I mean .Net has it for both C# and C++ but why does C++ Consoles NOT have this! Or am I just wrong and cannot find it? I was thinking of writing my own with templates that can be use for ANY … | |
Hello. So here's the stitch. I was asked to modify some existing code to only prompt the user to save changes when a change was actually made and not every time the new page button was pressed - which was what it was currently doing. I've ran into a bit … | |
I am trying to change the data type of a primary key in table A from INT(11) to CHAR(11). However, this primary key is a foreign key in tables B and C. SQL is giving me an error whenever I try to change the value type of the primary key. … | |
Hey. I'm writing a script that processes some data. The script creates a HTML page which contains a form that calls (action=) the same script and changes according to data asked. So the user asks for something, the script goes to a DB, gets it and prints it into the … | |
I have a problem with netbeans.... Already I installed MySql. but in netbeans Services panal not mention anything about databases.. If I right click on their its not mention anything.. I want to add database through that. So how I can do it. What are the pre-Requirement to do this(Any … | |
Hello: I was wondering if I can get some guidance on how to pull data from mysql and inserted in js array in the following manner var option_array = new Array(num_of_cats); option_array[0] = new Array(\"You need to select a category\"); // This is the first (blank) category. Don't mess with … | |
HI there, I have runt into an issue with the overlay I have on the website I am working on http://antobbo.webspace.virginmedia.com/petras/test/egypt.htm The problems seem to be with Internet explorer 7, 8 and 9. Say you click on the first thumbnail, then the big pix comes up and behind it the … | |
Can please someone tell me, why I always get SECURITY_ERR when trying to open a new filesystem? The code is from html5rocks.com, so it is probably not the code. Chrome Version: 19.0.1084.15 (Developer Built). Code (from [html5rocks.com](http://www.html5rocks.com)): <html> <head> <style> .example { padding: 10px; border: 1px solid #CCC; } #example-list-fs … | |
Hi gueys, I have question searched in google but without something that can help. **How to get the binary stream from files ( especially executable files) using winapi (CreateFile , etc)????** I learned in these days how to read write files using Createfile, ReadFile, WriteFile , etc and all these … | |
![]() | Hi Is there anyone who could help to figure out how link regexbuddy to Delphi 7SE? |
I have Excel like #EmpId EmpName ProjName Date JiraId ***Thursday, March 01, 2012***# 1 test3 Project Name 4/11/2012 1810 5 2 test4 Project Name2 4/11/2012 1810 6 when I read data to DataTable the result will be like #EmpId EmpName ProjName Date JiraId ***40969***# 1 test3 Project Name 4/11/2012 12:00:00 … | |
Here $a and $ b are equal. But in line 07 its not printing 'this is equal'. What is the problem? Plz help me. Remember when form submit $a and $b is equal. but when refresh they r not equal. <?php session_start(); $a=$_SESSION['randomnum']; $b=$_POST['secure']; echo $a.'<br/>'.$b; if($a==$b){ echo "this is … | |
Hi all. I am not sure if this should be in PHP or MySql, but it is more relevant to MySl. I am designing a helpdesk for my department. Currently I am entering data into a form, which submits that data to a MySql table. That table is then displayed … | |
I have this: [code] DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `linkacorte`(vid_pedido int(11), vid_producto int(11),vtiempo varchar(50),vid_pastelero int(11),vcorte varchar(200),vnum int(2)) begin declare campo varchar(20); DECLARE EXIT HANDLER FOR SQLSTATE '42000' SELECT 'Ha introducido un campo incorrecto. Solo se permite 1,2 o 3'; if vnum=1 then set campo='programa_corte_1'; elseif vnum=2 then set campo='programa_corte_2'; elseif … | |
... to provide Email client reading pane functionality such that it can display an attached image as part of the message body. Is there a single control that will display text with an imbedded image or do I need to create a UserControl? | |
hi there! can you please help me? this codes doesnt have any reponse from the database .. these codes is for case sensitivity of the usernametxtbox and if satisfied, the secretquestion textbox will automatically display the correct secret question. help me pls! Dim i As Integer Dim PassResult As String … | |
my login code works fine but the it gives me problems when the username and password in questin are not on the first row in the datatable. This is because when the code in debug mode, I took the time to check the contents of the datatable using the datatable … | |
My web hosting service provider allows me to uplaod my ROOT.war file only. and there is no directory structure. So is there any way by which I can upload pics and add new pages or make changes in existing pages without re-uploading the entire ROOT.war file. P.S. I also want … | |
im using fpdf.php library have some extension the pdf_lp.php then i got this error on my codes... hope somebody can help me identify my error.. any help is very much appreciated. <?php date_default_timezone_set('Asia/Manila'); require_once('./pdf_lp.php'); include ('connect.php'); // $sql = mysql_query("SELECT * FROM mydb WHERE contractno = '$_SESSION[contractno]'") $sql = "SELECT … | |
Hi, I have a problem with a the imput of some data on a program Im making (FYI new in c++, homework). So basicly the progrma I have is to imput diferent type of data, this is what im doing. (Im using codeblock 8.02 in Ubuntu 10.04 ) #include <iostream> … | |
I have this sample of API code, i'm trying to embed my form into it. This code is in php. Below is the sample API code ----------------------------------------------------------------------------------- <?php echo(get_sentiment_rank_text("We like sharing our service with you. We hope you enjoy it as well.")); function get_sentiment_rank_text($content) { //get the sentiment scoring info … | |
how can i limit the borrowing of books in our system. the user is only allowed to borrow books 3 times a day.. so if the user reaches the limit,.the system will not allow the user to borrow books anymore. here is our codes but it does not work well..so … | |
How do I open my Crystal Report in VB code (RPT files) on password-protected Access 2007 database? Ever since I protected my database with password, my Crystal Report generates an error. Thanks | |
Hey guys, I urgently need your help. Just stuck in the develpment of my website. My problem is as follows:- I am using asp:hyperlink in my masterpage as-- <asp:HyperLink ID="HyperLink9" runat="server" Text="Expert" Font-Underline="False" ForeColor="White" NavigateUrl="~/exam.aspx?cat=css_ex" ToolTip="Expert in CSS?"></asp:HyperLink> and in exam.aspx page , i am retrieving the values from exam … | |
Okay, I've got an order form that needs to calculate the total each time a quantity is updated. I have it set up the way I think it should work. I've added one of my methods here for my QuantityBox_TextChanged. I have 3 quantity boxes like this, and I set … | |
Hi guys, im pretty much done with my program but im receivin an error that i cant find where it its. Im using a WPF application in visual studio and it uses a service reference that contains addresses and zip codes. The purpose of the program is for the user … | |
I have a database with structure like users: usr_id usr_fname usr_lname usr_uname usr_pass organizarion: org_id org_name org_address org_tel org_web org_email org_cat org_desc departments: dpt_id dpt_name dpt_desc sections: sec_id sec_dpt_id sec_name sec_desc designations: dsg_id dsg_sec_id dsg_name dsg_desc employee: emp_id emp_fname emp_lname emp_phone emp_email emp_addr emp_join_dt emp_salary emp_card_no emp_dsg_id emp_sft_id shifts: sft_id … | |
what's wrong in my codes? this is my insert.php: `<?php $host="localhost"; // Host name $username="root"; // Mysql username $password="rommelbarrio"; // Mysql password $db_name="system"; // Database name $tbl_name="grades"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // Get values from … | |
I have been given a database whose content I can't modify. Everything has been going fine until I was passing some variables in a URL through a link, and an apostrophe in one of the variables (i.e "Frank's Used Cars") is causing the variables behind it to not be passed. … | |
I am running into and problem where I am trying to pass an element in an array to a method to calculate the tax that is owed but all I get as a result is 0, which is not right. Here is the writeline: Console.WriteLine("Taxpayer # {0} SSN: {1}, Income … | |
Hi all, Im not sure if im posting this at the right place therefore please excuse if i have not. My Question is: Which position is a better or a senior position ie. Systems analyst or Developer ? I am established in the job market as the I.T systems analyst … | |
I'm a tutor that is helping one of my students with a simple guessing game program. It's supposed to be similar to the board game Mastermind. This program should prompt the user to enter 5 distinct digits, and it should return the how many digits are correct and how many … | |
Hi there,i´m having troubles trying to make just a part of my string to be in bold. the code is: String tudo = ""; foreach (Ent_Proposta_Executada_Item item in neg_prop_exe.ItensProposta) { tudo += item.NumItem + " " + item.DescrItem.ToUpper() + "\n" + item.ConteudoItem + "\n"; } i want that the value … | |
Would anyone happen to know also if there is some predefined swing box for prompting the user to decided whether or not to overwrite an exhisting file? you know the basic "This file already exists, would you like to overwrite it?" | |
I am also working in python 2.6 and i want to send SMS to a mobile while my cell phone i.e. Nokia E-72 is connected to PC via Data Cable. The mobile is connected through a serial port and the code prompts the correct port as well and there is … | |
Hi guys, I am programming in C++ with NetBeans. It works fine when I playing with just one main.cpp file. But After I added an additianal class (1 .cpp and 1 .h), it makes an error even though I do not make any changes in the new files. (all I … | |
I'm not sure what i'm doing wrong, any help would be great. main.cpp(58): error C3861: 'preOrederHelper': identifier not found main.cpp(53) : while compiling class template member function 'void tree<T>::preOrderHelper(treeNode<T> *) const' with [ T=int ] main.cpp(9) : while compiling class template member function 'tree<T>::tree(void)' with [ T=int ] main.cpp(103) : … | |
Hi, Im using session variables and when passing from one page to another with a target="_top" the session variables are erased. Is there anyway i can go around this problem ? Any idea will be greatly appreciated. Thank you | |
Hi – Sorry about the code tag that is not working for me in my previous post and I am having trouble even edit my own post. I am visiting this site after a while and having trouble sending my post. |
The End.