I like the subform/subreport control in Access, and I want to put an instantce of the control on my VB6 form.
I reference the msacc.olb in my VB6 project, and put the following codes in my form module.
Private Sub Form_Load()
Dim aa As Access.SubForm
Set aa = Me.Controls.Add("Access.SubForm", "sf1")
aa.Name = "vvvddvv"
aa.Visible ...
Dim strPattern As String: strPattern = "[^a-zA-Z0-9]"
Dim regex As New RegExp
regex.Pattern = strPattern
result = regex.Replace(pFileNameWithoutExtension, "_")
It does work but it replace only 1 char. How can I replace more than one char. Example : "ÉPÉ" should be "P" but currently the result is : "_PÉ"?
...
I have a legacy VB 6 client app, which uses a VB ActiveX control, which then communicates via DCOM to a VB component registered in the COM+ Catalog. The VB COM+ component communicates with a .NET component, also registered in the COM+ Catalog.
I have an issue when our COM+ application Activation is set to Server, which is required to m...
Using VB 6 and Crystal Report 9
I want to display an output in the crystal report. Last week I used VB 6 and Crystal Report 8.5, it was worked fine, but last day I reinstall my Windows XP, VB 6 and crystal report 9. After that While executing the code it showing “Method or Data Member not Found Error”. I checked the Component and Refe...
In VB 6,is there any way to get the variable size greater than Long?
I have to display the data which is exceeding the size of Long on the same page?
...
I have a VB6 application that uses several components written in .net. The application must shutdown gracefully when windows is shut down. The problem is that if the .net part of the code is displaying a window, the application displays the message "Cannot Quit" and fails to exit. (It is then terminated by the OS)
I've managed to reprod...
Using VB 6
While running the Project, we cannot able to extend the form.
In run time, we put the mouse pointer in the Project form Layout border, it showing <-->.
It should not show to extend the form in the run time.
Am New to VB 6, How to write a code or set a condition?
Need VB 6 help?
...
Using VB 6
Am using Frame, Inside that frame am using textbox, combo box, labels.
When I am running the project it will show like "processing".
So I used the picuture box also inside that frame. But Picture box is not showing in the front of textbox, combobox, labels.
I tried, but it is showing only the picture layout, it is not showi...
I have a vb6 application I am supporting and we need to add a method that grabs data from multiple selected rows in a databound grid.
Can anyone point me in the direction to loop through the datagrid to find out what rows are selected?
...
hi,
I am calling a C++ function from VB6.
In which I need to pass variable of Currency datatype.
But in C++ we do not have such datatype.
what should I use in C++ fuction to make the compatibilty with currency datatype?
...
Using VB 6 and Access 2003
I using two command button (process, cancel)
When I run the Program, then I press cancel button – The form is unloading immediately. If I press the Process Button then I Press cancel button. The form is not unloading immediately.
In Process button, I wrote the code like this
Getting the data from the datab...
I've done extensive research on this topic and intensive discussions with my co-workers.
The general consensus seems to be, that a database connection should be opend when needed and closed immediately. Any caching/pooling of connections should be done by the database driver or some other layer, but not by the application itself.
But ...
In our server client software in vb6 with sql 2005, On server side one sql table is continously updated by data and we need to display data from this same table on client at running time. Pls help how to acceess this same table from server and client so that data is continously updated from server side and records in this table show on c...
I have a VB6 console app and it uses command line parameters. For debugging, I would like to be able to start it from the IDE and ideally be able to pass it those parameters to see how it normally operates. I realize I could set a breakpoint at the appropraite place and use the Immediate window to set the values outside the command lin...
Do we have any limitation in displaying the no. of records in VB6?
Like if the no. of records exceeds the size of long,then will it create problem?
...
Exe made in vb6 will hang if its continously run on server? This exe has winsock component which is used to received data from biometric readers and saved in sql server 2005. Actually this shows real time list for acceess made on biometric readers means in this exe we have used datagrid component which display saved records in sql. How t...
Hello,
I'm creating a COM callable .net assembly and now trying to use it from legacy COM clients (VB6 client in my case).
Assembly should expose API style interface, so typical function declaration would look like this:
int myRoutine (object inParam, out object result);
The problem is when I trying to use function declared as:
...
I am new to developing with Visual Basic, but have lots of experience in C#/C/C++/JAVA/Haskell and a few others.
Is there some reason I am maintaining code and finding code examples where the type declaration just seems lazy? I have seen countless Strings, that are only ever used as the String type, declared as an object. Before the o...
I got a RS232 signal capture device. and it working great.
I need some help making sense of the data. Basically we bought it because we are dealing a late 80's machine controller that uses serial communication. We had little luck despite knowing the port parameters.
From the data I dumped machine control is using the break signal as p...
hi
I have created a sample report with crystal report 10.
Now, I wanna to add it to my vb6.0 project but when I try to do so by add file from project menu, it says that sampleReport.rpt could not b loaded....
what's wrong?
...