Installation On Windows 2000 And Outlook 2000
I have a vb application developed on a windows 2000 machine with outlook 98. i used the package and deployment wizard to create the package. The package seems to install fine on a windows 2000 machine with outlook 2000 but when the user ran the application it opened the login form and after entering the user id and password after clicking ok, windows prompts for the outlook 2000 cd. The application worked fine only when the user put the outlook 2000 cd and windows could find the file it was looking for. i assume it is probably looking for some dll but it is kind of strange. Please help. Is there something in the package and deployment wizard?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
VB6 Service On Windows 2000, Sending/recieving Mail Via Outlook 2000
I have a service running, when I try to connect to a MAPI Session it gives me an "-2147221231 Collaboration Data Objects - [MAPI_E_LOGON_FAILED] (80040111)" error.
If I run it as just a regular Executable and NOT a service it connects fine...
I pass the profile on the .login line....
Windows 2000 Installation
I have a problem installing on some win2000 platforms, but other clients have no problem. I catch an error telling me to restart the computer because of initial settings, but when restarting nothing happens and the message occurs again. I have used P&D wizard, on my own PC the Data Access 2.0 is working, but when I try to install on some other PC this problem occurs. I have no problem installing to Win95, Win98 and WinNt.
The Setup message says:
"Setup cannot continue because some system files are out of date....."
"Do you want to restart?"
VB6 - Windows 2000 Pro Installation Problem
I'm fairly new to the VB world and I am trying to install VB6 onto Windows 2000 Pro. The install is fine and the IDE comes up fine but when I try to run and test a form I get the following error:
"The instructions at "0x004581f1" reference at "0x00000000". The memory could not be "read".
Then no matter what I click the program crashes.
Any help would be greatly appreciated
Problems With Windows 2000 Installation
I developed a program with VB6 on Windows NT. When I try to set up the program ( via Deployment Wizard ) under Windows 2000, it says that some setup components are perimate and that Windows needs to reboot to put the new components up to date. Works for me but even when I am rebooting, it is telling me the same message over and over, as if the components were never updated
Some body knows what I am talking about ?
Installation Of VB Programs On Windows 2000
I am developing a program which I run through the Package & Deployment Wisard and sent to a client. He is however not able to set it up and get the following message during installation:
"The application or DLL C:WINNTsystemMSCOMCTL.OCX is not a valid Windows image. Please check this again your installation diskette. "
I know there is some problems in using the PDW for installation under Windows 2000, but as this is the first time I ever pack and distribute an application, I have no clue how to get around it. Any suggestions anyone?
I enclose the setup.lst (renamed setup.txt just in case the answer can be found there.
Thanks in advance.
"The Internet?? Is that thing still around?" - Homer Simpson
Windows 2000 Installation Problem
I have made an application using VB 6 and cystal reports 9 on window XP. I used Visual Studio Installer to make the installation package for this application. The installation package runs fine on the windows XP and window 98 and the application works well. However for windows 2000, the installation works fine but after installation when I try to run the application I get the following error....
Run-time error '-2147467159 (80004005)': Unspecified error.
This comes when trying to run it in Windows 2000 v. 5.00.2195 Service
The application never runs.
Any clues please!!!!
VB 6.0 Installation Problem On Windows 2000 Professional. Plz Help!!!
I am having trouble installing VB 6.0 on Windows 2000. I installed on XP machine from same CD and it got installed well .....
On running setup on Windows 2000, i get the following error:
"Setup has encountered an error in the registration database."
Then, after entering CD-Key, in the process "checking for installed components", It gives the following error:
"You must first run the installation wizard before running the setup".
And then the setup terminates...
Plz help me sort out this problem ....
Thanks in advance!
Using Access 2000 To Send Emails Through Outlook 2000
I remember running across a very small piece of code a few weeks ago but for the world of me, cannot find it now and I desperately need it. This piece of code was vbscript, it basically created an smtp server and sent mail using that smtp server instead of relying on outlook to do it.
I have an access database that needs to send roughly 520 individual messages based on criteria for that specific requested area (this is not spam either, this is requested information). It worked fine until I upgraded Outlook to the latest service packs and therefore no longer works. It prompts you with the standard MS security dialog asking for permission to send the email, I can tell it yes, it will prompt me once more, I tell it yes, then it just stops. The job process never completes. I do not want to have to revert back to an "unpatched" version of outlook and the piece of code I mentioned earlier would be ideal to use.
Any help would be greatly appreciated.
Thanks in advance
Create An New User In Windows 2000/Whistler, Or 2000 Server
I need some informations about how to create an new user account in Windows 2000/Whistler, or 2000 Server.
This is necessary because I have to create some accounts automaticaly.
E.g. I have to create accounts from 01 to 36.
On each account there stands a string before the number.
This should look like [string][number] (e.g. 2ben01).
VB.Net Beta - Opening Emails (outlook 2000) In Windows Forms
I am writing a piece of encryption software which has the ability to encrypt
emails and mail them directly from the form. The mailing side is sorted, but
when it comes to opening a mail in this software I am having trouble. I can
only access the first, 2nd, last , or second to last mail. I am looking for
a way to select any mail in my inbox, or sub folders. Has anyone any ideas?
Migration To Office 2000 And Windows 2000
I have a general question concerning Access 97 to Access 2000 migration and operating system migration.
I am in the midst of writing a program using VB 6 Professional with Access 97 as storage in the Windows NT 4.0 operating system.
We are about to change over to Office XP and Windows 2000 professional.
Are there any known issues with either change that I can prepare for now?
Using Windows 2000 To Log On Access 97/2000
Does anyone know the command in VB to take the current users login ID within W2000, and insert these credentials into a table upon login into the database? Moving this forward I would like to use this as a simple security setup
SQL 2000 Personal Ed. Installation
I had been installed the SQL 2000 Personal Ed. on my laptop which is client in a windows server 2003 domain, and the O.S. of the all the clients is widows XP professional. The SQL 2000 Personal Ed. works properly on the computer and I can establish ODBC connection from the same client to the SQL server via MS Access or VB6. The problem is that I can`t establish ODBC connection from other client. Note that I set the SQL accessing to be via windows authentication.
Is the problem with the edition features or there is some network system setting, hope to get a solution.
Your reply will be highly appreciated…
Installation SQL Server 2000
I want to install SQL server 2000 on my PC.
So I want to use my pc as SERVER and CLIENT.
Is this possible? if so, how? Where can I get info.
Our company is subscribed to MSDN, that's how I got the CD's. unfortunately there is no documentation.
Installation Of App On Win 2000 Platform
I was able to install an app on 3 PCs with no problems but got a problem on two others (all of PCs have Win 2000). On one PC I get an error message at the end of running setup program (Cannot start main setup program! (Create Process() returned error code 0x000000C1H)
Then, it tries to remove the installation files and cannot do it and I get an error message again. On the second PC I get the same error message as soon as I start the setup program.
Does anybody have any ideas what it could be associated with?
Making Vb Scripts To Run Under Installation Of Win 2000???
I didnt know where to post this, so here goes..
I want to set some options when installing a win 2000 machine. I'm about to install several machines and would like to script this with vb, vbs. Is this some API calls that has to be made? Also these scripts are very usefull when "rolling" machines to setup a new test envoirment fast...
This is what I want to do:
1. Set the "Show small icons in Start menu" to true
2. Remove the Quick launch Toolbar from the toolbar / program bar
3. Set the options Details View + Reset All Folders + Like Current
Folder in the explorer
4. Remove tray icon for locales in the tray icon when two locals are installed
5. Set numlock to true
Office 2000 Installation Starting
I have a compiled EXE that when launched causes the Office 2000 installer to start and install a bunch of fonts. The trouble is that we don't WANT those fonts installed for reasons I won't bore you with.
From everything I can see the project (which is pretty large/complex) uses only Verdana and MS Sans Serif, both of which we DO have loaded.
Any idea why Office 2k is trying to install fonts?
Installation Of Visual Studio 2000 On Workstations
Im a LAB Administrator in an University. When I install Visual Studio 2000 on workstations for students at LAB. There is a problem of rights & permissions while working in Visual Basic. Is there any different method of installation on workstations for ordinary users?
SQL Server 2000 Service Pack 3a - Error In Installation
I am trying to update my sql server 2k to service pack 3a. I am trying to do this so i can evaluate the new sql server reporting services application. For some reason, after running the two files (sql2ksp3.exe and sql2kasp3.exe) in the same order that Microsoft instructed. After doing so, i've rebooted my pc, and my system still shows i have Microsoft Sql Server 2000 with Service pack 1, and it will not allow me to complete the installation of the trial version of the reporting services until i upgrade to service pack 3.
Has anyone else encountered this problem? Any help would be greatly appreciated!
Custom Database Viewer Will Open In Windows XP But Not Windows 2000 Operating System
I have a VB 6.0 program that was created in Windows XP that allows people to view microsoft access data in a custom form using ADO technology. In order for this to work I have code that will check the users system folder to see if MSBIND.dll is in there. IF it isn't then it will install it as it is needed to view the data. The program works fine in Windows XP but now I have tested it out in Windows 200 and I get databinding errors.
I use the system function "GetWindowsDirectory" and when I check to see where msbind.dll is being stored it says C:WINNTSystem32MSBind.dll
I guess my question is, is this where I should be putting my msbind.dll? If so and the dll is not my problem, does anyone know of any problems that could be encountered by a Windows 2000 machine but not a Windows XP machine?
Windows Socket Problem Between Windows 2000 Server And XP Professional
It used to work between Windows 2000 server and 2000 professional. When windows 2000 was upgraded to XP prof., it didn’t work. It can’t connect to the remote machine.
Is it possible related to XP's config. such as firewall? i turned the firewall off and it didn't work either.
Is it might related to the new WinSock APIs from XP (Mswsock.dll)? BTW, some codes were copied online posted by Mr. Oleg Gdalevich.
Did anyone have this problem or similar problem? Does anyone has an idea what’s the problem and how to fix it? Thank you so much.
COM Add In And Outlook 2000
I am Trying to create a COM Add-In for Outlook 2000. The Add In is designed to create a "CommandBarButton" on inspector window for messages. I don't want the "CommandBarButton" to appear on the main Explorer window. Does anyone know how this is done or has any sample code?
Help With Outlook 2000
i was wondering if some1 out therecan help me out with this..
see... i have an application that reads info from a database.. i used this a lot... it works fine..
the problem is that sometimes i need to send the info from the application to somebody via email..
the thing is that when i'm composing a new email, i would like to be able to just click on an command button and the info would copy and paste the info in the email..
how can i get the name of the current email that i'm creating..??
does any one knows how to retreave that???
please let me know!!!
thanks in advance
Outlook 2000 Add-in
I created an add-in for Outlook 2000 which I want to be run when user clicks Tools->My Add-in.
I followed the MSDN articles (as crap as they are) to create the add-in. Everything worked fine, I create the DLL and it shows up in the COM add-in manager within Outlook. Problem is, no item on the Tools menu.
Here's what i did:
1. New project->Add in.
2. On Deisgner (DSR) added relevant info.
3. Didn't change anything in the form.
Function AddToAddInCommandBar(sCaption As String) As Office.CommandBarControl Dim cbMenuCommandBar As Office.CommandBarControl 'command bar object Dim cbMenu As Object On Error GoTo AddToAddInCommandBarErr 'see if we can find the Add-Ins menu Set cbMenu = Application.CommandBars("Tools") If cbMenu Is Nothing Then 'not available so we fail Exit Function End If 'add it to the command bar Set cbMenuCommandBar = cbMenu.Controls.Add(1) 'set the caption cbMenuCommandBar.Caption = sCaption Set AddToAddInCommandBar = cbMenuCommandBar Exit Function AddToAddInCommandBarErr: End Function
Anyone know how to send an email through a vb app without getting the messages: "a program is trying to access you address book" etc... ???
Anyone know how to access the selected text of a mailitem within OUtlook's VBA itself?
myitem.save <---saves to the draft folder by default
How do I change it to save to a public folder?
Outlook 2000 From VB6
I'm trying to add a menu item to the File menu on Outlook messages & contacts, etc using a Com add-in. I can add the menu item fine, but I can only get it to work on the most recently opened object, i.e. if I open two messages, then I can use the menu item on the second message, but clicking the menu item in the first message now has no result.
Any idea how to keep it working no matter how many messages are open?
MS Outlook 2000 Using VB6.0
As per my previous exprience i think i will get my
required solution.Here is problem, I m working in VB6 and i have
to read emails (from specific email addresses) from outlook
2000.At the moment i can read emails from Inbox but i m not able
to recognise sender email address.I think mailItem object dont
provide this property.Kindly give me idea how can i get sender
Thanks and Best Reagard
Com Add-in For Outlook 2000
I am trying to make a Com Addin for Outlook that will add an option to the menu to open a custom form. Overall this has been easy, but I can't seem to make an installation file for it. I even tried manually adding the registry entries and Outlook still didn't recognize it. Can anyone help?
"A computer scientist is a person who knows when it is time to hit the computer."
Hi all ,
I am using VB6. in this system there was currency exchange rates involved. now every i getting from email and open the email attachment save in to my hard disk. after that my vb6 programme convert the file in to my database.
But i want avoid the open the attachment and save to the harddisk in to manually.
is there any way to automatically download the attachment in to the hard drive.(using outlook 2000 or outlook express)
anybody know please explain?
Okay, this is my first posting on vbCity. I've got a couple of questions regarding Microsoft Outlook.
First I'm trying to find a way in VB to check if Outlook is installed. My first attempt was to set an object = to Outlook.Application (Using the Microsoft Outlook 9.0 Object Library) and trap the error. When I do this on a machine that does not have Outlook installed, it begins the install process. Is there anyway to check if Outlook is installed on the local machine without this happening?
My second question is how do I find out the outlook sessions email address? I can get the current users name, but can't seem to find a way to get the actual email address of the user.
Any help will be much appreciated. Thanks!
Is there a way out to Read .pst [Personal Folders] files from VB application.
Is there a way out in Outlook VBA where you can transfer the control to specific folder
Add In For Outlook 2000, Xp Using .NET
I want to know that Is it possible to create Addins in VB.NET for outlook 2000, XP.If yes then let me know how it can be done AND what is client site requirement for this( means Client need to have .NET framework or not).
I know about VSTO but its for Office 2003 & upper versions only and client must have .NET framework also.
Thanks in advance
Outlook 2000 And PAB
I am working on an Outlook 2000 project where I am designing an interface to build task assignments. Everything is working beautifully except that I cannot figure out how to get the PAB (personal address book) to pop up when a button is clicked so that the task can be assigned. I am trying to pull up the same one that appears when you click the "to" button on a new email. I am hoping that it is simply a few lines of code. Then again this is an MS product.
Also I am trying to figure out how to run my program from within Outlook. I need to add a button to the tool bar I would suspect. I have tried running it as a macro but outlook doesn't seem to be aware of it. I wrote the program from the VB environment in Outlook.
The beginner book I have for programming Outlook doesnt seem to have anything concerning either of my problems. If I don't have access to the PAB directly maybe there is some code out there that someone has written to bring up the address book. I can't imagine that I am the only person that wants to use the address book.
Outlook 97 / 2000 - Help!!
I am trying to make a shortcut in the outlook bar :
Set myOlApp = CreateObject("outlook.Application")
Set myolBar = myOlApp.ActiveExplorer.Panes.Item(1)
the problem is :
in outlook 2000 the code works perfectly
but in outlook 97/98 this command does not work
"Set myolBar = myOlApp.ActiveExplorer.Panes.Item1)"
Distribute A VB Program That Reads An Access 2000 Db On Machine Without Office 2000
Hi. I want to develop and package a VB6 program which will read an access 2000 database. I use DAO 3.6. Doesn't work on another machine without access 2000 installed. I've been told I can use MDAC_typ.exe in setup program BUT they said MDAC2.6 doesn't contain Jet files etc... I am a it confused. What should I do???
a) MDAC_typ.exe OR b) Copy certain files directly into the setup program. c) Have a beer?
Mail Merge Access 2000 With Word 2000/XP And Pass Variables
Hi, I debated posting in newbies, because I'm kind of learning VBA on the fly, and am not very good at all.
I am trying to Mail Merge an Access 2000 database with Word 2000 & Word XP.
I modified the code I got from the Microsoft Solution Base to try to introduce variables to allow me to merge more than one table and SQL query with more than one Word document.
This code works without the variables, when I just type everything directly. Unfortunately, I need the ability to merge multiple documents/tables.
Sorry if its sloppy code, I haven't really got much of an idea of what I'm doing in VBA yet.
Can anyone help me debug this, and maybe give me the syntax to use in my Macro for MergeIt(var,var,var)
I also need a way to email similar form letters. This is for a membership expired notice - some get mailed/faxed, so need to be printed, while some should be emailed. I've read that sendobject doesn't do so well. - is there a way to merge into Word (or Outlook) and automatically email these notices?
Thanks very much!!
Function MergeIt(docaddy, sqltable, sqlstr)
DoCmd.OpenQuery "Dues Expired Calculate"
DoCmd.OpenQuery "Dues NOT Expired Calculate"
DoCmd.OpenQuery "Dues Are Expired"
Dim objWord As Word.Document
Set objWord = GetObject(docaddy, "Word.Documents")
' Make Word visible.
objWord.Application.Visible = True
' Set the mail merge data source.
Name:="F:workooo dbOOO Main Database.mdb", _
' Execute the mail merge.
objWord.MailMerge.Destination = wdSendToNewDocument
'The following line must follow the Execute statement because the
'PrintBackground property is available only when a document window is
'active. Without this line of code, the function will end before Word
'can print the merged document.
objWord.Application.Options.PrintBackground = False
Thanks for any help!
Edited by - case on 7/31/2003 7:40:22 AM
Why Does VB Try To Install Outlook 2000?
I brought a project home on floppy disk. When I tried to run the program it launches windows installer and tries to install Outlook 2000. (which I do not have) Why is it doing this? My project does not do anything with mail.
Get Outlook 2000 PST Path(s)
I am trying to write a little backup application in VB6 for some users in our company.
Basically the users have laptops which they take off site, but they wish to backup the outlook 2000 pst files to a location on the server when they are in the office. The problem I have got is that I need to locate the "outlook.pst & archive.pst" file on their computer and then I will be able to copy the file.
I assume that this information must be stored in the system registry, but where and how do I get that information.
A quick example of the best to get the info would be appreciated.
Using Access From Outlook 2000
I would like to get a good example of how to "run queries" on an Access Database from Outlook 2000 and place results into an Oulook E-Mail message.
I have a good amount of programming experience and have recent experience "crawling" through the CDO and MAPI aspects of Outlook E-Mail (and properties), Folders and Contacts but I could use a good exemple(s) of how to run and Access Query from Outlook and then use the results.
Any examples or assistance would be great and would shorten the development time.
Outlook 2000 Email
Im trying to do the following On outlook 2000
When you click on an email in the in box it opens.
I have added a vb6 button onto the menu bar of the message.
How do I get the
from email address
Subject and attachment
info into vb when the button is clicked.
Outlook 2000 && Excel
Could anyone guide me on how to export an e-mail's (title & date & from) which is earlier then today's date to an excel sheet using outlook 2000. Many thanks and awaiting for your reply.
Outlook 2000 And Html
I got a web form that gets filled out, when the user hits submit, it gives them a nice pretty page to print (so far so good)
what it ALSO does is gets emailed to one of my clients, the layout for the email (in html) comes from a text file where I replace tags #$companyName$# for example with what was in the form....still ok...
now the problem is that when the user gets this, the email body scrolls WAY out the right side of the screen, and I dont know how to contain the thing inside the body of the email.
looks fine in office 2003 (which I used to test this) but in 2000 I cant stop this behavior.
its like putting a 5000px wide image in IE, and forces you to scroll way to the right to see it all.
the amount of data in the table isnt enough to push it that far over, so I dont know what the deal is. I have tried changing the table width to lesser values but it doesnt seem to matter.
If anyone has any ideas (or has ran into similar problems themselves) its much appreciated.
SendMessage To Outlook 2000
trying to get around the "feature" in Outlook that pops up a modal dialog when you try to send an e-mail using VBA. The plan is to shell a VB app directly before the .Send method - this VB app will look for the dialog, wait for the &Yes button to become enabled and simulate a click on the &Yes button.
No headaches finding the handle of the modal dialog or the handle of the &Yes button - trying to simulate a click event though is a different matter. I'm using SendMessage and have tried various flavours of constants. All seem to be doing stuff to the button but the modal dialog remains as if the button has not been clicked!!! Code posted below - any help greatly appreciated
Private Sub CheckForSecurityDialog()
Dim FormHwnd As Long
Dim ButtonHwnd As Long
Dim ButtonEnabled As Long
' Find the modal security dialog
FormHwnd = FindWindow("#32770", "Microsoft Outlook")
' If no dialog yet then exit
If (FormHwnd = 0) Then Exit Sub
' Find the child "&Yes" button on the dialog
ButtonHwnd = FindWindowEx(FormHwnd, 0, "Button", "&Yes")
' No "&Yes" button
If (ButtonHwnd = 0) Then Exit Sub
' Start Loop
' Is the &Yes button enabled yet?
ButtonEnabled = IsWindowEnabled(ButtonHwnd)
' If enabled send left-mouse click to button
If ButtonEnabled <> 0 Then
SendMessage ButtonHwnd, WM_LBUTTONUP, 0, 0
SendMessage ButtonHwnd, WM_LBUTTONDOWN, 0, 0
Loop Until ButtonEnabled <> 0 ' Loop until the &Yes button is enabled
MAPI OUTLOOK ... (2000 Sr 1)
I dont know if this question go here..?!?
In other case...
I get value from GAL in Outlook with macro in module1.
And all work fine..
Naturally the operation in macro scan GAL to GAL do until the condtion in
If Left(LISTA, 5) = "ATM65" Or Left(LISTA, 5) = "ATM45" Then
during the scan the macro cicling 2.600 GAL!!!!!
but i know the name of gal for my interest ...(range D)
Is possible to modify the macro and insert in find option "one to one" the value in range D....
For Each NOM In LISTA.Members
Sheets("ATM").Range("A" + RIGA) = Right((LISTA), 4)
Sheets("ATM").Range("B" + RIGA) = Right(UCase(NOM.Address), 7)
Sheets("ATM").Range("C" + RIGA) = UCase(NOM)
RIGA = RIGA + 1
go to the next gal in range D
For Each NOM In LISTA.Members
Sheets("ATM").Range("A" + RIGA) = Right((LISTA), 4)
Sheets("ATM").Range("B" + RIGA) = Right(UCase(NOM.Address), 7)
Sheets("ATM").Range("C" + RIGA) = UCase(NOM)
RIGA = RIGA + 1
LISTA = ATM6552
finish the cicling
hope you undestand me:-(