199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for suhasinishinde

Hello, Can anyone help me out i need a code to generate button at runtime having its text displayed from database using array concept. in my store procedure i have id and description and i need to display the description on runtime generated button. Thanks, suhasini

Member Avatar for Geekitygeek
0
389
Member Avatar for JRabbit2307

[CODE=vb.net]'Radio Choice Selection Console.WriteLine("Please enter the Radio Choice for your vehicle: ") Console.WriteLine("Enter 1 for AM/FM Radio") Console.WriteLine("Enter 2 for AM/FM/CD/DVD") strRadioChoice = Console.ReadLine() Select Case strRadioChoice Case "1" Console.WriteLine("Price : $100") Case "2" Console.WriteLine("Price : $400") Case Else Console.WriteLine("Invalid selection") End Select SellingPrice = BasePrice + strEngineChoice + strInteriorChoice …

Member Avatar for jbennet
0
155
Member Avatar for olunde

Hi everyone, I am new to PHP, and I am trying to upload 10 files with differnt input names. From reading forums and such, I came up with the following code, but it doesn't seem to be working. Can anyone tell me where I went wrong? [code] if (isset($_POST[submit])) { …

Member Avatar for network18
0
129
Member Avatar for Jishnu

Hello, I've downloaded the setup of Netbeans-6 IDE JavaSE for Windows from Sun's website. When I run the setup, it says, "Error starting program: A required .DLL file, USERENV.DLL, was not found". Has anyone faced this problem before? Please guide me.

Member Avatar for jbennet
0
119
Member Avatar for xyz12

Hi All.............. I have made an application in C# .NET , in which there is a textbox. In the textbox I want to insert a dot such that it remains there always but during runtime ,it should be hidden(invisible)and whatever I enter in the textbox during execution that content in …

Member Avatar for Geekitygeek
0
124
Member Avatar for EastJohn

