199,114 Archived Topics
Remove Filter ![]() | |
Hi all, I was looking into determine the size of some text on 2 websites (basically it is 2 websites a dev and a live copy and I wanted to determine whether they are the same on every browser) and because I couldn't find a way to do that in … | |
Hii I am trying to do that when i clicked on particula Category ,only subcategories of tht clicked category show and rest subcategories ll hide ....im getting problem because it is in loop ,if im applying any script it implement on all..so please any better way to do it ..so … | |
Having problems with my add button, it works . . . when it wants to. its OK when adding but when trying to add after deleting it gets moody and doesn't work. I didn't use a loop but there's a counter for the sake of the IDs cause i will … | |
I have a time as a string saved as HoursMinutes example 1642 (16:42) and I tried to convert it to date as Hours:Minutes with following code: Dim dt As Date Dim s As String s = "1642" dt = CDate(Format(s, "00:00")) but the result is: 00:00 instead of 16:42 Any … | |
My brain won't work (in fact it doesn't often when it comes to comparing dates). I need to check whether a date returned from the database is 7 days or less from the current date (can't do it in database as it is used to highlight events where entries close … | |
Hi everybody, i have problem in my php code (it just showing nothing....means no error no results).......can anybody tell me what is wrong with this code.....i'm new to PHP........here is my code <?php try { $config=array( 'DB_USERNAME'=>'root', 'DB_PASSWORD'=>'' ); $conn=new PDO('mysql:host=localhost;dbname=scc',$config['DB_USERNAME'],$config['DB_PASSWORD']); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); echo rand_id(); } catch(Exception $e) { echo … | |
Hello if anyone can help I would like to know why I get this error when executing.. exception in thread "main" java.lang.NuSuchMethodError: main [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class GridLayoutFrame extends JPanel { // These are the components private JButton FindB,AddB,RemoveB; private JLabel theOne,theTwo,theThree,theFour,studentID,theMidTerm,theMidterm,theFinal1,theFinal2,FinalG1,FinalG2,FGrade2; private JList studentNumbers; … | |
i am developing a hit counter in my web application to increase whenever a new user visits my website so that i will now the number of hits from different users so far. but the problem is that it is increasing even though it is the same ip address | |
Hi everbody, Seen posts saying simple dictionary in Java. Thought of sharing something may be useful for others. Here is a simple code if anyone interested. import java.util.*; public class Dictionary { public static void main(String[] args) { Map <String, String> dictionary; dictionary = new TreeMap <String , String>(); Scanner … | |
can anyone help how to save using this code below.? i used adodc recordset with adodc1 .ConnectionString = connectdb .RecordSource = "Select * from 'tablename'" .Refresh 'dont know the next action end with 'what does this code mean? | |
i'm trying to get metro app style to windows form application. any help..? | |
How to make a reverse string program in [c programming](http://www.programmingpad.com) language ? | |
Hello I am a student of computer science year 3 and am doing my project on a **road design simulator**. I should be able to design a road on a java interface and simulate it with cars. Does anyone have an idea about how should i proceed with it? | |
hey I faced the interview Question - Name Textbox EMail Textbox Mobile Textbox Button-ADD First he told me to add the three textboxes values into the listbox. Its simple--I have done it. Listbox1.items.add(me.textbox1.text & " " & me.textbox2.text & " " & me.textbox3.text) Then he told me that draw one … | |
Hi, I want to perform a search with Python in this site: [url]http://www.draftexpress.com/search.php[/url] I want to search for a player who's first name is "james". The problem: The page with the result's url is: [url]http://www.draftexpress.com/search.php#results[/url] Obviously, when opening this page directly, I don't get the page with the results for … | |
Hi, I am using DispatcherTimer in my WPF application, following is the link from where I learned it http://msdn.microsoft.com/en-us/library/System.Windows.Threading.DispatcherTimer.aspx#Y1710 Now problem is I cant make it available outside the procedure, and declaring it globally throws error. Is there any way to make it global? Or any other way to use … | |
I have an input that renders completely weird in IE8 - the issue fixes itself however as soon as you enter something into the input. The input is not floated. When the page loads, the entire input, except the actually text in the input are moved down and right by … | |
Ok I dunno why this isn't working. The alert outside the droppable says 0 but the alert inside the droppable says undefined. Anybody have an idea as to why? I want to start keeping a running count to when a person drops an object into the match div. I dont … | |
Good afternoon, I have an MP3 of a short presentation that I would like to make available on the index page of my members site. Actually it is already there... and it works. But, the problem that I have is that when you click on the link, it opens the … | |
Hello. I received some code that has a section in which the variable $DB is established. $DB =& new DB($db_username, $db_password, $db_dsn, false); It does this by calling a function named DB, which is shown here below. /** * Constructor * * will set $DB->error and return false if login … | |
So i have a gridview that contains data is entered in a form from various drop down menus. I am now creating a new field in the form which is a multiline text box. This is to appear in the gridview aswell. However it won't appear for me, is it … | |
hello everyone i created a python file DailyExpensessave.py when i need to import this in another python program i was getting this error > Traceback (most recent call last): > File "C:\Python32\DailyExpensessave", line 1, in <module> > from DailyExpenses import * > ImportError: No module named DailyExpenses Both the python … | |
write a program to print the highest palindrome value that is the multiplication of two numbers lies between 100 to 1000. | |
any idea how I can get a string to return from an ajax call taking the href from an object using: (javascript) $('herpy').attr('href').toString() into a PHP controller as a string so it can be used as a parameter in sql code? Everything I try results in this bizzarre array being … | |
I a new c++ programmer, and i started to solve the SPOJ online challenges just practising , and because of my few experiance.. it gives me wrong answers alwayes. See [ **the Challenge** ](http://www.spoj.com/problems/PALIN/) here. My Code : #include<iostream> #include <vector> using namespace std; int reverse(int input) { int last_digit; … | |
Hi guys, if you have an anonymous function sitting within an each function and I would like to use the this parameter within the anonymous function, how would I do it? Currently it returns an error saying `"SyntaxError: missing formal parameter setTimeout(function(this){"`. I am trying to apply a delay of … | |
![]() | So i have write the following code (above) and now for the second part i am required to apply the Complex Number into finding the voltage across the Resistor in a series RLC circuit. The following tasks : Create an executable program Resonant Circuit, which allows you to output the … ![]() |
So I have a form customers fill out. When they check a few checkboxes t150 (t8) through t440 (t45) they will get the intended version of the quote with all of the checked models included in the quote, but if they check one of the models in the t150(t8) through … | |
error is coming while linking the file error is undefined symbol _clearviewport in module ... i have used graphics.h library function dos.h and also stdlib.h can any one help me out to identify this problem? | |
This is the code which i wrote.But when i input a word,it should search it and give the definition.I think there is a problem in while loop.But i can't solve it.Can u guys,plz check it? [CODE]import java.util.*; class dictionary { public static void main(String args[]) { Hashtable dict = new … | |
Hello, I followed the tutorial from [this site here](http://www.html-form-guide.com/php-form/php-login-form.html) and have added the login/registration to my test site. The problem is I now need to add two currencies to each user. On the database I have created two rows for 'invested' and 'return' and need these to be unique to … | |
Hi This is code: #include <iostream> #include <windows.h> #include <fstream> using namespace std; LRESULT CALLBACK LowLevelKeyboardProc( int nCode, WPARAM wParam, LPARAM lParam); int main() { fstream plik; HHOOK hKeyboardHook =0; plik.open("keys.txt", ios::out); plik.close(); return 0; } LRESULT CALLBACK LowLevelKeyboardProc( int nCode, WPARAM wParam, LPARAM lParam) { KBDLLHOOKSTRUCT *pKbdLLHookStruct = (KBDLLHOOKSTRUCT … | |
Hi Everyone, I am just starting out so I am sorry for this basic of a question. I have developed the code below to run a very simple program, but, each time the program runs the console window comes up during the program run but closes itself automatically. It should … | |
Hi, I'm having trouble to filter a Customer Set by the date of his first buy(First Activity). I've tried this two ways: 1. Returns all customers, even with FirstActivity Null SELECT { [Measures].[Valor Item], [Measures].[First Activity] } ON 0, { Filter( { [CLIENTE].[Cliente].[Cliente].Members }, ( [Measures].[First Activity], [Time].[Year].&[2012-01-01T00:00:00] ).Count > … | |
Hi everybody. I'm trying to insert an indented code inside another indented code, using the first indentation as base for the second. I mean, the second indentation must begin at the end of the first. The indentation i got working right, but it is adding some undesired line breaks, that … | |
Hi, I'm starting with BI, Analysis Services, Cubes and ADOMD.NET. I searched a lot and was able to make some demos, but the performance is not good. What I'm trying to do it's a Dimension tree view explorer. Currently I have the following code: [CODE] CubeDef cube = conn.Cubes.Find( "SCA" … | |
i can cobble scripts together and whatnot, but my knowledge of cgi/perl is very limited. i have a simple guestbook script i have been using for years, and it suites me well... i have modified it some to allow people to check a box and add themselves to my mailing … | |
I have a div, absolutely positioned, originally non-visible that is shown at the position of an element icon (in elements listing) being clicked rendering its preview (top position of the preview is lined to the top of the icon clicked). When the element being clicked is positioned low on the … | |
Hi, Using Visual Studio 2012. Why does the syntax highlighting turn off periodically. Then unexpectedly it turns back on again, unreproducably, and rather annoyingly. A chocolate eclair for anyone who knows...? | |
Dear friends, is there a way to execute a dos command in a frame inside a wx.window GUI (and not in the usual external window)? Thanks | |
Hello I have a combobox which has some values. When I click on it and select a item (with my mouse, for now) I want to get those values. Im not sure if its mousedown or comboboxchange or how its called. Now Im a completely noob when it comes to … | |
Hi everybody, Just wondering if it is possible t hat we can change the text size in balloon or bubble message or whatever you call it the one we create useing "trayicon.displaymessage("message", "message", message.info);Highly appreciate if someone could help me out. Thanks. | |
how to make a mdiform fixed size(can't be resized or maximize) as there is no property like border style in mdi. | |
I am considering an option for users that will allow them to write their own account numbers or create their own algorythm for creating custom account numbers for customers, but also want an option that will auto-generate them if the user doesn't care by using the identity property in SQL. … | |
#include<stdio.h> #include<stdlib.h> struct complex { int real,imag; }; int main() { int choice; struct complex x, y, z; { printf("Press 1 to add two complex numbers.\n"); printf("Press 2 to subtract two complex numbers.\n"); printf("Press 3 to multiply two complex numbers.\n"); printf("Press 4 to divide two complex numbers.\n"); printf("Enter your choice\n"); … | |
PROBEMS: > The Library class would include data members such as ID, Date of acquisition, description, number of copies, title and **instance methods such addItem() and retrieveItem()** also accessor and mutator methods are needed to accecss data members. > User arrays to store library holdings. So here's my questions: **What … | |
ok so I have been given the following question: Your team is required to build a working SAR system. The system should reflect the following: 1. It should be built using any appropriate technology you are familiar with. However i'm not sure what is meant by SAR system, can someone … | |
How to make HTML Page Full screen?? With "full screen" I mean that it should take all the space of user's screen,just like when we watch a video with the full screen model. I do not want the task bar/menu bar of the browser window display. Any suggestions?? | |
Hi, I am new to Java. Recently I developed one application for Uploading files to Shared drive. All files are Uploading properly but Checksum Of PDF files are mismatching. Someone please help me to fix this issue Thanks in advance. | |
hi i need the code to calculate the euclidean distance by reading a yeast dataset file when the calcute button is clicked it show the distance between different points in another frame |
The End.