|
Must admit you're losing me already...
Keeping it simple for me, this is probaly totaly the wrong thing to do but... what if I created a grid by generating a grid of panes, then by clicking each pane it flips a colour/character on the layer being created, an array is built up of the layers and then output to the file???
regards,
Matt
|
|
|
|
|
It's a 3D representation, right ? So you need to be able to build layers ? Your big problem will be representing the layers in 3D. If you don't need to do this, you can probalby just build a collection of 2D arrays and have each one represent a layer. Then you could well just show a grid, but I'm not sure how usable that will be.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hay every one,
I want to delete temporary internet files programatically with vb.net, plz tell me how to implement code,
if possible give me code to do this not just hint because i m new to vb.net
looking for someone brave to made me thankfull to him
|
|
|
|
|
Christian and I have given you all the information you need - don't repost questions if you're obviously not prepared to do any work on your own - it wont make you any friends here
You should see the 'how to get an answer to your question' topic at the top of the forum
If you want to be a programmer then you have to be prepared to read and experiment - by us doing it all for you, it teaches you nothing - you will have a false sense of what you can achieve, and be worthless in a programming position.
|
|
|
|
|
What Garth said. Sure, this time you started with the right question, but you've got the answer, you just need to apply it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Or just forget the code altogether and solve the problem in about 15 seconds by doing what Guffa told you to do.
|
|
|
|
|
how can i delete a specific group of files or full listings from within specific directory with vb.net application
|
|
|
|
|
I do appreciate if some one help me with sample code
|
|
|
|
|
in the absence of your ability to use google and search for vb.net delete files :-
Dim s As String
For Each s In System.IO.Directory.GetFiles("C:\WINDOWS\TEMP")
System.IO.File.Delete(s)
Next s
how about in future you at least attempt to google for different solutions, post some code you've tried, if it doesnt work, rather than ask a question like this
|
|
|
|
|
Dear Sir, actually i want to delete Temporary Internet Files from my computer programatically to avaoid low disk space, please give me the solution i u can. I will be highly gratefull.
|
|
|
|
|
Solve the problem instead of treating the symptomes.
Open the Internet Options in IE and go to the settings for temporary files. The default settings for maximum disk space used is a percentage of the total disk space, which usually is far too much nowadays. Adjust it to a reasonable value, like for example 50 MB.
---
single minded; short sighted; long gone;
|
|
|
|
|
Environment.SpecialFolder gives you the path to things like My Documents. It should give you the location of the temporary internet folders, or you can use the values it does give, to work it out.
Yep, it's Environment.SpecialFolder.InternetCache
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
If you can't understand what you've been told, then you need to learn a little more before you attempt this task. The web seems to be full of people who think that asking for full solutions and typing them in, is programming. It's not. Buy a book, and work through it. You've been told everything you need to know to perform this task, on this thread. That you can't work it out, is an indication that you need to learn some basics.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You do seem to be making a habit of talking to yourself. People will begin to wonder.
|
|
|
|
|
LOL... reminds me of the old joke:
I'm a schitzifrenic... and so am I.
|
|
|
|
|
How VB.net is different from VB 6.0
Pramod
|
|
|
|
|
This question has been asked countless times already. A simple web search should provide you with an abundance of information.
If you have more specific questions about the differences, they would be suited for discussion in a forum.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa wrote: This question has been asked countless times already.
Yes, but it's always fun to answer :P
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Google broken where you live ?
VB.NET is an object oriented language that is based on the .NET framework and uses verbose, English like syntax that some people find comforting, and others find annoying. This pursuit of simplicity actually complicates VB at times, but it's still a powerful language.
VB6 is a joke. Everything bad about VB.NET is stuff that was carried over for VB6 to help people migrate to it. It's main purpose in life was to let people who could not learn C++, write simple business apps
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You C++ people can't understand that sometimes people have a preference for vb.net nto because they are incabable of learning C++, perhaps you shoul watch how you phrase things because alot og things you say are sounding more and more like th industry standard arrogance that everyone should avoid. Its what makes the IT world frightening to some people because you overwhelm them with the idea that they know so little that they may as well leave it to the people who already know it instead of learning it themselves.
Posted by The ANZAC : "WWBD, What Would Buffy Do?" : "I don't know man, she's stronger than me"
|
|
|
|
|
Hey, I said that VB.NET is more English like, and that some people like it that way. What else do you want ? VB6 is still a disaster, that's just the truth.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
so you say that vb is a disaster..?? dont ever do the mistake of comparing between languages.. Programming in any language is child's play.. but to have the right knowledge of WHAT to do and WHEN to do, is more important..
Take it as an advice..
The name is Sandeep
|
|
|
|
|
Xandip wrote: so you say that vb is a disaster..??
VB6 was and is, yes.
Xandip wrote: dont ever do the mistake of comparing between languages..
Why not - should I just choose them blindly ?
Xandip wrote: but to have the right knowledge of WHAT to do and WHEN to do, is more important..
I'm not sure what this means, but I have used VB6, and I stand by my comments - it's poorly designed, and poorly put together, Microsoft obviously just threw stuff at it, their only desire to make it easy for people in suits to get a button on a form and a view into a database.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Why not - should I just choose them blindly ?
you must choose them, based on the needs you have.. you tell that vb is a joke bcoz its of no use for you.. The same way.. sometimes i think that whats the use of C++ ??
Christian Graus wrote: get a button on a form and a view into a database.
May i remind you that the programmer is not the one who decides what the interface should show, and how to respond when a button is clicked.. Its the user requirement which forces the programmer to do so..
So even if your client wants to view the database with a single click, then i dont think you will be able to do it without VB.
The name is Sandeep
|
|
|
|
|
Xandip wrote: you must choose them, based on the needs you have..
VB6 was created to service one need - the need to write code for people who didn't know C++, and couldn't or didn't want to learn it. That's just a fact.
Xandip wrote: The same way.. sometimes i think that whats the use of C++ ??
ROFL - that's a pretty ignorant view, given that without C++, VB would not exist, nor would Windows. And especially given that C++ is the *only* widely used language on Windows that can do *anything* that's possible to be done. I'll write you a business app in C++ before you can write me a 3D game in VB6.
And, VB6 always traded on the ability to buy COM components ( written in c++ ) to do the things it could not do.
Xandip wrote: May i remind you that the programmer is not the one who decides what the interface should show, and how to respond when a button is clicked
So what ?
Xandip wrote: Its the user requirement which forces the programmer to do so..
Correct
Xandip wrote: So even if your client wants to view the database with a single click, then i dont think you will be able to do it without VB.
Then you have absolutely no idea what you're talking about, and should just give up on the discussion. VB6 may let you do that with less lines of code than C++ ( C++ doesn't have particularly great libraries for database support ), but to say that C++ couldn't read a database table so a user can view it, is just plain ignorant. When you write code in VB, it's still C++ that is reading the database, anyhow. VB is a layer of abstraction to keep the code simple for you.
This discussion is moot now anyhow. C# and VB.NET are the best ways to write that sort of business application, they are easier to use than C++, have more up to date libraries, and don't suffer from the bad language design that VB6 did, although I still prefer C# because of things like sane syntax and strong typing. I said from the start, I have no issue with people prefering VB.NET, both C# and VB.NET perform equally and have the same libraries to call on.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|