Thanks for the link, it was just what I wanted.
Basically, someone else having the same problem and getting the same solution of re-setting the current directory.
Seems daft though that there is no definate way of releasing the directory lock.
We have a C++ dll that is uploaded to intranet users to allow them to select file names.
This uses the GetOpenFileName function with the OPENFILENAME structure.
The basic concept works, however there is an unwanted side affect that we cannot find any reference to.
For windows 98 SE and prior...
Hello
Sorry, forgot that the listbox has a base object collection rather then a strongly typed one.
The following should do it;
'to iterate through choose one of the following
For I As Int32 = 0 To ListBox1.Items.Count - 1
Select Case True
Case...
Hello
Something along the following lines would be more suitable for list iteration;
For Each itm as ListItem In lblList.Items
'itm is the actual listItem and provides you with
'all accessible properties/methods
Next
Hello
I had the same problem a while ago.
My solution was related to the printer not having PCL support. I believe most HPs use postscript (PS) drivers by default, which will cause Crystal to render incorrectly.
If you install the latest PCL drivers for this printer and try again it should...
After a bit more toing and froing I eventually found the problem.
The 'getElementById' method does work using 'uscQryColz5_rblBoolean_0', the problem was that for some reason I'd started appending 'Form1.' to it.
Apparently 'getElementById' has no regard for the form level.
Thanks for all your...
Re: BillyRayPreachersSon
That's what I thought! However, this is asp.net rendering controls derived from the RedioButtonList (within a usercontrol). I have found no simple way of controlling the name. I specified the id (which is rendering as expected) but the name is auto generated.
Re: tsuji...
Hello
I'm passing in two strings, the element name/id (i've tried both) to 'sArgs' and the element type to 'sType'.
So both parameters are simple strings.
My radio buttons have the following structure (in form1);
<input id="uscQryColz5_rblBoolean_0" type="radio" name="uscQryColz5:rblBoolean"...
Hello
I seem to have hit a mind-bendingly awkward problem using GetElementsByName to get a radio button group and select a particular item.
Following is a portion of the code I am trying to make work.
function doDataPopup(sArgs, sType) {
var RetVal;
var oObj;
RetVal =...
Using the 'ServiceProcess.ServiceController' namespace and class I can get almost all the information I want regarding services and devices, and manipulate them.
However, (as usual with .Net) the last bit of information I need is the actual path of the service and the account it runs under...
I ask a user to select a file from the "A:" drive.
Then they exit the application.
When they restart the application there is no floppy in the "A:" drive and when I call "Connection.Open" (ADO 2.6) VB6 always checks the A drive (and displays the 'cannot read drive...
I would say if you can use a command to complete an update then that is prefferable, mainly because you are allowing the server to do the work and all you are passing across the network is the update query, rather then trying to maintain an updatable recordset.
There are some quite resonable...
Hello
Try the following
Private Sub loadChild(ByVal FileName As String)
Dim nForm As New frmChild
With nForm
.picMain.Picture = LoadPicture(FileName)
.picMain.Align = vbAlignTop
.picMain.Align = .height
.Caption = FileName
.Show
End With...
Hello
Yes there are issues if you use the connection object to execute.
It is best to use the command object i.e.
Dim comA As New ADODB.Command
comA.ActiveConnection = ConnectionObject
comA.CommandText = "Update table1 set field1 = 'text1'"
comA.CommandType = adCmdText
comA.Execute...
Hello
You're nearly there, try the following.
sName = Trim(InputBox("Please Enter Doc# Below.."))
strRS = "SELECT * FROM table1 WHERE doc# = " & Left(sName, Len(sName) - 3)
Check that the condition field 'doc#' is called exactly that.
Hope this helps
Hello
Yes, once you reference the Domino objects in VB you have the same functionality as Lotus Script.
When you say the docs are stored as text do you mean;
a) The document is stored as a streaming blob object
b) As the Rtfs contents in a large char field
If a then you will need to extract...
A couple of things.
You must have error trapping set to 'Break on unhandled errors' (this because it's trying to use an open instance before creating a new instance and the only way to trap it is to trap the error)
Also if you are using Word 2000 you need 'Word.Application.9'
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.