Here is the complete method, the container for these control arrays is DEFINITLY Visible. When we iterate the SG15Blbl is contained inside the picSG15But. and when we set the .Visible property of the SG15Blbl is DOES get set to True, even though its container picSG15But is set to false. As to...
Option explicit is turned on and the control as declared as a control.
in fact I say
dim control as control
for each control in Me.controls
.
.
If Len(Trim(cntrol.Caption)) > 0 Then
With frm.picSG15But(intCounter)
intButtonCounter = intButtonCounter + 1
.Visible = True
.Enabled = True...
Windows Vista VB6 SP6
I have a control array where all properties are being set except for Visible I try to set it. When the line executes it setps over and appears to execute successfully, the line below (Enabled) behaves the save except that the Enabled value is set and the Visible property...
ActiveX Component Can't Create Object" error when trying to create an outlook object in IDE is resolved by turning of the compatibility mode, for the VB6 ide. Once this is done all works as it should, and the source code behaves as per the exe does.
So thank you everyone this issue is now resolved.
When I build the application the EXE behaves itself and sends an email but running in the IDE it fails.
A secondary issue is now I need to get outlook 2013 to display html. and following the instructions to 'Display as HTML' does not work. !!
I know but my company want to do it this way.
However I think they are going to have to change their minds.
I will look up your thread on CDO for tomorrow.
The source code is good as it works with other editions off outlook, the PC is a dev box.
It appears that outlook 2013 does not ship with all the older dlls required to allow vb6 to automate sending emails.
I am experimenting further.
This is not difficult to do, but I am getting ActiveX Component Can't create object when I try to create an object. I have added a reference to Microsoft Word 15 Object Library.
and here is the code:
Dim objOutlookApp As Outlook.Application
Dim objNameSpace As Outlook.NameSpace...
Tedsmith,
I have almost resolved the issue, firstly when looking at the hex output i need to send a cr and lf which in text mode was not showing up when the original software sent its signel, secondly i need to check what is returned and wait for an acknowledgement return string, where as i was...
strongm
Yes i am using portmon and what a cool tool it is.
You may be right as on further investigfation there are two non priable characters the current software sends i thin htese are <cr><lf>.
When i get some instrument time (instrument is in use most of day) I am going to record the...
Thank you tedsmith for your reply, sending si nto an issue I can see vai a port monitr application the data going accross. but am not able to receive any information back si i know my comm port configuration is correct as far as sending ( and have used the settings manufature has provided.
I...
i am using VB6 to talk to an instrument via comportm port, using a portmonitor i can see the strings being sent all ok. I cannot however seem o get a response back to my request.
I am using the mscomm control and trying to receive the repsone, whioch should be an acknoloedgement via the...
I have a Crystal report in memory the dataset is populated but when i try to export to pdf all i get is a blank report.
The code is below can someone spot what i am missing?
Dim crystalReport As ReportDocument
Dim strFileName As String
Dim strExportPath
For Each...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.