199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for liran

Hey, I have the following code in C-Sharp: byte newByte = byte.Parse(hex, System.Globalization.NumberStyles.HexNumber); What's the equivalent in Java ? Thanks !

Member Avatar for liran
0
1K
Member Avatar for viktoriaong

need help mybe this site can help me with my vb6 class.., i'm trying my best in our lab.class but still i'm having hard time with the codes and logic of the problem that our instructor give us. i don't know why but in our java class and object-oriented class …

Member Avatar for AndreRet
0
126
Member Avatar for poojavb

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 …

Member Avatar for nmaillet
0
510
Member Avatar for bradly.spicer

Hey, Been writing my own php snippet but I'm having a few issues. I have a drop down which is populated by the mysql db however when I click delete it runs an action and throws an error. Form: <form action="deleteuserform.php"> <select> <?php $sql="SELECT id,customer_name FROM Customers"; $result =mysql_query($sql); while …

Member Avatar for remunance
0
238
Member Avatar for Avni.Naik11
Member Avatar for remunance
0
49
Member Avatar for dokukani

Is my functions correct? If I type in the highest temp at the bottom row, my program wouldn't take it. Same goes for lowest temp. Can anyone provide some in sight? #include <iostream> using namespace std; //declare constant for array temperature int const row = 3; int const col = …

Member Avatar for remunance
0
361
Member Avatar for khizer03

Hi,Everybody I am creating a windows application where the part of the application is like Extracting email-Address from all the emails which is in inbox & as well as in sent Item, And I am in a big confusion not getting how to extract email-address from emails Hope to get …

Member Avatar for margaret224
0
195
Member Avatar for boiishuvo

I have one problem at the line 20-23. What I need is when the blue box touches the red rectangle, the blue box gets resetted (it goes back to where it starts). However, the problem is, it doesn't touch the red rectangle area properly. Any suggestions? Thanks in advance. float …

