31 Discussion / Question Topics

Remove Filter
Member Avatar for bhoot_jb

in my application, i have created a data environment. Then i have connected a data grid to that data environment. Now my problem is when i add or delete one or more records, then the database updates itself...but the datagrid doesnt....it doesnt update until i run the application again... :( …

Member Avatar for darkgaizat
0
99
Member Avatar for bhoot_jb

After using MFC, I felt like throwing it away. I thought to move on to Win32 API programming (I work on Windows platform.) But then, it is all C. I dont say i dont like C, but is there any better OO alternative to MFC for Win32 platform? Or should …

Member Avatar for bhoot_jb
0
161
Member Avatar for bhoot_jb

I have been given an assignment to simulate MS Paint application. I am much confused if to use document-view architecture or go without it (i will certainly use MFC..a necessity of our syllabus :| ) Also where exactly should i use/avoid document-view architecture? waiting for a reply ... :)

Member Avatar for Ancient Dragon
0
87
Member Avatar for bhoot_jb

i am writing a program on 2-D transformation which handles transformations for three objects, namely, point, line and a triangle. i have created a base class Object and derived three classes - Point, Line, Triangle - from it. Here i will discuss just the Object and Point class. The code …

Member Avatar for bhoot_jb
0
116
Member Avatar for bhoot_jb

i am currently learning VC++ with MFC. But i am quite confused now. My dilemma is whether to use structures (which i guess are used extensively at Win32 API level) or their equivalent MFC objects. let me elaborate it. For example i want an array of points to use it …

Member Avatar for bhoot_jb
0
164
Member Avatar for bhoot_jb

