64,152 Solved Topics
Remove Filter ![]() | |
what happens if a context switch happens while the cpu is executing instruction X will instruction x be restarted? | |
Hello, I have in one textbox this values separated by comma: 2,4,5,6,7,8,9,0,2,0,2,3,4,5,1,2,3,4 In a new textbox I want only some portion of this vector, from the 7th position to the 15th. 9,0,2,0,2,3,4,5,1 How can I do this? Best regards! | |
Hey guys...I've run into a little issue (noob here). I’ve setup a little application for scheduling days + times in different rooms. I’m trying to implement some sort of an error check which determines is someone has already been scheduled for a certain day, time(range), and certain room. For example: … | |
[CODE]<select name="splace" onchange="eval(this.value)"> <option value="javascript:show_loc('1');">Chennai</option> <option value="javascript:show_loc('2');">Coimbatore</option> </select>[/CODE] In the above code, in the option the value property is given as a javascript. Since in IE the onclick function doesn't work I've placed onchange in the select and then given the javascript in the option value. Now to save the … | |
Ok here is the new thread now could you help me JavaAddict? Please:icon_sad: | |
i have been searching about how to create an executable jar file, [url]http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html[/url] by seing the above site i have created a jar file,while double clicking the jar file an error saying that "jar file couldnt be loaded check for possible console errors" is being displayed,i had tried by downloading … | |
i have written program for a text editor,how can i turn it into an application??? | |
Hi experts I am supposed to design a VB application wherein the following requirement is needed: The user will select the type of software and information about who uses the software available in my database to be shown in flex grid. Now the user can choose one, two or all … | |
I try again in a new thread, the other went out of hand. I use this code line to create a n value. n = random.randint(0, 99), i use this n value as a lap index to my while loop. The loop is in a function called "def run(self)" in … | |
I'm just wondering if it is possible to import a module as an object attribute. The basic description of what I want to accomplish is that I'm creating a software agent object. This agent will have a set of abilities (functions), but I don't know what these are ahead of … | |
Hi all.. I had a part of code like below.. CPropertySheet oPropSheet("Page", NULL, 0); oPropSheet.m_psh.dwFlags |= PSH_NOAPPLYNOW; oPropSheet.m_psh.dwFlags &= ~(PSH_HASHELP); oPropSheet.AddPage(&oPropSettingCriteria); oPropSheet.AddPage(&oPropAdvancedSetting); if(oPropSheet.DoModal() == IDOK) { } ... now I would like to hide or disable OK button..just left only CANCEL button there.. I tried using oPropSheet.GetDlgItem(IDOK)->EnableWindow(FALSE); but will have … | |
Hi; I have made a MCQ based game in Visual C++ using MFC. It runs fine but it shuts down when some key is pressed unintentionally. Like, if you click the options with mouse click, it works fine but even if you press ENTER key during the game, it quits … | |
Hi, it's me agian... I was asked to do reasearch on how to upload a txt file's data into a MS SQL Database (corresponding columns etc.) I've searched a bit on the internet but don't find what i'm looking for... I just want to ask does anyone have an idea … | |
Hi, Iam very new to XSLT and XML. I am trying to invoke a javascript function from inside my xslt documen. The javascript snippet is as follows: [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:js="urn:custom-javascript" exclude-result-prefixes="msxsl js" > <msxsl:script language = "JavaScript" implements-prefix = "js"> <![CDATA[ function compareCsvs (firstString,secondString) { var firstArray=firstString.split(","); … | |
Hi, My application needs to run without any window poping up. Also the application needs to detect the shutdown from computer. Based on the input from this forum, i have used a form in the appliction. But i want this form to be hide from the user. Is there a … | |
I have made a program to the follwoing problem:- [QUOTE] Another chessboard puzzle (this one reputedly solved by GAUSS at the age of four) is to find a sequence of moves by a knight that will visit every square of the board exactly once. Write a backtracking program that will … | |
Hi,there, assert pop == "berg", "Item removed from the stack was not \"berg\"." why using '...' can avoid syntax error ? Thank you :) | |
Hello, Web programmer in need of some windows app help. I have a simple little program that copies files from drive X to drive Y, and dumps the success/failure messages into a multiline textbox. The problem I'm having however is that the textbox does not update until all the copy … | |
This might be a bit of a silly question and I should probably know this anyway. I have tried searching for it but I have not found anything on this subject(or the more plausible reason, I have not been searching for the right things since I don't know much about … | |
Hi, i need to know which is better in vb.net... BindingSource( such table adapter and etch..) or Hardcode( such as parameters,sqlcommand,sqlconnection that all your codes are programatically done)?.. Which is Which?:confused: | |
What is the benefit of a bool property that just gets and sets a bool? I know the benefit of only a get property or decisions that need to be made before you set a bool. I've seen examples using just get/set. I don't get it. What harm could making … | |
my first asp.net project, using vb, and vs2005. i started a basic web project, added a web form, default.aspx. as the project progressed to keep a reference to how far i got, some samples etc, i would copy the original default to default2.aspx, default3 etc. i got up to default5, … | |
Hi guys I'm looking for a starting point to have a login for a website. The situation is as follows - I have a common product list, with 3 price bands (gold, silver, bronze) When a gold customer logs in, I want to search the db for the products, and … | |
Hi, Sorry if this is already asked, but I couldn't find it. I got a text file with 100010101001000010000011111001010 and it is 8bit, now I would like it to decimal. With the int(file,2) function it does not work. I get a very large number. Is there an extra command I … | |
How would you make a simple bar graph from a list of data? [code]data = [20, 15, 10, 7, 5, 4, 3, 2, 1, 1, 0] [/code] | |
How do i reach a class from within another class? I have Class A and Class B How can i activate or run class A from Class B? example, if class A and class B work toward the same resource, one create data the other consume data. How can i … | |
Hi, I am a total newbie to programming, so I do not know much about it. However I have created this very basic program which converts 2 currencies. I would appreciate it if I received some constructive criticism so I can improve my programming skills. Thanks, xka [CODE] #include <iostream> … | |
Hi Guys Is there any function in C which will help me make an input string invisible while we are entering the input?? I mean similar to oracle login. when we type our oracle password at dos prompt it is not visible. My requirement precisely. 1) I want to read … | |
Hey all, I am a bit lost. I need something tje user can type in data to such a parts QTY cost etc. There are no predefined parts list so the user can enter any part name/Number and there is no limit to amount of parts that can be entered. … | |
hey guys i have a noob question. i'm trying to program this little text based RPG, i've made several but you're always controlling only 1 character and fighting 1 enemy, i want to change that and make you take control of 4 characters and fight 1-4 enemies at once (turn … | |
Hello, I have a school assignment to build a 2 minute countdown timer in java. Gunjannigam managed to assist me in creating the functions. My code for secondCount, I have built a function so that I can adjust secondCount to a number and it will change the timer. When secondCount … | |
Hello my name is Mikal. I am working on some python code, and it is now at the point where it does what I want, but its not quite fast enough for my liking. Here is my current code that works: [code=python] self.timersVS = {'combat':0,'regen':0} ... # Tick Timers and … | |
I want to use 3 DIV tags: 1) As Left Panel 2)Center Panel 3)On different page with contents How to use 1 DIV to open 3 DIV in 2 DIV? Is it possible? | |
Hi, I am trying to create a private chat from hacking some opensource chat room. All going well to a point. I am trying to use some basic AJAX (noobie) to insert a field into a mysql db. It is doing what I want it to do mysql wise but … | |
Hi I am learning how to use database. I am using sql server 2005. I would like to know how to make an sql query to the database from vb.net. I have tried some code. what i would like to know is, how to make the sqldataadapter statement with 2 … | |
Hi guys i was wondering how in python you invert this line as I have indicated. I have tried all sorts of mathemtical functions. I am using zelle graphics module. Currnetly I have produced lines going in one direction im trying to produce the same lines again but in the … | |
Hey guys! I am a beginner of php. so i don't know that which will be the best as a loop? While ? or For ? Can anyone help me please.... I want to do this...! Just count 1 to 10 and then add it... i mean 1+2+3+4+5+6+7+8+9+10 nothing much.... … | |
Back again! I now need to check if a variable holds one of multiple values...I.E: [CODE=PHP]if ($cvalue == "Germany" OR "England" OR "latvia" OR "Africa") { echo "Do something" ; }[/CODE] In VB I'd just have used something like: [CODE]in("Germany" OR "England" OR "latvia" OR "Africa")[/CODE] Any help appreciated...digging through … | |
Hi guys, Hope i'm putting this in the right place. Apologies if i'm not! I'm making a website for a sports suppliments supplier. I'm having some trouble with how to layout the database. I have a navigation menu which has all the categories listed. But some of my products are … | |
i am a beginner to the c language recently i`ve come across the expression - *s++ == *t++ what does this expression means?? | |
The code snippet below is the beginning of a script I've been working on. What I need to figure out is make sure that I can generate the corresponding day last year. The business logic is such that I am supposed to compare sales data from the last business day … | |
[B]hey plz help me in connecting ms access from C#[/B] | |
[B]Ok so I guess there are many threads about undefined indexes.[/B] I am trying to create a form in which a user can upload both textual information and an image. In my site its adding a watch included information and a picture into a database. I have two questions. First … | |
Hi, I'm trying to make a program that prints a solid square of asterisks based on the side size entered by the user. The code builds fine but it doesn't work when I try to run the program. I get some code (looks like hex)? Please help! [CODE] #include <iostream> … | |
Ok, I got the assignment from my CompSci teacher to write a program that converts a string of an infix operation to a postfix one and it has to use a list and stack. The class that we have to write, Postfix, has to include a conversion, parsing, clear, and … | |
Hi there, I'm struggling to get a simple if statement to work. I am passing a country though to a page from a previous page ( ?country=Poland) and then trying to evaluate it and display a specific bit of text if the country is for example'Germany'. Here's what I have: … | |
Hi All! I'm setting up a very small DB to be used for customer based product reviews. There are two tables: [code]product_tbl: id int unsigned auto_increment reviews int unsigned // number of times product reviewed product varchar(45) [/code] [code]review_tbl: id unsigned int product_id int unsigned // id from product_tbl price … | |
hi all, and respect for seniors & experts, i m a free lancer vb6 programmer and wants 2 shift 2 web development. i m very much confused as 2 which combination of technologies 2 opt. to opt for open source or not., which client side technology and which server side. … | |
Hi, Below is the snippet from my script which is working fine [CODE=python]if system is 'Conferences': assignedtomatrix[system]['Third'] = 'name'[/CODE] I have to now introduce one more loop checking, but could not find a way to do this. I have tried: [CODE]if system is 'Conferences': person = ['person1', 'person2', 'person3'] community … | |
I am trying to create a trigger that updates one field in a table different from the one being updated/inserted. My create trigger code looks like this: [code]CREATE TRIGGER before_insert_ddsw BEFORE INSERT ON `ddsw` FOR EACH ROW SET products.count - products.count +1; [/code] When I try to create this I … |
The End.