|
If you don't want to use the Folder or File dialogs, then you will have to 'roll your own' from the classes in the System.IO namespace.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
Thanks,
But how can I roll my own, from the classes in the System.IO namespace.
I'm still a beginner
|
|
|
|
|
Have a look in the Object Browser or on MSDN at the classes in there, some will obviously be very useful.
Experiment with them on a simpler task first so you get used to their methods and properties and post if you get stuck - along with the code you've tried.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
hi,
how i can get all current files openned by each running process using c#?
|
|
|
|
|
Good Day
I have a Web Application that has a setup project, now Everytime I build this Project I get the Following Error
Error 2 Could not find file 'C:\Work Development\!Class\PRODUCTION_CODE\ControlDesk\ControlDesk\o!TimeTableSetup\Release\o!Web.msi' 'The system cannot find the file specified.' C:\Work Development\!Class\PRODUCTION_CODE\ControlDesk\ControlDesk\o!TimeTableSetup\o!TimeTableSetup.vdproj o!WebSetup
Please Help
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hello, please I wanted to know how I change the titles on-DATAGRIDVIEW?
Thank you very much.
|
|
|
|
|
|
I am writing in-c # deal with OLEDB..
|
|
|
|
|
I think you need to start learning from starting.
Simple way SET HeaderText Property of Column.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Hi,
Following is not working kindly give me correct syntax.
SendKeys.Send("{ALT+V}");
Thankx in advance
(Riaz)
|
|
|
|
|
Hey,
you can check this.
Try[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Please can some describe how to
programmatically populate a combo box
at runtime in a windows application
using C#?
|
|
|
|
|
Ekpezu wrote: programmatically populate a combo box
clickety[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
You could get dozens of hints in google quite easily.
Either you love IT or leave IT...
|
|
|
|
|
Hello, I do try to update my form but I can not, I would be happy if someone would give me an example of the update query.
Thank you very much.
|
|
|
|
|
here you go[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi
i need to add any control (ex: button,ComboBox,Slider Control, Radio Button etc... ) in the Non Client Area of a form in C#
could you suugest me the solution
Regards
Code----
Code is Gr8
|
|
|
|
|
what do mean by non client area?
is it the code Side of the form?
Cos i don't really understand
what u mean by Non Client area
|
|
|
|
|
The Non-Client area of a window is defined as the area you don't draw on; ie the window border, caption, menu bar and scroll bars.
You can draw in it in WPF (WPF Non-Client Area Design Techniques For Custom Window Frames[^])
You can paint in the NCA by overriding WndProc and trapping WM_NCPAINT (0x85), but I can't help with getting a button in there!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
hi
I have these code . What could cause above error ? Thanks
state=1
switch (state)
{
case 1:
//do something
goto case 2;
case 2:
//do something
goto case 3;
case 3:
//do something
goto case 4;
............
case 100:
//do something
}
|
|
|
|
|
dec82 wrote: What could cause above error
goto
|
|
|
|
|
I'm almost speechless! I'll leave it for others to say as I'm in a good mood today.
Look up break (and maybe default: too).
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
YEUCK! I have copied your code to "Coding Horrors"!
This is C#, not C++. Switch blocks cannot fall through in C#, they must end in a break statement.
Please, go and look at a C# book under two sections: "switch statement" and "Don't use goto unless you really, really have to"
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
OriginalGriff wrote: I have copied your code to "Coding Horrors"!
You beat me to it!
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
|
|
|
|
|
OriginalGriff wrote: Don't use goto unless you really, really have to
Fixed that for you
Never underestimate the power of human stupidity
RAH
|
|
|
|