199,114 Archived Topics
Remove Filter ![]() | |
Hey guys need some help with this. I m kinda new to c++. I m trying to insert a structure into a set. and when i compile this i m a gettin an error. i guess i need to add a comparator function please let me how do i do … | |
Hi, I have a web application that uses a class called "CommonFunctions" located in the App_Code folder. I can use functions in this class in the ASPX file, e.g.: [CODE] <script language="vbscript" runat="server"> dim X as string X = CommonFunctions.Func1() </script> [/CODE] This procedure works correctly in the local host. … | |
When you know that a value will be very small (single digit), wouldn't it make sense to use Int16 instead of Int32? It seems that the least amount of memory required for every variable would be preferable. | |
I want to develop a login page ,i want that admin username & password to be saved in asp file suppose FrmLoginDetails.asp. Username - sonia Password - citm123 When the user logins,i want that his entered usernme & password to be compared with the that are stored in file FrmLoginDetails.asp.. … | |
Info :Compiling C:\tmp\lab2.cpp Warn : lab2.cpp(56,16):Possible use of 'choice' before definition Error: lab2.cpp(60,5):Type mismatch in redeclaration of 'mainProgram()' Error: lab2.cpp(60,5):Declaration syntax error Hi everone, I am new to C++, please help. After I compile (using borland V5.02), I got these above prolem, please let me know what's wrong and this … | |
Hi everybody I have've been asked to do something but I can get only to a point and I am now stuck. Please help. I have written a Sub in VBA for Excel 2003 (see below) in which the top cell of a range (WorkRange) is initially set at Cells(1,2), … | |
hi, i'm using the code below to insert data into an access db but keep gettin the error "Datatype mismatch in criteria expression" [code] total = Integer.Parse(txtMonth.Text) * Integer.Parse(rent.Text) Com.CommandText = "Insert into Report Values (?,?,?,?,?,?,?,?,?, NOW())" With Com.Parameters .Add("@ID", OleDbType.Integer).Value = CID .Add("@Tenant", OleDbType.VarChar).Value = cboTenant.Text .Add("@type", OleDbType.VarChar).Value = … | |
so here is what my program does Please enter a number: (lets say I enter 5 store in $01) Please enter a another number: lets say I enter 3 (store in $s02 next condition is beq $s01,$s02, end bne $s01,$s02, loop and loop needs to provide user upto five opportunites … | |
[code]set::set() { cardinality = 0; setlist.resize(DEFAULTSIZE, false); } set::set(int n) { cardinality = 0; setlist.resize(50000, false); } bool set::empty() const { if ( setlist.empty() ) { return true; } return false; } void set::insert(int x) { if (x >= 0 && x <= DEFAULTSIZE) { setlist.insert(setlist.end(), 1, x); cardinality++; } … | |
Hello I have created an ActiveX control in VB6.0 and trying to embed this ActiveX control in Asp.Net 2.0 through the following command. But I can’t see anything in my aspx page whereas it works fine with html page. [COLOR="Green"]<object id="ctlVBAX" classid="clsid:B7C88829-7BCF-4AB6-95A5-F63ADBEA151A" codebase="vbActiveX.CAB#version=1,0,0,0"> </object>[/COLOR] You can download the cab file … | |
hi friends, i am new to this forum. i got a problem for sending mail to checked values(check box) on the form. i enclosed the file for us. please any one check this and fix my error as soon. | |
Hi all, My client wants to host the videos on his site using the embed code and link of the video. What is the best way to protect the videos from downloading or saving it into pcs. Client wants his videos to remain secured and private and users can view … | |
kindly let me know the coding in vb6 to get the serial numbers / id numbers of the processor and hard disk of the personal computer using xp operating system, under use. | |
So I've got a code in VB that will download a txt file from a website. The problem is I want this file to be downloaded into whatever folder that my program is in. for example, if my program was in C:\random_folder\ then I would want this txt file downloaded … | |
hi. I need to make one setup file .exe to install many programs. eg : i wanna to include the sql server in the setup of my application that i developed . so the user don't need to setup the two programs separatly . thansx | |
hi friends... i have a doubt in insert query... how to write the insert query to insert the value from textfield into database table....... | |
I have a listbox and a datagrid. When the form is loaded the listbox is filled with a list of tables from a selected database (SQL 2008). [CODE] sqlstr = "SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME" [/CODE] Then I have a SelectedIndexChanged that populates … | |
How can I extract repeated paragraphs of data from an html document. Every paragrahp is preceded by the line: <p><i>Summary as passed House:</i> <br> Thanks. | |
I need to format PHP to use with one of my date field (DATETIME). I want to get current time and format it. I have checked some googled articles but I cannot get far. Please help me! | |
Hi all! Well, the name isn't entirely accurate but since I have found it very hard to find some actual useful information on the topic I decided to name it as such. Purely as a programming practice I would like to make a calendar application. Something along the lines of … | |
hi friends, i have created a table in ms-access. it contain 7 fields. in it 1st field is customer_id which is set as autonumber type. now i have a doubt of how to provide the value to this table. i dont want to overwrite the autonumber field as well as … | |
So I've been coding for a few months now and I have a pretty good grasp of most things but I can't wrap my head around getting info from loops. So here is my problem. I have a text file containing text similar to this: [CODE]<domain name="proxies"> <section name="proxy0"> <setting … | |
This is really frustrating. Whenever I run this, a blank window frame appears The components only appear when I click the edge of the frame. Please check if I did something wrong: [CODE] import javax.swing.*; import java.awt.*; /** * */ public class FFGen{ public void First(){ /** * @param args … | |
Hello! I am a newbie who's trying to code in my app a way to send email with file attachments. Here's the code I put together (thanks to Google!). [code=php]<?php $fileatt = "/somedir"; $fileatt_type = "application/zip"; $fileatt_name = "logos.zip"; $email_from = "joe@work_email.com"; $email_subject = "attachment test-subject"; $email_txt = "attachment test-body"; … | |
hey guys, I'm looking for a program that was posted few months ago on a website, but i can't seem to find it, i tried Google, 1 result came up, but the link was broken ... if you have the program with its source could you plz post it here, … | |
Hi, I'm trying to make a program in python that solves word puzzles like this: "nj" (the answer to that is "ok") where each letter is off by one, for example a or c instead of b. the program is supposed to generate a list of possible words which will … | |
Hi folks, I wanted to get the value of the clicked A href links, somebody please help.... i have something like this, [CODE] <a href="javascript: void(0)" onClick=window.open('<?php echo $rows['file_name']?>','welcome') style="border:0 ">View</a> [/CODE] So i want to get the value if user clicks the href button. so please anybody... | |
I have datagridview which display 3 columns. i would like to show icon in each rows with different by if column 3 = "OFFLINE" then the icon offline show else online show. the above is my code but not working. it is creating other column. please help me. Chantra. Public … | |
 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\xampp\htdocs\plaincart\library\config.php:1) in D:\xampp\htdocs\plaincart\library\config.php on line 7 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\xampp\htdocs\plaincart\library\config.php:1) in D:\xampp\htdocs\plaincart\library\config.php on line 7 Hello guys.. Above are the errors that … | |
How to get value from Dropdown and text values Please advice [CODE] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form action="tst.php" method="GET"> Input Keyword: <input type="text" name="q" style="width:200px;"> <input type="submit" value="Search"> </form> <select> <option value="SC">South Carolina</option> <option value="SD">South Dakota</option> <option value="TN">Tennessee</option> <option value="TX">Texas</option> <option value="Alaska … | |
I m creating an sms based application , so how to connect to GSM MODEM using VB.net , do any one have code snippet of this appl | |
I have a table displaying some leave information about staff. In the table, the value for "from" date, "to" date and leave entitlement for staff is retrieved from the database and are allowed for update. I'm using onChange function to keep the table updated wherever there is any of the … | |
hi im getting an error wen i give this syntax in order to retrieve info from my db into a txt box <input type="text" name="tname" <%out.println(rs.getString(1));%>/> pls help | |
I written a code to create a image viewer using javascript. But the script only works in IE but not in firefox. Please help. The code is below...... [CODE] <script type="text/javascript"> function changeImage(filename) { mainimage.src = filename; } </script> <center> <img src="images/bg.jpg" name="mainimage" width="419" height="282"> <marquee width="90%" scrollamount="5" onmouseover="this.stop();" onmouseout="this.start();"> … | |
How would I make the background of a form (which is usually one boring color) a dynamic gradient, measuring by size of the form and creating the gradient from there? Thanks | |
Hey kind people! How do I remove duplicate Rectangles from my List<Rectangle> in C#? Thank you | |
I am very interested in developing RIAs. So I just wanted to know you opinions of each of them. I have a good foundation of XHTML and CSS, so is AJAX better? -How compatible are they? -How well do they handle images and animations? -How flexible and versatile are they? … | |
Hello, sorry if this is a stupid one, I recently started learning assembly and I have read many different tutorials, most of them start with " cpu has 8 main purpose registers... " bla bla you all know that. Ok so cpu has a few registers for programs to use, … | |
Displays the html tags without rendering on a webpage. | |
I am new to php/sql, please forgive what must be a very basic question. I created a simple php form and have it send the data to a 2nd php page which then inputs the form data into a sql DB. I have it working 100%, but a question comes … | |
I need some help on this, it is due by 11 PM tonight and I'm not quite sure where to go. In a C++ program, we are supposed to take in four data points of a quadrilateral (in order, so no jumping across the figure) and find the area in … | |
Was wondering if soemone could point me in the right direction with the insertafter function in a double linked list. The function looks like this. [CODE] const LinkedList::Iterator LinkedList::InsertAfter(const Iterator& Iter, const ItemType& Item) { nodePtr nNode = new Node(Item, NULL, NULL); // test if allocation was successful if (nNode … | |
I need a little help :) My program opens up internet ports in the windows firewall for help with downloading via bit torrent or conenction issues with msn or steam. Now at the moment i have 3 settings , 1 hour, 2 hours or permenant but since this program leaves … | |
Hi All SQL Gurus, I am working on a project for a college. I have to generate a unique student Id for each student. I know I can use IDENTITY column to achieve this but I have rather complex situation here. My studentID field is string because they want it … | |
Hello, Thanks in advance to anyone who can answer this question. Can I record a users ip address without them logging into my site? I have a list of documents that I would like to make available and would like to get an idea of who may be viewing them. … | |
Hi, recently i needed to query a table , however i was denied "Select " permissions (because permissions had not yet been exported as the db was). Should my application enable for administrator to grant permissions , if that error occurs OR should permission granting be done through MS SQL … | |
which of the following is correct 1)block can have multiple records 2)records can have multiple blocks 3)one record per block 4)both are independent | |
I have a homework. i don't understand it. Can you help me [B]Given an amount of money (less than 10,000VND), compute the number coin of 500VND, 1,000VND, 2,000VND, 5,000VND needed. Remember that the number of coin is minimized.[/B] Thanks. | |
Hi Guys, I’m panicking for this issue. Please help. I have a form that all the rows of the table are dynamic and there are text areas in each row that the value could change. The only thing that makes each row unique is the Month row belongs to Month … | |
Dear All, I have dropped a WebBrowser control onto my form but It will not display the webpage I have set the code to navigate to. Snippet is - APBrowsePage.Navigate("http://www.microsoft.com"); . Where APBrowsePage is the control name. Dave |
The End.