Microsoft
Software
Hardware
Network
Question : How to call a sub in a seperate class file
Hi Experts, I am feeling particularly stupid this morning...
(vb.net 3.5. Visual studio pro 2008)
I have a class file called writeini. This call is a seperate file in solution explorer called writeini.vb. This calls contains one public sub called createini.
I need to call createini() from another form. I cannot find the right syntax. Could someone help me with the correct syntax to call the createini() sub from the writeini class?
Arghhhh. And thank you very much.
Answer : How to call a sub in a seperate class file
Hi,
Try changing:
Public Sub createini()
to
Public Shared Sub createini()
That should do the trick.
/Carl.
Random Solutions
How to convert this VB.NET code to VC# code?
excel remove chars
SQL query question
Silverlight convert XAML to xaml.cs code at runtime
windows server 2008 disable service sac prompt
lock cloumn width for only selected cells
Excel 2003 is looking for pro11.msi, where can i find it and why is it needed all of a sudden?
EBS 2008 Server Problem
Restore problem
How to createa a checkbox datatype column in a table in VBA code