199,114 Archived Topics
Remove Filter ![]() | |
Im currently working now into a monitoring system Adodc2.Recordset.AddNew Adodc2.Recordset!employeeNumber = txtNumber.Text Adodc2.Recordset.update now i've noticed that after i input a value and save it. it goes to the bottom of the datagrid, how can i add value in the top of the datagrid? Thanks for the reply in advance | |
When I need to serialize things to a byte array I usually write the array to a MemoryStream first then use the binary formatter to serialize it to whatever (file, another byte array whatever). The question I had was, can I just serialize a byte array instead of converting it … | |
Hi, how i can set background image toToolStripMenuItem in c# at testToolStripMenuItem_MouseHover and testToolStripMenuItem_MouseLeave events. I have tried this but it doesn't work for me..[CODE] testToolStripMenuItem.BackgroundImage = Image.FromFile(Application.StartupPath + "\\Button\\BIGBUTTON\\Test Centre-OVER.jpg"); [/CODE] When i put MouseHover on testToolStripMenuItem it will display one blue spot on particular after mouse leave image … | |
Hi friends, What is the main benifit of using GWT in web applications? Is there any popular sites which has been developed by using GWT? Which is the best website to learn about GWT with easy examples? Thanks in advance ! | |
hi, i'm starting to learn vb.net, and i trying to make some special translating program, its need to translate hebrew text into special letter sequence. for example: the text input are: [ICODE]בניית ביניינים מתקדמים[/ICODE] (which its means [ICODE]Construction of advanced buildings[/ICODE]) And the text output are: [ICODE]BPJJZ_BJPJJPJM_NZWDNJM[/ICODE] according to the … | |
My code returns list of items when page was loaded..and they were downloading but the problem is i need to down load files from gridview.i need the code in c#. | |
Hi All, I am new to PHP and I got stuck on how to display a variable "txtQty" in my PHP COde. What happen is user will key in a number and I just try to display the number in the same PHP program. Here is the program. Tks in … | |
Hi, I'm having trouble understanding pointers and arrays. [CODE] course[] = "Numerical Methods"; printf("%c %s\n", course[6], course); printf("%c %s\n", course[6], &course[0]); [/CODE] I don't understand how the second print statement prints the same thing as the first. How does &course[0] print out the entire array? I thought it was just … | |
Hi.. Can you help me to understand clearly ,what is abstract class? And how i will used it, how it behaves in a class. Thank you in advance! | |
[code=c] #include <stdio.h> #include <string.h> #define MAX_input_size 100 struct RoutingInfo{ /* Structure to hold the IP entrys */ unsigned int IPDestinationNetwork; unsigned int subnetMask; int prefix; unsigned int gateway; char* interface; } entry[MAX_input_size]; int computePrefix (unsigned long decimSM){ /* computes the prefix of the Subnet Mask */ int prefix = … | |
Hi, I have written a code to accept value entered into textboxes. Then calculate when a button 'calculate' is clicked. How do I prompt the user if they haven't entered a value in a textbox before clicking calculate? Below is the code. [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e … | |
Here is my code. my problem now is how to convert it to GUI. [CODE]public class ProductController extends ProductModel{ public String getPname(int barCode){ return this.pname(barCode); } public double getPrice(int barCode) { return this.price(barCode); } public void displayCartControl( int retryTrigger ){ this.displayShoppingCart(retryTrigger); } } [/CODE] [CODE]public class ProductModel { public static … | |
A service running in the Server is listening to port 2978 on 1xx.xxx.xx.xx for incoming connections! My PHP code receives URL data through get method. A tcp connection has to be established with the 'service' on that port and the data received from the URL should be sent to the … | |
I am working on my java code using combo box.............I compiled it and it says process complete....BUT.....I cannot view it in applet viewer.....whenever I click the play button, it displays "java.lang.NoSuchMethoderror:main" "Exception in thread "main"............. what do these mean???? How can I make it be displayed in the applet viewer?? … | |
Hi Can you plz help me with removing a image uploaded frm picture box. With a button_click event | |
Please give me advice with error which me depict compiler - Object reference not set to an instance of an object... before I tried to write without mark line and depicted the same error then I found on the net how way shall I perform and It depicts again... So … | |
[code=sql] select accno.tbaccession,classno.tbaccession,bookno.tbaccession,title.tbaccession,author1.tbaccession,status.tb_issue from tbaccession cross join tb_issue where title.tbaccession = '" & Trim(ListBox1.Text) & "';[/code] this code does not work, pls help | |
Hi, I have a file from the client which is a text file. I have to decode the file to a graphical representation. Is there any way I can do it? Thanks | |
[CODE]while ((userinput[0]==userinput[1]||userinput[0]==userinput[2]||userinput[0]==userinput[3]||userinput[0]==userinput[4])&&(userinput[2]==userinput[1]||userinput[2]==userinput[2]||userinput[2]==userinput[3]||userinput[1]==userinput[3])) [/CODE] If the user types ABCC, the program must show double letter....but sometimes the code up there doesn't work correctly....suggestions or fix? | |
Hi all, I have a application which is completely written in C++. I got one review comment that normal class methods should not have any static variables and i am advised to move that variable inside class. I want to know what will be advantage of keeping the static variables … | |
Hi guys., I have a textbox for entering URL. I validate that URL using regular expression. Now the problem is, How do i know whether the entered URL is exist or not.? For example, if user enter "http://www.daniweb.cam" rather entering "http://www.daniweb.com", how do i intimate them that the entered url … | |
Hi all! I want to learn PHP myself using internet , i have the knowledge of java, Servelet, JSP, Mysql, HTML, Javascript and css. Is it possible for me to learn PHP without any guidance using internet? Is php more difficult then jsp? I want to create various dynamic websites … | |
Every time my web application hits SQL server a query or Procedure should be called and should return its values to web application. How can i do this? | |
Hey there So, i got a website, and i want a textbox to load a .txt file loaded on my site, so it doesnt need to be downloaded, but simply just streamed to the textbox.text for example google.com/textfile.txt, and when i click a button it would load the content of … | |
Craigslist hosts classified ads of all kinds, including lengthy lists of [url=http://newyork.craigslist.org/sof/]developer's jobs in New York[/url] and the [url=http://sfbay.craigslist.org/sof/]San Francisco Bay area[/url]. But another type of job listing was in the spotlight today, and it's nice to know there's at least [i]one[/i] person out there who's thinking clearly. A judge … | |
Hi, I have a code which runs a check. User inputs values into textboxes in inputform, then runs the check, and the msgbox is displayed. if msg is yes then program continues, else I want it to return to the input for to change values in textboxes. How can I … | |
please help me out in updating a MS ACCESS database via vb.NET...I am in need of the code.Thank You | |
I created a customized tooltip using CSS, it is working on Chrome and Firefox but not in IE. Here is the code.. [CODE] <style type="text/css" > span.tool { position: relative; } span.tool span.tip { display: none; } span.tool:hover span.tip { display: block; z-index: 100; position: absolute; top: 1.6em; left: 200px; … | |
i wud like 2 display a alert message with a Ok button.and wen the user clicks ok he must b redirected 2 a specified page.i tried in the following manner bt in dat case it only redirects n does display the message. Response.Write("<script> alert('message!!');</script>") Response.Redirect("webform1.aspx") any suggestions | |
hello guys, is there an alternative for timer? | |
hi there, does anyone know how to make one column in the datagrid view to become readonly, thanxxxxxx | |
I hope I can explain this. I have a table which contains a field named ID. This is set as PRIMARY. Because users registered on my site and after that deleted their accounts (so a lot of rows got deleted, too) the table rows now are jumping, for example, from … | |
I have a question about function-based decorators. When I make the first call to sqrt(), I enter the decorator function, which I understand. However, every subsequent call to sqrt() only calls the temp_func, not the actual decorator again. I thought decorators were called every time the method is called, but … | |
So for the record I'm using wordpress but you don't need to know wordpress in order to help me with this. This is my first AJAX attempt and [U]I read through W3schools[/U] and understand a good portion of how it works in theory but haven't found any close enough working … | |
When i run this program it takes more values and prints less values.... this runs on Dev C++([url]www.bloodshed.net[/url]) [CODE]#include<iostream> using namespace std; #include<conio.h> int main() { int arr[5][5],i,j,k,l; cout<<"Enter matrix row wise"; for(i=0;i<=3;i++) { for(j=0;j<3;j++) { cin>>arr[i][j]; } } for(k=0;k<3;k++) { for(l=0;l<3;l++) { cout<<" "<<arr[k][l]; } printf("\n"); } getch(); } … | |
i had some problem with python so i tried to fix it and now i can't use pypm to install anything, see this picture [url]http://s1201.photobucket.com/albums/bb354/elieobeid7/?action=view¤t=er.jpg[/url] can you fix it? I'm using activepython 2.7 | |
[CODE]// // DiffusionTerm.h define the equation class to be solved. // #ifndef DIFFUSIONTERM_H #define DIFFUSIONTERM_H #include<vector> #include<iostream> using namespace std; class Equation; class DiffusionTerm { private: Equation* pEquation; public: DiffusionTerm(Equation* _pEquation ){pEquation=_pEquation; }; ~DiffusionTerm(){}; vector<double>Coe; vector<double>source; void evaluateCoeAndSource( ) { vector<double>& ThermalConductivity= pEquation->pMedia->getThermalConductivity() ; } }; // // Equation.h define … | |
i have an application. which is executed after every 5 mins. i have an open connection but it gives me the following error: ExecuteScalar requires an open and available Connection. The connection's current state is closed. my code is something like this. I have shown where all i am using … | |
How to create installation setup in java? Thanks in advance. | |
manual coding of login and logout in asp.net with c#, after that every click shows the login page...without the user login them........! | |
[CODE]// // Media.h define the class cell // #ifndef MEDIA_H #define MEDIA_H #include<vector> #include<string> using namespace std; class Media { private: // media name string name; // the density vector vector<double> density; // the capacity vector vector<double> cp; // the thermal conductivity vector vector<double> thermalConductivity; // the viscorsity vector vector<double> … | |
New to PHP and need some help with this. I'm creating a test, but I'm getting all of my questions randomly from my database. For example, if this is my table: ID S Q1 A1 A2 1 C Why A B 2 F When A B I know that I … ![]() | |
Hi friends, I'm retrieving some information from a input file with 10 columns and I need to get the first 3 columns and set into 3 different variables and the last 7 in the same variable. I was using "ifstream" and ">>" like: [CODE]myfile >> stringA; myfile >> stringB;[/CODE] ... … | |
I have not found a solution yet, please help! My header files are structs which house the declarations of my functions and the associated CPP file houses the implementation. I want to pass a string to my ADD and REMOVE but get compile errors.. [CODE]/// //Profiles.H /// #ifndef __PROFILES_H #define … | |
Hello. This java app I'm developing on NetBeans 7. When i run the project, line 4 below: [code=java]FileReader input = new FileReader("projects");[/code] is not executed and apparently stops execution. Only when debuggin the file or running step by step are the next lines executed. No execution past line 4, except … | |
Dear friends: I have the following two classes.[CODE]#ifndef EQUATION_H #define EQUATION_H #include <stdlib.h> #include <map> class Mesh; class Equation { public: Equation(); virtual ~Equation(){}; void associateMesh(Mesh * _pMesh){ pMesh = _pMesh;}; virtual void addsItsVariables4PostProcessing(map<string,const Variable*> & variablesMap)=0; protected: string name; const Mesh* pMesh; }; #endif [/CODE] Before the class Equation, … | |
Hi all This won't validate!! any suggestions? it for some reason doesn't call the ValidateFrom function... so the error lies either with the manner in which i'm calling the javascript functions or the javascript itself. [CODE] <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style.css" rel="stylesheet" type="text/css"> <title>User Details</title> … | |
Please to develop a helpdesk ticketing system using PHP and need some advice on which PHP framework is the best for this purpose. The helpdesk system will have public area wihtout user login, user login area to post ticket and support team login area to support the ticket. | |
I am running the following code: [CODE] if(is_array($check)) { foreach($check as $val) { if($_SERVER['PHP_SELF']==$val) { $show = false; break; } else { echo "<p>".$_SERVER['PHP_SELF']."!=".trim($val)."</p>"; } } } [/CODE] And I am getting the following output: /client/scheduled.php!=/client/scheduled.php Hopefully it's not something dumb on my part, I appreciate any advice. | |
Ok i'm trying to build a forum with jquery ajax characteristics. Below is the html/jquery coding. And i know jquery is loaded because I did the [ICODE]alert(1);[/ICODE] inside the document ready and it worked. [CODE] <!doctype> <html> <head> <title>Shouts!</title> <script src="jquery.js"></script> <script> $(document).ready(function() { $("#messages").load(function('loadchat.php'); $("#post").submit(function(){ return false; }); }); … |
The End.