199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shayantani

I work in C,C++ Windows platform. I am to write code to format a pendrive. I searched and found DeviceIOControl() that seemed to fulfill my purpose. But I cannot proceed any further. Plz help me in this regard. thanx Shayantani

Member Avatar for dubeyprateek
0
309
Member Avatar for jobs

char stmt_buf[1024], buf[(1024*2)+1]; stmt_buf ="SELECT id, title FROM post LIMIT 5;"; I get an error: connect2.c: In function ‘main’: connect2.c:217: error: incompatible types in assignment

Member Avatar for Narue
0
108
Member Avatar for eranga262154

Hi all, I'm going to learn a new subject on C++. Working with Windows API. Since I work with Java there is no API used, but I feel it is better to work a little with APIs. Here is my attempt for that. I want to read the system time …

Member Avatar for WolfPack
0
112
Member Avatar for CezzaXV

Hi guys, I'm in a real spot of bother and this is really beginning to get me down. Basically, I need to program a class which will connect to a MSAccess database. I'm using Visual Studio 2005 and C#. I'm really at a loss for what to do. I've looked …

Member Avatar for CezzaXV
0
88
Member Avatar for neha gupta

i installed sokkit on my windows xp but the localhost s nt working. when i installed the same sokkit on another system with xp then localhost s openin very well. what can be d prob

Member Avatar for nav33n
0
119
Member Avatar for dbayo

ellow..just a question..anyone know how to retrieve images from folder in webserver and display it in thumbnail.. im really need your help..appreciate so much..tqq..

Member Avatar for nav33n
0
89
Member Avatar for jobs

I am running linux. This problem maybe implemented many times over. I am not hitting right google search term. I need a way to send email from my c program, if that program fails to excute some other part of the code. Any gurus like to shed some light on …

Member Avatar for Ancient Dragon
0
87
Member Avatar for hmdhros03

I'm kinda sick of dos windows programming, this stuff i've added is sorta what i'm at, still learning obviously if you take a glance at it, just wondering what I should try and write now, suggestions appreciated!

Member Avatar for hmdhros03
0
63
Member Avatar for Jakiro

[B][/B] I face the problem when i key in 5 5+ the result is 10. But i key in 5 6+ he give the result 12. Some equation can give me true result some give me false result. Anyone can help me toubleshoot? The following are my program: [CODE][LIST=1] [*]#include …

Member Avatar for Salem
0
124
Member Avatar for dbayo

hello everyone..im a new in php..now,im searching for php script to sort data by alphabet..can anyone out there help me...i really appreciate yours..

Member Avatar for dbayo
0
157
Member Avatar for jmckinzie

Can you guys help me with this? I have a site protected by siteminder..... Thus when going to the internal URL, it redirects us to a siteminder username/apssword page, then redirects us back to the original site. How can i login and pull the page via lwp? Here is my …

Member Avatar for roryne
0
189
Member Avatar for jyshr

How can i pass a value from one webpage to another without using form,plz explain with example

Member Avatar for ryan_vietnow
0
84
Member Avatar for toolmanx

I am having trouble getting ReadFile to work for me. I am runnng an AMD with XP SP1. I compile with a .cpp extention normally using Borland Bcc32 but I have also compiled using cl.exe. I declare LPVOID lpBuffer and have tried assigning memory using malloc. I also tried GlobalAlloc. …

Member Avatar for Salem
0
532
Member Avatar for eranga262154

Hi all, I have a function that calculated two int values. I call the function only by using a string and calculated those two int values. I want to return that two int values from the function when I call it with a string. Look at the following function, [CODE] …

Member Avatar for rajatC
0
123
Member Avatar for djcritch

heres the deal, i have created a table called tvprograms on a mySQL database and have added the fields id, program and comments and have populated the database. The first thing i need to do is list just the programs in a php form but not the comments. I then …

Member Avatar for jyshr
0
108
Member Avatar for frazehmad

Hi, I just joined this community and inspired by roaming in it. However, I would like to discuss a problem - I'm having. I'm developing an application for property management. I've a table with some general columns as well as some specific. For example; General: [Buy OR Sell] , [Plot …

Member Avatar for frazehmad
0
90
Member Avatar for revenge2

hello there, it says that i have 2 errors in my code. What have i done wrong? (doesnt show where); something that calculates the area and the perimeter. [CODE] #include <iostream.h> typedef unsigned short int pint; int main() { pint width; pint length; pint area=(width*length); pint perim=( (width+width) + ( …

Member Avatar for rajatC
0
105
Member Avatar for madankumar

