472,353 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

The Save/Load Function in vb.net

Hi, I recently just unsubscribed my other thread due to the fact that it went against the posting regulations...

If you feel offended by what I posted, I apologize

I need Code for a save button... this save button must be able to...
---save data!
---must have a save as function...obviously due to the fact that some data might be new
---Explore the windows directory as default

I therefore also need code for a load button with the exact same needs as above (but obviously it shouldn't be able to save -.-)


If you have suggestions on different ways I could implement the save or load function in vb.net feel free to post them, However please DO NOT go on about C++ or any other language because I simply don't have the experience for it (yes I know I really am a noob at programming!)


Finally, how could I use it in a form based system... I want to implement my code in a way that is suitable for my needs, I do not however want to program in a different language as it would take far too long to implement and learn.

OH and please post things which I would want

I would not like:
--- website urls
--- giant pieces of code... believe me its hard to find the difference between some "small" pieces!
--- C++ (YUK!)
--- Things that have nothing to do with the information that I seek!
Oct 21 '08 #1
10 4257
Plater
7,872 Expert 4TB
What is it that you want to save?
There is a SaveFileDialog that can be used to produce a filename for you to save to. What you do with it is up to you.
Oct 21 '08 #2
What is it that you want to save?
There is a SaveFileDialog that can be used to produce a filename for you to save to. What you do with it is up to you.
... Its not just that... I want the code and the ways of doing it... I've only just switched to VB.NET it can be annoying when you have no idea what you are doing!

I'm intending it for form data... however I could use it for other "necessities"
Oct 21 '08 #3
MrMancunian
569 Expert 512MB
... Its not just that... I want the code and the ways of doing it... I've only just switched to VB.NET it can be annoying when you have no idea what you are doing!

I'm intending it for form data... however I could use it for other "necessities"
If you want the code and the ways of doing it I suggest that you hire someone who is gonna build it for you, 'cause we're certainly not going to...

OH and please post things which I would want

I would not like:
--- website urls
--- giant pieces of code... believe me its hard to find the difference between some "small" pieces!
--- C++ (YUK!)
--- Things that have nothing to do with the information that I seek!
This is a really lousy attitude. Show some respect!

Steven
Oct 21 '08 #4
If you want the code and the ways of doing it I suggest that you hire someone who is gonna build it for you, 'cause we're certainly not going to...



This is a really lousy attitude. Show some respect!

Steven
*grumbles* C++ *murmers* lousy design view *more grummbling...* my opinion... grr.... *mubling* frosties are grrrrrrrrrrrrrrreat!
Oct 21 '08 #5
If you want the code and the ways of doing it I suggest that you hire someone who is gonna build it for you, 'cause we're certainly not going to...



This is a really lousy attitude. Show some respect!

Steven
I aint hiring... if i were I'd be telling YOU what to do, I'm only telling YOU what I want, there aint no difference man!
Oct 21 '08 #6
r035198x
13,262 8TB
...
I'm intending it for form data... however I could use it for other "necessities"
You have to know what you want to save.
It's not possible to have so generic a save function that it can save form data, files, goblins, defenestratable giants, wibble banana jellyfish and any dynamically specified trivia.
Oct 21 '08 #7
I need Code for a save button... this save button must be able to...

---save data!
---must have a save as function to ensure the data is new (unsure!)
---Explore the windows directory as default

I therefore also need code for a load button with the exact same needs as above
Except I don't need a load as obviously!

Finally, how could I use it in a form based system... I want to implement my code in a way that is suitable for my needs, I do not however want to program in a different language as it would take far too long to implement and learn.
Please answer my question and stop flaming my posts >:(
Oct 21 '08 #8
One is not amused -.-
Oct 21 '08 #9
Plater
7,872 Expert 4TB
Please stop double posting your questions.
No one is flamming your posts.
MODERATOR

We continue to ask you to explain your question, you continue to refuse to.
You say you have explained what you want from us, but that is very much not the case.
Since you refuse to explain what you actually want to save, here is the answer you have asked for:
Expand|Select|Wrap|Line Numbers
  1. Public Shared Sub Save(o As Object) 
  2. End Sub 
  3. Public Shared Function Load() As Object 
  4.     Return New Object() 
  5. End Function 
  6.  
Until you provide a better description of what you are requesting, this is the best that can be offered.
Oct 21 '08 #10
Curtis Rutland
3,256 Expert 2GB
I'm only going to post this one more time.

You're coming to a site for free asking for help from experts donating their time, and you're acting like we all owe you something.

Telling us what you don't want to hear is disrespectful. Clearly laying out your problem, and providing clarification when asked would be the respectful and correct route.

Had you come to us with the proper attitude, you would likely already have an answer. But act like this and guess what, nobody wants to help you! And nobody has to, because as I've already stated, we're all unpaid volunteers, doing this for personal enjoyment.

This isn't a powertrip or some vain desire for worship-like respect. We are professionals, and we just wish to be treated as such.

Now please stop being rude to our members, experts, mods, and admins.

MODERATOR
Oct 21 '08 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Andras Gilicz | last post by:
Hi VB fans I'm working on a relatively large project in VB6 with about a dozen forms, including graphs, labels, text boxes, etc. The software...
3
by: Jim Williams | last post by:
**** Post for FREE via your newsreader at post.usenet.com **** I have some questions aboyt XML, and it's use for file loading/saving. I'm working...
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have...
2
by: Dave | last post by:
Hello. I need to load an URL and save it to a file in Asp.Net. The function below is creating the file, but isn't putting the data in it. Also the...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve....
1
by: Irene | last post by:
Hello all! I'm creating a web site in ASP.NET (VB.NET). One of the requirements was to allow users to create orders going through several steps....
1
by: liuliuliu | last post by:
hi -- sorry if this is trivial -- but how do you make a screenshot of a pygame display? i have a surface which is basically the entire visible...
0
Ensonix
by: Ensonix | last post by:
I found a post about this, and it had some C# code that wouldn't convert, and when I finally got it converted it didn't work in .NET 1.1. So I made...
7
by: Marren02 | last post by:
Hi, I have looked on the internet for quite some time concerning this issue The problem is loads and loads and loads of people use their...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.