i am a beginner in MFC programming and using MS VC++ 6.0. I am trying to create my own window using AfxRegisterWndClass(). My code is as follows : [CODE]Frame::Frame() { LPCTSTR className; HBRUSH brush; brush = (HBRUSH) ::GetStockObject (BLACK_BRUSH); className = ::AfxRegisterWndClass (WS_OVERLAPPEDWINDOW, AfxGetApp()->LoadStandardCursor (IDC_CROSS), brush, AfxGetApp()->LoadStandardIcon (IDI_ERROR)); Create (className, …

Member Avatar for bhoot_jb
0
171
Member Avatar for bhoot_jb

i am currently working with VC++ 6.0. i have just begun with it and wrote my first non-MFC code in it..however i have faced a problem in which my program terminates immediately on executing it..and i mean immediately..it doesnt even show the window that i create through that program.. however..later …

Member Avatar for William Hemsworth
0
191
Member Avatar for bhoot_jb

well..my problem is i cant find crystal report in my vb6. And yes..i have also checked the so famous path : common\tools\vb.. but the thing is i had to stop right after accessing tools folder..couldnt find vb itself. is there any solution to my problem? :(

Member Avatar for debasisdas
0
114
Member Avatar for bhoot_jb

i am trying to install VS6 but it is giving following error. setup has encountered a problem in launching the followning command line: "wpie15.exe" /q:a/r:n. if you have a system directory that contains a % sign, or the directory names *starts* with a space (i.e. 'C:\win95\system'), then setup will fial. …

0
63
Member Avatar for bhoot_jb

i am trying to install VS6 but it is giving following error. setup has encountered a problem in launching the followning command line: "wpie15.exe" /q:a/r:n. if you have a system directory that contains a % sign, or the directory names *starts* with a space (i.e. 'C:\win95\system'), then setup will fial. …

0
82
Member Avatar for bhoot_jb

i think it is not possible to print vertical lines along with text data in vb6..so i thot of transferring the whole contents from vb form to a word document. but now i dont know how to do that. i want to transfer the data in a specific tabular format. …

Member Avatar for bhoot_jb
0
180
Member Avatar for bhoot_jb

i am working on a vb project in which need has arised to print an invoice. however the problem is that the contents of the invoice is accompanied by horizontal and vertical lines. Also the so-formed rows and columns are not regular. My question is how can i print such …

Member Avatar for selvaganapathy
0
1K
Member Avatar for bhoot_jb

I have used the Package & Deployment Wizard to put my Visual Basic Program on CD, I then copied over my database 'calculations.mdb' onto the cd also so that the VB program can access the database when installed on another PC. However, the program still searches the same path as …

Member Avatar for selvaganapathy
0
204
Member Avatar for bhoot_jb

in my project, i need to take some details like company name, contact no. and address during the installation of the project itself. but i dont know how to accomplish that..please guide me. :|

Member Avatar for Jishnu
0
272
Member Avatar for bhoot_jb

i am writing a code for a stack within stack...or nested stack...whatever.. in the code..and the mainstack is a stack of substack, which in turn, is a stack of integer data.. i thought of using class template for both the stacks - mainstack and substack..but am confused with how to …

Member Avatar for bhoot_jb
0
117
Member Avatar for bhoot_jb

i am writing a code for a stack within stack...or nested stack...whatever.. in the code..and the mainstack is a stack of substack, which in turn, is a stack of integer data.. i thought of using class template for both the stacks - mainstack and substack..but am confused with how to …

0
59
Member Avatar for bhoot_jb

hey friends i am working with a program of "stack of stack".....and i thought to work it out using inheritance....but i m stuck in it... i thought to inherit both the stack - the parent stack and a stack element....from a single base class.. i mean i am in dilemma …

Member Avatar for bhoot_jb
0
153
Member Avatar for bhoot_jb

hey friends...i am a beginner in VB applications..and while linking databases with my projects i have come across these terms : COM, OLE, OLE DB, OCX, ActiveX Though i vaguely know about them i often get confused between them...i guess because of their close relationships..so please anyone clearly explain what …

0
62
Member Avatar for bhoot_jb

hey friends...i am a beginner in VB applications..and while linking databases with my projects i have come across these terms : COM, OLE, OLE DB, OCX, ActiveX Though i vaguely know about them i often get confused between them...i guess because of their close relationships..so please anyone clearly explain what …

0
63
Member Avatar for bhoot_jb

can anyone tell from where i can download the latest bloodshed dev C++ IDE... my problem is i am not able to access the [url]www.bloodshed.net[/url]... :( so is there any other link to download it??

Member Avatar for bhoot_jb
0
156
Member Avatar for bhoot_jb

hey friends i am in dilemma of which compiler to use.. i have been working on windows OS. also the C++ concepts that we are taught in our college are practically taught on Borland Turbo C++ compiler (dunno how aged it it :P) :( i mean we people write the …

Member Avatar for bhoot_jb
0
143
Member Avatar for bhoot_jb

hey friends using scanf of C ...one can set the input width...something like this.. [CODE]scanf ("%3d", i);[/CODE] then whats d thing that i can use to do the same in C++ using cin... ???

Member Avatar for joshmo
0
88
Member Avatar for bhoot_jb

heyy friends ...i am facing a umm...weird problem... the contrast setting of my monitor often gets displayed on my screen automaticaly...on its own... nd it always sets itself to 100...and no sooner i decrease it than it sets itself to 100 again.. it has become an irritation now.. and to …

Member Avatar for sittas87
0
82
Member Avatar for bhoot_jb

hey friends..my pc is facing a problem of read-only attribute files and folders... i accessed a pen drive and all the files and folders of that pen drive became read-only (which were not read-only).... and after copying some of the folders from the pendrive...i am not able to delete them …

Member Avatar for bhoot_jb
0
85
Member Avatar for bhoot_jb

right now i am working with Turbo Borland C++ compiler...however now i want to have a try on GCC compiler too... so where would i get it?? can anybody provide a reliable link to a GCC compiler??? :)

Member Avatar for bhoot_jb
0
125
Member Avatar for bhoot_jb

i want to clear a doubt... please check out the following codes.. [CODE]int function (int p[]) { //sm code } [/CODE] another style is : [CODE] int function (int *p) { // sm code }[/CODE] here i am passing an array to both the functions...and one receives it through p[] …

Member Avatar for bhoot_jb
0
119
Member Avatar for bhoot_jb

i have two questions right now in my mind : [B]question - 1 :[/B] please have a look at this code : [CODE]void function (int recd) { printf ("%d", recd); } void main() { int p=10; function(p); }[/CODE] here...when p is passed to function, the thing that actually takes place …

Member Avatar for WaltP
0
105
Member Avatar for bhoot_jb

please check out the following two code segments and suggest which one is more efficient and worthy to use... The segments are actually constructors used to allocate a memory block for a matrix.. segment - 1 : [code=cpp] class matrix { private : int rows, columns; int *element; public : …

Member Avatar for bhoot_jb
0
116
Member Avatar for bhoot_jb

i am working with a matrix manipulation program...consists of a matrix class and its member functions.. i have also overloaded << and >>...so dat dey can read and print d whole matrix at one statement.. the code of these overloaded operators is something like this.. [CODE] // for >> (cin) …

Member Avatar for bhoot_jb
0
168
Member Avatar for bhoot_jb

i hav coded a matrix class and its member functions (many of them are overloaded ones)...now in a function..for eg. function of matrix addition.. [B]after the addition i want to return the local object "result" through a pointer (and not call by value)..however i aint getting d values of the …

Member Avatar for bhoot_jb
0
259
Member Avatar for bhoot_jb

heyy friends.. i m a beginner in C++ and am currently workin wid a program.. just for clrscr(), i have to include the whole conio.h file in my program inorder to clear the screen.. so is there any alternative to clrscr()?? please throw some light on this topic.. :)

Member Avatar for Majestics
0
3K

The End.