The end users need to have the .Net Framework installed. You can download it from microsoft. Just do a search for DotNetfx.exe
You can also find this on your visual studio cd's as well as other microsoft products.
DotNetDoc
M.C.S.D.
www.DotNetDoc.com...
Glad I could help :)
DotNetDoc
M.C.S.D.
www.DotNetDoc.com
---------------------------------------
Tell me and I forget. Show me and I remember. Involve me and I understand.
- Anonymous Chinese Proverb
-----------------------------------
If you can't explain it simply, you don't understand...
Assembly is not different from System.Reflection.Assembly it is just that it has the distinction of being both a KEYWORD & CLASS
DotNetDoc
M.C.S.D.
www.DotNetDoc.com
---------------------------------------
Tell me and I forget. Show me and I remember. Involve me and I understand.
-...
The reason for this is that Assembly is not only a KEYWORD but it is also a CLASS.
The compiler gets confused on what you are trying to do.
Which is why
Dim a As [Assembly] = [Assembly].GetExecutingAssembly()
Works ( It knows what you are trying to do)
And
Dim a as Assembly or Dim a as...
Federal,
chiph is correct is his answer. The [] are used to enable the use of a keyword as a variable name.
The correct syntax for what you are trying to do is
Dim a As System.Reflection.Assembly = System.Reflection.Assembly.GetExecutingAssembly()
Either by using the fully qualified name or...
Three letters.
XML
This is of course if you chose not to use a database.
DotNetDoc
M.C.S.D.
www.DotNetDoc.com
---------------------------------------
Tell me and I forget. Show me and I remember. Involve me and I understand.
- Anonymous Chinese Proverb...
OOP is a way of organizing a program into logical components (classes). The data tier falls into this.
There are two different "types" (for lack of a better word) of data tiers.
The first one :
Using SQL Server and Stored Procedures for all your data logic.
The Second one ...
Thats what "learning how to program" is.
Welcome to the abyss. ;)
DotNetDoc
M.C.S.D.
www.DotNetDoc.com
---------------------------------------
Tell me and I forget. Show me and I remember. Involve me and I understand.
- Anonymous Chinese Proverb...
The one constant in this industry is change. Don't back away from taking the VB.net exams. If you are going to continue to program in VB then .Net is where you want to do it. Microsoft is not going to go backwards.
Microsoft Certifications are known in the industry an thus are very...
If you think it is a database error then you need to add another catch to the try block
Try
' Start up the program, read config info, connect to DB,
' etc. in order to perform work for the user
Catch Ex As System.Exception
' Log everything about the exception, as normally
' you...
I am glad it helped. The API is a great tool to learn. You will find many uses for it. :)
DotNetDoc
M.C.S.D.
www.DotNetDoc.com
---------------------------------------
Tell me and I forget. Show me and I remember. Involve me and I understand.
- Anonymous Chinese Proverb...
If you want to take the API Approach I would suggest this book.
.Net Framework Solutions
In search of the Lost Win32 API
ISBN 0-7821-4134-x Sybex is the publisher
It goes through using the Win32 API in the .Net Framework.
There are of course others that do the same like Dan Applemans API...
This function will parse it out for you
'Add this to your form load or where ever.
'Dim connectstring As String = "Data Source=TESTSERVER;Initial Catalog=TESTDB;uid=sa;pwd=sa;"
textbox1.text = ParseFields(connectstring, "uid=")
textbox2.text =...
lori,
This is quite a bit of code to put in as a post here.
You say >>> "I have no clue how to do this"
Do you not know how to
1.Connect to a database
2.Write Sql statements
3.fill a dropdown etc...
What part are you getting stuck on. We are here to help you get past...
If you want to access your forms from anywhere in your app then it is much better to declare them in a module.
You need to declare the items in the module first
Public frm As frmRectRect
Public frm1 as Form1
Public Frm2 As Form2
Public Frm3 As Form3
Sub Main()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.