199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for blackbr

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 …

Member Avatar for ericstenson
0
147
Member Avatar for complete

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 …

Member Avatar for Infarction
0
128
Member Avatar for complete

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 …

Member Avatar for Infarction
0
84
Member Avatar for orr16875

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 …

Member Avatar for Fest3er
0
154
Member Avatar for PricklyPoo

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 …

Member Avatar for PricklyPoo
0
110
Member Avatar for tehprince

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 …

Member Avatar for WaltP
0
131
Member Avatar for Kartikey

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 …

Member Avatar for ericstenson
0
86
Member Avatar for Kosmatik

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 …

Member Avatar for Kosmatik
0
235
Member Avatar for Bobby_999

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 …

Member Avatar for ericstenson
0
84
Member Avatar for PL.P27

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 …

Member Avatar for PL.P27
0
171
Member Avatar for majestic0110

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

Member Avatar for Ramy Mahrous
0
101
Member Avatar for vasudha k

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 …

Member Avatar for Jx_Man
0
105
Member Avatar for snitch321

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

Member Avatar for snitch321
0
98
Member Avatar for snitch321

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 …

Member Avatar for snitch321
0
1K
Member Avatar for arunpawar

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 …

Member Avatar for masijade
0
209
Member Avatar for theonlyhugeg

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 …

Member Avatar for Mbt925
0
135
Member Avatar for zuki

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 …

Member Avatar for timnfxr
0
102
Member Avatar for jin83

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

Member Avatar for Ancient Dragon
0
370
Member Avatar for hashinclude

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 …

Member Avatar for hashinclude
0
480
Member Avatar for Red Horse

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 …

Member Avatar for invisal
0
96
Member Avatar for bcm

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

Member Avatar for emurf
0
842
Member Avatar for rajatC

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

Member Avatar for rajatC
0
170
Member Avatar for tjenning27

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 …

Member Avatar for tjenning27
0
103
Member Avatar for jobluz06

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 …

Member Avatar for phalaris_trip
0
124
Member Avatar for Dsiembab

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 …

Member Avatar for Dsiembab
0
129
Member Avatar for akshitha
Member Avatar for kaly45

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 …

Member Avatar for ithelp
0
114
Member Avatar for axn

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())

Member Avatar for Duoas
0
2K
Member Avatar for rhinocort23

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 …

Member Avatar for rhinocort23
0
123
Member Avatar for pranavdv

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

Member Avatar for pranavdv
0
136
Member Avatar for theonlyhugeg

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 …

Member Avatar for hkdani
0
1K
Member Avatar for Daniel E

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 …

Member Avatar for Daniel E
0
86
Member Avatar for Denny1999

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 …

Member Avatar for Denny1999
0
96
Member Avatar for juniorprogramme

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 …

Member Avatar for ericstenson
0
114
Member Avatar for pdrino

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 …

Member Avatar for pdrino
0
100
Member Avatar for kv79

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 …

Member Avatar for kv79
0
138
Member Avatar for Ole Raptor

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 …

Member Avatar for Ole Raptor
0
105
Member Avatar for deicer

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

Member Avatar for tehprince
0
111
Member Avatar for tomekk001

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

Member Avatar for davemaster
0
2K
Member Avatar for guitarrick

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 …

Member Avatar for guitarrick
0
143
Member Avatar for phalaris_trip

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 …

Member Avatar for phalaris_trip
0
100
Member Avatar for Cano82

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 ?

Member Avatar for Cano82
0
1K
Member Avatar for CrazyDieter

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 <:)

Member Avatar for CrazyDieter
0
105
Member Avatar for guitarrick

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 …

Member Avatar for guitarrick
0
199
Member Avatar for emilio

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

Member Avatar for emilio
0
107
Member Avatar for OmniX

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 …

Member Avatar for OmniX
0
7K
Member Avatar for MG2008

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

Member Avatar for MG2008
0
110
Member Avatar for n.aggel

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 …

Member Avatar for n.aggel
0
80
Member Avatar for guest11

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 …

Member Avatar for Infarction
0
190
Member Avatar for nemoo

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 …

Member Avatar for rajatC
0
244

The End.