Member Avatar for margaret224
0
320
Member Avatar for rockout15

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace WindowsFormsApplication1 { public partial class Order : Form { public int count = 0; public string Conn = WindowsFormsApplication1.conn.getConnection(); public string getid; public SqlDataAdapter dAdapter, dAdapter1; public DataSet dSet, dSet1; public …

Member Avatar for ChrisHunter
0
117
Member Avatar for anandschiru

How to extract an article which is a html page from a rss feed in php.

Member Avatar for diafol
0
115
Member Avatar for Blink383

I'm trying to display a few Jlabels in the output of my actionlistener. I have a combobox included in the fields I needed added. i attempted to use a Jtable but had issues getting the selected item from the combobox. I choose to this method because I had already had …

Member Avatar for Blink383
0
288
Member Avatar for thanzeem7
Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for bobby08

Hello, I was wondering if there anyway to Select rows where the date column falls into a certain range? For example, heres a table [code] The date field is generated automatically by MySQL with the DATE function Heres the table: [user] . [wins]. [date] bobby.......4..... 2006-08-21 boby1.......3..... 2006-08-22 boby2.......6..... 2006-08-24 …

Member Avatar for Lavish Dubey
0
8K
Member Avatar for anukavi

Hi, The question might be little confusing. I have recently joined smart card testing team and its all new stuffs to me. I need ur help in suggesting suitable IDE for writing test cases to test SIM OS & related applications. I insert the Native SIM card into card reader …

0
78
Member Avatar for UnchainedDjango

# "toNumbers(strList) is a list of things,each of which represents a number.Modifies each entry in the list by converting it to a number." # Here is my code and it won't work,please help,thank you! import string def toNumbers(strList): nums = [] for i in strList: nums = nums.append(int(i)) return nums …

Member Avatar for UnchainedDjango
0
647
Member Avatar for Liam1212

Public Class Form1 Dim int As Integer = 0 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Refresh() End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(TextBox.Text) End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As …

Member Avatar for Reverend Jim
0
225
Member Avatar for ng5

I am trying to make a guessing game that lies one-third of the time that the guess is too high (it says it is too low when it is actually too high). And it never lies about the guess being too low, nor does it lie twice in a row …

Member Avatar for bguild
0
455
Member Avatar for GraficRegret

I have been searching all morning and I cant seem to find a reliable source for a decent slideshow script, I am working on creating one myself now, if anyone has any helpfull hints or tips, or even if you have some code snipets that would be usefull for my …

Member Avatar for GraficRegret
0
1K
Member Avatar for sbharathind

public static void nonRecursiveInorder(Node node) { Stack<Node> st=new Stack(); st.push(node); Node temp; while(!st.isEmpty()) { temp=st.peek(); if(temp.left!=null && temp.left.visited==false) st.push(temp.left); else { if(temp.left==null && temp.right!=null && temp.right.visited==false) { System.out.print(" "+temp.value); temp.visited=true; st.pop(); st.push(temp.right); } else { if(temp.left!=null && temp.left.visited==true && temp.right!=null && temp.right.visited==false) { System.out.print(" "+temp.value); temp.visited=true; st.pop(); st.push(temp.right); } else …

Member Avatar for sbharathind
0
234
Member Avatar for Ancient Dragon

Q1: I'm trying to convert a working c++ program to VB.NET 2012 just to see how networkstream works. First send a stream to web address then get response. Send seems to work ok but read() blocks (line 34 of the code). Sometimes it doesn't block but doesn't return any data …

Member Avatar for TnTinMN
0
714
Member Avatar for SyncMaster170

I have two tables, table_1, and table_2. I am trying to query both tables, I want every column that is in table_1, and only one column from table_2. Each table has an AccountID column, so they can relate to eachother. I am trying to get a query result that gives …

Member Avatar for JorgeM
0
145
Member Avatar for lewashby

I've been told to study up on four c segments: code, data, stack, heap. I know that googleing stack and heap will probably give me a mountain of information. But what the heck is code and data? If I type c code into google I'M going to get a lot …

Member Avatar for Ancient Dragon
0
154
Member Avatar for randall.graves.37

Hello all, This is my first time posting here so bear with me. I am looking for some help in regard to a project I am currently doing. I have a Datagrid view that I am looking to search all columns and all rows for the string (partial or not) …

Member Avatar for TnTinMN
0
143
Member Avatar for lewashby

In the following program, when I enter a number I'M getting strange output back. When I enter 5 I get 0x6011a85 back on the cout << "you entered" line. #include <iostream> //#include "functions.h" int main() { std::cout << "Please enter a number. " << std::endl; int date = 0; std::cin …

Member Avatar for CGSMCMLXXV
0
91
Member Avatar for Murphyv10

Hey Guys , can i just get some help with my dialog box , a sterr in the right direction wil be brillant . Thanks guys import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JDesktopPane; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; …

Member Avatar for stultuske
0
198
Member Avatar for ehsann.sharif

**guys I wrote this, there's no errors, no warnings... but it keeps crashing on execution.. any ideas ?????** #include <stdio.h> #include <stdlib.h> #include <string.h> struct data { char * name ; int grade ; }; int compare_ints(const void *a, const void *b); int compare_strings(const void *x, const void *y); struct …

Member Avatar for Ancient Dragon
0
229
Member Avatar for happyHacker

How do you normalize 16 bit PCM audio 44100Hz mono? I have the raw data, but don't know what to do with it, it is signed as far as I can tell.

Member Avatar for happyHacker
0
159
Member Avatar for rei8mer
Member Avatar for tinstaafl
0
54
Member Avatar for soapyillusion

Hey all Im have trouble passing this jquery functions results thru an ajax call. I want this function: $('.sidebar_bookmark_linkrel1').attr('href') to pass as string, any ideas?

Member Avatar for soapyillusion
0
130
Member Avatar for McLaren

Hello, I am thinking about making one small project with PHP, javascript, becasue I don't have experience in other languages too much. It would be something like addition to a windows program which uses postgre sql database. I see that I can make one feature from that database. For me …

Member Avatar for McLaren
0
255
Member Avatar for amit43

in this code i am counting the number of bits present in the numbers from 1, 2, 3....n i.e the total number of the set bits present in all the numbers till n, what should be the complexlity of this code of mine please any one tell and also how …

Member Avatar for vijayan121
0
125
Member Avatar for <M/>

I enrolled myself into 2 college classes (Java and C++) and i am curious on what the best book is for c++. I saw another thread with the same question, but that was posted 8 years ago. I do not mind paying for any book (price does not matter). If …

Member Avatar for vijayan121
0
221
Member Avatar for jessada.dissopa

I wonder how to interface octave with c++ I already have m-file that can run on octave but I want to run a C++ program that can get/send command from/to octave Anyone can guid me? Is there any link for the tutorial or example code?

Member Avatar for Ancient Dragon
0
318
Member Avatar for CPT

Hello everyone, I've encounterred a problem that I cannot seem to overcome. For the program to compile there are a few steps necessary to take: from the website [Click Here](http://osl.iu.edu/research/mpi.net/software/) on the download page, one would need to download and install: 1. MPI.NET SDK 2. Microsoft Compute Cluster Pack SDK(this …

Member Avatar for Ketsuekiame
0
384
Member Avatar for brugernavn

Hello :D Im 100% noob to javascript.. now, i have this script: <script> if(navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { document.write(position.coords.latitude + '_' + position.coords.longitude); }); } </script> and i need to send the location data to a php script.. Is there any easy and smart way to do souch things? The easy …

Member Avatar for NardCake
0
191
Member Avatar for jeffbeck8

Hi, I have a working program and I need to answer the following questions: 1:where was polymorphism was used in this application? 2:identify where overriding or overloading was used in this application? I belive overriding is used by the Runnable method to override the run() method. Would that be a …

Member Avatar for jeffbeck8
0
301
Member Avatar for Ctechnology24

Please help me on how can I refresh the records displayed in my crystal report. because when i first open a report it functions well but if I close the report viewer form then open it again the previous records will display with the new records that i selected example …

Member Avatar for Ctechnology24
0
1K
Member Avatar for narai

Hi, I am facing these problem. I gt 4 category. So for each category, I want to count number of people in each of it.I already have the query but i dont know how to put it in array with $i =$i +1 to count it when no of people …

Member Avatar for pritaeas
0
196
Member Avatar for coder91

So I have a table that stores various prices for things. The ID is set as the primary key and doesnt allow nulls. I then have a stored procedure that takes the data entered into the form (ID) included and it works out the cost of that particular item. This …

Member Avatar for JorgeM
0
116
Member Avatar for Tinnin

Hi all, This is a follow on from my last post. Here is my current query: SELECT * FROM ( SELECT * FROM ( SELECT TeamID, PlayerID, COUNT(*) AS Total FROM Scored WHERE MONTH(GoalDate)=12 AND YEAR(GoalDate)=2012 GROUP BY PlayerID ) T GROUP BY TeamID, Total DESC ) T GROUP BY …

Member Avatar for Tinnin
0
175
Member Avatar for Hameeda0410

HEllo everyone... My project consists of drawing a road two lane road using grahipcs the code snippet below is for drawing the road however if someone can help me in executing theses codes on an interface woud be great because i dont know how to do it Cheers public Road(int …

Member Avatar for JamesCherrill
0
928
Member Avatar for noman90

Hi all web devlper and java devlper how you im really enjoy this amazing group i have one quesstion i need a insvisble counter they show all the think on my site just like page views country keyword and most popular pages

Member Avatar for stultuske
0
131
Member Avatar for neondroid

new to I.T. need help about the problem analysis ,algorithm design, formatting the output package gasolinestation; import javax.swing.JOptionPane; public class GasolineStation { public static void main(String[] args) { float total, money; String yesno; JOptionPane.showMessageDialog(null, "Welcome to Gasoline Station!"); do { String select = JOptionPane.showInputDialog(null, "1 = Diesel .................... $ 39.00\n" …

Member Avatar for stultuske
0
274
Member Avatar for Umesh17_89

Hello ! I have 2 divs in my webpage. One div has links (using anchor tag). When I click on the link, I want the webpage in href url to open in other div. Can I do it using Javascript. Regards -Umesh

Member Avatar for sujeshmarar1
0
2K
Member Avatar for bradly.spicer

Hey all, Recently been working on a website which now looks REALLY good in FF and Chrome however in IE it looks absolutely terrible... is it possible to make it so anyone who goes to the site on Internet explorer is automatically taken elsewhere? like a new directory? Thanks

Member Avatar for bradly.spicer
0
197
Member Avatar for santo12

hi all... this is my 2 weeks using vb.net 2010 express i usually use vb6 in vb6 if i compile the project then the result is single exe and in vb.net 2010 express i have many file my question is , is there a way to make single exe like …

Member Avatar for tinstaafl
0
237
Member Avatar for lewashby

I need to store the number of digits from a number into a variable. e.g. 538, i need to store 3. How can I accomplish this is C++? Thanks.

Member Avatar for Moschops
0
107
Member Avatar for seema serrao
Member Avatar for AARTI SHRIVAS
0
138
Member Avatar for AARTI SHRIVAS

i am just start to learn php and using dreaweaver for practice, i just want to know that like other languages can we debug php code if can then how we debug php code in dreamweaver or any other editor for php?

Member Avatar for AARTI SHRIVAS
0
387
Member Avatar for Venter

<!DOCTYPE html> <html> <head> <title>Registration Form</title> <link rel="stylesheet" media="screen" href="style.css" > </head> <body> <div class="head" style="background:#343434;width:auto;height:100px"> <br/> <h2 Style="color:white"><center>NAVAL DOCKYARD, VISAKHAPATNAM-530 014 </br> APPLICATION FOR ABSORPTION OF TRADESMAN(SKILLED)</center> </h2> </div> <form enctype="multipart/form-data" class="contact_form" action= "<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <ul> <h4>Registration Form </h4> <hr/> <li> <label for="name">APPLICANT PHOTO :<sup style="color: …

Member Avatar for AARTI SHRIVAS
0
148

The End.