|
Thanks for the response. My first thought was to interpet the instructions literally and add two forms to my project. This does not work 1) because the the project can not have two forms with the same name, and 2) the registration program has more the two forms.
I then added the registration project as an existing project to my project. There were actually three projects in the registration program so I left the "About" project out.
Once I set the registration project to be the startup project, the registration program does begin, however it gives me a registration program error, telling me that my computer date has been changed and will not continue. Once I disable that section of code, I can now see the registration menu.
I am now to the point that I need to learn how to have one project call a form in a second project. I will still need to circle back to the date issue because something is clearly wrong there.
Any help on the proper code to have the registration program call my original Form1 when the registratio "Continue" button is clicked would be appreciated.
|
|
|
|
|
I have not read said article, however:
- you can freely choose the names of all Controls you use; it is bad practice to keep the names suggested by Visual Designer (such as Form1 and Button1) as these are not functional names within your application domain.
- I see no need to have two projects here, the whole idea is to combine the article's code with yours in a single project.
I suggest you get more acquainted with VB and study the article and its code.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
Luc
Thanks for your insights. I could rename the forms that have identical names and move them all into my program, but I am confused by doing this. First vb.net has a feature for adding existing projects into the users project (I suspect it is there for a reason). Second, the Registration program clearly has three projects of its own, including files such as Reference and AssemblyInfo which would (I believe) cause problems if renamed or modified. And lastly the Article's instructions clearly state to "set the Form1 (in the registration code) as the startup project". This last piece of information tells me that all of these files should remain as projects.
So back to my question, how does one call a form in a different project?
|
|
|
|
|
as long as your solution holds multiple EXE projects, you won't succeed.
if all but one project create DLL files, then all the code can call all other code as if it were one big project, provided you:
- add an appropriate reference to the calling project;
- add an appropriate Imports statetement to the calling project.
Protection code should be integrated in the code it is supposed to protect.
FWIW: if the above is new to you, I don't think your code needs copy protection or license scheming.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
Please pick up a book, statements such as
Peter Leipzig wrote: Second, the Registration program clearly has three projects of its own, including files such as Reference and AssemblyInfo
are extremely inaccurate and embarrassing to say the least.
This is not your fault, but you have made it abundantly clear that you do not have a clear and concise knowledge on the fundamental basics of the language to proceed at all.
|
|
|
|
|
ElliotA
Hey I never claimed to be a wiz at VB and if I have written something here that has embarrased you, then you've got a problem I am not embarrased to say the I am learning, that I do not know everything, and to ask for help.
|
|
|
|
|
While I can appreciate that English may perhaps not be your first language, I still can point out the lack of basic fundamental understanding of visual basic. Your questions are extremely rudimentary & illogical. This is in no way an insult, but you are attempting to complete a task that is above the scope of your intelligence as a programmer. You must learn the basics before attempting to continue. We can give you all the answers in the world, but it won't do you any good as you won't be able to understand them.
|
|
|
|
|
Well as it turns out English is my first language and I have a good command of it in both written and verbal form.
You are not a helpful individaul, you are simply mean spirited.
I do not need to ask you what the "A" in EllittA stand for, your behavior has demonstrated what you are.
|
|
|
|
|
With respects, between the both of us you are the only one issuing insults.
I kindly remind you that in my original post, I merely demonstrated the fact that you stated that completely erroneous statements and issued a general lack of understanding for the utmost basic concepts of visual basic.
A prime example is stating the the project you downloaded contained 'multiple projects' citing 'references' and 'assemblyinfo' as projects.
This is entirely incorrect.
My advice was simply to begin to understand those basic concepts otherwise you will never be able to completely understand any of the complex concepts or utilize the language, and your potential or skill to its maximum level. If you take this post as insult then I wish you the best of luck selling your software, I'm sure you will be the next Bill Gates.
|
|
|
|
|
Peter, I'll try to take a closer look at it and help you out. Unfortunately, I'm away from my desk today and have got no time for looking at it. I will do so tomorrow if you haven't solved the problem by then...
|
|
|
|
|
I do appreciate your help. I have also been away from my computer while traving on business.
|
|
|
|
|
Hi Peter
I've spent around an hour now trying to incorporate the code into a testapplication, and the result was so/so. It's because I'm running VS2008 and the code is written for VS2003, so slight modifications are needed. I'm confident I could get it to work in another half hour or so and that I would be able to guide you through the incorporation process if needed.
BUT: I will STRONGLY advise you against using this code. I haven't gone through all of it, but what I have seen is poorly organized and poorly written. In several places, for instance he is declaring variables without type (defaults to object), which affects performance of course, plus he's relying heavily on implicit conversion (typical for old VB6 programmers that haven't learnt .NET properly).
As for the security, I'm not sure, but the poor programming I've seen leads me to believe that there could very well be security flaws. One thing is sure: Unless you obfuscate your exe file after using it, it's useless. Then all code (including this licensing code) can easily be decompiled and circumvented.
The author claims he has written the code in 5 hours, and I can certainly believe that.
I've done a similar (but probably a little more complex) system for own my software, and it took me one or two months to perfect.
I would advise you to go for a commercial solution where the licensing logic is encapsuled in an obfuscated dll you can simply reference from your application. They're quite expensive, but compared to writing it all yourself, it's not really worth complaining about.
modified on Thursday, June 3, 2010 6:10 AM
|
|
|
|
|
Thank you Jonny J for taking the time to look at the code and for your honest elauation and opinion. Advice such as that is truly valuable. I will explore alternative options.
|
|
|
|
|
can you help me
read & write this xml to dataset in vb.net
<xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
="" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
<s:schema id="RowsetSchema">
<s:elementtype name="row" content="eltOnly" rs:updatable="true">
<s:attributetype name="NOFPK" rs:number="1" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="NOFPK">
<s:datatype dt:type="string" dt:maxlength="14">
<s:attributetype name="NOSJP" rs:number="2" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="NOSJP">
<s:datatype dt:type="string" dt:maxlength="19">
<s:attributetype name="TGLSJP" rs:number="3" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="TGLSJP">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="REFASALSJP" rs:number="4" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="REFASALSJP">
<s:datatype dt:type="string" dt:maxlength="19">
<s:attributetype name="JNSPELSJP" rs:number="5" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="JNSPELSJP">
<s:datatype dt:type="string" dt:maxlength="1">
<s:attributetype name="NOKAPST" rs:number="6" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="NOKAPST">
<s:datatype dt:type="string" dt:maxlength="14">
<s:attributetype name="PISAPST" rs:number="7" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="PISAPST">
<s:datatype dt:type="string" dt:maxlength="3">
<s:attributetype name="JNSPSTSJP" rs:number="8" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="JNSPSTSJP">
<s:datatype dt:type="string" dt:maxlength="2">
<s:attributetype name="MRPSTSJP" rs:number="9" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="MRPSTSJP">
<s:datatype dt:type="string" dt:maxlength="15">
<s:attributetype name="TGLDTGSJP" rs:number="10" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="TGLDTGSJP">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="TGLPLGSJP" rs:number="11" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="TGLPLGSJP">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="TGLRJKAWALSJP" rs:number="12" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="TGLRJKAWALSJP">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="NORJKAWALSJP" rs:number="13" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="NORJKAWALSJP">
<s:datatype dt:type="string" dt:maxlength="8">
<s:attributetype name="PPKRJKAWALSJP" rs:number="14" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="PPKRJKAWALSJP">
<s:datatype dt:type="string" dt:maxlength="8">
<s:attributetype name="DIAGPPK" rs:number="15" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="DIAGPPK">
<s:datatype dt:type="string" dt:maxlength="5">
<s:attributetype name="POLITUJSJP" rs:number="16" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="POLITUJSJP">
<s:datatype dt:type="string" dt:maxlength="3">
<s:attributetype name="DIAGRS" rs:number="17" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="DIAGRS">
<s:datatype dt:type="string" dt:maxlength="5">
<s:attributetype name="TGLVERSJP" rs:number="18" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="TGLVERSJP">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="BYTAGSJP" rs:number="19" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="BYTAGSJP">
<s:datatype dt:type="number" rs:dbtype="numeric" dt:maxlength="19" rs:scale="2" rs:precision="12" rs:fixedlength="true">
<s:attributetype name="BYVERSJP" rs:number="20" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="BYVERSJP">
<s:datatype dt:type="number" rs:dbtype="numeric" dt:maxlength="19" rs:scale="2" rs:precision="12" rs:fixedlength="true">
<s:attributetype name="BYSTJSJP" rs:number="21" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="BYSTJSJP">
<s:datatype dt:type="number" rs:dbtype="numeric" dt:maxlength="19" rs:scale="2" rs:precision="12" rs:fixedlength="true">
<s:attributetype name="JMLKSSJP" rs:number="22" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="JMLKSSJP">
<s:datatype dt:type="number" rs:dbtype="numeric" dt:maxlength="19" rs:scale="0" rs:precision="5" rs:fixedlength="true">
<s:attributetype name="JMLTSJP" rs:number="23" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="JMLTSJP">
<s:datatype dt:type="number" rs:dbtype="numeric" dt:maxlength="19" rs:scale="0" rs:precision="5" rs:fixedlength="true">
<s:attributetype name="CATKHSSJP" rs:number="24" rs:nullable="true" rs:maydefer="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="CATKHSSJP">
<s:datatype dt:type="string" dt:maxlength="1073741823" rs:long="true">
<s:attributetype name="FLAGAKHIRSJP" rs:number="25" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="FLAGAKHIRSJP">
<s:datatype dt:type="string" dt:maxlength="10">
<s:attributetype name="FLAGENTRYSJP" rs:number="26" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="FLAGENTRYSJP">
<s:datatype dt:type="string" dt:maxlength="10">
<s:attributetype name="FLAGPRSKLAIMSJP" rs:number="27" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="FLAGPRSKLAIMSJP">
<s:datatype dt:type="string" dt:maxlength="10">
<s:attributetype name="IDUSERSJP" rs:number="28" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="IDUSERSJP">
<s:datatype dt:type="string" dt:maxlength="9">
<s:attributetype name="NIPSTJSJP" rs:number="29" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="NIPSTJSJP">
<s:datatype dt:type="string" dt:maxlength="9">
<s:attributetype name="PPKPELSJP" rs:number="30" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="PPKPELSJP">
<s:datatype dt:type="string" dt:maxlength="8">
<s:attributetype name="FLAGLPSTSJP" rs:number="31" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="FLAGLPSTSJP">
<s:datatype dt:type="string" dt:maxlength="10">
<s:attributetype name="FLAGPSTRS" rs:number="32" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="FLAGPSTRS">
<s:datatype dt:type="string" dt:maxlength="10">
<s:attributetype name="FLAGRRWT" rs:number="33" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="FLAGRRWT">
<s:datatype dt:type="string" dt:maxlength="10">
<s:attributetype name="TGLSTJKASIE" rs:number="34" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="TGLSTJKASIE">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="NIPSTJKASIE" rs:number="35" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="NIPSTJKASIE">
<s:datatype dt:type="string" dt:maxlength="9">
<s:attributetype name="TGLSTJRS" rs:number="36" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="TGLSTJRS">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="NAMASTJRS" rs:number="37" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="NAMASTJRS">
<s:datatype dt:type="string" dt:maxlength="25">
<s:attributetype name="BYTAGOBTSJP" rs:number="38" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="BYTAGOBTSJP">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="BYVEROBTSJP" rs:number="39" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="BYVEROBTSJP">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="BYSTJOBTSJP" rs:number="40" rs:nullable="true" rs:write="true" rs:basetable="datsjp"
="" rs:basecolumn="BYSTJOBTSJP">
<s:datatype dt:type="string" dt:maxlength="255">
<s:attributetype name="NoCetak" rs:number="41" rs:nullable="true" rs:write="true" rs:basetable="datsjp" rs:basecolumn="NoCetak">
<s:datatype dt:type="string" dt:maxlength="255">
<s:extends type="rs:rowbase">
<rs:data>
<z:row nofpk="1301R005031011" nosjp="1301R0050310Y917181" tglsjp="12/26/2009" refasalsjp="1301R005" jnspelsjp="4"
="" nokapst="1041003373252" pisapst="1" jnspstsjp="1" mrpstsjp="3252" tgldtgsjp="12/26/2009" tglplgsjp="01/05/2010" tglrjkawalsjp="12/26/2009" norjkawalsjp="0" ppkrjkawalsjp="1301R005" diagppk="Z51" politujsjp="EKG" diagrs="Z51" tglversjp="03/26/2010" bytagsjp="1900862.00" byversjp="1900862.00" bystjsjp="1900862.00" jmlkssjp="1" jmltsjp="0" catkhssjp="ASKES DAN RKZ JAYA" flagakhirsjp="0" flagentrysjp="0" flagprsklaimsjp="1" idusersjp="00000" nipstjsjp="" ppkpelsjp="1301R005" flaglpstsjp=" " flagpstrs="0" flagrrwt="False" tglstjkasie="03/26/2010" nipstjkasie="0000" tglstjrs="03/26/2010" namastjrs="Juliani" bytagobtsjp="0" byverobtsjp="0" bystjobtsjp="0" nocetak="1">
<z:row nofpk="1301R005031011" nosjp="1301R0050310Y917238" tglsjp="12/28/2009" refasalsjp="1301R005" jnspelsjp="4"
="" nokapst="1041002195152" pisapst="1" jnspstsjp="1" mrpstsjp="5152" tgldtgsjp="12/28/2009" tglplgsjp="01/02/2010" tglrjkawalsjp="12/28/2009" norjkawalsjp="0" ppkrjkawalsjp="1301R005" diagppk="Z51" politujsjp="EKG" diagrs="Z51" tglversjp="03/26/2010" bytagsjp="1127635.00" byversjp="1127635.00" bystjsjp="1127635.00" jmlkssjp="1" jmltsjp="0" catkhssjp="ASKES DAN RKZ JAYA" flagakhirsjp="0" flagentrysjp="0" flagprsklaimsjp="1" idusersjp="00000" nipstjsjp="" ppkpelsjp="1301R005" flaglpstsjp=" " flagpstrs="0" flagrrwt="False" tglstjkasie="03/26/2010" nipstjkasie="0000" tglstjrs="03/26/2010" namastjrs="Juliani" bytagobtsjp="0" byverobtsjp="0" bystjobtsjp="0" nocetak="1">
<z:row nofpk="1301R005031011" nosjp="1301R0050310Y917256" tglsjp="12/28/2009" refasalsjp="1301R005" jnspelsjp="4"
="" nokapst="1011001653448" pisapst="S" jnspstsjp="1" mrpstsjp="3448" tgldtgsjp="12/28/2009" tglplgsjp="01/06/2010" tglrjkawalsjp="12/28/2009" norjkawalsjp="0" ppkrjkawalsjp="1301R005" diagppk="Z51" politujsjp="EKG" diagrs="Z51" tglversjp="03/26/2010" bytagsjp="2468306.00" byversjp="2468306.00" bystjsjp="2468306.00" jmlkssjp="1" jmltsjp="0" catkhssjp="ASKES DAN RKZ JAYA" flagakhirsjp="0" flagentrysjp="0" flagprsklaimsjp="1" idusersjp="00000" nipstjsjp="" ppkpelsjp="1301R005" flaglpstsjp=" " flagpstrs="0" flagrrwt="False" tglstjkasie="03/26/2010" nipstjkasie="0000" tglstjrs="03/26/2010" namastjrs="Juliani" bytagobtsjp="0" byverobtsjp="0" bystjobtsjp="0" nocetak="1">
|
|
|
|
|
Help you with what? You haven't asked a question.
Besides the fact that the "XML" you posted appears to be invalid in a variety of ways.
|
|
|
|
|
Hello all;
I have a question for my calculator project.
command13 is a + button. when you sum 2 number it works correctly. but if you press this button for second time it will sum the last result with itself & again & again if you press + button.
NOW HELP ME : what should I do to avoid sum in 2nd,3rd,... button click?
snippet code is appended.
Private Sub Command13_Click()
Combo1.AddItem Combo1.Text
Combo1.AddItem "+"
'b = Combo1.ListCount
Select Case o
Case Is = 1
Combo1.Text = a + Val(Combo1.Text)
Case Is = 2
Combo1.Text = a - Val(Combo1.Text)
Case Is = 3
Combo1.Text = a * Val(Combo1.Text)
Case Is = 4
Combo1.Text = a / Val(Combo1.Text)
End Select
a = Val(Combo1.Text)
h = 1
o = 1
End Sub
Thanks anyone help me...
|
|
|
|
|
some calculators work that way; others don't want to perform a second operation until a new number has been entered.
decide what functionality you want, then implement it.
if necessary keep track of what happened most recently (enter number parts, i.e. digits, minus sign, period) or click operator.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
i am a visual basic programmer. pls i need to deploy my database along with my project. i try but failed. please any one with this code should help me. Thanks.
|
|
|
|
|
"i need help" is a stupid subject, everybody needs help.
the word is "please", not "pls".
"i try but failed". wait, let me use my mind reading powers to see where exactly you failed and what your problem is, then sending the solution from my brain straight into your computer.
"please any one with this code should help me." which code? how could anybody help you, if you don't describe your problem?
read this: How to get an answer to your question.[^]
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Please provide more information like what kind of database you have. You could also post the code you tried and tell us what error you got or how it failed. Otherwise I'd suggest you start by searching CP articles[^].
|
|
|
|
|
Hello all,
am been looking alot and didnt find what am looking for, i got a newsticker reads xml file, whats the best method to track users, i dont want users to register, i just need to know how many users online and make satistics, my idea is another windows form that receive info from the news ticker once users run like IP address and time and date, is this possible? thanks in advance
|
|
|
|
|
Well, if your news ticker is getting it's data from a news site, then you would need to write code for it to connect to the news site and your server. It seems a bit unnecessary to me.
"The GNOME desktop is as bad as a virus."
^-^-^-@@-^-^-^
(..)-----;
||---||
^^ ^^
Moose.
|
|
|
|
|
Ok, I have the labels working properly on each tab. I can change them based upon the sequence of orders for each item placed the day before. (I am manually adjusting that now). I need to create the Function MaterialSave(). Each item on each tab has 5 textboxes for New (A), Good (B1), Good (B2), Good (C) or Junk (F). First textbox is txtRodF_0, txtRodC_0, txtRodB2_0 and next row is txtRodF_1, txtRodC_1, txtRodB2_1, etc. I need to store the materialID (a GUID) that is stored in the lblRods_x.Tag property, the name of the text box txtRodC_0.name and the number of units being traded.
A person can trade/sell 15 units of txtRodF_0 and 20 units of txtRodB2_0 and any combination od trades/sells per tab per Material Transfer form. Each agent can do 100 or so forms per day.
I tried doing a multi-dimensional array and then a collection and have bombed out on each of them. Then I was researching and came across maybe using a Material Class with 3 properties and I just add class member everytime a textbox loses focus after an amount has been entered. I can then save the class members one by one to the material table on the form_close event. When a new form is pulled up it creates a new material class all over.
Any ideas or suggestions, better/faster way of doing this?
|
|
|
|
|
Maybe not a bad idea,
Public Class Material
Private _id As String
Private _name As String
Private _value As Double
Public Property ID() As String
Get
Return _id
End Get
Set(ByVal value As String)
_id = value
End Set
End Property
Public Property Name() As String
Get
Return _id
End Get
Set(ByVal value As String)
_id = value
End Set
End Property
Public Property ID() As String
Get
Return _id
End Get
Set(ByVal value As String)
_id = value
End Set
End Property
Public Sub New(ByVal id As String, ByVal name As String, _
ByVal value As Double)
With Me
ID = id
Name = name
Value = value
End With
End Sub
End Class
Now if you use your Material Class in a Generic List that you declare as a Form Level variable Public MatList As List(Of Material) , you will be able to retreive, and add items to your hearts content. Then when the form closes, save your data, iterating through the items in the MatList
Hope this helps.
I don't speak Idiot - please talk slowly and clearly
'This space for rent'
Driven to the arms of Heineken by the wife
|
|
|
|
|
Thanks, I seem to have that part working now. got another problwm which I don't seem to remember that in VB6. Started another post for it titled: "Lost_focus and save button"
|
|
|
|