64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for thendrluca

hi all! :) well i wrote a sample code to test threads and i don't get what i want the problem is that the thread i created is starting directly after i create it? but he must start when my j is equal to 25 and then i joining the …

Member Avatar for thendrluca
0
184
Member Avatar for PaliGap

I'm trying to see how to load jQuery at run time. I can't understand why the following code doesn't work (probably me making a silly error) <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="utf-8"> <script> var script = document.createElement('script'); script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js'; document.getElementsByTagName('head')[0].appendChild(script); </script> </head> <body> <a href="#" id="main">click me</a> <script> …

Member Avatar for PaliGap
0
280
Member Avatar for ayat abukhadra

Hello, Is there's a way to install a new version of the webbrowser control in the visual studio 2008 to be used instead of the old one ? Thanks for helping :)

Member Avatar for ayat abukhadra
0
1K
Member Avatar for satti

i have a view named vw_admissionform with columns familycode,Regno,studentname,class for admission form . now if i want to print a student admission form by enetring registration no "regno" in txt1.text then his siblings should also be mentioned on the admission form as requirment by client. for this am using familycode …

Member Avatar for satti
0
326
Member Avatar for OsaMasw

am not good enough with curl functions but I understand some :P I have this webservice http://www.psnapi.com.ar/ps3/api/psn.asmx?op=getGames that required to enter a variable "**sPSNID**" to get list of games the XML output will be like this: <ArrayOfGame> <Game> <Id>NPWR00132_00</Id> <IdGameEurope/> <Title>GTA IV</Title> <Image>http://trophy01.np.community.playstation.net/trophy/np/NPWR00132_00_FB41DD6DD0A782A55D7A8497108B84EB19EDA56C/EF4A80E7CECAFBA06A2F60DA0CC3CAC53B77C9D0.PNG</Image> <Progress>3</Progress> <TrophiesCount> <Earned>3</Earned> <Total>3</Total> <Platinum>0</Platinum> <Gold>0</Gold> <Silver>0</Silver> …

Member Avatar for OsaMasw
0
3K
Member Avatar for Kronolynx

in this part of the code which i'm using to search if an account number given by the user is in the vector. what is the cause of the problem ? thanks in advance. if (ae.getSource() == b7) { boolean found = false; for (int i = 0; i < …

Member Avatar for stultuske
0
403
Member Avatar for showman13

Does anybody have any experience with changing an INT column to BIGINT so it will handle larger integer numbers? I have read a lot from searching the subject, but still a little leary of changing it on a live database. Would be nice if someone here has done it without …

Member Avatar for showman13
0
200
Member Avatar for chocomilk

How can i copy a directory path in a string? For example, the Location of the file is "C:\Folder1\Folder2\mydatabase.mdb". i have an existing code, Dim dbpath as String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim OpenFileDialog As New OpenFileDialog OpenFileDialog.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments OpenFileDialog.Filter = …

Member Avatar for chocomilk
0
184
Member Avatar for NardCake

Hello! I'm creating a simple markup type thing with a XML reader to edit the properties of this window and at some point add components to it. I had it working, but had a few issues since it wasn't originally a WinForms project, didn't have looping working right, so I …

0
70
Member Avatar for dmo1

Hello. I am writing a program that computes net pay by the user entering in hours and payrate. There can only be one decimal, two numbers after the decimal, and no letters. When payrate is entered wrong, it displays the correct error message. For hours, it doesn't even though it …

Member Avatar for dmo1
0
147
Member Avatar for javaprog200

Hello, As per wikipedia, a complete binary search tree is defined as: A complete binary tree is a binary tree in which every level, except possibly the last, is completely filled, and all nodes are as far left as possible Can someone give me an application of complete binary trees …

Member Avatar for javaprog200
0
387
Member Avatar for showman13

Good afternoon. What I'm trying to do is to get the username from the beginning of a field of data example 'username Membership Fee' or 'Username29473 Membership Fee' What I need to do is just get the 'username' or the 'Username29473' extracted as a value in a variable of it's …

