|
Hi again,
I reformulate my question:
When using a datamodule and a database (Tdatabase) how can I set the User Name and Password by codes?
Eg: DataModule->Database->.......
Regards,
Priya
|
|
|
|
|
if the database security is not urs, then yous should use some API or function provided by the oracle to change or set the password.
-Prakash
|
|
|
|
|
I am not using Oracle but SQL Server, and i need to get the password. I don't think that has anything to do with the database security. The code i sent you before allows me to retrieve the username but not the password. But i need to get the password so that i can set it in Windows Registry. Where i got the code, there was something mentioned about needing a decrypt routine to be able to get the password. That's what i require.
Thanks,
Priya
|
|
|
|
|
I think you should ask in some SQL Server forum, this forum is dedicated for VC++.
-Prakash
|
|
|
|
|
Aren't there any forum on Boralnd C++ in codeproject? Could you guide to one forum on Borland C++ or SQL Server?
Thanks
|
|
|
|
|
|
How to download files from an FTP server using multiple threads in VC++?Please any one help me.....with code for that...
|
|
|
|
|
i dont think anyone is going to give you the code to do that, but here is the clue, some FTP servers have enabled partial download of the file. So you create multiple FTP connection to the server and initiate partial download of the file from different seciont of the file.
Afer downloading all the sections of the fine in your local machine, concatenate the files.
-Prakash
|
|
|
|
|
Look at CFtpConnection MFC class for a start. Nobody will provide you the full code, try to do it yourself, its not that difficult.
|
|
|
|
|
u just try the below link
(it is with source code & explaination)
i belive it will be helpful for u
http://www.codeproject.com/internet/mdftpclient1.asp
Electron *ptr_Electorn;
Electorn->With Best Regrads(learn, Enjoy);
|
|
|
|
|
I want to get full multi line text file...By using fscanf..
FILE *f;
CString str=_T("");
CString temp=_T("");
while((fscanf f,"%s",temp)!=EOF)
str=str+temp;
.
.
.
.
this is my code...but i cudn't get full text.It shows only the last line in my full text..
How can i get full text line
|
|
|
|
|
It is better to use fgets[^] instead of fscanf. Because fscanf read formatted data, so, if it encouters a white space, this will be considere as a new 'variable' and thus will stop reading the data if it doesn't need to read anything else.
|
|
|
|
|
Im using CString variable....How can i use fgets for CString varaiable.
|
|
|
|
|
Have a look at CStdioFile class.
|
|
|
|
|
What is the size of
int
char
float
in Windows 2000 ??
Vikas Amin
Embin Technology
Bombay
|
|
|
|
|
void main(void) {
printf("int : %d\n", sizeof(int));
printf("char : %d\n", sizeof(char));
printf("float : %d\n", sizeof(float));
}
will output :
int : 4
char : 1
float : 4
but notice this : an int is much dependant of the processor architecture than the OS. so, under Windows2000, it may be 4 bytes if the processor handles 32 bits ints, or 8 bytes if it handles 64 bits ints...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
toxcct wrote: an int is much dependant of the processor architecture than the OS
What about the compiler.
Jesus Loves <marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Owner drawn wrote: What about the compiler.
well, i said that "an int is much dependant of the processor architecture than the OS" if the compiler is well designed/implemented...
(standard def...)
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
I have a char array
when i incremnt the pointer to the array
it increments 4 bytes not 1 byte.
Is it that a console application takes anytype of padding for char array .
Vikas Amin
Embin Technology
Bombay
|
|
|
|
|
|
hi toxcct
Its fine i find out the problem
thank
you
Vikas Amin
Embin Technology
Bombay
|
|
|
|
|
|
he read the msdn document i guess
-Prakash
|
|
|
|
|
Is there a way to change the background color of a groupbox?
Thanks,
waxie
|
|
|
|
|