199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for id786

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 17: public partial class home : System.Web.UI.Page Line 18: { Line 19: SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString.ToString()); Line 20: protected void Page_Load(object sender, EventArgs e) Line 21: { Source File: e:\0\2\17\38\2669038\user\2930392\htdocs\home.aspx.cs Line: 19 Stack …

Member Avatar for kamilacbe
0
121
Member Avatar for geniusvishal

Guys this thread is basically for the beginners who want to learn ASP.NET from the very beginning.. Plz give your valuable suggestions and kindly provide appropriate answers for the queries...

Member Avatar for mani-hellboy
0
355
Member Avatar for C++ programmer

Why should a person learn win32 api? What things I can do when i have learnt it? Some people tell "There is no need to learn win32 api because literaly you will only design Window(box, messagebox etc), which you can easily do by MS Visual studio tools!". Is this true? …

Member Avatar for Ancient Dragon
0
142
Member Avatar for zooferic

How i can create infinite url such as my data hierarchy.(Using url routing but without MVC)For instance: -Electronic -- Television -- Sound Systems -- Computer --- Scaner --- Mouse ----Wireless Mouse --- Keyboard [url]http://www.domain.com/products/electronic/computer/mouse/wireless-mouse/related-product.aspx[/url]

Member Avatar for mani-hellboy
0
146
Member Avatar for Tonino48

I would be considered an absolute novice at IT problems, yet there is a fault happening on my work computer that the IT experts here are not able to solve. I would appreciate any help you could offer for me to forward on to the IT Crowd...thanks. DES v4.23.3 - …

Member Avatar for mani-hellboy
0
194
Member Avatar for sagar2dumbre

Hello, I have been told to design website in JSP. Firstly it contains login page.i hv designed login.jsp but it contains all HTML tags. For the database(Sybase) connection i m planing to write java file login.java which will be invoked in login.jsp action method.... ... ..is this a right way …

Member Avatar for sagar2dumbre
0
171
Member Avatar for furqanishaq

hiya i stuck on this can anyone help please Result1 = (Val1*Val2)/Val3; Result2 = (Val1+Val2)-Val3; write a sperate method to print the result of the above calculation and then write a main app class to create an operator object set it up with some test data to calculate the values …

Member Avatar for DavidKroukamp
0
116
Member Avatar for andur92

"Inheritance increases the functionality of a base class by adding additional features to its derived class." This is a direct statement from my text book's true/false question section. This is given as false and I know this is false but still I don't understand fully why. Any explanations would be …

Member Avatar for mani-hellboy
0
205
Member Avatar for macdunk11

I REALLY need help. ThIs program works - except I have one fatal error that I can't seem to figure out how to fix. The players can play where other players have already played. I tried to use the switch statement at the bottom in method checkMove where if result …

Member Avatar for hiddepolen
0
599
Member Avatar for wissam.ashkar

Hello, I created a C# project using Teletik Winforms trial, the project contains about 30 forms and 10 reports using Telrik reporting trial. I decided to uninstall Telerik and go back to basic visual studio components and styles. Can i convert my project from telerik components and references to Visual …

Member Avatar for mani-hellboy
0
133
Member Avatar for jackbauer24

Please explain all these four pages- Open the images in paint. Only then will you be able to view it. Thanks in advance.

Member Avatar for JamesCherrill
0
173
Member Avatar for edfinley

I have a form with a recordset which is filtered on some controls on the form. In the code behind page I want to loop through the records as filtered on the form. I can set up another SqlDataSource and refilter it on the same controls, but I'm wondering if …

Member Avatar for mani-hellboy
0
74
Member Avatar for HNaik

Hi All, I have many DateTimePicker (DTP) in a windows form (Say atleast 15 DTP) I need to do following things in the form 1)A Dataset is field with values from database (MS SQL) which contains the DateTime data and now i want to assign it to DTP and Doing …

Member Avatar for mani-hellboy
0
180
Member Avatar for subrata_ushasi

Hi, I am trying to develop a autocad like software in C/C++. Can any one suggest me how to start it with ? Subrata

Member Avatar for myk45
0
300
Member Avatar for clerisy

hello :) tell me The name of Best C# tutorials book available online.........

Member Avatar for mani-hellboy
0
210
Member Avatar for ReshmaRajan

How can i Check a static method result using If else statement? for eg: IsPostponed is a static method and it returns a bool value. because of a static method we can call the method without an object. then how can i check it?

Member Avatar for mani-hellboy
0
129
Member Avatar for Ismatus3

Hello all , I just need to create a folder in an other machine using ssh or samba ; for example i execute : [CODE]os.mkdir( rachid@rachid:/home/rachid/Bureau/new, 0777 ); [/CODE] but It shows the next error : [QUOTE]OSError: [Errno 2] No such file or directory: 'rachid@rachid:/home/rachid/Bureau/new'[/QUOTE] Thank you for answering .

Member Avatar for Ismatus3
0
2K
Member Avatar for sharathg.satya

