199,114 Archived Topics
Remove Filter ![]() | |
asp.net 1.1 + vb.net I am redirecting to a page with a querystring. The system processes the logic of the page_load sub, hits the end sub, then begins the logic again. It does this only once on first entering the page. When I debug, I can see this activity... when … | |
Can someone explain the nesting in C#? You have a namespace. Inside the namespace, you have a class. Then, inside this class, you have the main function. Why is it set up this way. Are all classes supposed to be ouside this namespace? When would you onclude a class inside … | |
I have been able to create a C# program from scratch. When I do so, I automatically get a list of References like this: [IMG]http://i67.photobucket.com/albums/h292/Athono/csharp.png[/IMG] When I open a project developed by a co-worker, I get a list of References that looks like this: [IMG]http://i67.photobucket.com/albums/h292/Athono/01-1-1.png[/IMG] This is very different and … | |
I have simple js form validation, and it doesn't work, no matter how enabled the browser is. I've tried everything. I even tried: <form action="mailto:..." > but it'll popup the windows alert about using the email program (outlook/outlook express) completely ignoring the js validation. please your help. this is the … | |
Alright I am new to assembly but I cannot figure out the simplist thing even though I have looked for hours. I want to make a very simple program that finds the default drive and prints it. So that would be 19h and interuppt 21, that gets the current default … | |
I need to write a program that will take in a sentence and then outputs the # of words in the sentence, as well as the each letter with it's occurrence in alphabetical order. Example: Hello World. Would output: 2 words 1 d 1 e 1 h 3 l 2 … | |
hello , i want to add new record ino database ,but getting some problem pl help me front end :- VB.net2003 back end :- SQL Server 2000 my efforts : Imports System.Data.SqlClient Imports System.Data Dim conn As SqlConnection = _ New SqlConnection("server=;database=tempdb;uid=;pwd=") Dim ds As New DataSet Dim da As … | |
Lets say we have frmOne and frmTwo. frmOne loads up and when in the main menu the user clicks something frmTwo opens. frmTwo has a bunch of check boxes, ok and cancel buttons. User checks/unchecks the check boxes and clicks ok. frmOne now needs to know what check boxes were … | |
Hi, Any one please help me working with forms. I have created two forms frist one form1 then i have created a login in form. Now when i debug form1 is comming but i need the login form to come first the if i click on ok then the form1 … | |
Hi everybody. First of all thanks for taking the time to read this. I'm having a problem with initializing the buttons and adding them to JPanel. The problem is with everything else I have I'm trying to add the buttons in initButtons(); to the JPanel but I can't seem to … | |
is it possible to run a source file that is not part of a solution/project? it appears that this is not possible in Sharpdevelop. Also, why is it I cannot compile and run a file that is not part of a solution ? many thanks | |
Hi everyone, I have small query..... I am new to ASP coding..... I just want to know if I can use MS Access as my database or is anything else more optimum ... my application to be designed is quite a small one..... so will this be a good combination … | |
does anyone know how to fix the problem here;(it says 'Public void input(int)' that line has a problem? /** * Write a description of class randommizer here. * * @author (your name) * @version (a version number or a date) */ public class temperature { private int input; /** * … | |
sry to those whose tried to help before and would thank anyone who knows how to move the different shapes of my project to gether at the same time, so it looks lik balloons flying? could anyone help? /** * draw a balloon on to a canvas * * @author … | |
This sounds absurd to some developers here cause you'll say just create jar file and distributre to usr but sometimes there is not possiblity of having runtime environment in windows computers.So if we can bundle the enviroment and the setup together then packing into exe and then distribute like most … | |
hi everybody im working on this little application for myself... when its done i want it to take screen shots of the entire screen at a given time. like every hour for example. right now im still stuck on the fist part. how to you take a full screen screen … | |
I am writing a C program to search for some keyword in a text file The following is the product, but how can I change the char *string[] = { "apple", "orange", "banana", }; to become input from file? (That means there will be one file storing keyword and the … | |
Hi! I am quite new at programing. I want to write a program that reads a textfile and then prints the content on the screen 25 rows at the time. I have read quite much about ifstream and ofstream. I wrote this program to count the lines in a file. … | |
Hello, i need help on how to search for a sentence inside a txt file after opening it and then applying a condition if that sentence was found. im a beginner so i don't know how. basically i have written a program that uses system("command>file.txt") to start a command line … | |
What would be a good book for C++ starters? I'm just new to this particular language, not to programming itself. Any idea of what to start with to make almost an expert (part of it is a joke :). At this point only the depth of knowledge and time, time … | |
Hi freinds I want to send an email using [COLOR="Red"]VB.NET2005[/COLOR]. Can any one help me in it any :icon_redface: code?????? | |
I want to write all the output to the output file and don't want to print on the console output...the file (in which the output has been written) should be opened after i run the program. which function to use for opening a file to see output( at run time)?? … | |
Hello I found some great php code on this site yet I have a question. regarding the php script below: <?php $to = "orders@babyresume.com"; $subject = "Contact Us"; $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; $headers = "From: $email"; $sent = mail($to, $subject, $message, $headers) ; if($sent) {print "Your … | |
I am trying to write a short RPG like program to teach myself C++. I would only like the program to allow the user to by items (sword, shield, etc.) from a store and add them to their list of items. I'd also like for these items to be objects … | |
Good Morning, I am thinking of letting users upload files to my website. I already have a php script to allow this which will be the back-end of a flash GUI. I have made the .swf which would allow the browser to find files with only the specified file-types for … | |
c program to move the contents of one file to another | |
Hi every one : I need help with this C++ coding: Write a program that defines and uses a class called Student. A student class should contain the following private data: Student Number Full name An array of 7 marks for courses in the semester Your class should have a … | |
here is the snippet data = ''2007-12-31 Name (mike) Age (34).....' gregorian = time.strftime(data.split(" ")[0]) print gregorian this gives me "2007-12-31" i need to convert the gregorian date in the variable to julian date. i tried this but it gives me the current date julian = time.strftime('%j', time.localtime()) | |
i just reacently had a thread, and it helped for the question i asked and i was looking through other thread and was wondering, where do you guys learn all of this about vb? i was taking a class(was because it ended yesterday) and it was a quarter class, im … | |
how to validate email field and website field. Means, in email [B]@[/B] and [B].[/B] is compulsory and in website [B]www[/B] and [B].[/B] is compulsory, something like this | |
hi everybody! im in a basketball team n my coach asked me to make a scoreboard program for the huge screen we have (he knows im the only one from the team that does some programming) im using Visual Basic 2008. i pretty much know how to do everything except … | |
Alright so I have a class of Food items that contains the information for food, the information gets stored into a Customer Class that hold the information for the order of the customer. Ok so thats just an introduction for details. Each food item contains a status variable that tells … | |
Hello, I have installed ActivePerl 5.8. I want to add the module NET:Ping. I thought by putting the module in the lib directory or bin directory it would be called by my Perl program, but I get an error stating that the module cannot be found. Where in the directory … | |
Hi, I need help in coding a splash screen in VB.NET, it contains two traingles the first one varies the color green from 255 to 0, and the other varies the color blue 0 to 255, I tried different ideas but it didn't work, I'v been stuck with this for … | |
Hi everyone, i need to write a code with mips assembly that works on a string given by a user (command line input). The code is supposed to search another given string in that string. There is a problem in my mind, in mips is there any instruction that search … | |
Hi, Here is the ( .rc) file .And i know that the pushbutton is not correct . [code] MENU_ID MENU BEGIN POPUP "&File" { MENUITEM "E&xit", EXIT_ID } POPUP "&Help" { MENUITEM "H&elp About", HELP_ID } BEGIN PUSHBUTTON "1",ID_1,30,30,10,10 END END [/code] so i want to make a pushbutton in … | |
I have been working on a program. When I have stumbled across a problem I post it here and get the problem solved. I appreciate all the help I have received. Now I am needing to find a decent reporting add on. Something decent but won't make me place another … | |
I have the following code which removes duplicates from an array: [code] #include <iostream> #include <algorithm> #include <vector> #include <iterator> using namespace std; char main() { char myarray[10] = {'a', 'b', 'b', 'b', 'b', 'c'}; int myarraylength = 5; string holdprogram; vector< char > myvector(myarray, myarray + (myarraylength + 1)); … | |
Hello, I need to install Microsoft MapPoint component in Borland C++ Builder 6. I'm trying to use ActiveX control. But standard procedure Project->ImportTypeLibrary doesn't work. There are errors during compilation of library. Does anyone know what I do wrong? Tomek | |
I'm missing some key basic concepts here that I thought I understood with functions, pass by value, pass by reference. I tried deleting most of my parameters, to no avail, I took out my multiple returns, and fooled around with pass by reference.....I keep getting an address for my min_payment … | |
Let's say I'm sure that one of my base classes will never be instantiated, so I decide to make it abstract. But at the same time all of its functions have definitions because they're common to all derived classes (e.g. Physics() will be the same regardless). So I know that … | |
I listed top 5 data by gridview. I use itemtemplate and hyperlink for them. An Idditon I have an Image. When I mouse over on hyperlink the image will be change. How can it ? | |
Is there a simple way for writing ActiveX components with minGW ? (ie without using activeX or ATL) ? I have to write an activeX but a don't want a buy a visual studio licence just for this <:) | |
This first function works, but I have to give the user a monthly payment of either "The minimum payment is the total amount due if that is 10 or less; otherwise, it is 10 or 10% of the total amount owed, whichever is larger." My rate_maker function doesn't pass the … | |
hello i want to build a function which receives a pointer to a head of linked list reverses the order of the list and returns a pointer to the new head. my list is defined like this : [CODE]typedef struct item { int key ; struct item *next ; } … | |
Im looking for a piece of code that can be used to select all input text fields and then disable and enable them at will. I was trying to work off this: [code] text = document.getElementsByTagName("input"); [/code] THEN when required: [code] text.disable = true; text.disable = false; [/code] Thanks, Regards … | |
I have a (probably stupid) question about the input buffer. I want to do something while there is no space pressed. But if nothing is pressed, it should be doing it too. The problem is that by using getch(), the script will keep waiting for an input of the user. … | |
I wish a happy 2008 to everyone on this forum. I just obtained the practise of programming{by the way it seems like a great book...} and i have the following code for linked list: [CODE=c] #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct Nameval { char *name; int value; struct … | |
hi all, I m new in vb.net but i know vb very well. Can anybody tell me what is the main difference between vb and vb.net except the difference that vb.net is object oriented language i know this difference. But i want to know what is the main difference between … | |
hey all i want to write a program to generate a random number from 0 to 100 but i don't know how to make the number be between 0 and 100 only another thing that when i write the following code the computer always choose the same random number which … |
The End.