Connect with 1,266,821 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.

Web Development

Hi all

I have, hopefully, a rather small query. I have been creating a system with asp/vb and as I was designing I used msgbox's. Of course when I …

Web Development

hello friends , i need a help to create a binary tree using PHP and mysql. Friends i able to create a tree which is start form parentID with 0 …

Software Development

i am traying to put date from access table in text box with 2 coloumn (Invoice No &Invoice Amount)
below code gives me right allignment for both coloumns . …

Software Development

Hello everyone!
I have a code below to get a specific file from my computer into the vb.net application I am developing.
Is there anyone who …

Software Development
struct marks{
int p:3;
int c:3;
int m:2;
};
void main()
{
struct marks s={2,-6,5};
printf("%d %d %d",s.p,s.c,s.m); 
}

Output
2 2 1

c
Software Development

Hi I am making a banking system in c++ but getting a problem I am not sharp in programmin if you can help then thanks

//***************************************************************
//                   HEADER FILE …
c++
Software Development

Dear friends,

do you know how to convert the following codes from C++ into C# ?

Thanx for your helps

Duy BK

#include <stdio.h> 
#include <stdlib.h> …
Member Avatar for Sudo Bash Software Development

I am writing a game in which I need to know whether or not a user preforms an action in one second or less. I can not use time() because …

c++
Software Development

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 …

Web Development

Hello

This is a simple php login script with sessions. It connects to mySQL for usernames and passwords.

I’m using a variation of the code from

testsmall.png Software Development

I keep getting the IndexOutOfRangeException for my XNA game and after printing the indexes it stops at 600. Is that the max limit for arrays in C#?

I'm trying …

Software Development

I need the code for fingerprint capturing using vb6 and also which control do i use in achieving it.

Software Development

Hello everybody,
I was asked by an interviewer the following question. but I was not able to answer. Please get back to me if you know the answer. thank …

Search Engine Strategies

I have heard that Link Prism is a method of relevant link building. Can any tell me how does it work and how effective is this in SEO? Please suggest.

seo
erd.jpg Computer Science

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

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

Interesting tricky program using C & C++:

Program 1:
Create a Program which produce output "Hello World" , the program must not contains semicolon ; in other …

c c++
Software Development

Ok, here's the deal.

I'm trying to call make visible an object, i can do this:

Button1.Visible = True

but, i was wondering if there is a …

Software Development

I am trying to kill a process by using the following code

Dim aprocess As System.Diagnostics.Process
        aprocess = System.Diagnostics.Process.GetProcessesByName("E:\\preview.mp3")
        aprocess.Kill()

however i am getting an error


Software Development

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 …

Member Avatar for ykbks Software Development

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

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

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 …

Software Development

Running: Windows 7 Home Premium.

I am not sure if I am posting this in the correct board, so please move this if I am incorrect in my post …

c
Member Avatar for prvnkmr194 Web Development

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 …

php
Software Development

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

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

Hello, I'm a Freshman in college that's going to majoring in Electrical and Computer Engineering. Right now I'm taking a C++ class and I'm looking to do something funny to …

c++
Software Development

Hello, once again

I have a very BIG problem. I made program that connect to proxy server and browse via proxy server. However, my company has a made private …

Software Development

Wouldn't it be nice to have a sizable command button in VB6? Face it. In the hidden recesses of your mind you have always wanted to be able to resize …

Software Development
//---------------------------------------------------------------------------
#include <windows.h>
#include <CommCtrl.h> // needed for adding custom toolbar
#include "resource.h"
#pragma hdrstop


//---------------------------------------------------------------------------


//---------------------------------------------------------------------------
LPCTSTR ClsName = L"FundApp";
//LPCTSTR WndName = L"Resources Fundamentals";
const int NUMBUTTONS …
c
Software Development

pyTony i learned lots from this code you used in resoponce to thread

http://www.daniweb.com/software-development/python/threads/384191

i first mixed up the input and was supprised at the result …

Software Development

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 …

c++
Computer Science

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 …

Community Center

I am thinking of making a website, which is a quite big one and may need scalability later on.
I know a little bit of asp.net , …

Computer Science

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 …

Software Development
#include <iostream>

using namespace std;

int main()
{
    int a,b,c, ope;
    cout<<"enter a value" << endl;
    cin >> a;
    cout<<"enter b value" <<endl;
    cin >> b;
    cout<<"enter operation (+ …
c++
Software Development

Hi guys,
I have a total of 72 link labels on a form and I want them to do a similar task.
Is there a way to accomplishing …

Software Development

(This code returns ERROR_INVALID_PARAMETER)

Option Explicit

Private Type DISPLAY_DEVICE
cb As Long
DeviceName As String * 32
DeviceString As String * 128
StateFlags As …

Web Development

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

I have a readonly datagridview that is bound to a datasource. It has two columns. Now I want the first column to have no cell borderstyle; and the second one …

Computer Science

Need help writing psuedocode for the following question

The local driver's license office has asked you to design a program that grades the written portion of the driver's license …

Software Development

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 …

Databases

Hi everyone ..:icon_cheesygrin:
I have these describtion and I want to great ER for :"A bookstore database maintains information about books, professional journals, their authors and publishers. Books and …

Software Development

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 …

Software Development

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 …

UI / UX Design

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 …

Networking

I've been using an OpenVPN service for 2 years now, but it seems it has become too popular and now its very slow and sometimes I get computer UDP attacks …

Software Development

heyy guys..

m implementing PEER TO PEER FILE TRANSFER..

What protocol should I use? TCP or UDP? And why?