HI I would likt to create input files for testing, format is like this INPUT Format DISP NUM BYTES Desc 0 4 CODE 4 10 EMP NO 14 3 AGE 17 1 SEX which will be used for creating flat files ( data in excel file). OUTPUT file should be …

Member Avatar for masijade
0
72
Member Avatar for eranga262154

Hi all, I've create a window using CreateWindowEx windows API and do some work on it. Thats fine. But for the safer operation at the end of all the processing I want to close/destroy the window. I've try this, [CODE] BOOL clsWin = DestroyWindow(m_hwnd_RTFBox); if(clsWin != 0) { printf("SS"); } …

Member Avatar for eranga262154
0
442
Member Avatar for patmagpantay

I coded a script, Currently I can add and delete items to the database but I cannot edit the data. Here's my 3 paged script : Christmasswishlist.java import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.sql.*; /** * Servlet implementation class for Servlet: ChristmasWishlist * */ public class ChristmasWishlist …

Member Avatar for patmagpantay
0
140
Member Avatar for haelly

modularize program code by using functions. You will produce two solutions: a) using global access functions, and b) using classes and member functions. a) Using Access Functions Write five Invoice access functions: setInvoice(), computeAmount(), getAmount(), printData() and a global client function computeAmount(). Function setInvoice() has five parameters of types Invoice, …

Member Avatar for ithelp
0
297
Member Avatar for <1337>Me</1337>
Member Avatar for jem00

Hey guys, I'm following a tutorial on Python and I came across this in one of the examples. [CODE]import time today = time.localtime(time.time()) theDate = time.strftime("%A %B %d", today) print today print theDate [/CODE] Result:[CODE](2007, 12, 20, 9, 48, 15, 3, 354, 1) Thursday December 20[/CODE] can someone explain to …

Member Avatar for jrcagle
0
280
Member Avatar for Jishnu

Hello, I'm planning to do a project which involoves a lot of GUI. Does anybody know whether there is any IDE available that supports a code wizard feature for C++? For eg in VB, we design the menus, frames, text labels, etc. and when we click on 'generate code', the …

Member Avatar for Jishnu
0
156
Member Avatar for rinoa04

Hello, I am interested in learning Visual Basic programming language and am a beginner. Can anyone introduce any tutorial resources or e-book for a beginner in Visual Basic. Thank you very much :)

Member Avatar for sadicarnof
0
146
Member Avatar for kv79

Hi to all , I have a problem i can't see my message box. Here is the TEST2.cpp [code=c++] #include <windows.h> #include <winuser.h> #include "TEST2.h" BOOL EndDialog(HWND hDlg,INT_PTR nResult); /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); BOOL CALLBACK ToolDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM …

Member Avatar for Brent.tc
0
188
Member Avatar for penny_aka

modularize program code by using functions. You will produce two solutions: a) using global access functions, and b) using classes and member functions. a) Using Access Functions Write five Invoice access functions: setInvoice(), computeAmount(), getAmount(), printData() and a global client function computeAmount(). Function setInvoice() has five parameters of types Invoice, …

Member Avatar for Salem
0
93
Member Avatar for majestic0110

hi there, could someone please recommend a good book on PHP (i am new to php). I would like said book to cover how apache/mysql/php and drupal work together, and also some eamples of php in action. many thanks.

Member Avatar for majestic0110
0
161
Member Avatar for dmc72

Hello all, I've been working for awhile building a web with PHP. So far, so good. But I'm finding refactoring to be frustrating, because I haven't found a tool that will give a full syntax check across my code. Yes, there is the "php -l" command to do the lint-style …

Member Avatar for dmc72
0
161
Member Avatar for web4