This is basically my code. It says build succeed, but I get nothing. What am I doing wrong. The user inputs a sentence, for example, Hello. (I've taken out other parts such as return LOWERCASE, return DIGIT, and what would happen in those cases for ease of reading). The program …

Member Avatar for Skeen
0
142
Member Avatar for AirGear

i'm a newbie in php, and i know this question maybe silly :( i tried to create a php file that will redirect to yahoo.com. i have searched in google, and i found that the code should be [CODE] <?php header('Location:http://www.yahoo.com ?> [/CODE] but i found that it didn't work. …

Member Avatar for AirGear
0
372
Member Avatar for Dum_

Hi, i need to block input if first char 2 and second char must not be more 5. And first char input must be 1 or 2. Specifically I need the input of only 1-25 and nothing else. I tried and only allow entry of numbers, but fail to limit …

Member Avatar for Geekitygeek
0
242
Member Avatar for AirGear

i'm a newbie in php and maybe my question is so silly. i tried to create a session in a file named login.php [CODE]<?php include "koneksi.inc.php"; $name=$_POST['name']; $password=$_POST['password']; $hasil=mysql_query("SELECT * FROM TabelPegawai WHERE nama='$name' AND password='$password'"); $row=mysql_fetch_array($hasil); if ($row[nama]==$name AND $row[password]==$password) { session_start(); $_SESSION['namauser']=$row[nama]; $_SESSION['passuser']=$row[password]; $_SESSION['level']=$row[jabatan]; if($_SESSION['level']=="Manager") {header("location: manager.php");} else …

Member Avatar for AirGear
0
186
Member Avatar for JohnDove

I've written an app in VB2008 using a Windows Vista laptop. My problem is that when I run the app on my XP desktop, the fonts look a little blurry/blocky. I've attached 2 screenshots (which don't really capture the issue too well unfortunately). The 'Vista' screenshot is the one I …

Member Avatar for jbennet
0
180
Member Avatar for CSG-SQU

Hello all, i want to creat a list of an object so i used ArrayList in C# after declaring a class book i declare the array list as follwing: [CODE]private ArrayList mobileStore = new ArrayList();[/CODE] then i have an object of class , say Mobile [CODE]Mobile m1;[/CODE] and finally i …

Member Avatar for CSG-SQU
0
108
Member Avatar for AdRock

I have a 2D vector of different values. It could be text or numbers. I need to be able to see what is in the vector and to do something depending on what is in there. How do i access each element of the vector and add to a temp …

Member Avatar for AdRock
0
229
Member Avatar for michelle2025

Hi there, I had created a system using vb.net and I wish to convert into html form or in asp.net, I want to set the system into website form. Can I do that? Please advice on this. Or I have to start from the beginning to develop the website? Thanks. …

Member Avatar for kvprajapati
0
837
Member Avatar for extkml

I have orders.xml like the following [CODE]<?xml version="1.0" encoding="UTF-8" standalone="no"?> <orders> <order orderDate="1/1/2009" orderNo="1"> <customer id="nnghiem" name="nguyen nghiem"/> <item id="item-1" price="25000" quantity="0"/> <item id="item-2" price="22000" quantity="3"/> </order> <order orderDate="2/2/2009" orderNo="2"> <customer id="lp" name="lampard"/> <item id="item-1" price="25000" quantity="2"/> <item id="item-2" price="22000" quantity="8"/> </order> <order orderDate="3/3/2007" orderNo="3"> <customer id="nnghiem" name="nguyen nghiem"/> <item …

Member Avatar for extkml
0
193
Member Avatar for samcaleb05

Hello Frnd's... Im doing one video project in that i want to convert videos so for that conversion process time i want to show a simple progress bar.I have put an gif image in image control but its not working fine.So can anyone tell me to do simple progress bar …

Member Avatar for kvprajapati
0
132
Member Avatar for WordScript

Hello, would you please assist me in solving this problem: I have an Excel object (Excel.Sheet.1) in MS Word document. I'm trying to write a Visual Basic macro for MS Word to change the data in cell A1 of this table. How can I access the cell? I can only …

Member Avatar for sabarishjm
0
191
Member Avatar for don0369

Hello all, I'm currently using Windows Vista and Visual Studio 2008 to develop my code. I'm working and a very big project and I'm looking for a good profiler for performance analysis. Any recommendations? It would also be nice to keep the solution as low cost as possible (free is …

Member Avatar for potatosoftware
0
130
Member Avatar for Cogneter

Hello all. I'm feeling pretty confused about how UDP port forwarding is done. My situation is: I have [B]Comp1[/B] with a local IP (192.168.0.2) connected to [B]Comp2[/B] with external IP and internet connection, and some unknown Internet Client ([B]IC[/B]) (three of them actually), who needs to send data to the …

Member Avatar for Cogneter
0
773
Member Avatar for mshravs

this is the code in vb.net for searching when a serial number is given from the sqldatabase..................... [CODE] Private Sub s2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles s2.Click Dim a As Integer Dim b As Boolean Dim connection As OleDb.OleDbConnection Dim command As OleDb.OleDbCommand Dim dr As OleDb.OleDbDataReader …

Member Avatar for mshravs
0
107
Member Avatar for omotoyosi

please, I want a sql query that will return the no of fields in a database as an integer example i have table student columns are regno surname othername I want my result to be 3 what do i do??

Member Avatar for kvprajapati
0
85
Member Avatar for smartdetect

v got a final year proj. which reqs us to build a network monitoring kinda tool initially we are just planning to do a basic boot failure detection of the client m/cs....atleast for this semester....then add better functionalities to it. 1) can anyone suggest how do v go about doin …

Member Avatar for ddbhai
0
170
Member Avatar for ushi324

Hi All, Please tell me a good research idea to do a good project for my final year within 6 months. This is for my BSc Software Engineering degree. Its going to be an individual project and it would be great if its a research idea. :S I'm good in …

Member Avatar for manishmannan
0
115
Member Avatar for dfs3000my

Hi, I'm actually trying to compute the total for my individual gridview items but I am reaching the dead end at the moment. I had an idea that probably I can specify another datasource for my total computation but was told that gridviews may only be bound to one datasource …

Member Avatar for kvprajapati
0
106
Member Avatar for meko22

Hi, I'm sure this is very simple but am unable to find out how. How do I display an email address as a mailto link like in HTML? I have records displayed from a mysql db but would like to display a member email address that acts as a mailto …

Member Avatar for meko22
0
4K
Member Avatar for jv44heinzbar

Hi, I'm trying to encrypt a simple .txt file. What I want to do is is described by the function definitions. I want to change all my characters in the .txt file to lower case and then convert any digits found into *. I've done this before in the past, …

Member Avatar for Skeen
0
365
Member Avatar for pandeyprashant

Hello every one, i m trying to use session in jsp application for remembering username from one page to another. it is working fine but when i use hyperlink to come back to home page the username becomes null. please help me how to remember username when user is using …

Member Avatar for javaAddict
0
3K
Member Avatar for Ishbir

I have a function which initiates commands for a command class. Since there are many commands to initiate, writing code for each one would be tedious. The function definition is as follows- [code=C#] private static void InitCommand(KeyGesture input, String text, String name) { InputGestureCollection inputs = new InputGestureCollection(); inputs.Add(input); Type …

Member Avatar for sknake
0
161
Member Avatar for vortex24

Hi, I am working on code to have a drop down menu from which you can pick items and add a button with that course. Unfortunetally, I can't get the button to display. And help is greatly appreciated. [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class ComboBoxFrame extends JFrame { …

Member Avatar for BestJewSinceJC
0
91
Member Avatar for songweaver

Hey guys need help with this problem that is suppose to read an unspecified number of scores and determines how many scores are above or equal to the average and how many scores are below the average. Enter a negative number to signify the end of the input. Assume that …

Member Avatar for kvprajapati
0
170
Member Avatar for jlouang

so i'm stuck in creating a do/while menu doing this. menu option 1 - use the for loop menu option 2 - use the while loop menu option 3 - use the do/while loop in each option, print the numbers from 1 to 10 I made my functions like this. …

Member Avatar for IT seeker
0
173
Member Avatar for madankumar

[code]#include <iostream> using namespace std ; class Singleton { public: // Implement the logic here to instantiate the class for the first time by validating the // member pointer. If member pointer is already pointing to some valid memory it means // that the first object is created and it …

Member Avatar for gurucode
0
937
Member Avatar for StarZ

I'm supposed to merge a ordered data of two files into a third file, keeping the data in order. I'm suppose to create a MergeFiles application that merges the integers ordered from low to high in two files into a third file, keeping the order from low to high. Then …

Member Avatar for BestJewSinceJC
0
103
Member Avatar for dhana3

Hai, I am developing and application based on mail sending where i need a functionality based on saving the content(mail) and deleting mail. Plzzzz Help

Member Avatar for kvprajapati
0
71
Member Avatar for jen140

Hello all, i would like to know how it is possible to remove for example last 20 characters, or by specifing the string to remove. For example i have 2 rows (in reality there are more than 100, thats why im not working it out by hand) with the next …

Member Avatar for nav33n
0
174
Member Avatar for SMIFMD

Greetings! I am in need of some techincal assistance. My problem is as follows: In my Programming class, we are starting to use the graphics package in Python. We are using a module called graphics.py In order to use this module, we have to save it to the desktop and …

Member Avatar for Gribouillis
0
2K
Member Avatar for papageorge

Hello, I am developing an application and I use a 3rd party library which is basically Native excel. The problem is that this library does not implement an event which is able to notify me when the value of a cell value changes. Can I do it in my program …

Member Avatar for papageorge
0
156
Member Avatar for whiteyoh

Hi all, Im trying to get my head around object persistance, yet im getting nowhere. All i have found is examples of stuff to do with databases. Can somebody offer an explination for an idiot please. Regards Paul

Member Avatar for kvprajapati
0
163
Member Avatar for babbu

m using visual studio 2005 and sql server 2005. i want to create a backup of the sql server which m doin using the following code.. [CODE] if (saveBackupDialog.ShowDialog() == DialogResult.OK) { SqlCommand cmd = new SqlCommand(); cmd.CommandText = @"backup database dbname to disk =@loc with init,stats=10"; cmd.Parameters.Add("@loc", SqlDbType.VarChar); cmd.Parameters["@loc"].Value …

Member Avatar for babbu
0
195
Member Avatar for shine_jose

Hello, I wish to get the code to pass the log in information (i.e server name,pass word etc) as parameter at the time of calling report Now its asking (user name ,password) before going to the report page each time .please help me.

Member Avatar for Ramesh S
0
466
Member Avatar for chandini.david

Hey!! I am trying to make a 2-player game; where one player plays after the next. I have used socket programming in the code; so that, when the client (player 1) clicks on the window, the co-ordinates are sent to the server (player 2) and vice-versa. (For now, both player …

Member Avatar for chandini.david
0
213
Member Avatar for Grim279

I am writing a game code and I keep getting these erroes 359 E: Game.cpp redefinition of `void PlaceYourBet()' 155 E: Game.cpp `void PlaceYourBet()' previously defined here can anyone help me out with these errors I know it must be simple.

Member Avatar for Grim279
0
98
Member Avatar for extkml

I have a xml file like this [CODE] <?xml version="1.0" encoding="UTF-8" standalone="no"?> <orders> <order orderDate="1/1/2009" orderNo="1"> <customer id="nnghiem" name="nguyen nghiem"/> <item id="item-1" price="25000" quantity="0"/> <item id="item-2" price="22000" quantity="3"/> </order> <order orderDate="2/2/2009" orderNo="2"> <customer id="lp" name="lampard"/> <item id="item-1" price="25000" quantity="2"/> <item id="item-2" price="22000" quantity="8"/> </order> <order orderDate="3/3/2007" orderNo="3"> <customer id="nnghiem" name="nguyen …

Member Avatar for kvprajapati
0
640
Member Avatar for ayusman.mohanty

Hi, Even I am trying the browser close event for cross browser and this should trigger only when X button is clicked or page is refreshed. Here's the code pasted above which I am using but it only works in IE. I know the issue is because of window.events and …

Member Avatar for ayusman.mohanty
0
545
Member Avatar for sushil.sharma75

I need to convert the following XML file [code=xml]<Para> <PgfTag value="Body" type="str"/> <Pgf> <PgfFont> <FFamily value="Times New Roman" type="str"/> <FWeight value="Regular" type="str"/> </PgfFont> </Pgf> <ParaLine> <String>Underlined charcter</String> </ParaLine> </Para> <Para> <PgfTag value="Body" type="str"/> <Pgf> <PgfFont> <FFamily value="Times New Roman" type="str"/> <FWeight value="Regular" type="str"/> <FAngle value="Italic" type="str"/> </PgfFont> </Pgf> <ParaLine> <String>Italic …

Member Avatar for kvprajapati
0
130
Member Avatar for futhonguy

Hi What i want to do is using php code to write to delete the entire row in the db. each row has its own id, field and content. instead of deleting the row with the id, can i do by the field name? how would i do this?

Member Avatar for futhonguy
0
125
Member Avatar for Coodle

Hey there, I'm taking a C++ class and got a two staged assignment to hand in soon. I'mhaving troubles with it and was wondering if anybody could lend me a hand? We are to design and implement a web forum in C++. It is supposed to be a stand-alone application, …

Member Avatar for abhi_elementx
0
143
Member Avatar for whiteyoh

Hi All, the following code will allow you to type content, and saves it fine, but it just wont populate that paticular area with the current database entry. Please can somebody advise. Im sure i have missed something so simple. [code] <?php $result = mysql_query("select * from `indexinfo` where id …

Member Avatar for saranya14
0
6K
Member Avatar for dalcocer

I was running into run time errors, and stripped down my code to isolate the problem. From that I was able to write this little piece of code to demonstrate my issue: [CODE] #include <windows.h> class test { private: int a; public: test(); void run(); }; test::test() { a = …

Member Avatar for abhi_elementx
0
106
Member Avatar for shangita

I created 2 tables 1 st table as csat csat_code csat_ou_cod csat_csaeid cus name CSA00001 ADM00001 6825 CUS08349 CSA00002 ADM00001 6826 CUS08347 CSA00003 ADM00001 6832 CUS08351 CSA02547 ADM00001 6824 CUS04150 table2 as csat_survey surveycode csat_code qns id ans id SUR00001 CSA02547 1 3 SUR00002 CSA02547 4 7 now i want …

Member Avatar for kplcjl
0
126
Member Avatar for rookanga

It has no errors or warnings but nothing is working what could be the problem and the assignment says that I need to a finish commenting the function header blocks. ( i don't know what that is and I don't know if this is the reason that it is not …

Member Avatar for restrictment
0
122

The End.