Showing results 1 to 40 of 87
Search took 0.01 seconds.
Posts Made By: zawpai
Forum: Visual Basic 4 / 5 / 6 Nov 5th, 2008
Replies: 3
Views: 415
Posted By zawpai
Re: How to do the encryption & decryption for text file

Hi debasisdas,

Actually, I don't know how may ways it can be done.
In my project, I have a ".txt" file that is including data. So, I don't want the user to see or view them. That's why I would like...
Forum: Visual Basic 4 / 5 / 6 Nov 4th, 2008
Replies: 3
Views: 415
Posted By zawpai
How to do the encryption & decryption for text file

Hi,


Could anyone pls give me some suggestions how to do the encryption and decryption for text?

Best reagards,
zawpai
Forum: Visual Basic 4 / 5 / 6 Jun 25th, 2008
Replies: 0
Views: 547
Posted By zawpai
How to get "user account"

Hi all,

How should I get the user account that is shown in Control panel? Because I only found the sample code for user name that is actually System name.
Although I change user account, all sample...
Forum: Visual Basic 4 / 5 / 6 Jun 11th, 2008
Replies: 8
Views: 875
Posted By zawpai
Re: Can't do the aligment "label" and "list box's string"

Hi QVeen72,

Your suggestions is good, but I don't want to put any extra string in my List box because that the text shown in listbox will be related with the whole project. If I change something in...
Forum: Visual Basic 4 / 5 / 6 Jun 11th, 2008
Replies: 8
Views: 875
Posted By zawpai
Re: Can't do the aligment "label" and "list box's string"

Hi selvaganapathy,



Which API should I use?

May be your suggestion is a good ideal using the list box again as labels. I will think about it more.

Thanks,
Forum: Visual Basic 4 / 5 / 6 Jun 10th, 2008
Replies: 8
Views: 875
Posted By zawpai
Re: Can't do the aligment "label" and "list box's string"

Hi selvaganapathy,

I think you are misunderstanding my question. The following attachment is the problem when i execute the code.

Could you please open and see the attachment? I think you will see...
Forum: Visual Basic 4 / 5 / 6 Jun 10th, 2008
Replies: 8
Views: 875
Posted By zawpai
Can't do the aligment "label" and "list box's string"

Hi,

Could anyone give me some suggestions? Now, I want to put the labels beside the list box to show the number of string lines, but i cant' do adjust all between string lines and labels although...
Forum: C++ Jun 3rd, 2008
Replies: 9
Views: 1,007
Posted By zawpai
Re: Get "fatal error C1001"

I am not understanding what it means. I will upgrade to the latest visual studio express.
Forum: C++ Jun 3rd, 2008
Replies: 9
Views: 1,007
Posted By zawpai
Re: Get "fatal error C1001"

Hi all,

You all are right. I am using Microsoft VC++ 6.0. I also see where the error is, but I don't know what the problem is.
If so, I need to change a new version software to run it?

Thanks a...
Forum: C++ Jun 2nd, 2008
Replies: 9
Views: 1,007
Posted By zawpai
Re: Get "fatal error C1001"

These all are error codes.

--------------------Configuration: example 7 - Win32 Debug--------------------
Compiling...
example 7.cpp
c:\documents and settings\Administrator\desktop\testing...
Forum: C++ Jun 2nd, 2008
Replies: 9
Views: 1,007
Posted By zawpai
Get "fatal error C1001"

Hi,

Could anyone explain me above error?


// friend overload + operator function

#include<iostream>
using namespace std;
Forum: C++ Jun 1st, 2008
Replies: 2
Views: 530
Posted By zawpai
Re: Get errors by using "friend function"

Hi John A,

You are right. I should do a forward declaration.

Thanks,
zawpai
Forum: C++ Jun 1st, 2008
Replies: 2
Views: 530
Posted By zawpai
Get errors by using "friend function"

Hi,