Member Avatar for diafol
0
92
Member Avatar for Darth Vader

Hello, I have a little problem with a timer that I have set up. I use Thread.Sleep(). What I am trying to do, is to let a code run exactly when a new minute occurs on the millisecond (0 millisecond). I have tried to set it up below and test …

Member Avatar for Darth Vader
0
217
Member Avatar for dancks

I'm not sure why I suck so bad at this. I was recommended by my prof to use date as opposed to timestamp. I'm starting to think going back to timestamp would be easier due to built in php functions I can use. so in my original addproduct.php form I …

Member Avatar for diafol
0
403
Member Avatar for AARTI SHRIVAS

i m displaying image from data base but it gives an error **failed to load given url** in fire bug and image not diaplyed on my website how i can solve these problem?

Member Avatar for diafol
0
147
Member Avatar for missc

i have a textbox and a button in list view ! now i would like to get the text/value of the textbox on btnClick event ! can some one tell me how i can get it?

Member Avatar for missc
0
100
Member Avatar for Na'Vi

Hi, I'm trying to complete this method for a binary search tree and recursion has never been my strong point. All it does is return the total number of nodes in the tree. I have an answer that finds it a different way, but I wanted trying to get it …

Member Avatar for Taywin
0
233
Member Avatar for 123386761

Hello! I'm new here, so correct me if this is the wrong location... but I'm trying to make a program for the Minecraft server I'm on, and it requires that if someone wants to make a map that is used on the server, that there's a .xml file that shows …

Member Avatar for 123386761
0
188
Member Avatar for Violet_82