[code=java] import java.io.*; import java.util.Scanner; class heh {public static void main(String[]args)throws Exception { BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); Scanner me =new Scanner(System.in); int a[]= new int[20]; boolean find = false; int b; int c; System.out.println("Enter 20 numbers:"); String read=input.readLine(); String token[]=read.split(" "); for (b=0; b<20;b++) {a[b]=Integer.parseInt(token[b]);} System.out.println("Enter No. u want 2 …

Member Avatar for web4
0
77
Member Avatar for Backmat

Hello, i have a book that is teaching me the basics of c++ i understand most of it and its really fun, but i need some help creating my own applacation. i want to create a class caled bandit and have a sub class scout so that under bandits i …

Member Avatar for Backmat
0
108
Member Avatar for majestic0110

Hi there, I am brand new to php and i am having difficulty installing php/apache/drupal/mysql. if anyone could point me to a good tutorial on how to install these items i would be very grateful. thanks in advance

Member Avatar for majestic0110
0
221
Member Avatar for SergioQ

Hi, I am still an novice Perl programmer, but I am a programmer. Here's my dilema: I need to be able to take someone else's website and read in the site as HTML. My program will then parse out every linkable item for other uses. The second part I should …

Member Avatar for SergioQ
0
76
Member Avatar for Duki

Hey everyone. I have a program that will load project data according to the project number selected. One of the fields associated with the project number is the project manager. I have another table called Contact which is the contact information for the project mangers. I have a link setup …

Member Avatar for iamthwee
0
65
Member Avatar for sitaag44

Hi friends, I am sita I want to know more about storage class in C language.I think you can help me for finding out the answers. First of all Can you please tell about Local and Global variables? Or What are Local and Global variables? Can you please show some …

Member Avatar for poiuy
0
110
Member Avatar for miryousafzai

Hello all, I am completely new to asp.net. I would like to learn it. Please guide me. 1. what are the main development tools that I can use.? 2. what is the system requirements for the tool.? 3. Can I download that tool for free. quick help will be greately …

Member Avatar for tnthomas
0
281
Member Avatar for 71monaro

Can some one please guide me on creating a JSpinner that only supplies value on MouseRelease Events. As dont want to send the intended application updates as spinners contents while rapidly changing. (there needs to be a timeSinceRelease accounted for.) but Its what i need to write like the particular …

Member Avatar for Ezzaral
0
797
Member Avatar for nicz888

Sorry, this is going to be a very long post :$ first of all, here is my codes: [b]Header File[/b] [code=c++] struct hardware { int record; char name[100]; int quantity; float cost; }; [/code] [b]Binary Input File cpp[/b] [code=c++] #include<iostream> #include<iomanip> #include<fstream> #include <cstring> #include "hardware.h" using namespace std; void …

Member Avatar for vmanes
0
81
Member Avatar for dooda man

i want to put my program in a setup project but there is a problem which is other users dont have dot net frame work to make the setup begin, the question is how can i put dot net frame work in my setup, to generalize i want to make …

Member Avatar for Jugortha
0
185
Member Avatar for FSinister

Hi, I'm new here, but you'll probably be seeing too much of me before long ;) My names Daniel. I have this sort method for sorting (essentially) an array, but it does strange things that i can't quite figure out, and it doesn't sort. the array is a feature of …

Member Avatar for FSinister
0
153
Member Avatar for Ali.M.Habib

I have a tsak which is let the user draw any number of rectangles in a panel and if he want to move one of them use the mouse How can I do that please the problem faces me: 1. How let him draw many of them 2. How can …

Member Avatar for Jugortha
0
113
Member Avatar for Killer_Typo

Hey, i was wondering if there was a way to do a custom error check. Such as if a user inputs anything other than a number then i would like it to output an error message. short of having to type in every letter and symbol on the keyboard is …

Member Avatar for Jugortha
0
322
Member Avatar for HLA91

Hi guys Im trying to make a maths game for a friend of mines little brother jase, but I need it to generate 2 random numbers between 1 and the maximum number that jase said. I cant figure out how to get the rand1 = (rand()%10)+1; so that the 10 …

Member Avatar for invisal
0
730
Member Avatar for Dr_computer

Hi, can you help me i want code that show a picture and another code to save picture finaly how can add flash on my programme please please give me answer quickly best wishes

Member Avatar for Jx_Man
0
225
Member Avatar for Exelio

hi all, I have a panel which contains a picturebox and two textboxes. in one of the textbox, some large content is to be displayed. this content is dynamic and i want the textbox to wrap the text accordingly. i set the textbox multiline property to true and also set …

Member Avatar for Jugortha
0
98
Member Avatar for Qatar.Uni
Member Avatar for Jugortha
0
313
Member Avatar for spockenheit

How do I list the number of elements in a vector, i.e test : array[1..10] of string; ?

Member Avatar for Duoas
0
122
Member Avatar for RoOose

Hi.... I've wrote a code about arrange the names in descending order. But, I'm not sure it's right or wrong. Can u help me, please? The code is: import javax.swing.JOptionPane; public class Names { public static void main(String[] argus){ int i = 0; int n =10 ; int j; String …

Member Avatar for Ezzaral
0
89
Member Avatar for meirab

i have an interest in boost/regex library - i need to extract url from a file ----> bookmark.html (from ie6) the regex demo programs use this library - but it is from 2003. when i try to run the program - i get an error: LINK : fatal error LNK1104: …

Member Avatar for meirab
0
205
Member Avatar for stabiloGenuis

Hi, I have created a Crystal Report Viewer. When compiled on my machine it works fine. However, earlier this week I had to make a copy onto a server. When doing this I had encountered several problems that I maanged to solve...except for one :o(. No matter what I try …

Member Avatar for Jugortha
0
180

The End.