199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xtianenikkian

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

Member Avatar for xtianenikkian
0
119
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
108
Member Avatar for bhagawatshinde

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 …

Member Avatar for nmaillet
0
254
Member Avatar for Muralidharan.E

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 !

Member Avatar for Muralidharan.E
0
141
Member Avatar for Man1919

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 …

Member Avatar for Man1919
0
438
Member Avatar for divyakakarla

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

Member Avatar for divyakakarla
0
172
Member Avatar for aplwong

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 …

Member Avatar for leakbali
0
208
Member Avatar for Na'Vi

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 …

Member Avatar for Narue
0
81
Member Avatar for carmzy

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!

Member Avatar for Um num num
0
168
Member Avatar for mrprassad

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

Member Avatar for Narue
0
157
Member Avatar for nji2rhyme

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 …

Member Avatar for debasisdas
0
192
Member Avatar for mike101290

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 …

Member Avatar for NormR1
0
460
Member Avatar for knan

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 …

Member Avatar for edwinhermann
0
301
Member Avatar for akasekaihime

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

Member Avatar for peter_budo
0
188
Member Avatar for orville

Hi Can you plz help me with removing a image uploaded frm picture box. With a button_click event

Member Avatar for samee1985
0
90
Member Avatar for karlicek

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 …

Member Avatar for samee1985
0
223
Member Avatar for unaiseek

[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

Member Avatar for debasisdas
0
101
Member Avatar for shers

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

Member Avatar for debasisdas
0
89
Member Avatar for jodzjcm

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

Member Avatar for jodzjcm
0
86
Member Avatar for AshfaqueIW

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 …

Member Avatar for JasonHippy
0
232
Member Avatar for Dragonbaki

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 …

Member Avatar for Airshow
0
1K
Member Avatar for nikita.chandra

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 …

Member Avatar for oakulm
0
363
Member Avatar for kashyapst

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?

Member Avatar for jugosoft
0
130
Member Avatar for Jazerix

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 …

Member Avatar for Jazerix
0
224
Member Avatar for EddieC

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 …

Member Avatar for maile15
0
574
Member Avatar for nji2rhyme

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 …

Member Avatar for Netcode
0
94
Member Avatar for praveendesilva

please help me out in updating a MS ACCESS database via vb.NET...I am in need of the code.Thank You

Member Avatar for Netcode
0
672
Member Avatar for abhi10kumar

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

Member Avatar for vibhaJ
0
136
Member Avatar for s1986

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

Member Avatar for rnayak
0
191
Member Avatar for aldeene
Member Avatar for judithSampathwa

hi there, does anyone know how to make one column in the datagrid view to become readonly, thanxxxxxx

Member Avatar for DeathEater
0
157
Member Avatar for RobotFX

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 …

Member Avatar for debasisdas
0
89
Member Avatar for Purkinje

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 …

Member Avatar for Purkinje
0
195
Member Avatar for Xtremefaith

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 …

Member Avatar for Xtremefaith
0
269
Member Avatar for suraj_p

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

Member Avatar for suraj_p
0
179
Member Avatar for elieobeid7

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&current=er.jpg[/url] can you fix it? I'm using activepython 2.7

Member Avatar for elieobeid7
0
98
Member Avatar for ztdep

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

Member Avatar for ztdep
0
258
Member Avatar for abc88

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 …

Member Avatar for GeekByChoiCe
0
845
Member Avatar for ramjeev
Member Avatar for vinaysrk919

manual coding of login and logout in asp.net with c#, after that every click shows the login page...without the user login them........!

Member Avatar for idmIndia
0
191
Member Avatar for ztdep

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

Member Avatar for mike_2000_17
0
8K
Member Avatar for cleecaldwell

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 …

Member Avatar for P0lT10n
0
165
Member Avatar for sadsdw

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

Member Avatar for sadsdw
0
96
Member Avatar for reallyslick

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 …

Member Avatar for ztdep
0
814
Member Avatar for carloskire

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 …

Member Avatar for carloskire
0
273
Member Avatar for ztdep

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

Member Avatar for ztdep
0
286
Member Avatar for blotind

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

Member Avatar for Airshow
0
181
Member Avatar for inblues

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.

Member Avatar for raddia
0
104
Member Avatar for xylude

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.

Member Avatar for xylude
0
87
Member Avatar for RazorRamon

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; }); }); …

Member Avatar for xylude
0
576

The End.