Connect with 1,268,994 developers, IT pros, digital marketers, and tech enthusiasts.

Be a part of our friendly, industry-focused community of professionals meeting, networking, learning, and sharing knowledge via articles, Q&As, discussion forums, and realtime chats.

Software Development
menonnik

How can we calculate whether a number is a power of 2 or not in a single statement without using a loop?

All the ones that I can think …

Software Development
D3X

Hi guys, what im trying to do is have a transfer function so that say for example i can transfer $100 from Johns account to Jacks account. Below is the …

erd.jpg Computer Science
saras1031

Hi,
I have created for an e-Learning Web Application. I am not sure if the concept I have chosen is correct and would appreciate any sort of guidance or …

Web Development
lordjordysmith

i have been looking everywhere for an answer to this and i still havent found one that works
what i want to be able to do is display the …

Software Development
emilo35

Hi all!

I'm playing around a bit with my old Visual Basic 6.0. I'm working with images, and this rather strange error came up:

First I isolate a …

Software Development
pepyrs

Hello guys,

My question is not very direct and clear but i'll try to explain it nicely.

I have a database running on MySQL with 1 important table …

Software Development
nickh2o

need help to making change
I have read textbook a lot but i still dont know what to do next steps.
Here is problem.
The program should …

Information Security
flipboi15

hey guys, I play need for speed world and yesterday my brother was using my computer and when I play games it lags. Im sure its a virus because when …

Web Development
sun-tzu

I just made this code today for a site I'm working on and figured people may try to improve it.

To use:

$("#randomize").randomize();
<!DOCTYPE HTML>
<html>
<head> …
Web Development
prvnkmr194

Hello
Actually I have to print Report from php and iam using this code

<?php
$handle = printer_open("Microsoft XPS Document Writer");
$handle = printer_open();
?>

bt iam getting following …

Software Development
linux

This is for a CS course I am taking. I'm stuck.

I need to write a program that takes a number and tallies up how many cycles it takes …

c
Software Development
linux

I have to rewrite the atoi function - that is, convert a string given by a command line argument and convert it to an integer. It works for single digit …

c
Software Development
salah_saleh

Hi!,
I have a text file that contains a 2 dimensional matrix, and I will have to deal with many different files with different matrix dimensions, so I decided …

Computer Science
joehms22

I've got an algorithm that at most does 1 operation for the first time a loop is run, 2 for the second, 3 for the third up to n for …

Computer Science
skatamatic

My boss asked me to write a PID class to control a motor today. No big deal, except that the deadline is tommorow evening. My calculus is rusty, and my …

Web Development
manc1976

I have created a form that uses a drop-down box to save information to a MySQL database using a php script I wrote.

That works perfectly, but the problem …

Software Development
consc197

How can i add a menu and make it to appear on all forms within that project? I remember that 2 years ago i was able to do this with …

Software Development
VB 2012

Is it possible to make a vb.net application faster
Through code like using characters that the Computer already understands
Like coding in certain areas through y …

Software Development
kikic

Hello, I need help for my task.. This is the matrix

1 2 3
4 5 6
7 8 9

the result is 1,4,7,8,9,6,3,2,5

I …

Software Development
juniorsilver

Hey guys I'ld really appreciate if u can help me with this.
I'm building an application that has an access database for storing codes for voters.
my problem …

Digital Marketing
Sariscos

We all know what Web 1.0 was about. Essentially that's when the web was born and we were able to retrieve information from various sites. Web 2.0 changed the whole …

Software Development
georgewb

Hi everyone,
I need your help please

What do i need to make my program read
the next character

using console.nextChar();

I've added the following:

Software Development
sciprog1

Hello Members,

I am looking into using Java to be able to model/simulate (MODSIM) discrete and continuous systems in the areas of traffic modeling, birth/death process, spread of disease …

Web Development
mirzamujib

I made an asp.net application and two exe files (of my windows application) are added on button click event of my asp.net application. It works fine …

Networking
Ad.Bulova