Why I get the errors when using 'friend function'?


// friend function as bridges on two different objects

#include <iostream>
using namespace std;
Forum: C++ May 28th, 2008
Replies: 14
Views: 703
Posted By zawpai
Re: Problem in Inheritance

Hi all,

Could I ask one more question?
What is the difference by using 'private' and 'public' in derived class.
Eg:
class DistSign:public Distance and class DistSign:private Distance


Thanks
Forum: C++ May 28th, 2008
Replies: 14
Views: 703
Posted By zawpai
Re: Problem in Inheritance

Hi niek_e,

After changing the error that you told me, the program can run well.


#include<iostream.h>

class Distance
{
protected:
Forum: C++ May 28th, 2008
Replies: 14
Views: 703
Posted By zawpai
Re: Problem in Inheritance

Hi all,

Sorry for my careless mistakes ;)

But........... I still cann't solve this problem.:'(
Who can give me a hand?

Many Thanks....:)
Forum: C++ May 28th, 2008
Replies: 14
Views: 703
Posted By zawpai
Re: Problem in Inheritance

Hi niek_e,

Thanks,

zawpai
Forum: C++ May 28th, 2008
Replies: 14
Views: 703
Posted By zawpai
Re: Problem in Inheritance

Hi Salem,


After 69 posts you're still using void main, and still can't use code tags.

Actually, after niek_e and mitrmkar told me to use the code tags, I try to use it. You will see that I am not...
Forum: C++ May 27th, 2008
Replies: 14
Views: 703
Posted By zawpai
Problem in Inheritance

Hi,

I get some problems when I run the following codes.


That shows (4) errors.
1. unexpected 'class Dist_Sign ('
2. unexpected token(s) preceding ':'; skipping apparent function body
3....
Forum: C++ May 26th, 2008
Replies: 4
Views: 282
Posted By zawpai
Re: skip the second time 'Read Value'

Hi,

Thanks a lot. Now, I can do it well.

zawpai
Forum: C++ May 26th, 2008
Replies: 4
Views: 282
Posted By zawpai
Re: skip the second time 'Read Value'

Hi Ancient Dragon,

>>cin >> (choice,'\n') is wrong because I am doing some testing. I think your way will be corrected. I need to flush the input buffer first before I read the next input. But, I am...
Forum: C++ May 25th, 2008
Replies: 4
Views: 282
Posted By zawpai
skip the second time 'Read Value'

Hi,

Why the program skip 'read value' in second time? First time reading value is ok, but the problem will get after pressing 'Enter key' for the next time read.


//array of pointers to person...
Forum: C++ May 22nd, 2008
Replies: 5
Views: 524
Posted By zawpai
Re: Compile error for RTTI

Hi mitrmkar,

You are right. I should enable RTTI mode in setting. Now, my code can be run well.
I just a learner in C++. If so, I am not familiar in debugging.

Thanks a lot,

zawpai
Forum: C++ May 22nd, 2008
Replies: 5
Views: 524
Posted By zawpai
Re: Compile error for RTTI

Hi niek_e & mitrmkar,

Next time, I will use the code-tags to post my codes.
But, the program still have a problem. When the program arrive this line
cout << typeid(*p).name() << endl;
, the system...
Forum: C++ May 22nd, 2008
Replies: 13
Views: 724
Posted By zawpai
Re: File Comparison

Hi,

Now, I can compare the two files by using "mitrmkar's way". But, I need to find out how to create the exe file as "niek_e" told me.
Thanks all for giving the good suggestions.

Best...
Forum: C++ May 22nd, 2008
Replies: 5
Views: 524
Posted By zawpai
Compile error for RTTI

Hi all,

I am learning about RTTI, but I really don't know where the error is. Please check it out for me.

#include<iostream>
#include<typeinfo>
using namespace std;