HI all, I was looking at this program and noticed few things: import static java.lang.System.out; public class Employee { private String name; private String jobTitle; public void setName(String nameIn) { name = nameIn; } public String getName() { return name; } public void setJobTitle(String jobTitleIn) { jobTitle = jobTitleIn; } …

Member Avatar for Violet_82
0
3K
Member Avatar for Obike

I'm having a problem updating records from my VB.Net application to the database (Access Database). I've tried all sorts of update technique and i keep getting either "syntax error in update statement" or "data mismatch in criteria expression". heres the code i'm using: Public Function save1stsemester() 'this code updates 1st …

Member Avatar for Obike
0
558
Member Avatar for krunal1986

hi all, i am sending mail through exchange server version Exchange2010. below is my code: static void Main() { try { string owausername = string.Empty; string owapassword = string.Empty; string mailFrom; string mailTo; string mailSub; string mailBody; ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack; ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010); EmailMessage email = new EmailMessage(service); …

Member Avatar for krunal1986
0
660
Member Avatar for Darth Vader

Hello, I wonder if 2 backgroundworkers which are asynchronous can call the same function like in the code below. What I wonder is if the function is called Exactly at the same time from 2 workers. Can anything go wrong here or is this not a problem. I am not …

Member Avatar for Darth Vader
0
154
Member Avatar for Borzoi

I have a server which is hosting just a single site and because of this, I intend to redirect all traffic from domains which isn't mine to my domain. For example, if a random person decides for some reason to point their domain to my server, when my server gets …

Member Avatar for Borzoi
0
310
Member Avatar for RickCJ7

I have a table that has information of fire departments around the state. I am trying to set up the gridview so that the address is a hyperlink with google maps. For example, In my address column, I have an address such as 745 W Colfax Ave Denver CO 80204, …

Member Avatar for JorgeM
0
709
Member Avatar for dancks

A lot of code here. Basically I'm making an auction type site. This segment of code is for a user to upload a product: I'm pretty sure there isn't anything wrong with addproduct.php but for completeness I feel like I should post it. addproduct.php: <?php require_once('checklogin.php'); require_once('validate.php'); if(!isset($_SESSION['user'])) { //die("redirect"); …

Member Avatar for diafol
0
265
Member Avatar for monching

Hello there, How to add items in combo box from mysql database? 'mySQL statement 'tryCatch method ComboBox1._______ = myReader.GetValue(myReader.GetOrdinal("Uname")) I'm trying use this: ComboBox1.items = myReader.GetValue(myReader.GetOrdinal("Uname")) but an error occured.

Member Avatar for Reverend Jim
0
307
Member Avatar for phorce

Hey, I have a function in C that I am trying to convert over to C++. I have done everything, apart from this line: memcpy(mel[i],&temp[melstart[i]],mellength[i]*sizeof(double)); I need a way of copying the elements in temp[melstart[i]] over to a vector of doubles.. Here is the C code: void Setup_Mel(int fft_size, int …

Member Avatar for mike_2000_17
0
173
Member Avatar for hwoarang69

so iam create a ecommerce base site. where user can buy stuff. i need some help with coming up a good database structures. so far i got 5 tables. here is what iam thinking: "user" table to keep track of users "user_info" table to keep there detial inforamtion "billing" table …

Member Avatar for pritaeas
-1
176
Member Avatar for faizan.saleem.96

Dear all, I have a huge problem and cant figure it out how to resolve it. I have a mysql database. which has plenty of entries in the table. I have linked my search.php page with my database everything is working fine the data is being fetched and showing the …

Member Avatar for pritaeas
0
183
Member Avatar for Violet_82

Hi I am trying to give some sense to this expression #container, #footer { width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto"); } found on here http://www.cameronmoll.com/archives/000892.html but I can't quite get it. Is it saying if the width of the page is less than 745 …

Member Avatar for Violet_82
0
114
Member Avatar for Begginnerdev

Hello my fellow Daniwebers! I am having some problems wrapping my head around the task sorting a List(Of CustomType) I have a list containing a custom class. The class contains Two DateTime objects, Start and End. I am trying to sort the list descending so that the shortest timespan will …

Member Avatar for Begginnerdev
0
450
Member Avatar for M4ver1k

I'm trying to iterate through a struct, but wanted to be able to do something along the lines of: string searchy = "jimmy"; string suffix = "firstname"; for (person dude : pnum){ if (dude.&suffix == searchy){ // Do things } } For those familiar with Perl/PHP, I'm trying to accomplish …

Member Avatar for M4ver1k
0
276
Member Avatar for Stefano Mtangoo

Hi All, I have made simple CMS with PHP/MYSQL. It make use of TinyMCE as Javascript editor. I can delete as well as add the contents. But How can I load the contents from database to TinyMCE for editing and saving? Here is my PHP code to add contents using …

Member Avatar for medzoner
0
4K
Member Avatar for kaywt

Ok... Got a lab to generate 150 random numbers and then sort the 1st 50 by BUBBLE SORT, the 2nd 50 by SHELL SORT, and the 3rd 50 by SELECTION SORT. After I get those three to work correctly then I need to MERGE SORT the three of them together. …

Member Avatar for kaywt
0
181
Member Avatar for imperator

Hey, I have created one digit 7-segment screen in vb.net, which works fine, but I need several digits to show. How can I show the screen in multiple instances, which can be controlled separately? The form code is in attachments. Any suggestions appreciated!

Member Avatar for imperator
0
209
Member Avatar for davecoventry

I am trying to access a string. wchar_t *str; char *Pname; FILE *fp; str = somefunction(); Pname = str; fp = fopen ("/tmp/test","a+"); fprintf(fp,"%s\n",Pname); fclose(fp); str actually contains "ABigName", but the file simply contains the first letter, "A".

Member Avatar for deceptikon
0
178
Member Avatar for kevinyu

How to make an iframe embedded video not skip streaming an audio even if a submit button has been pressed, is it possible to achieve it without using scripts??? Note: I am streaming a YouTube video(hidden)

Member Avatar for gon1387
0
122
Member Avatar for Agni

I have a some libraries which have a lot of common classes but the namespaces are different. Most of the code I was writing could be easily reused by classes in both libraries so after some reading I tried a technique of using the templates to pass namespace. As you …

Member Avatar for Agni
0
127
Member Avatar for lulu79

I have a LINQ function to get 3 things :: Line, Average of Duration and Count I have a problem to sort it based on Average Of Duration column. Here is my code: Dim group2 As IEnumerable(Of DataRow) = _ From row In Ds.Tables(0).AsEnumerable() _ Group row By LINENAME = …

Member Avatar for lulu79
0
752
Member Avatar for salford6129

Okay so I have a final project due, and it's not really a beast, but I've begun to wonder if I'm doing everything I'm supposed to do, so I'm going to outline the assignment and give an overview of what I have. I was hoping I could get a couple …

Member Avatar for salford6129
0
149
Member Avatar for monching
Member Avatar for eyeda

Hi Guys! I've a problem here with the $_SESSION coding. As u can see from the coding below, I've declared several session after a user is log in. I want to display the $_SESSION['SESS_ADMIN_LEVEL'] in adLandingpage.php but the code is not work. logincode.php $resultA = mysql_query("SELECT * FROM staff WHERE …

Member Avatar for eyeda
0
194
Member Avatar for jayreis

I have a form with a text input where I am trying to use 2 jquery functions together. However only one of them seems to work. So I am hoping their might be a jquery guru out there that can help What I have is a text input box called …

Member Avatar for jayreis
0
178
Member Avatar for LastMitch

Hi I still learning how Smarty templates works. I can't seem to make the image appear on the Smarty Template. I try to used this `{html_image}` it doesn't work. I used `<img>` instead. <img src="images/{$book->image[tbl]}" width="115"> These are my files. This is my **index.php** <?php require("libs/Smarty.class.php"); require_once("get_data.php"); require_once("books.php"); $book = …

Member Avatar for LastMitch
9
1K
Member Avatar for NardCake

Hello! I'm creating a small little applications (command line type thing, got some ideas) and I was wondering how exactly I would portray loading of the sorts, I know the classic animation: -- \ | / -- I just wanted to know how to animate that in Javascript. Just change …

Member Avatar for NardCake
0
150
Member Avatar for Xufyan

I am trying to figure out the way to use the nested loop in a proper way but so far i am failed, The loop run to infinity when i run the program which i definitely don't want to do, here is my code, .MODEL SMALL .STACK 100H .DATA var1 …

Member Avatar for sbesch
0
3K
Member Avatar for jonsan32

My slider works well enough in all browsers except for IE, where the overflow isn't hidden at all. I've tried adding position absolute to some parts and I've tried adding position relative to others, but nothing has worked. Any answer to this would be great. Thanks. <script type="text/javascript" src="http://dl.dropbox.com/u/5739741/OMAR/code/jquery.js"></script> <script …

Member Avatar for jonsan32
0
285
Member Avatar for advcha.almahyrah

I'm making a running text software where there is some text that runs alternately in the marqueelabel control. I wanted at every turn of the text, the background of marqueelabel will be blinking. I use three timer control, ie two System.Windows.Forms.Timer (Timer1 and timer2) and one System.Timers.Timer (elapsedTime). Timer1 is …

Member Avatar for advcha.almahyrah
0
140
Member Avatar for FakeTales

is it possible to pass an already defined function into a pthread? so for example within my code i am able to define an array size once a user enters an array size(for example user enters 200) it will add the numbers 1-200 to an array , i then have …

Member Avatar for FakeTales
0
236
Member Avatar for Dark_Knight

Hi, I've been having some problems with the getchar() statement. When I put it in a loop (to make an interactive input), I can't get user input anymore from within the loop. Even the following simple program doesn't work: [code] #include <stdio.h> #include <stdlib.h> int main(void) { char response, text[255]; …

Member Avatar for jigar23
0
2K

The End.