98 Topics
|
|
My PC has 3 drives C, D, E...when I insert the removable CD drive it should detect that the drive is the F:... it may vary for different systems...how can I find which will can be the CD drive... I had written the following code Try For Each drive In … |
|
Please bear with me, this is my first post So, I have this superclass called A. And I've 2 subclasses A1 and A2. A has attribute name. A has function toString(). A1 inherits name, and has attribute hair. A1 has a method toString() which goes: string A1::toString(){ string stringA= A::toString(); … |
|
Please i need help on how to disable a button until a user click a check box |
|
|
I want to check if value is already exists in database with php. But this value can be as for example "John" or "JOHN" or "JOhn" or ... e.t.c how to check for all conditions? |
Hi guys, I'm still new to .NET and your answers to my questions have been so helpful. I have another question yet again, however. This time my question has to do with sql server and handling it with code behind. I am creating a stored procedure which is supposed to … |
|
The code below compares three numbers and it prints out the Maximum and Minimum value, let me hope it will rescue somebody :) import java.util.Scanner; public class MaxMin { public static void main(String args[]) { int w,x, y; System.out.println("\n\nTHE PROGRAM BELOW CALCULATES AND OUT PUTS THE MAXIMUM AND MINIMUM OF … |
|
|
Hello, I need a code that will check if a certain text exist. This is how it's now: If TextBox2.Text = ".sys\clock" Then TextBox1.Text = TextBox1.Text + Environment.NewLine + ("It's") + DateTime.Now End If and I want to make something like this If TextBox2.Text = ".sys\clock" Then TextBox1.Text = TextBox1.Text … |
|
Hi, guys, i want to check - url exists or not and i want to do it witj AJAX. What code I must use for it? |
Hi everyone... im using C++ Microsoft visual studio and would appreciate if you can help me out here. Ive been trying to do this the whole day ... and canttt figure it outtt PLEASEE HELPPP !! I am a total beginner so sorry if i have very stupid mistakes. #include … |
|
Can anybody help me to get the code for google check out payment confirmation. After the payment using google checkout i want to update the order details with the payment status. may i know the post values to the website |
|
I have code which displayed a person's info in a table(fields:name, surname, address, etc.) and one of the inputs is a checkbox. The code is as follows: $("#table").append('<tr class="trow'+j+'">'+ '<td class="ids" id="z'+i+'">'+totrecs+'</td>'+ '<td>'+member[i].jdate+'</td>'+ '<td class="users" '<td id="contact'+i+'">'+member[i].fname+' '+member[i].lname+'</td>'+ '<td id="myaddress'+i+'">'+member[i].address1+' '+member[i].town+'</td>'+ '<td><input type="checkbox" name="whome" id="showMe'+i+'"'+ 'class="boxes" onclick="getMe('+i+')" /></td></tr>'); totrecs++; j++; … |
|
Good morning I have an event called "OptionChanged" that is triggered when one of many CheckBox's is changed. string cb = ((CheckBox)sender).Name.Remove(((CheckBox)sender).Name.Count() - 1); gets the name of the changed CheckBox, removes the last letter then copies it to a string. Now, i need to find the relevant bool (named … |
|
I've got a website with a splash page where users select one of two languages in which to access the page, and have the option of ticking a "remember me" checkbox, which would write a cookie. On subsequent visits to the splash page, the cookie would be read, and the … |
|
hi all. I have some problem. I want to make Delete multiple rows in mysql with check box. so I did it below. but delete doesn't work. could you tell me where is wrong ? <?php include'conn.php'; mysql_select_db("auction")or die("cannot select DB"); $sql="SELECT * FROM family"; $result=mysql_query($sql); $count=mysql_num_rows($result); ?> <table width="400" … |
|
PDF's Full of Images only. Open one in note pad, delete a few lines and close it again -- Effectively Breaking your pdf file. You can still open it, but all your pages will be blank with maybe a scribble at the bottom somewhere. Now... How do you check if … |
|
I want to make a program that cross checks strings. Here is an example : **Enter line: AAGGAA This sequence can make a hairpin** **Enter line: UGAG This sequence cannot make a hairpin** **Enter line: GUGCCACGGCACCGUG This sequence can make a hairpin** **Enter line: GUACCACGGCACCGUG This sequence cannot make a … |
|
hi guys, i have a datagridviewcheckboxcolumn1 that is bound to a field in a database. i want to set it as checked or uncheked programaticly, does any one know how?? |
|
|
Hello can someone give me a code for a program to check your ram and video ram? im pretty sure i have to use eventLog but how is thay going to work? Please help |
Hello Daniweb users. I am a security analyst who needs to currently audit the compliance rate of machines for my client. He is having both Windows and Linux machines including AIX. I want to know rather than doing a manual check i.e. document to document, is there any tool (preferablly … |
|
This is bit funny code as you can first read from this excellent response: http://www.daniweb.com/software-development/python/threads/427341/custom-types-in-a-simple-way#post1828718 why should you not use it, even it maybe feels useful. Anyway I got curious to see how type signature could be implemented, even using it would generally just be stupid way of slowing down … |
|
Finding efficiently primes, whose begining numbers are also primes. See the thread http://www.daniweb.com/software-development/cpp/threads/425821/prime-number-c in C++ forum for discussion on topic. |
|
Hi, I am using curl to download files from the internet and it is working fine. The problem is that I am trying to check if the file exists before downloading it. I was thinking that if the file doesn't exist, then I would receive a CURLcode with and error, … |
|
Good day! I need help.. I have to check if the textbox value is in the dropdownlist items, and I don't know how to get this in javascript. I wanted to validate it in such a way that if the textbox value is in the dropdownlist item values, then the … |
|
Hey guys. I'm new to this site. I just wanted someone to look over the code I have so far for a hash table that operates on linear probing. I don't have anyone to really check these things for me as my professor is always busy. Can anyone tell me … |
|
Hello, I was given a question a few few days back to write a program that lets a user enter a value for an angle and quadrant in which the angle lies is printed using switch statement. I was able to make this program using if-else very easily but making … |
|
Hello. I allow members to post statuses on my website and i want to check links. And if that text includes "www" i want to make that a link. How would i check this everytime i pull the status from the database to show it on the page |
|
Example code: [CODE]HWND CreateButton(const HWND hParent,const HINSTANCE hInst,DWORD dwStyle, const RECT& rc,const int id,const ustring& caption) { dwStyle|=WS_CHILD|WS_VISIBLE; return CreateWindowEx(0, _T("button"), caption.c_str(), dwStyle, rc.left, rc.top, rc.right, rc.bottom, hParent, reinterpret_cast<HMENU>(static_cast<INT_PTR>(id)), hInst, 0); }[/CODE] The part I dont get is: [CODE]dwStyle|=WS_CHILD|WS_VISIBLE;[/CODE] So the question would be why do we use '|' and … |
|
Hiya, I wasn't really sure if this goes under Java or Game Development forums, so I decided to post it here. I'm making a simple "Scrabble" game, which checks letters placed on the table and tries to find if they form proper nouns. I have a list of words, and … |
|
Hi, I have three drop down boxes for a Date field; one each for days, month and year. I want it so that when a year and month are selected they can be checked and then i can use those variables to insert the options into the days drop down … |
|
[B]Hi i wanted to know how to implement a checking system so that whenever my program randomizes a horse it will always be unique. Thanks![/B] [ICODE]import java.util.Scanner; public class Horses { public static void main(String args[]) { String[][] horses = {{"Black ","White ","Gray ","Old ","Young ", "Pink ","Yellow ","Brown ","Orange … |
The End.