I am trying to use CDO to email an excel document as an attachment. I retrieve the attachment from an email and am trying to forward it to someone else. I am able to retrieve the attachment from the original email, but when I go to send it out again, the excel file cannot be opened. It attaches...
I have a datagrid that is not populated from a database, but from a textbox everytime the ADD button is clicked.
I create a datatable with 2 columns, and assign it to a dataview and rebind the datagrid. All works well, until I have a second or third record to add to the datagrid. It keeps...
I have an ID textbox and a Description textbox on a web form. I want to capture the data entered into the ID text box, when the focus is lost from it, or the focus is on the description text box.
I don't see a text box event I can use for this. Can anyone help?
Thanks.
Hello,
I've got a stored proc that inserts into a temp table, and returns a recordset. This works fine when I run it in SQL Analyzer, but when a function in VB6 tries to access the recordset just returned, I get an "Operation is not allowed when the object is closed" error. This happens if I...
How do I prevent the lostfocus event from firing before
a click event fires?
I have a button that I use to SAVE information in a form. There is another text box in this form that has code in it's lostfocus event. When I click on the SAVE button, instead of running the code behind that button...
I would like to know if there's anyway to
have your own button in a msgbox() function.
Instead of the standard constants vbYes, vbNo,
vbCancel etc. I just want a button to be called
say "Do This" instead of the standard ones.
Any API or something else someone can point me to?
Thx
Hi all,
I am trying to have 2 columns with a checkbox in each in a listview control. Is that possible?
On the properties of a Listview, I only see the Checkboxes option at the control level, and not at the column level.
Any help would be appreciated.
Thanks.
I have my VB app running a DTS package to load some data.
When I compile the VB app, and run it on a client workstation, the app errors out saying that it can't create
an ActiveX object.
I tried registering the dtspkg.dll on the client's machine, but regsvr32 won't work on this file.
I...
I had to rebuild my system recently, and ever since that day, I haven't been able to make an exe. I get an error :
"License information for this component not found. You do not have an appropriate license to use this functionality in the design environment"
I use a few third-party...
When I press F5, it tells me it can't debug the application. I have the settings set for debug=true, etc, everything that the Help tells me to do.
Anyone else have/had this problem?
Thanks
Does anyone know of a control (intrinsic or third-party) that would allow me to include a Check box as a column in a combo box, and is not read-only?
I tried the Sheridan OLE DB Combo box control, but the check box style seems to be read-only. I can't have the user select the box.
I don't want...
Here's my situation:
TableA --> TableB - 1-Many relationship
for the following query:
select * from tableA inner join TableB
on tableA.ID = TableB.ID
and my result brings back 2 records in TableB that match 1
record in TableA, how do I limit the query to output only 1 record from TableB...
I have a table called Machine 2 of whose columns are called MachineSerial and MachineModel. I've got values like V4 and V4-2B in the MachineModel column. I would like to know all records that have either a V4 or V4-2B in the MachineModel column that have the same serial number in the...
This problem may sound trivial, but am going crazy.
I have an application that when minimized in runtime, doesn't display an icon in the taskbar. So everytime I switch between tasks, I have to to the Windows Task manager, and activate it that way, its really irritating.
I know I haven't done...
Hi all,
I would like to display an icon in the subitem of an list view. Does anyone know how to do this? In the control, there seems to be a way of assigning an icon to the ColumnHeader, but that doesn't seem to work.
Do you know?
Has anyone seen the following error on the XMLHTTP object?
"Internal server error". The xmlhttp.Status value is 500.
This happens when I try to send a dom document to an asp page using XMLHttp.Send domdocument. I have even tried using XMLHttp.Send domdocument.xml
Please help!!!!
Thanks.
I am trying to run a stored procedure that outputs the results of the query in XML format, using FOR XML AUTO.
Now, on the visual basic 6 side, the adodb.recordset object obviously won't work to retrieve the recordset. What do I use?
Any sample code available?
Can anyone help?
Thanks.
I am having some trouble connecting to my SQL server database. The name of the server as listed in Enterprise Manager is PIPE2PAT-CIV8A2\GRETZKY (Windows NT). This is under a SQL server group.
Here is the code I'm using in ado.net
SqlConnection nwindConn = new SqlConnection("Data...
Is there anyway, I could use the printer object, or an API or something that could print the contents of the screen programatically?
I was thinking of using the send keys method, but that probably wouldn't work.
Any ideas anyone? Thanks a lot.
Kevin
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.