Company I work with still uses VB6 because the applications have been built from the ground up in VB6.
The transition from VB6 to .NET is pretty costly but is in the works. However, they will still need VB6 developers to support the clients not wishing to upgrade.
Then again, upgrading is not really the right term. It's more like rewrite....
User Profile
Collapse
-
"BaseDados_PAT. dmb" is not a path. Did you mean "mdb"?
MDB is an Access database file. I dont think dmb is anything database related.
Your biggest problem is communicating the issue. There is no source code posted as was asked, and the one line of code (app.path) will not generate the error described above.
I know you think were good but were not THAT good. Post up your code. :)...Leave a comment:
-
Save a class instance to a datatable
I think this is possible, but correct me if not.
Vb.Net, I have a serializable class meaning instances of the class can be persisted to disk or memory.
I want to use a DataTable to store these instances. For example, having a column called ClassInstance which will hold the serialized instance of the class.
My question is, what datatype to use for the column definition and what method to use to load... -
I'de use a collection or an array to store the paths relative to the index in the list....Leave a comment:
-
-
Post your code. Installable ISAM error can be related to a few things....Leave a comment:
-
MSHTML = Microsoft HTML Object Library
Use that control a webpage in VB6.Leave a comment:
-
MS calendar control? MS outlook calendar? Post what calendar you are referring to and/or post some code.
Try replacing the .ocx on the target platform having the issue. Or create a setup package.
A shot in the dark guess is the clients raising the error have an older version of the component. A setup package or registration of the ocx should remedy the issue....Leave a comment:
-
Dexplore on my system was located here:
C:\Program Files\Common Files\Microsoft Shared\Help 8Leave a comment:
-
You need Document Explorer as its called. Its executable is titled "DExplore.e xe".
I couldnt find a link for download but if you downloaded MSDN, you should have it on your system already. Just do a search for Dexplore.exe.Leave a comment:
-
You are right. In this case, it's a toss up between letting the code handle exceptions or, what I like to do, check the data integrity before sending it to the db....Leave a comment:
-
hey now, why didnt i know that? see, now I know why I come here....Leave a comment:
-
How about this blurb from MicroSoft:
"[...] System.Director yServices.Activ eDirectory is not used to access data that resides within Active Directory or any other directory service. The System.Director yServices namespace should be used for this purpose."
In other words: use System.Director yServices to find what you need.
Heres the link:
http://msdn2.microsoft .com/en-us/library/system...Leave a comment:
-
-
Data integrity is probably the issue. Make sure the values typed in the textboxes are allowed for the underlying data fields datatype. For example, if it is expecting a number, textboxes all return string values and it will error out.
Also, I would get rid of command objects in this case. You just dont need them for what you are doing.
Create a single INSERT statement like you did but remove the "@" place...Last edited by VBWheaties; Mar 14 '08, 07:41 PM. Reason: removed quoted text as it is above this postLeave a comment:
-
Dont think there is a native method.
However, it was easy enough to write something.
Just send in your controls tabindex and it will set focus to the next controls tabindex.
Code:Public Sub NextControl(ByVal ctrlTabIndex As Integer) For Each ctrl As Control In Controls If (ctrl.TabIndex) = (ctrlTabIndex + 1) Then ctrl.Focus() End If
Leave a comment:
-
Many approaches.
Want a quick, dirty way?
Create an invisible listbox. Load up your file paths of the waves in that listbox. And go to the next file in the invisible listbox when the user presses YES.Leave a comment:
-
You have to set a reference to "Quartz.dll ".
And according to the article, the technology (DirectShow) has been deprecated or not supported anymore.
Heres the article:
http://msdn2.microsoft.com/en-us/lib...73(VS.85).aspx...Leave a comment:
-
I suggest using parameters since they are the easiest explain.
When a parameter is passed in, it gets set to the global "Command" object which is nothing more than a string.
For example, lets say my application is called MyApp.exe and I need to send in the location of my database. This will be the call to open my program with a commandline parameter:
C:\Program Files\VBWheatie s\Myapp.exe...Leave a comment:
-
Real simple to do thanks to the handy Replace function:
Code:Public Function FileExtensionREFToCSV(byVal REFFile As String) As String FileExtensionREFToCSV = REPLACE(UCASE(TRIM(REFFile)), '.REF', '.CSV') End Function
Leave a comment:
No activity results to display
Show More
Leave a comment: