199,113 Archived Topics
Remove Filter ![]() | |
I am studying viruses and trying to figure out how the FLEX module works for C++. I have taken classes before on regular languages, context free, etc. Is FLEX dealing with regular languages or regular expressions, and also what is the difference exactly? Could you give an example of how … | |
I've got a problem with our live server. Occasionally a page will not load, and the following error is displayed in plain black text on a white background: [QUOTE]Server Error The server encountered an internal error and was unable to complete your request Application server is busy. Either there are … | |
Can JMF( java Media Framework) be used to capture video from webcam for a WEB BASED APPLICATION...... it is not a desktop application..... does Operating System allows to access webcam for a web based application | |
Hi, I've been teaching myself php out of necessity for a web project at work and I've run into a situation in which I currently have three different php pages that are used to display three different data grids. However, most of the code is the same, aside from the … | |
Hi guys!) There's a peace of code and I can't understand - what's wrong in it - [CODE]#include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> int main (void) { int status; pid_t pid; if (!fork ( )) return 1; pid = wait (&status); if (pid == -1) perror ("wait"); printf … | |
Hello, I'm a C++ newbie with the following problem (I've used the search function but haven't come up with what I'm looking for. I'm not asking anyone to write this project for me, but a lot of good pointing/ideas is going to help me a lot): I currently have a … | |
In the book "How to Think Like A Computer Scientist" on the website openbookproject.net the tutorial leads you to draw a house with a pre-written script. It then instructs you to: # Wrap the house code in a function named draw_house(). # Run the script now. Do you see a … | |
i have an interesting question for you guys. [CODE] SELECT S.SCHOOLID AS [SCHOOLID],S.SCHOOLNAME AS [SCHOOLNAME],SP.PHOTO AS [PHOTO] FROM SCHOOLPHOTO SP INNER JOIN SCHOOL S ON SP.SCHOOLID = SP.SCHOOLID WHERE S.SCHOOLID IN (SELECT SCHOOLID FROM #SCHOOLS) [/CODE] the Photo Field is an Image Datatype Field, i now you can use them … | |
Hi All, i'm here due to an unexplainable winsock problem. I've wrote a simple TcpSocket class to wrap in an object oriented way, the winsock functions. For testing purposes i've written two applications too, a client and a server, wich just send/receive 10 bytes in a giant loop. Now the … | |
Can someone please tell me about an alternative command that I can use instead of the [B]system()[/B] function? I have another question - If [B]system("pause")[/B] only pauses the program before it exits, can I use [B]getch()[/B] funtion from the [I]conio.h[/I] header file for that purpose.(I know i can use the … | |
hi guys i am wondering if anyone can direct me to a beginners tutorial on creating crystal reports that are specifically based off the sql server compact 3.5 database in visual studio 2008? most of the examples i can find are all related to Sql Server Full..or Access..ect. i have … | |
I have a table for Account Transaction. For each transaction a user must select a transaction category. These are stored in a second table which has a categoryID, description and a text box with only two values {'Income', 'Expense'}. Now in the report, I am grouping by Income/Expense. However, I … | |
Hi, I have been trying to execute this program and i am getting an error. Kindly help me. #!usr/bin/perl -w # The filename of the file which contains the protein sequence $proteinfilename = '/users/sukeerthiteja/desktop/perl/NM_021964fragment.pep'; # First open the file and associate a filehandle with it. for readability purpose lets use … | |
Hi everyone ... I've a problem with fill color. I just want to fill a part of it. For ex.: if we have a face with eyes and red mouth, i wanna to color each part of the face when the user click down the mouse. Thanks for your advice.... | |
when i try to use a sql sentence i juts get this error: An attempt to attach an auto-named database for file C:\Documents and Settings\User1\Desktop\aweb1\User\App_Data\ASPNETDB.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. now i am stucking … | |
Hey all, I want to add a vector to my inventory class so that it can hold whichever item data type is passed in. I'm having trouble with setting the size of the vector so that I can put items in it. Here's my code.. Whenever I run it I … | |
Hi, im using dreamweaver and i have a table in which i have an image. When i add another table under the table existing it comes right at the bottom. What should i do to that table so i can move it and place it anywhere around the page. Is … | |
Hey, Plz, I need some help with this code, In another workbook it worked. Specific on this one it's not working. The error is occuring on the red line, right after it's added a new serie on the graph. Sub Graph() Dim y As Byte Dim x As Byte Dim … | |
Hi, I have a problem with asp.net insertion data in SQL data base. I am using SQL Express with ASP.NET 4.0. I had written the code correctly and it was working fine as well, but now it does not insert the data in the database. It started behaving abnormally when … | |
Hello I have two textfield and dropdown, i want add date to the first textfield and when change dropdown menu add year or month dynamically to the second text-field and I used this code but it give NaN/NaN/NaN [CODE] function calDate() { var dateArr = document.getElementById('date_field1').value; var date1 = new … ![]() | |
what i'm trying to do is get the contents of the textarea, which the id is 'reply'. then onclick of a button, a popup div with id 'layer1' displays the contents of the textarea. i tried below but it comes up blank. i haven't included the pop up/button code, thats … | |
can anyone help me with php code for my form ? <table border="0" align="left" cellpadding="2" cellspacing="0" bgcolor="transparent" style="text-align:left;"> <tr> <td style="" colspan="2"> <span style="text-align: left"><font face="Verdana" size="2" color="#000000"><b style="font-size:20px;">Contact Form</b></font><font face="Verdana" size="2" color="#000000"></font><font face="Verdana" size="2" color="#000000"></font></span><span style="text-align: left"><font face="Verdana" size="2" color="#000000"></font></span><font face="Verdana" size="2" color="#000000"><br /> <br /></font> </td> </tr> <tr … | |
I'm trying to upload a file to a remote server using curl. The server requires that the file contents should be in the post body and the file name should be in the header. This is the code I', using : [CODE] $fp = fopen($fileLocation, "r"); $ch = curl_init(); curl_setopt($ch, … | |
i want to call a void from other form. there is no error when i called void from same form. when i called from another form it return "index was out of range" error [CODE] namespace browser { public partial class mainF : Form { int bo; public List<string> home … | |
I wrote this test code trying to work out a problem. The code gives the correct answer for the example (zero) but to understand the problem i need to understand what the code is doing on a sort of step by step basis. In other words how to do it … | |
Open a Modal Pop Up from a Hyperlink in A GridView where i need to show user details on clicking of the link | |
Hi, Basically, I'm trying to parse a string into a char for submitting into an array, this is what I have so far: [CODE]String strVariable; Char charVariable; strVariable = "Some String"; charVariable = String.ParseString(strVariable);[/CODE] The bottom lines yields an error...is this possible to do? | |
Good Day All I have another question. I have a Silverlight application and in one of the Silverlight pages i am hosting an Asp.net Page using a RadhtmlContainer(Telerik). I created a Cookie in Silverlight like this [CODE] public static void SetCookie(string key, string value) { // string oldCookie = HtmlPage.Document.GetProperty("cookie") … | |
How when i selected in dropdownlist to open next page.aspx? | |
Hi, I am create one application, In Which I am using datagridview. In this I am use multiple radiobuttons. but at the time of page load it takes more time to bind data to gridview.. how to bind data to gridview quikly.. Please Help Me.. | |
Hi all . . i need to develop an uploader for my website . . i done it . but the progress bar not working . . plz do help me .. thanks in advance . . --Karthik this is my code . aspx page : [CODE]<%@ Page Language="C#" AutoEventWireup="true" … | |
Hello, I have a big problem with opening asp.net website. I have building asp.net website months. Yesterday I have install a fresh Windows7, and after that install Visual Web Developer 2010 express from which I have build website. Now when I open webiste in Web Developer, and browse with Internet … | |
Hello. I am 2 days old in asp.NET. I had the option to do one of my home assignments in asp.NET and I thought it would be fun. It's not been as scary as I thought. Still, I have troubles debugging my queries. I can catch errors with try-catch block, … | |
For my code I need to change a arrayList to a string array. I did it like this [CODE] ArrayList tempList = new ArrayList(); //some code to put strings into the list stringArray = (string[])tempList.ToArray(typeof(string)); [/CODE] It's the last line I don't get. In the ToArray method you set the … | |
Hey guys , i have a small problem regarding calculation in c++. Here is an example below [CODE]int main() { int f = -32; int d = 2; int re = d - f; int re2 = 2 - (-32); int re3 = 2 - - 32 } [/CODE] The … | |
I am unable to solve the errors found in this program. Can someone be kind to help me solve it? Thanking in advance. :) [CODE]#include "stdafx.h" #include <iostream> using namespace::std; class detail { protected: char address[50]; int age; char name[25]; public: int a; int b; int c; void getdetail(void) { … | |
I am quite new in php and I wonder is it possible to create a textbox inside a button? I wish the button consist of a textbox inside its value. Anyone can help me?? | |
Hi ALL, As i am new to XSLT i am not able to implement the logic, Please share your views if any know's how do this. i have an xml [CODE]<?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type="text/xsl" href="Temp.xsl"?> <Rowsets DateCreated="2011-02-14T12:24:00" EndDate="2011-02-14T12:24:00" StartDate="2011-02-14T11:24:00" Version="12.0.2 Build(88)"> <Rowset> <Columns> <Column Description="BatchNumber" MaxRange="1" MinRange="0" Name="BatchNumber" … | |
Hey i'm developing a role based user authentication in my desktop application.i need to add few roles like Admin, operator, etc... i can get users role if i have user name of the logged in user.but after logging in the username cannot be retrieved again.So it has to be saved … | |
Trying to take the output and put it in a format that looks like a MAC address separated by colon looking for 0800 type field and 0806 then print the data in a useable mac address format. Any help would be appreciated. [CODE]#define RETSIGTYPE void #include <sys/types.h> #include <sys/time.h> #include … | |
Hi All, I am using VS05 + Web application + C# + Crystalreport + SQL SERVER In my application i am using crystalreport.My report runs fine.I created almost 150 reports. Now my client wants to change the image on the report,which is a tedious job. Now I want to save … | |
I have the following XML... <TechnicalMeterDetails> <RemovedMeterRegisters MeterCategoryCode="RM067"> </RemovedMeterRegisters> <RemovedMeterRegisters MeterCategoryCode="RM066"> </RemovedMeterRegisters> <NewMeterRegisters MeterCategoryCode="RM068"> </NewMeterRegisters> <NewMeterRegisters MeterCategoryCode="RM067"> </NewMeterRegisters> </TechnicalMeterDetails> I want to check that the MeterCategoryCode value in the RemovedMeterRegisters segments is the same value in the NewMeterRegisters segments. In the above example the answer would be false. If RM068 … | |
Hi I should need the code/syntax to create an countdown timer that should count down from now to (24hour)19:00 12-06-2011 do any one know how to do this? | |
I want use checkbox's value, but I have a problem. I am not submitting the form, using AJAX records are changing. When I click checkbox, courses checkbox value changes, and if I uncheck checkbox the courses combobox will be same as before. My page have pagination, now I have problem, … | |
I am using : appache 2.2.11 php :5.3.0 MySql 5.1.36 The problem is that I am there are some script not working nether on IE8 nor on firefox 4 in offline But these scripts are working fine on IE 8 using online !! And these scripts work offline on other … | |
Hello, Please clarify the following for me- (1) I want to use a rolling file appender with Log4j, so that the log messages are stored into a single log file....Also I want that the log file should be passed as parameter during program runtime. (2) What all classes have to … | |
I am using : appache 2.2.11 php :5.3.0 MySql 5.1.36 The problem is that I am there are some script not working nether on IE8 nor on firefox 4 in offline But these scripts are working fine on IE 8 using online !! And these scripts work offline on other … | |
Greetings to all. I'm using visual C# express, just starting to learn C#. I want to build a reminder system for a console App, how do I go about it? I want to be able to check the DateTime and for each different date read the string attached to it. | |
Guys, I have a problem here. [CODE] String FileName = "FileName.xlsx"; String FilePath = input.PostedFile.FileName; System.Web.HttpResponse response = System.Web.HttpContext.Current.Response; //response.ClearContent(); //response.Clear(); response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; response.AddHeader("Content-Disposition", "attachment; filename=" + FileName ); //response.Flush(); response.End(); [/CODE] I want to download an excel file which is converted from csv plain text file. But everytime … | |
Please People help me to achieve this in Vb.nt and C#, i will be very gratefull: i want to achieve the "axterics' display" i.e "********" while a user is typing on textbox in asp.net form. Please help me. and advice me how to put into these codes below: [ICODE]If Not … |
The End.