Jump to content
Xtreme .Net Talk

proKrastinate

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by proKrastinate

  1. really, its almost identical. ive been skipping all these tutorials and such online etc because they were saying how to connect to sql server. thx
  2. im trying to learn, looking up resources on the net and trying to download tutorials from kazaa and planet source code but i cannot seem to get the hang of connecting a datagrid to a database, and displaying the information in the database on the datagrid. i want to use access 2000, so i have to use the oleDb.oleDbConnection(). but i can't seem to udnerstand anything farther than that. i tried tools connecto to a db, and using the Jet 4.0 Ole to connect to the db, and it successfully connected. i than just tried to drag/drop the actual table listed onto the datagrid itself hoping this would work but under my form a OleDbConnection1 textbox looking thing appears along with a OleDbAdapter1. whats exactly happening?
  3. cool thanx. i have to get a handle on how to interlink the datagrid and database first. i could do it in vb6 but now it doesn't seem as easy. perhpas ive forgetten some stuff over the past year.
  4. ok, figured out quick that this idea was a bad one. is there a way to catch the data between the database and its printing on the screen and change its format? or rather to bind cells together to make one cell?
  5. the thing is the information will be entered in the grid before in storing. so she will input 9 - 6 into a cell and than store it into the db. the reason i want it this way is because i want it to look exactly like she is doing now. i want my program to make it easier on her without having to relearn what she is doing. and she does it in excell with just plain cells/rows/columns/etc. so should i, instead of having a datagrid connected to the db, make a simulated excell worksheet using textboxes and than read into memory the data until i get to the " - " part, and than store the ladder data in the second column? i checked in the access db and unfortunately the time format is only allowed as 9:00 and not 9 :(
  6. what I want to do is allow the user of my program to make a schedule for the employees she works with. i want it to look like an excel worksheet because that is what she uses now so I guess I'll be using a datagrid to connect to my database. Is there a format in which .net and the database will store shift times...(like 9 to 6, 11 to 4, 6 to 3:30) but be able to print the information in a format such as 9 - 6 or 6 - 3:30 instead of 9 to 6 or 6 to 3:30?
  7. I am doing a project for myself to give to my boss just to refresh and increase my skills in vb and to learn .net. my first question is how to incorporate a SQL database, but that doesnt have to be answered here I'll search the forums. the second i didn't know how or what to search for in the forums for the answer. if i use either SQL, access, or anything else as a database, does the recipient of my program need either one of these programs for it to work or do they need some kind of user installation package that would allow them to make use of databases given to them in a particular format?
  8. worked perfectly, sorry for my ignorance but i didn't know that it would unzip everything to its proper directory. everytime i have ever used winzip it just extracted everything into the directory specified. how do you get it to do that by the way? Thx again and is there a way to change the icons? is it difficult? It doesn't matter really.
  9. im probably doing this wrong but here goes, i put everything in the zip file into my VB7 folder, not C:/.../VB7/... and when starting vb7 there was no extra projects listed in the project menu under any of the 4 folders available. So I put the zip file in the C:/.../VB7/VBProjects folder and then I saw the extra projects but this is what I got: 1 project type of "Class Library" with a windows unidentified object icon (the one thats white and has the windows symbol in the middle) 1 project type of "ClassLibrary" with an icon much like the Windows Application icon but with a world in the icon 1 project type of "UserControl" with an icon like the "ClassLibrary" 1 project type of "Windows Control Library" with an icon like that of "Class Library" When I try to open the first one {"Class Library"} I get an error that says this : "Default.js or Default.vbs not found in C:\Program Files\Microsoft Visual Studio .NET\Vb7\VBWizards\ClassLibrary\Scripts\1033" When I open the second one {"ClassLibrary"} I can see from my Solution Explorer that a project has been created but no form ever appears or no code window presents itself but I stay at the start page. When I open the third {"User Control"} the same thing happens as when I try to open a {"ClassLibrary"} project, nothing but the solution explorer saying there has been a creation of a project. When I open the last {"Windows Control Library"} I get the same error as when I open {"Class Library"}, an error occurs and says almost the same thing "Default.js or Default.vbs not found in C:\Program Files\Microsoft Visual Studio .NET\Vb7\VBWizards\WindowsControlLibrary\Scripts\1033" What am I doing wrong?
  10. sweet, much thanx :D are there other project types that vb.net doesn't have that vs.net does? I am assuming that these files are free to d/l anywhere so why would ms make u go thru so much trouble? ---- are we supposed to be all the files in the located in the zip into the location C:\Program Files\Microsoft Visual Studio .NET\Vb7\VBProjects or are some of the files go into some other folder?
  11. visual studio scripting system? could you explain to me what this is or how i could go about using it to create a new project type? or if anyone wants to buy a basically brand new copy of vb.net for low price?
  12. I wanted to create a class library from vb.net. However, I only have vb.net and not vs.net. Is the ability to create class libraries only available to those who purchase not just vb.net but vs.net? I thought that by purchasing vb.net I would have the ability to create everything and anything that vb.net has to offer and wouldn't be restricted by not having the other programs C#, etc.
  13. I was reading further and it stated that when an object is set to nothing it is set aside for garbage collection. And when the garbage collector comes by the object will be destroyed and its resources will be available again. I thought that null was a good way to give something a blank value but not for destroying the object. What is .NET's way of giving an object a null value without destroying the object?
  14. it said that I could also check for nothing by using something like If x Is Nothing Then or If IsNothing(x) Then When is the best time to use nothing as a value for a variable? Is there any good time to using "" ?
  15. Im trying to learn .net and am reading a book on it now. In the book there was mention to the value of Nothing available for declared objects. Is this the same as vb6's assigning a variable Null instead of ""?
×
×
  • Create New...