|
System.IO.Directory.GetLogicalDrives
Rocky Moore <><
|
|
|
|
|
I have one crystal report, where I show all tables T fields. What I need is that those fields should look like a table with borders, like normal Excels table with black borders.
First problem is that, I need to move those fields together by hand (or does crystal rep. have features something like access has?)
And the biggest porblem that I do not know is: how to make fields with no data show? I made a single borders for all fields, but if the current field is empty, the crystal report suppreses it (no borders are shown)???
Does anyone knows how to make those borders be veasible all the time?
Thanx
|
|
|
|
|
Hi,
I'm trying to copy data from File to File,
and having some problem...
I've just created the two File, using:
File.create(file1);
File.create(file2);
and now trying to copy from one to another, using:
File.copy(file1, file2, true);
File.delete(file1);
I can compile it, but on ruuning time- it falls in the "copy" command, with the excaption the file2 is in use.
what should I do???
|
|
|
|
|
Make sure you close the files before attempting to copy.
Cheers,
Kannan
|
|
|
|
|
:-OThank you for your response, but...
I don't know any command in C#/File
(such as File.close)
that closes the file.
how do I do that???
Thanks again,
Iris
|
|
|
|
|
:-OThank you for your response, Kannan, BUT...
I'm not femiliar with any command to close the file, such as File.close...
Can you please let me know how to do that???
Thanks again,
Iris.
|
|
|
|
|
I'm sorry, I just assumed there would be a Close method you can call.
Seems like Close method is present only for stream derived classes.
Do you write to the file using the Stream class, if so try to close them before you copy.
Also try using FileInfo's CopyTo method (I doubt it would help, but just give it a try).
Kannan
|
|
|
|
|
Hi,I'm trying to rename a lot of files,how to implement this function.
|
|
|
|
|
I think you might be looking for System.IO.File.Move() or System.IO.FileInfo.MoveTo(). That moves the file which is the same as renaming. You move it to the same directory but under a different name.
Rocky Moore <><
|
|
|
|
|
|
Hi Friends!! If I draw a black color vector Graphic in a white DC, how can I know any pixel in DC is black or white ? thx !
|
|
|
|
|
Image.GetPixel
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
Dear !
I know you are the best programmer and very famous on Codeproject website. I read your profiles and I was proud of you. I think you are so good. In the past time, I though that I would depend on your help. But I don't know whether you have free time or not and whether you are ready to help me ... so I didn't do ... Now , the time is not enough. There is only about 6 days to me complete my project but there are some problems that I can not do because I know my knowledge is so bad. This is attachment for my project, that is a C# Project and compressed into zip fie. It only compiles and run it ...
There are some problems :
- I can't use V-H scrollbar ...
- I can't use Serializable to save and load binary file.
- I can't perfom cut/copy/paste object.
Here link Download here or Download here[^]
Best regards !
|
|
|
|
|
Hi there for my learning purposes I created a .exe from Visual.net . I gave that program to my friend to use it but it said that certain dlls were missing. IS there a way after creating the exe on my machine it will work on his machine if he donesnt have the .NET frame work ?
wud appreicate ur help
|
|
|
|
|
Afraid not. Your friend will have to DL the .NET framework for it to work.
There are only 10 types of people in this world....those that understand binary, and those that do not.
|
|
|
|
|
Absolutely correct but you should remember that it DOESN'T mean your user has to have Visual Studio .net or the .NET Framework SDK installed. All they need is the .NET Framework Redistributable which should be on your VS.NET installation.
I have seen this misconception surface quite a bit!!!
If you are deploying your code on CD you can include it on there... otherwise as has been said they will have to download it...
|
|
|
|
|
how can i determine the click on one master-detail DataGrid is in the master table or in the detail table ?
the DataGrid dataSource is binding from the master table
thanks.
Xpelive
|
|
|
|
|
If You have DataSource=anyTable You have no master/detail . Should be DataSource=anyDataSet, DataMember="anyTable". See HitTest(), HitTestInfo, HitTestType in help
Hi,
AW
|
|
|
|
|
Hello all (My first Post here )
I would like to start learning C# next week. Up untill now I have experiance in C, C++ and Java but I've only done console applications.
The Q: With which books should I start with? I'm not interested in books that spend 2 chapters on flow control but on the other hand I rather pass books that "convert" you from Java to C# (as "C# for Java programmers"...).
I thought about 3 options :
1) Programming C#, Jesse Liberty.
2) Microsoft Visual C# Step by Step, John Sharp.
3) C# How to Program, Deitel.
For a first book I would prefer learning only about console applications. later I wil ask about Visual C# Books .
So what would you recommend?
-------------------------------------------------------------------
* Only drug dealers and computer programmers call their clients 'users'...
* Pardon me for the poor English.
|
|
|
|
|
Welcome to .NET!
Petzold also has a good book out on C#.
Rocky Moore <><
|
|
|
|
|
Hi Rocky,
I read some reviews on Petzold's book and came to the conclusion that the other 3 I mentioned were better. I just have to pick one of them (let Petzold be the 4'th choice - you convinced me it's good too ). As I said, the main objectives are:
1) The book shouldn't elaborate too much about basic things such as flow control, variables...
2) The book should concentrate only on console applications.
With that in mind, what would the best choice?
Thanks for your answer.
-------------------------------------------------------------------
* Only drug dealers and computer programmers call their clients 'users'...
* Pardon me for the poor English.
|
|
|
|
|
Makover wrote:
1) Programming C#, Jesse Liberty.
2) Microsoft Visual C# Step by Step, John Sharp.
3) C# How to Program, Deitel.
Those look all three too beginner orientated.
I suggest that you be brave, read the excellenet MSDN docs (you just want to know the syntax or C# really, further is pretty much 100% JAVA) on C#, and then for the hard part tackle the .NET framework docs.
We use a Dietel How to Program C book in CS 1 , but that is really beginner...
<a TITLE="See my user info" href=http:
|
|
|
|
|
So you actually recommend not to buy for now any book? Use only MSDN?
P.S
I have accidentally written "Microsoft Visual C# Step by Step, John Sharp" while explicitly saying that I'm not interested in any "visual" stuff for now. I ment "Inside C#, Tom Archer". Sorry.
-------------------------------------------------------------------
* Only drug dealers and computer programmers call their clients 'users'...
* Pardon me for the poor English.
|
|
|
|
|
Makover wrote:
So you actually recommend not to buy for now any book? Use only MSDN?
Maybe get one book just to get the hang and read on the loo or in bed, but for me MSDN is more than sufficient
<a TITLE="See my user info" href=http:
|
|
|
|
|
leppie wrote:
but for me MSDN is more than sufficient
Me too. I learned (?) C# from MSDN, Google and CP.
I think compared to C++/MFC developers, Java developers can easily jump into C# bandwagon.
Never take a problem to your boss unless you have a solution. This signature was created by "Code Project Quoter".
|
|
|
|