|
I have no idea what it would be now. ADO 2.5 is still pretty old. The latest version, before Vista, was 2.8 and that's been out for over 2 years now.
Hmmmm... Well, I'd try recreating the project. Create a new project, of the same type, and setup the references to the same as what you had before and save the project. Then exit Visual Studio and copy the source files (*.vb) from the old project to the new one. Get back into VS and add the new code files to the project and recompile it. This will generate a new set of GUIDs for the project and MIGHT take care of it. I haven't used VB6 in about 6 years now, so I may very well be missing something here.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Sir/madam,
Can i add the landscape / portrait option in my crystal reports program in vb.net
Please help.
Thanks and Regards
Pankaj
|
|
|
|
|
|
Public Class Class1<br />
Public Sub f1()<br />
MessageBox.Show("interfacse")<br />
End Sub<br />
End Class
Public Interface inter<br />
Sub f1()<br />
End Interface
Public Class Form3<br />
Implements inter<br />
Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
<br />
End Sub<br />
Private Sub abc() Implements inter.f1<br />
<br />
End Sub<br />
End Class
The problem is i wanted the member f1 of class class1
in the interface inter.
I mean when i implements the interface inter in class form3
I need not to write the code of function f1 of class class1 again.
But the control does not goes to the function f1 of class class1.
Please help.
|
|
|
|
|
I think you have misunderstood the purpose of interfaces.
An interface defines a public interface that classes can implement. There is no other relationship than that. When you declare that Form3 implements inter , you must provide a body (the implementation) for the methods and properties. You did this with Class1 , but you provided only an empty body for Form3 . Thus Form3 does nothing.
However, as I am at a loss as to what you are actually trying to acheive here I cannot suggest a reasonable alternative at this time.
|
|
|
|
|
Sir/Madam
Can i please get to know the various types of connection to do the code.
I mean if the application is based on three database.Can this be possible to lock the database and keep it open.and simultaneoluly open the another database.
I finally wanted to know the various types of connection
Thanks and regards
Pankaj
|
|
|
|
|
amaneet wrote: I mean if the application is based on three database.Can this be possible to lock the database and keep it open.and simultaneoluly open the another database.
You can open as many connections as the databases will allow. However, remember that the preferred pattern is to open a connection, perform the query and then close the connection as quickly as possible so you don't tie up resources.
amaneet wrote: I finally wanted to know the various types of connection
There are as many types of connections as databases that support the .NET Framework.
|
|
|
|
|
Sir,
can u please provide any link?
Thanks and regards
Pankaj Garg
|
|
|
|
|
amaneet wrote: can u please provide any link?
A link to what?
|
|
|
|
|
|
But it does not list ALL connection types. Just the most common ones.
|
|
|
|
|
Sir/Madam,
Can i programically find out the current date format in my machine.
I mean whether it is mm/dd/yy or dd/mm/yy
PLease help.
Thanks and Regards
Pankaj Garg
|
|
|
|
|
Have a look at your current culture info
System.Threading.Thread.CurrentThread.CurrentUICulture.DateTimeFormat
|
|
|
|
|
Sir/Madam,
I wanted to store the images in the database(MS-Access)
Please let me know the way how to do the same.
Thanks and Regards
Pankaj
|
|
|
|
|
There's tons of examples out of the web. All you have to do is Google for "vb.net store image access[^]".
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
Sir/Madam,
I wanted to know something about the transactions .Currently i am using the MS-Access.I wanted to code on transactions So from where should i start from the scratch
Please help.
Thanks and Regards
Pankaj Garg
|
|
|
|
|
You can start with this article[^] on MSDN. There's also this one[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Sir/Madam,
I wanted to know the utility of Masked textbox especially in showing the date in the single textbox .I mean in wanted to insert the slashes in the textbox , so whenever the user clicks the left or right key the control navigates to month or year.I mean there should be some space left in between the slashes for insertig the month year day.and all this i wants in the single textbox .Can i make it possible.
Please help.
Thanks and regards
Pankaj Garg
|
|
|
|
|
In maskedTexbox there are predefined formats under its properties. You can define custom format but It will not allow you to use slashes between month, day and year.
I think you have to write a class to produce your own maskedtextbox.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Sir,
I am in urgent need to solve this problem.
If u please provide any link to solve this very problem.
Thanks and Regards
Pankaj Garg
|
|
|
|
|
|
How to convert DRM protected audio file to unprotected audio files, that are brought from iTunes.
Bala
|
|
|
|
|
You picked the wrong website to ask this question...
Let's see, "How do I strip the protection from something I may or may not have bought?". Sounds like piracy to me...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello,
i m using vb.net (winforms) & i have written class called employee.
& make object of employee on my form & accessing all the properties of emp like id, name,sal etc.
i shuld access all the values...so i wrotee property for each like
Public ReadOnly Property BasicSal() As Integer
Get
Return BS1
End Get
it is good whn property values are less but as i wnt to access all salary info like HRA, Basic Sal....etc total 20 fields.
So i decided to use Array....I fill all values in array in my employee class's function itself.
Th problem is i wnt to access this array of all values on my forms.How to do it plz tell me.
Thanks for any help in advance.
--Regards priya
"The Difficult i can do it now...
The Impossible will take a little longer."
|
|
|
|