|
Then I would say it is the Adobe Reader plug-in, as the tool bars present in the frame are the Adobe tools.
|
|
|
|
|
I need help downloading only the new files from an FTP server. There are more than 30,000 files in a table and I only need the most recent files. The files are by date and time. Any help would be great! Thanks.
|
|
|
|
|
So what's the problem?? You're going to have to get the entire list of files, keep track of what files are there. The next time you get the list, compare the new list to the old one. You've got your list of new files to download then. Download them, keep track of which ones you've successfully downloaded. Once you get the files downloaded, you've got your new list of files you have.
|
|
|
|
|
Hi,
I need to write a script(using vbscript) to send a XML content to the X-mailbox. My mailbox has been configured in Lotus notes. I'm currently using the script like below, but here while sending a mail I want to set the mailcontent type as 'Text\plain' or 'MIME message' type. I should not send a mail which is in Richtext format.
Please can anyone help me to find the solution for this?
function sendemail(emplnum,msg,subject)
dim objNotesSession, objNotesDoc, objNotesDb, objNotesBody
Set objNotesSession = createobject("Notes.NotesSession")
If objNotesSession is Nothing then
msgbox "Could Not create a Session of Notes", 16, "Notes Session Error."
end if
'call objNotesSession.Initializeusingnotesusername("IT-TeknionMalaysia","coffeetime99")
set objNotesDB = objNotesSession.GETDATABASE("TFSMDMS1","mail\slim.nsf")
'Create the mail document
set objNotesDoc = objNotesDB.CREATEDOCUMENT
'set objNotesDoc.ReplaceItemValue("Form", "Memo")
set objNotesBody = objNotesDoc.CreateRichTextItem("BODY")
set curEmployee = new Employee
'Response.Write "employeenum:" & emplnum
curEmployee.GetEmployeeInfo(emplnum)
if curEmployee.err = "" then
With objNotesDoc
.Form = "Memo"
.subject = subject
.Sendto = "seokbee.lim@teknion.com"
.body = msg
.postdate = Date
End With
if true then 'true for real email, false if testing
if objnotesdoc.send = false then
Response.write "The email could not be sent, " & _
"please notify your employee on the status of his/her leave application.<BR>"
response.write emailmsg.log
else
Response.write "<center>An email has been sent to notify " & curEmployee.Name & " of the leave application.</center><br>"
end if
else
'response.write("To: " & curEmployee.Name & " <" & curEmployee.Email & ">" & "<BR>")
'response.write("From: " & emailmsg.From & "<BR>" )
'Response.Write("Subject: " & emailmsg.Subject & "<BR>")
'Response.Write("Body: <BR>" & emailmsg.HTMLBody & "<BR>")
end if
else
Response.write(curEmployee.err)
Response.End
end if
end function
|
|
|
|
|
Hi all, I am very very new to VB and I am trying to use the web control to populate a form on an external website.
I am able to load the site in the control on a form and have added a text box and a command button.
On pressing the command button I am trying to populate a form field on the website with the contents of the texbox.
I have tried all sorts of combinations but none have the desired results.
Any help really would be greatly appreciated.
Thanks in advance.
|
|
|
|
|
The WebBrowser control exposes a Document property that should let you access the DOM document members. Something like this?
WebBrowser1.Document.GetElementsByTagName("Input").Item(0).SetAttribute("Value", myTextBox1.Text)
|
|
|
|
|
Works a treat.
Thanks VERY VERY much.
|
|
|
|
|
Hi,
I have a small project, and after to publish, when I run the setup.exe, the image "Launching Application"
is showing first, and next my project is running.
Ps: Some are said, give 1 splash screen, it will disable that image. I arranged a splash screen, but still that image is appearing first.
And I received another idea, From Pulish Tab -> Update button ->Uncheck, I checked but still appearing that image.
So, any other idea? My application startup with form2 - mdi parent then from its load , I called splashscreen...
Either my splash screen calling is not the proper way?
And better ideas for me?
Thanks
|
|
|
|
|
What sort of app is it, that it shows a message like that ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Once we create a project, and give publish, then the setup.exe is created, and when we run the setup.exe, this message is showing first, after the project is working well.
So anyideas for me?
|
|
|
|
|
The logo seems to be a part of ClickOnce. It's suggested in this[^] post that it can be removed
|
|
|
|
|
I hadn't noticed this before. I think someone else worked out the solution, which is lucky for you, given that you utterly failed to answer my questions.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I have a granddaughter who loves to play infant games on the net. But she always hits the ctrl keys etc. which pops up windows etc. Can these be disabled for a short period of time?
|
|
|
|
|
You'd have to write an app that implements a global keyboard hook. You will receive the keyboard messages before they are dispatched to their destination application window. In your hook procedure, you have to determine if you're going to let the keyboard message through or not. If not, you just don't pass it up the hook chain, essentially "eating" the keystroke.
There are plenty of examples of how to implement a keyboard hook[^].
|
|
|
|
|
Thank you Dave! Roxy, my Granddaughter, thanks you as well....
|
|
|
|
|
In addition to Dave's good answer, you might be interested in the AutoHotKey[^] macro program. You can remap keys with this utility, it's free, and it's pretty simple to use.
|
|
|
|
|
Thank you! This might be easier than writing the code myself. Although it would be a great exercise in patiences.
|
|
|
|
|
|
Yep! It's great being a grandpa! Thank you for the links!
Larry
|
|
|
|
|
|
I'm maintaining some old VB6 code (eventually will be moving to VS2008)
It has many circular references between objects.
I'm looking for a way to enumerate the outstanding object references remaining at the program end to be able to verify that the circular references are all disposed of properly.
Also, is there a way to get some notification or callback with a reference is defined?
Thanks,
Chuck
|
|
|
|
|
cvogt61457 wrote: It has many circular references between objects.
It sounds like you've got a serious design problem. Except in a limited number of cases, an object graph should not have circular references, unless absolutely necessary. I would highly recommend rewriting the app to remove this condition if at all possible.
cvogt61457 wrote: is there a way to get some notification or callback with a reference is defined
There is no such event or callback to subscribe to unless the class that you're instantiating supplies it.
|
|
|
|
|
Hi all,
i want to traverse n-ary tree?
can someone help me please?
|
|
|
|
|
That's pretty general. Do you have any more specific information for your context?
|
|
|
|
|
Please read the forum guideliness; cross-posting is a no-no. We're here to help if you get stuck on a particular piece of code, but you need to ask a more specific question.
|
|
|
|