199,112 Archived Topics
Remove Filter ![]() | |
If a class does not extend any class and implements one interface, how many types this class has? | |
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] | |
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 … | |
i need a c program for page allocation algorithm in operation system. its a simulation of what happens in the cpu. | |
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 … | |
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 … | |
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 … | |
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(); … | |
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 … | |
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 … | |
![]() | 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 … |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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...:) | |
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 … | |
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 | |
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 … | |
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', … | |
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.. … | |
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 … | |
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 … | |
[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 … | |
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, | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
/* 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. … | |
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 … | |
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, … | |
Hi guys, how to add news columns in my site which could changed dynamically?? Any help appreciated. Thanks | |
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 … | |
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 … | |
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] | |
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 = … | |
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 … | |
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 … | |
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 ? | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … |
The End.