199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mandeep.garg19

If a class does not extend any class and implements one interface, how many types this class has?

Member Avatar for jwenting
0
43
Member Avatar for charqus

Hello guys. Why i can't write a text in the box of a tab ? here: [url]http://img693.imageshack.us/img693/6571/heyky.png[/url] I changed the ToolTipText but no change , and if i change the Text it edit the name of the [B]tabPage1[/B]

Member Avatar for Geekitygeek
0
99
Member Avatar for elmaco93

Ok, first of all, hi everyone at Daniweb! This is my first post on this amazing site and I'am building a little application that checks at load up if a text file is empty, and if it's empty a FolderBrowserDialog will pop up and let you choose a path wich …

Member Avatar for elmaco93
0
120
Member Avatar for priyaaaaaa

i need a c program for page allocation algorithm in operation system. its a simulation of what happens in the cpu.

Member Avatar for jerald45
0
104
Member Avatar for vvrekha

Hi All, In my jsp page, I am getting the data from Ms-sql for 3 combos.first 2 combos are independent, like course,location. either i can select course or location in 3rd combo i need to display the name of student. I was not able to pass the two combo values …

Member Avatar for peter_budo
0
79
Member Avatar for wtvrinc

I am trying to read multiple files which contain values under various Column headers (like pressure, temperature etc)...I using "infile" to read values and assign it to a structure. However whenver there is a bad character in the file or less number than the number of parameters, the output gives …

Member Avatar for kesh1000
0
89
Member Avatar for badx