class Base
{
Forum: C++ May 21st, 2008
Replies: 13
Views: 724
Posted By zawpai
Re: File Comparison

Hi niek_e,

I run my codes in 'Microsoft Visual C++ 6.0'. I am using window XP.

Thanks,
zawpai
Forum: C++ May 21st, 2008
Replies: 13
Views: 724
Posted By zawpai
Re: File Comparison

Hi John A,

Your way will be corrected, but I can't still do well. My friend told me not to run the code and compile the exe file. He also told me after building my code, I will see the exe file....
Forum: C++ May 20th, 2008
Replies: 13
Views: 724
Posted By zawpai
Re: File Comparison

Hi niek_e,

I also don't know where the problem is exactly. Thank you for ur replying.

Best Regards,
zawpai
Forum: C++ May 20th, 2008
Replies: 13
Views: 724
Posted By zawpai
Re: File Comparison

Hi niek_e,

The following is my sample code. Please check for me. Actually, I have already saved the two files in the same folder before doing the compiling my codes.

/*
Create a file comparison...
Forum: C++ May 16th, 2008
Replies: 13
Views: 724
Posted By zawpai
File Comparison

Hi,

Could anyone please check my sample code? I am a beginner in C++. This code is for file comparison. Whenever I run it, the compiling result is always "Usage: compiles <file1> <file2>".
I think...
Forum: C++ Apr 28th, 2008
Replies: 3
Views: 381
Posted By zawpai
Re: Can't od the complie

Hi;

bugmenot: sorry for not to tell about my question clearly. If you execute my code, you will see 13 lines error. I have already solved it because I do the mistake. I should put "()" behind the...
Forum: C++ Apr 28th, 2008
Replies: 3
Views: 381
Posted By zawpai
Can't od the complie

Hi,

Could anyone please check the following for me? I can't run it yet.

Best Regards,
zawpai
Forum: Visual Basic 4 / 5 / 6 Apr 28th, 2008
Replies: 13
Views: 1,313
Posted By zawpai
Re: Create the Password

hi choudhuryshouvi,

I get the answer what i want.


Thanks a lot,
zawpai
Forum: Visual Basic 4 / 5 / 6 Apr 27th, 2008
Replies: 13
Views: 1,313
Posted By zawpai
Re: Create the Password

Hi Jx_man,

Thanks. I have already read the result.


zawpai
Forum: Visual Basic 4 / 5 / 6 Apr 27th, 2008
Replies: 13
Views: 1,313
Posted By zawpai
Re: Create the Password

Hi choudhuryshouvi,

Thank you for giving a sample code. I understand well and know where the data are saved.

Best Regards,
zawpai
Forum: Visual Basic 4 / 5 / 6 Apr 25th, 2008
Replies: 13
Views: 1,313
Posted By zawpai
Re: Create the Password

Hello choudhuryshouvi,

It is corrected. If we save the data with textual format, the user can be easily modify them. I said I will store the data in '.dat' or '.txt' file because I have two sample...
Forum: Visual Basic 4 / 5 / 6 Apr 24th, 2008
Replies: 0
Views: 273
Posted By zawpai
Gloden parser

Hi,

Do anyone know how the golden parser work? I have read that code, but I really don't know what the structure is. I just know that engine is testing for grammar.
I will put it with the...
Forum: Visual Basic 4 / 5 / 6 Apr 24th, 2008
Replies: 13
Views: 1,313
Posted By zawpai
Re: Create the Password

Hi Jx_man,

Thanks. I will use '.dat' or '.txt' file to save the data.

zawpai
Forum: Visual Basic 4 / 5 / 6 Apr 23rd, 2008
Replies: 13
Views: 1,313
Posted By zawpai
Re: Create the Password

Hi,

jireh:

Actually, I am not sure which methods, DataBase or Fiel, is better to save old datas, username and password. Do you know which one is easier?

debasisdas:

where do u plan to store the...
Showing results 1 to 40 of 87

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:54 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC