199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for karthik.u

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 …

Member Avatar for Tom Gunn
0
2K
Member Avatar for Datsun90

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. …

Member Avatar for sedgey
0
134
Member Avatar for kahaj

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.

Member Avatar for kahaj
0
80
Member Avatar for sonia sardana

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.. …

Member Avatar for sedgey
0
94
Member Avatar for calleriq

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 …

Member Avatar for Nick Evan
0
151
Member Avatar for orsodani

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), …

0
156
Member Avatar for danielagaba

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 = …

Member Avatar for TomW
0
84
Member Avatar for shahab03

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 …

Member Avatar for shahab03
0
72
Member Avatar for scantraXx-

[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++; } …

Member Avatar for Alex_
0
165
Member Avatar for AbhishekGoenka

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 …

Member Avatar for Ramesh S
0
220
Member Avatar for shahursk

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.

Member Avatar for wilch
0
136
Member Avatar for csharplearner

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 …

Member Avatar for edwinhermann
0
127
Member Avatar for lokanathvb

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.

Member Avatar for AndreRet
0
175
Member Avatar for mybluehair

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 …

Member Avatar for AndreRet
0
135
Member Avatar for m_shanak

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

Member Avatar for m_shanak
0
159
Member Avatar for engg_kavi

hi friends... i have a doubt in insert query... how to write the insert query to insert the value from textfield into database table.......

Member Avatar for javaAddict
0
112
Member Avatar for Merovingian

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 …

Member Avatar for sknake
0
145
Member Avatar for jamesrobb

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.

Member Avatar for sknake
0
768
Member Avatar for Stefano Mtangoo

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!

Member Avatar for Stefano Mtangoo
0
216
Member Avatar for ctrl-alt-del

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 …

Member Avatar for kvprajapati
0
181
Member Avatar for engg_kavi

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 …

Member Avatar for engg_kavi
0
62
Member Avatar for Merovingian

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 …

Member Avatar for GeekByChoiCe
0
156
Member Avatar for einjelle

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 …

Member Avatar for einjelle
0
246
Member Avatar for kristo5747

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"; …

Member Avatar for sarithak
0
1K
Member Avatar for makaman

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, …

Member Avatar for dhavalcoholic
0
179
Member Avatar for simonches

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 …

Member Avatar for simonches
0
158
Member Avatar for jithusdani

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...

Member Avatar for jithusdani
0
160
Member Avatar for hemchantra

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 …

Member Avatar for GeekByChoiCe
0
2K
Member Avatar for Renzokouken_22

 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 …

Member Avatar for Renzokouken_22
0
243
Member Avatar for j_limboo

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 …

Member Avatar for CFROG
0
2K
Member Avatar for codeambarish

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

Member Avatar for CodeDoctor
0
107
Member Avatar for lcyew

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 …

Member Avatar for kylegetson
0
96
Member Avatar for nazd28

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

Member Avatar for nazd28
0
158
Member Avatar for adino2

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();"> …

Member Avatar for matthewmaxwell
0
144
Member Avatar for NargalaX

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

Member Avatar for papanyquiL
0
110
Member Avatar for KillerOfDN

Hey kind people! How do I remove duplicate Rectangles from my List<Rectangle> in C#? Thank you

Member Avatar for KillerOfDN
0
928
Member Avatar for Agent Cosmic

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? …

Member Avatar for Troy III
0
111
Member Avatar for rvaiksaar

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, …

Member Avatar for rvaiksaar
0
114
Member Avatar for serkan sendur
Member Avatar for macross

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 …

Member Avatar for macross
0
158
Member Avatar for Cole

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 …

Member Avatar for Foamgum
0
765
Member Avatar for Flapjack

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 …

Member Avatar for Flapjack
0
840
Member Avatar for haxor98

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 …

Member Avatar for TomW
0
233
Member Avatar for virang_21

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 …

Member Avatar for sknake
0
127
Member Avatar for dottomm

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. …

Member Avatar for dottomm
0
185
Member Avatar for stoymigo

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 …

Member Avatar for sknake
0
112
Member Avatar for shruti_kapate

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

Member Avatar for shruti_kapate
0
42
Member Avatar for VuongGAD

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.

Member Avatar for sfuo
0
113
Member Avatar for cfcoder2

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 …

Member Avatar for arrgh
0
147
Member Avatar for dave starkey

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

Member Avatar for sknake
0
163

The End.