i am trying to use google maps in my application but its giving me an error in the xml file as "error: No resource identifier found for attribute 'apikey' in package 'android'" can i know how to solve this error thanks in advance

Member Avatar for mr.disguise
0
232
Member Avatar for vijayram
Member Avatar for pzuurveen
0
57
Member Avatar for mln_ndh

[B]Hi I really really really need your help since I have no idea about this.[/B] [B]How can I insert the Javascript Confirmation Alert into the del.php file?[/B] [U]I have this del.php file[/U] [CODE]<?php require ("include/config.php"); $id=$_REQUEST['id']; $strSQL = "DELETE FROM change WHERE id = '".$id."' "; $objQuery = odbc_exec($conn,$strSQL); if($objQuery) …

Member Avatar for pritaeas
0
243
Member Avatar for saneeha.nust

I want to retrieve information from the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\27F43CBD97D1DB04CA142624E98D6717\features But the values of this registry key are encrypted.. any one know how to decrypt them? example : value = F_FTP_COMMON value data = ZC]++I3{!@.!lfp,?=DHHvyyfa8fj@(6d@fnEE32eWl_`4R(h@AZId-+a?DW

Member Avatar for mani-hellboy
0
62
Member Avatar for Johan__

Hello [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class WholeNumbersFor { private int numOfInPut; private int sum; public void start(); WriteProgramInfo(); ReadInPut(); SumNumbers(); ShowResults(); } private void ReadInPut() { Console.Write ("Number of Values to sum?"); NumOfInPut = int.Parse(console.Readkey()); console.Writeline(); } private void WriteProgramInfo() { console.Writeline("\n\n ++++++ …

Member Avatar for mani-hellboy
0
94
Member Avatar for R_K

I display the progress bar for downloading attachments and it works fine … but when I am downloading some attachments I get the exception message: [QUOTE] Exception in thread "main" com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream: needed 4 valid base64 characters but only got 1 before EOF, the 10 most …

0
175
Member Avatar for sah

I have loaded some images in a listview using imagelist in c#. Now I want to copy any image and replace into another image in the same listview using drag and drop. How could I do this? sample code would be helpful. Thanks in advance.

Member Avatar for sah
0
898
Member Avatar for Joe34

Let's say I have the letters... A,D, and G And O (It's special) How can PHP make all possible combinations with these words by using all or as little amount of letters as possible? (But special letters must be included in each scramble) For example PHP would go through those …

Member Avatar for pritaeas
0
2K
Member Avatar for Jigs28

Hello, I have created project in c# and i want to use connection string stored in app.config file in all my form. I have wrote that connectionManager code but it gives different output (not proper output) and sometimes it gives exception what to do?

Member Avatar for mani-hellboy
0
274
Member Avatar for 47pirates

How can i update my Jpanel with the labels from another class in certain intervals?

Member Avatar for 47pirates
0
278
Member Avatar for PF2G

Can someone tell me what's wrong here: [CODE] Dim sql As String = "SELECT * FROM courses" Dim con As New MySqlConnection Dim dt As New DataTable(sql) Dim cmd As New MySqlCommand(sql, con) con.Open() ComboBox1.Items.Add(dt)[/CODE] It doesn't show the courses.

Member Avatar for jbutardo
0
116
Member Avatar for SindhujaNagaraj
Member Avatar for mani-hellboy
0
202
Member Avatar for funfullson

I am trying to convert a 2d image to 3d one in python. please introduse me some good source or if there is an open source program. Thanks alot.

Member Avatar for funfullson
0
4K
Member Avatar for Kalle21

[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class While { private double sum; public void Star() { WriteProgramInfo(); ReadInPutAndSumNumbers(); ShowResults(); } private void ReadInPutAndSumNumbers() { double num = 0.0; bool done = false; while (!done) { { } } } private void WriteProgramInfo() { Console.WriteLine("\n\n ++++++ …

Member Avatar for mani-hellboy
0
124
Member Avatar for raul8

Hi, I want to change color of a <div> element after some delay: For. e.g: Initially div is in Orange Color. Then onClick it will become White then after half second delay, it will become Black. But it is not working. It becomes black on the first click & White …

Member Avatar for ckchaudhary
0
357
Member Avatar for arathy nair

I want to delete the strings file1 and file2 after its merged to a single pdf merge12. Please suggest your valuable ideas.. Thanks in advance package com; import java.io.FileOutputStream; import java.util.ArrayList; import com.itextpdf.text.Document; import com.itextpdf.text.pdf.PdfCopy; import com.itextpdf.text.pdf.PdfImportedPage; import com.itextpdf.text.pdf.PdfReader; /* * author * @282532 */ public class PdfMerger { public …

Member Avatar for arathy nair
0
445
Member Avatar for autorunman22

Hello all! I'm having some confusions about what to use as the "Home Page" in my web app. Should I use Servlet?([url]www.foo.com/index[/url]) or JSP?([url]www.foo.com/index.jsp[/url]) I dont know what would be their entry point in my site. I mean, let say, they visit [url]www.foo.com/index.jsp[/url], and they click login, the page then …

Member Avatar for autorunman22
0
274
Member Avatar for LearnVBnet

I Have Listview with All transaction with column InvoiceNo Date Customer Total Now I want to filter only month transation only month with combobox selection and one textbox year Me.cboMonth.Items.Add("1") Me.cboMonth.Items.Add("2") Me.cboMonth.Items.Add("3") ........... Me.cboDate.Items.Add("12") Me.cboDate.SelectedText = 1 my column date display mm/dd/yyyy How can I selection cboMonth to filter only …

Member Avatar for LearnVBnet
0
682
Member Avatar for Neji

Hi All, Here i want to disable right click on textbox. Please help me to do this. Best Regards Neji

Member Avatar for Neji
0
1K
Member Avatar for adolf23

I have an application that assigns room numbers to student when they are registered. If one person is using the software to register students it works perfectly but when multiple people are using the software through peer to peer network it sometimes give problems by assigning the same room number …

Member Avatar for adolf23
0
92
Member Avatar for simplypixie

I used to have a major problem on my old hosting package where emails from my website to yahoo/bt just disappeared into the ether. I have since changed hosts and re-formated my mail scripts to use phpmailer SMTP and all generally appears to be working much better. However I seem …

Member Avatar for simplypixie
0
208
Member Avatar for arunpgs

Hi! I want to execute the sql query based on the question. For Example, In Textbox If i enter the question like "What are the department in allahabaduniversity" means following query will be executed "select department from allahabaduniversity;" , Here department is a filed and allahabaduniversity is table, Please Help …

Member Avatar for kamilacbe
0
129
Member Avatar for FriXionX

I'm completely new to javascript, but in my eyes this should work. But then again, i'm quite an idiot myself and it's usually a very very simple problem that someone will see in 5 seconds. I want the header (supposed to be in variable 'itemname') to be put into variable …

Member Avatar for FriXionX
0
168
Member Avatar for srm2010

I am opening windows calculator in my MDI windows application and it gets open through a child form which is a part of mdi form.I am not able to close the windows calc even when my form gets closed. code: [CODE]System.Diagnostics.Process p = null; public bool calcinstance() { if (p …

Member Avatar for skatamatic
0
471
Member Avatar for c++learner

Hello! What I'm trying to do is allow a user to create a database and tables by supplying the database and table names through text fields. It is pretty generic unsecure at this point but I'm just trying to learn it currently and I am the only one that is …

Member Avatar for c++learner
0
165
Member Avatar for taj2011

This is the code and there is something wrong with the check column function. I am unsure and need help. #include <iostream> using namespace std; int sudoku_solution[9][9]; const int array_size = 9; inline int random() { return rand() % array_size + 1; } bool check_column(int value, int row, int column) …

Member Avatar for DJSAN10
0
141
Member Avatar for jbutardo

Hi, I have a program that needs to create a downloadable excel template with the following headers on the first row named, name, age, gender. And I also want the template to only have 1 sheet on it. how can I create a sample template using vb.net code? Thanks

Member Avatar for jbutardo
0
1K
Member Avatar for jbutardo

Hi, I have this program that would upload files from the client to the server, Now I want to validate the filesize before uploading it into the server.. How can I create this kind of validation? Thanks.

Member Avatar for jbutardo
0
568
Member Avatar for weeraa

I want to stretch an image in picturebox. Is there any property to do it? In VB.NET there is is a property called "size mode". we can change that property to "stretch image". still i couldn't find VB6 property to do it. Please tell me the property or if there …

Member Avatar for weeraa
0
720
Member Avatar for daydie

Here is my HTTP cookie request which auto loads browser after doing the cookie stuff. But it does not login and i dont know why =/ [CODE] Dim logincookie As CookieContainer Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim postData As String = "referer=http%3A%2F%2Fforum.ea.com%2Fuk%2Fcategories%2Flist.page&selectprofile=true&remoteurl=http%3A%2F%2Fforum.ea.com%2Fuk%2FgusUser%2Flogin.page&action=Login&registrationSource=&authenticationSource=EA-JForums&HIDE_GUS=&username=" & …

0
92
Member Avatar for markdean.expres

Guys, I can't still figure out how to show to a user the file info of a file programamtically. Can I just use the Properties window that Windows use to show all the detals of a file (e.g. name, type, size, path, date created ect.) I am using the IO …

Member Avatar for markdean.expres
0
372
Member Avatar for techgeek420

Hey everyone! I am trying to writing a program that will play hangman. I have an understanding, on paper, of how to write the program... but I just cant fully convert it into java. I have started the program but I've gotten to a point where I'm stumped. Any help …

Member Avatar for NormR1
0
200
Member Avatar for Dragennd

Hello all, zoidmaster here. I have a question regarding Visual Basic and deleting lines of text from files. I'm trying to make a piece of software to manage customers who walk into a store. I got most of it written already but the problem I'm running into is deleting some …

Member Avatar for Dragennd
0
2K

The End.