|
Christian.
Christian Graus wrote: VB6 was always the domain of retards
I think thats a bit harsh (its maybe true, nevertheless).
I for one still use VB6 (Not through choice now though), for systems such as industrial control, changing the frontend/backend systems tend not to happen very often, costs and fear probably drive this, i.e. if it ain't broke don't fix
We have a system that is still running NT4 with SQLServer 7 as the backend database for an alarm/event logger for 2 offshore platforms (average add 20K records a day, platforms 110miles from the server), i wrote a front end app in VB6 to support the operators accessing this environment (from Win2K machines & XP machines), why VB6? simple i could copy the exe file onto the client machines and it just worked, and didn't carry the risk of breaking any of the underlying system, if i wanted to add/change anything, just simply give them another exe.
Sometimes we are driven down a particular route because of corporate policy. Another example of this is, the standard office desktop environment only just got .Net V2 added a few months ago......Now they are in the progress of switching from Win2K to Vista (bet it won't have .Net 3.5 on it, haven't seen them yet to check)
Although, i don't think that this applies in the originators post on this occassion!
I will get down of my soapbox now......
Cheers,
|
|
|
|
|
I'm just dying to find out how many apps gets rushed into a conversion to VB6 when their owners find out that the VB6 runtimes are not supported under Windows 7.
|
|
|
|
|
Your Sentence is more than true, except one thing you should take care about.
Our company is still using SQL Server 2005 (2008 is now available), Win2k3 (Win2k8 is available), all our Work Station is XP SP2 (XP3 is there beside VISTA) and I can grantee to you that we can stay at this level of software versions for another 10 years.
I am sure this is the situation of lots of company around the world.
As a company, we don't purchase the last product in the market. we wait until the service pack is released. We cannot take chances and deals with bugs and error or our employee will not be working because of software bugs and that is reason #1 for most of the bosses are bold
Samir R. Ibrahim
|
|
|
|
|
Samir Ibrahim wrote: and I can grantee to you
Wow. That's ballsy. A computer guy who uses that term is taking an awfully big risk...
Support for XP isn't going to last that long. You won't get an more patches to close security holes and fix things long before that 10 year limit.
|
|
|
|
|
One more component is there similar to datagrid.
Name is MSFlexGrid Control.
This one is easy to handle.
code to add a content is
MSFlexGrid1.TextMatrix(Row Index,Col Index)= "content"
ex:- MSFlexGrid1.TextMatrix(0,0)= "Purvas".
|
|
|
|
|
There is Microsoft DataGrid Control 6.0 (SP5) (OLEDB) Activex available if you have VS6 + SP5
But using Datagrid, which is used to populate data from database source, so you have to save the found files you search in Access mdb and then display it in DataGrid.
Do you need to save the search result?
If no, I suggest using Listview.
Samir R. Ibrahim
|
|
|
|
|
Hi,
I am in need of a sound file
i would like to use in my multiplayer
card game application(Blackjack).
How do i go about it ?.I dont even have
any sound file at the moment.
akpakwu
|
|
|
|
|
Well, you can play mp3s with a media player control, you can play mp3s or wavs with DirectX.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Hi to All,
Could anyone please tell me how to lock a particular data grid columns (from updating or editing by users) in vb.net2005.
Thanks in advance
I am a learner Always
|
|
|
|
|
|
|
try reading on how to ask questions here. 'pls help me' is a retarded subject, everyone wants help.
what part is the problem ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Don't delete your f-ing messages!!
|
|
|
|
|
i want user to enter only 0 to F in a textbox..
if the user enter except 0 to F, it will replace by 0..
that is what i have programmed..
but i got a problem where after the replacemnt with 0, the cursor indicator is go the starting, supppose the cursor indicator ddnt go anywhere unless the the user clicks at another option.
can u help me plss!!..thanks..
beginner VB user.
learning is lifetime.
|
|
|
|
|
Hi,
when will you start searching for the things you need, rather than just ask here?
one possible way uses keywords: KeyEventArgs, SuppressKeyPress
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
hii..
how to make a new line in an enable mulitipleline textbox?..txx
|
|
|
|
|
you may use Environment.NewLine or vbCrLf to separate the text or you may pass an string array to Lines property.
Calin
|
|
|
|
|
thanks!!..![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
Hi,
I am experiencing a strange proplem which is a property doesn't return a value when I try to use the class explicitly as shown below. I have checked to make sure if property has a value inside a class and the anawer was yes. However when try to use MetaData class inside the form Artist name returns nothing. Where do I make mistake?
Any Idea?
<br />
'FORM<br />
<br />
MetaDataFactory.GetMetaData ("FileNameGoesHere")<br />
<br />
Dim XData as New MetaData<br />
<br />
Artist = XData.Artist 'Doesn't return the value.<br />
<br />
'----------------------------------------------------------<br />
'SUB CLASS USES AN INTERFACE<br />
<Serializable()> _<br />
Public Class MetaData<br />
Implements IMetaData<br />
<br />
Private _Artist as String = Nothing<br />
<br />
Public Property Artist() As String Implements IMetaData.Artist<br />
Get<br />
Return _Artist<br />
End Get<br />
Set(ByVal value As String)<br />
_Artist = value<br />
End Set<br />
End Property<br />
<br />
Public Interface IMetaData<br />
Property Artist() As String<br />
End interface<br />
<br />
'-----------------------------------------------------------------------------<br />
'METADATAFACTORY CLASS<br />
Public Class MetaDataFactory<br />
Public Shared Function GetMetaData(ByVal filename As String) As MetaData<br />
Dim XX as new MetaData<br />
xx.Artist = "BOB MARLEY"<br />
End Function <br />
End Class<br />
<br />
<br />
<br />
What a curious mind needs to discover knowledge is noting else than a pin-hole.
modified on Sunday, February 15, 2009 11:30 AM
|
|
|
|
|
Why would it have a value when the GetMetaData() function is not called by this code:
Dim XData as New MetaData
Artist = XData.Artist 'Doesn't return the value.
Another thing is that GetMetaData needs to return xx i.e. a MetaData object.
Regards
David R
|
|
|
|
|
Sorry I forgot to type it. Just assume that it is there. It is still not functioning.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Try this where the changes are in bold:
Dim XData as New MetaData
XData = MetaDataFactory.GetMetaData ("FileNameGoesHere")
Artist = XData.Artist 'Doesn't return the value.
....
Public Class MetaDataFactory
Public Shared Function GetMetaData(ByVal filename As String) As MetaData
Dim XX as new MetaData
xx.Artist = "BOB MARLEY"
GetMetaData = xx
End Function
End Class
Regards
David R
|
|
|
|
|
JUNEYT wrote: Sorry I forgot to type it. Just assume that it is there. It is still not functioning.
Paste the actual code that you are using. It's very hard to find the error in the code that you are using by looking at some other code that you are not using...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
In the GetMetaData method you create an instance of the MetaData class, put some data in it and throw away the instance.
Then you create a new instance of the MetaData class, and you expect it to contain the data that was in the instance that you threw away.
Do you see the problem?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|