I have managed to add buttons and command bars to several Office applications (so the applications can use my add-ins) using Interop services in VB.NET, but now I am trying to add a line to the menu that appears when you right click on a contact, and ofcourse I need thet menu item to raise the...
I wrote a program that needs an MS Access DSN. The client always forgets to install the DSN on the computers and as a result the program does not work. I want my program to be able to add the DSN in case openning it fails.
I tried an example using DAO's RegisterDatabase, but I do not know what...
I am trying the use the distribution lists in Outlook, but for my application I need to get the phone numbers of the contacts. The distribution list members are of type Recipient, which does not have phone numbers, but if you open a member in outlook it will give you the original contact that...
The 46xx series phones have a dual gatekeeper, which means they can re-register themselves with a secondary server if the primary server failes. This works with the Communation Manager and Definity based systems, but so far I didn't get a definite answer whether this is possible or not with an...
I wrote a COM add-in for Office with VS2005. The add-in should load when the application (Excel or Outlook) loads.
On the computer which I wrote the program everything works, but when I install the package VS creates as a setup on a new computer, Excel and Outlook do not load the add-in.
What...
I made a COM add-in for excel and I manage to get everything except for the collection of the selected cells. In VBA there is a collection called Selection and from what I understood the Excel.Application has a Selection collection as well, but I do not know how to access the members of this...
I was trying to do something like this:
CREATE PROCEDURE `UpdateField` (FieldName VARCHAR(45), NewValue VARCHAR(45))
BEGIN
UPDATE users SET FieldName=NewValue;
END
I get a runtime error saying the field "FieldName" does not exist - I need the SP to look into what's stored in FieldName and...
I am starting to learn how to use this feature of MySQL, and I was wondering if there is some site with a tutorial on how to use it, since the MySQL documentation is very basic.
I have two major problems with Access following (I assume) some updates download from Windows Updates.
1. Linked tables - In the linked table manager I see no tables. On some machines with Windows 2000 I cannot link new tables with Access 2000 or XP/2003 - Access exits with an error, however In...
I am tryeing to write a code that creates a temporary table in a MySQL database, and then creates a linked table. I use a TableDef object to link to the new table, but the resulting table is read-only. How can I make it possible to write to it?
Here is my code:
Dim dbs As Database
Dim tdf As...
I am trying to write a small server that will recieve and send data as if it is an HTTP server. Recieving the data works fine, but the result I send is unacceptable by the client. When using telnet I can see that the result is sent, but apperantly there's something missing.
This is how I send...
I have been using MySQL 4.0.13 for quite some time now, it seems to be working fine except for two problems:
1. It loses connection when I use Access as a client (Could be a firewall problem).
2. Tables get corrupted.
While checking out MySQL's site, I found out that 4.1 is in no longer in...
I installed SuSE 9.1 and installed TightVNC on it. I connect to it from a Win2000 computer using RTVNC (or any other VNC client), but all I get is a blank screen with an X cursor. Once I managed to connect via a browser (with Java) on port 5801, and I got a shell, but now I get an empty screen...
In my office I work with a Windows 2000 Pro machine, and my boss works with an XP Home. His network speed is very slow comapared to my 2K machine, but I always thought it was baceause of insufficient (256MB) memory or weak (P4 1.7GHz) processor or the combination of both.
Today I installed XP...
I am using the try/catch method to trap exceptions. How can I find out what kind of an exception I get with catch (...), and how can I get the exception's related data?
I want to create a table through VB code in access by creating a new TableDef and the a new Field:
Dim dbs As DAO.Database, tdf As TableDef, fld As Field
Set dbs = DBEngine.Workspaces(0).OpenDatabase("C:\db1.mdb")
Set tdf = dbs.CreateTableDef("tblTask2Stud")
Set fld =...
I recently moved from MS Access to MySQL and discovered a small problem with strings containing "\". If I insert such string to a database using an ODBC connector with Visual C++, all the "\" are dropped. For example: "Z:\Mertel\Saturn" becomes...
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.