I NEED HELP WITH THIS BUTTON IVE ATTACHED THE FORM AND CODE ERROR. [code] public partial class Client : Form { public Client() { InitializeComponent(); } private void clientsBindingNavigatorSaveItem_Click(object sender, EventArgs e) { this.Validate(); this.clientsBindingSource.EndEdit(); this.clientsTableAdapter.Update(this.dataSet.clients); } private void Client_Load(object sender, EventArgs e) { // TODO: This line of code …

Member Avatar for Geekitygeek
0
151
Member Avatar for julseypart

hi, i have a gridview search which filters the gridview, displaying the search results, however it wont highlight the results in yellow: [CODE=c#]//Highlight relevant search results public string Highlight() { //Declaring a variable to hold search query string s = txtSearch.Text; if (s != null) { //string Search_Str = txtGrid.Text.ToString(); …

Member Avatar for kvprajapati
0
204
Member Avatar for bimaljr

I have two tables: [B]1st Table Name : country[/B] [B]Table data:[/B] [CODE]------------------ ID | CountryName | ------------------ 1 | India | 2 | Japan | 3 | China | 4 | Canada | 5 | Denmark | 6 | Egypt | 7 | France | 8 | Germany | 9 …

Member Avatar for pritaeas
0
124
Member Avatar for hpdp

Hi, I'm new to xslt. I need to write a xslt on medical journals. I made it work. But I found if I need to add something later, it's hard to do. Right now, I'm trying to add links to different sections. I know I need to use test on …

Member Avatar for pritaeas
0
166
Member Avatar for Bei_Mu_tian

Hello I've got the following Problem: I want to add a Templatefield at a specific column in a Gridview. Is this possible somehow without too much effort? I tried tons of things but haven't found a solution yet. the thing is, that I add most columns via VB code. I …

Member Avatar for kvprajapati
0
304
Member Avatar for vinaya

Hi.., all, I need both date and time to be displayed in my grid view in the dd/MM HH:mm format. I used dataformatstring={0:dd/MM HH:mm} but its not giving wat i need. so please can u suggest what should i do to get my problem solved. Thanks in advance.

Member Avatar for kvprajapati
0
498
Member Avatar for spiricn

Ok first of all I'd like you guys to know this is like my first thread ever so go easy on me if I'm not doing something right :P Right then , so I've been programming in python for some time now and I love pretty much everything about this …

Member Avatar for spiricn
0
175
Member Avatar for noname1015

Hi, i am doing with deleting row permenately from database currently,but the problem i face right is that i can delete row from datagridview only, but the data inside database remains unchange.I want to delete a row which i selected permenately when i click a delete button . Here is …

Member Avatar for noname1015
0
4K
Member Avatar for phpuser

Hi All, I want url rewrite for my page.i having idea about how to rewrite for querystring and for other some cases. but i have something new at this time and i cant able to find solution for same this time. see my URL is like search.php?q=brand:Bosch:price:100to200:search:14.4~cordless~Hammer And I want …

0
79
Member Avatar for sjfleming

Hi, I'm trying to read an excel worksheet that has cells with decimal numbers with exponents of 2 or more. When I read a cell that has a value of say 1002.00 in the cell, I'm getting 1002 when the code is reading the cell. In the formula bar in …

Member Avatar for sjfleming
0
8K
Member Avatar for chetanbasuray

Ok...I have a very basic question...how do I attach my database when I'm turning my c#.net code into a setup file? I'm just learning and I'm sorry if you feel this a too basic question...:)

Member Avatar for chetanbasuray
0
158
Member Avatar for sonia sardana

Below code is opening Folder Browser dialog on button click, I want that if mine PC is in network..In Folder Browser Dialog even the network drives are coming,I want that Network Places do not come in treeview.Is it possible?? [code] Option Strict On Option Explicit On Option Compare Text Public …

Member Avatar for ghimangi
0
198
Member Avatar for shanakaprabath

Can some one give me a sample code or project on how to load a data of a particular table in access databse in to a data grid view

Member Avatar for shanakaprabath
0
130
Member Avatar for tquiva

Hi could someone please help me with my code? I want to calculate an accumulate investment after a given amount of years, months, or days. I am reading in an annual interest from the user and would like to have this converted into monthly and daily interest based on the …

Member Avatar for WaltP
0
120
Member Avatar for sammakko

hi, my problem I can't solve: each of my two lists consists of an ID and runID. The output I need are those elements who are not in list2 and the max Value of runID of each ID. e.g. list1 = [('1101', '2'), ('1101', '3'), ('1101', '4'), ('4472', '2'), ('4472', …

Member Avatar for sammakko
0
89
Member Avatar for MGIndia

is this code correct to create a new post item... [code] sfilepath=@""C:\Documents and Settings\example.msg"; Outlook._PostItem omail = (Outlook._PostItem)olApp.CreateItemFromTemplate(sfilepath,Type.Missing); [/code] am new to this and mainly doesnot know the difference between mailitem and postitem..but when i create a mailitem the code rus successfully.But when using postitem it shows the below exception.. …

Member Avatar for MGIndia
0
384
Member Avatar for riotburn

I am trying to use Newtons method to find implied volatility of a Black Scholes Call. So given all the other variables, I need to find what volatility makes the black scholes call equal to the current call price. I'm running what I have below but keep getting a random …

Member Avatar for riotburn
0
1K
Member Avatar for mayann

H All, I am trying to create a login application using servlets and using sessions for storing the login info. the login info is stored in a hashmap. as the server restarts, the info is lost. So i m trying to write this info in Temp file. So that the …

Member Avatar for jwenting
0
146
Member Avatar for miamia11

[B]Stored Procedure "InsertUser"[/B] [code] ALTER procedure [dbo].[InsertUser] ( @username as varchar(50), @email as varchar(50), @password as varchar(20) ) as if(not exists(select email from dataUser where email=@email)) begin declare @lastnumber as integer set @lastnumber =0 select top 1@lastnumber =cast(substring(user_id,8,9) as integer) from dataUser order by user_id desc --insert insert into dataUser …

Member Avatar for miamia11
0
413
Member Avatar for turbomen

Dear All, Please let me know what is wrong or missing for it from the attached document. One of them is my work (T9.zip) and the other is the demo Cheers,

Member Avatar for finalist
0
179
Member Avatar for old

As many before me, I suppose, I have trouble with setTimeout() in FireFox. Oddly, I have no problems with IE. If I use [CODE]setTimeout(loadnav1(),2000)[/CODE], FF fires loadnav1() immediately and try-catch complains about loadnav1() not being in quotations. If I use [CODE]setTimeout('loadnav1()',2000)[/CODE], IE works fine, but FF does nothing. Can anyone …

Member Avatar for old
0
1K
Member Avatar for Olliepop

Hey daniweb! I have a really serious issue in my program right now. I'll explain how this piece works: -The server sends a ping -The client replies with a pong and starts a timer -Server sends pong back and the client checks how long it took to receive the second …

Member Avatar for Olliepop
0
155
Member Avatar for wtvrinc

Hello I am trying to get this function to work... [CODE] int error(const char* s) { int f=1; while (*s!='/0') { if(*s=='/') { f=0; return(f); } s++; } return f; } [/CODE] I want to find out if in the string tat i am passing there is a character "/"....But …

Member Avatar for wtvrinc
0
113
Member Avatar for isralruval

i have the following code which works, well its suppose to shift the letters of a text file by whatever the user wants, lets say the text file says "hi" if the user wants to shift the letters by 1 to the right it will become "ij" ok but the …

Member Avatar for Salem
0
131
Member Avatar for ronaldpaul

Friends, in my project(i'm using php and mysql & i'll be getting all the detail from th user) I've to create a seperate ID for each family. For each family I've to maintain the family members details and the contact details.Now wats the problem is how can I add or …

Member Avatar for urtrivedi
0
168
Member Avatar for collinsislee

i missed lecture today and this is what they did in class. im not sure how to complete this. hope you all can help me out. [code] class Clock { // Declare fields of the class // 0 <= hours < 24, 0 <= minutes < 60, 0 <= seconds …

Member Avatar for BestJewSinceJC
0
255
Member Avatar for eternaloptimist

/* i have forgotten how to do the setw for the output (ex. Find Holland, Beth: 5)...getting all of the numbers to line up. also, i need to know how to modify this program so it reads in 20 strings from a file. i want to name the file names.dat. …

Member Avatar for vmanes
0
251
Member Avatar for ShortYute

I have two code snippets basically I want a program to do color in the console but I only want it to run a certain function based on the compiler (I will use windows.h but my teacher will use conio.h because she uses Borland C++ 5.02 ) I have a …

Member Avatar for Salem
0
182
Member Avatar for tryphy

Hi friends, I have a major doubt: Could you please help me with this... I have a create company form, create project form.. In the create company form, it creates the company name and a company code for it..and in the project form, i have one field as option value, …

Member Avatar for tryphy
0
148
Member Avatar for MxDev

Hi guys, how to add news columns in my site which could changed dynamically?? Any help appreciated. Thanks

Member Avatar for webexpertzhere
0
79
Member Avatar for ashab27

Thank you Hi, I am Asha Bhatt I have created one table (Question) , which contain 500 of row and 6 column. column name are QusID , Question , Option1 ,Option2 , Option3 , option4 . and in asp.net i have one button and one lable . when i click …

Member Avatar for urtrivedi
0
199
Member Avatar for ashab27

Hi, I am Asha Bhatt. I am making simple form in asp.net and validation in java script. we this is my .aspx.cs code [code] using System.Data.SqlClient; public partial class InterviewSet : System.Web.UI.Page { string scon = "Data Source=RBWORKSTATION2\\SQLEXPRESS;Initial Catalog=onlineexamdb;Integrated Security=True;MultipleActiveResultSets=true"; //SqlDataAdapter da; SqlCommand cmd; // DataSet ds; SqlDataReader readsid; public …

Member Avatar for kvprajapati
0
145
Member Avatar for Batoul88

I want to ask if there is a ready tool like in the picture in the attachment that i can put it in my website (i mean like a control or ajaxtool provid that) or I have to build my special one... [ATTACH]13763[/ATTACH]

Member Avatar for kvprajapati
0
98
Member Avatar for beiko

im a beginner in Java and I need the user to input a year month and day and then put it in the form of yyyy-mm-dd using the Date class but I keep getting the "week day, month, date, time, year" this is part of the code [CODE]Scanner input = …

Member Avatar for PatrickSharp
0
113
Member Avatar for nickelmann

Hi, I want to extract certain words from a sentence input by the user. For e.g., the user enters "Jones born in 1967" and the program will extract the words 'Jones, born and 1967' but will not extract the word 'in' and will print the extracted words out. Is there …

Member Avatar for nickelmann
0
2K
Member Avatar for ZoMbiESsSZ

HI Guys. I'm trying to make my own lite program that can highlight specified chosen words (Syntax highlighting in short). I have a working method using Regex, but it is TOO SLOW. Here is what is currently: My Regex Statements: [CODE] public Regex SettingsAndComments = new Regex("--settings|-|", RegexOptions.IgnoreCase); public Regex …

Member Avatar for kvprajapati
0
283
Member Avatar for kenakena

After copying code into the IDE, it typically does not align with code already present. Is there a way to envoke a re-format of IDE so that all code will automatically align in its proper place ?

Member Avatar for kvprajapati
0
79
Member Avatar for alexa868

Hey everyone, so I'm new in object oriented programming so I'm not sure about how to write this program. I need to create a die game with the class: DIE, that rolls the die. it needs to have a method called: "roll" that rolls the dice again and it needs …

Member Avatar for jonsca
0
135
Member Avatar for EvilNerd

The assignment is: A. Present a menu like the following: 1. Enter a char 2. Enter a string 3. Enter a float 4. Enter an integer 5. Display the sqaure of numbers from 1-100 9. Quit the Program Enter the Program B.The program should not quit until the user chooses …

Member Avatar for Anarionist
0
191
Member Avatar for anthony5557

Hi guys, I have to write a program with a class that will take the number of the day in a year and display the month and day of that number. I'm stuck from the start. Can anyone give me a start that I can run with. I also need …

Member Avatar for jonsca
0
161
Member Avatar for igodspeed

Hello, I am try to compile this code using gcc in ubuntu. I get the error 'btree.cc:(.text+0x55a): undefined reference to `std::cout' '. I thought if i added using namespace std; it would start working but i am still getting the same error. Any suggestion on how i can fix it. …

Member Avatar for igodspeed
0
243
Member Avatar for XinJiki

Hello, I need some help with my homework assignment fir my C++ class, here is a description of the assignment: Write a program that reads this file and finds the longest word that contains only a single vowel (a,e,i,o,u). Output this word (there will actually be several ties for the …

Member Avatar for XinJiki
0
249
Member Avatar for oxy77

I am trying to write a summation to aprox. pi. I am using a for loop and I cannot figure out where I am messing it up. I keep getting "program has exited with code 0" [CODE]for(int N = 0; N <= 15; N++) {double x9 = 0.0; for(int n …

Member Avatar for oxy77
0
99
Member Avatar for futura

Please excuse me if this has already been covered before. I'm a C++ beginner, and in of the problems I have to do, the input has to be like this: 1) A number n is entered. 2) n number of strings are entered. I tried using a 2D character array …

Member Avatar for futura
0
86

The End.