For some reason I was looking for hackers to do some legal ethical hacking jobs.Someone recommended me this site <SNIP> they are hardcore hackers and I have heard good things …

Software Development
ayoub

my problem is that i have written an algorihtm to convert non deterministic finite automata to deterministic finite automata but i couldn't translate it to C program and this is …

Community Center
Arizona Web

The Web Designer Versus the Web Developer: Who is Right?
by Chris Hooley of MCP Media, Inc.

For some reason, they have the same goals, but can't …

Software Development
neeludhiman

Hi friends,
Can anyone tell me how can we get message boxes (e.g, with buttons OK, Cancel) in C ?
Please guide.
Thanks,
Neelu

c
UI / UX Design
Niklas

Well I have this website about a month blog I make concerning a Massive Multiplayer Online Role Playing Game. Call me addicted or what for making a blog of my …

Software Development
Oblivi8or

Hi.

I'm fairly new to VB.NET programming, and i'm currently developing an application for the sake of experience.

What i know about Visual Basic programming might be considered …

Software Development
venomlash

:-/ Is there any function in MouseListener that returns the x- and/or y-coordinates of the cursor relative to the origin of a JPanel which currently has the focus? ¡Ayúdenme, por …

Microsoft Windows
navi17

can anyone tel me how to bypass blocked websites..
plz don't tel me abt proxy websites...
instead of proxy websites is there any method?.........

Software Development
Wiki_Tiki

Hi,

I'm a real newbie at C++, and I'm having a ton of trouble.
You see, What I need to do is convert an std::string into a system::string^ …

c++
Software Development
nav010

Anybody please help me to put delay in vb.net without freezing form

Software Development
jaasaria

hi guyzz i wanted to remove item in the lisview using the for each
i want to delete multiple item with similar field in the listview.

any help.. …

Web Development
rm_daniweb

Hi All,

I just want to share my code.

A lots of website said that php is on server side and javascript is on client side...they said we …

Software Development
taylormsj

Hey,

Im trying for a message box to pop up with a price, depending on the time. Before 11:30 costs £3.00, afterwards costs £4.50. This is what i have …

Web Development
Killer_Typo

I got bored and started some scripting the other day in PHP, this is just a sample that i wrote, just uncomment the part of script that you would like …

php
Software Development
ayesha789

hi, all i need to add combobox in datagridview.
actually i have 3 fields in database which are
Sid Fee status
what i want to add combo …

Software Development
Mitja Bonca

I am doing a crystal report, and I would like to dinamiclly add parameters.

I did the code which adds the value to one parameter, which I have created …

Software Development
yongj

I'm trying to validate the correct format for a phone number in a text box: (000) 000-0000

For a test, i made it so that a messagebox shows up …

Web Development
xiiopao

Good day guys =) ..., i know there are somewhat similar threads of this around here but i still cant find the one to solve my problem ... well i …

Software Development
ykbks

Hey there!
Im new here, well, as a member, but not as a viewer.
anyways, i am making a vb project, novice one.

i need to open …

Software Development
Boshra Nour

Hey everyone,
I have a listBox that contains number of items & I have a textbox,Command button.
What I want is that once I press on the command …

Software Development
juce

Matrix given in memory to print the spiral in opposite direction from clockwise (left column down the right lower range, right up column, a series of upper left, etc. until …

UI / UX Design
asuprem

The CSS Menu I have moves the contents of the div tag below it sideways.

I am posting only the CSS styles for it because the code inside the …

Software Development
discovery-power

Hi All,

I always have trouble with this every time I create a desktop app which needs to update data from a database.

So, I have created and …

Software Development
kenth21v

Good Day. I am using VB.net 2010 and SQL client server.
I have to make a Weekly Report Manager that stores an Trainees'
weekly activity, which …

Software Development
mattwagner

Hello,

I'm very new to using VB.Net so I found it quite difficult to understand other answers that I searched for.

Basically, I have an project to develop …

Software Development
biojet

I am trying do it the script to put out data after compare two file.
I make the script to do that but the result was not enough.