Question about Microsoft Computers & Internet

3 Answers

VISUAL BASIC 6 WORD 2000

Hello
I write an add-in for Word 2000. It is an .dll
I need a Word 2000 event, like KeyPress and KeyDown events of the Forms in Visual Basic.
This event has to be fired when the activeDocument has the focus andthe user press a key e.g. a letter. I want to know which letter is soto act accordingly, change it or not etc.
Thanks in advence
Malog

Posted by on

  • malog1 Sep 18, 2008

    Thanks for the answer.
    I mean that I need to know which letteers has the user hit in Word2000 so I can implement my own spell-checker.
    Malog


×

3 Answers

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    President:

    An expert whose answer got voted for 500 times.

  • Master
  • 1,952 Answers

Http://arbomilieuf.phys.tue.nl/lich_belasting/A%20List%20of%20Useful%20%20O

use tis link to get an short cut key used for both vb and offivce

Posted on Sep 17, 2008

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    Superstar:

    An expert that got 20 achievements.

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

  • Master
  • 4,472 Answers

Http://msdn.microsoft.com/en-us/library/aa271089(office.10).aspx
Don't know if you have tried this source but everything you could need is basically there. If you find this helpful at all and have a moment to accept and rate the solution accordingly it would be greatly appreciated.
Thanks,
Lee

Posted on Sep 17, 2008

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Guru:

    An expert who has written 7 tips or uploaded 3 video tips

  • Master
  • 1,894 Answers

You mean that you want to create a short cut key for bringing up the applications in screen when pressed by user in word 2000 right??

and you want to use VB for doing that??

Posted on Sep 17, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How to print database in vb


To Print a Database you would require to create a Report. There were many ways of creating reports in Visual Basic 6.0. Hereby I am giving you an example of Data Report.
Printing a Data Report
Printing a data report can be accomplished in one of two ways. The user can click the Print button that appears on the data report in Print Preview mode (using the Show method), or you can programmatically enable printing using the PrintReport method. If an error occurs during printing, trap it in the Error event.
Choosing to Display a Print Dialog Box
When printing a report programmatically, you have two choices: to print by displaying the Print dialog box, or by printing without displaying the dialog box.
To display the Print dialog box
  1. Add a CommandButton to a Form.
  2. In the button's Click event, place the following code.
DataReport1.PrintReport True The Print dialog box allows the user to select a printer, print to file, select a range of pages to print, and specify the number of copies to print.
Note Printers must be installed on the computer in order to present a choice of printers.

Printing Without a Dialog Box
In some cases, you may wish to print the report without user intervention. The PrintReport method also gives you the option of selecting a range of pages to print, either all, or a specified range.
To print without displaying the dialog box
  1. Add a CommandButton to a Form.
  2. In the button's Click event, place the following code:
DataReport1.PrintReport False
Or, to specify a range of pages to print, use the code below:
DataReport1.PrintReport False, rptRangeFromTo, 1, 2

Mar 11, 2014 | Microsoft Visual Basic 6.0 for PC

Tip

Avoiding the Beep


When you're entering information into a text box and press <Enter>, you'll hear a beep. You can easily avoid this behavior. To do so, place a text box on your form (Text1). Enter the following code in the KeyPress event:

Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
KeyAscii = 0
End If
End Sub

on Apr 23, 2009 | Microsoft Mlf Visual Studio Enterprise...

1 Answer

Error reading event file


The EVT files include the event log messages as they are stored by the system. Each message is composed of an ID (that is, the message itself) and a number of insertion strings. The IDs are translated into strings through the use of messages DLLs.

All the application event logs messages DLLs are defined under the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\ Application

All the system event logs messages DLLs are defined under the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\ System

For example, the TCP/IP service's message DLL is defined under the following registry entry:
Key = HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\ System\TcpIp Value = EventMessageFile REG_EXPAND_SZ %SystemRoot%\System32\ netevent.d

Therefore, all the TCP/IP event log messages are defined in the DLL netevent.dll.

When the user double-clicks an event for which the message DLL is not defined in the registry, the message string cannot be displayed and the following message is displayed: The description for Event ID (51) in Source (aservice) could not be found. It contains the following insertion string(s): ... Below is a description of a way to read the system event logs of a computer with WINS on a computer without WINS. This sample can be adapted for any application or system component.

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

The following operations are required:
  1. On the computer with WINS, run REGEDIT and select the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\ System\Wi
  2. On the Registry menu, click Export Registry File and select a file name (for example, Winsreg.reg).
  3. On the computer without WINS (for example, the one used to read the system event logs of the computer with WINS), run REGEDIT. On the Registry menu, click Import Registry File and select the file Winsreg.reg previously saved on the other computer.
  4. You should now have the following registry entry on the target computer (that is, the one without WINS):
    Key = HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ EventLog\System\Wins Value = EventMessageFile REG_EXPAND_SZ %SystemRoot%\System32\ winsevnt.d

    You now need to copy the file defined in the EventMessageFile registry value in your System32 directory. If X: is mapped to \\wins_server\admins$, you can run the following command: copy x:\System32\winsevnt.dll %SystemRoot%\System32\winsevnt.dll
    Of course, the file may be copied somewhere else, but in this case you need to edit the EventMessageFile registry value manually so that it points to the directory with the DLL.
  5. Close all the instances of the Event Viewer and rerun the Event Viewer. You should now be able to dump all the WINS events.

Nov 14, 2009 | Cosmi Print Perfect Platinum

1 Answer

Visual Basic Timer with 1 ms interval


The timer tool will work only if its enable property = True and if its interval is set(in millisecond). thenin the event "Private Sub Timer1_Timer( )" you can take your readings

Feb 27, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

An example of visual basic program


Visual Basic (VB) is the thrid generation event-driven programming language and integrated development enviorment (IDE) from Microsoft for its COMprogramming model. VB is also considered a relatively easy to learn anduse programming language, because of its graphical development featuresand BASIC heritage.
Here is an example of a code that displays a message box "Hello, World!"
as the program runs:

Private
Sub Form_Load()
MsgBox "Hello, World!"
End Sub

simply making duplicated lines of text and changing the words in the
speech marks can draw a different text and ammounts.
For example:

Private
Sub Form_Load()
MsgBox "Welcome, blue_skies61!"
MsgBox "My name is Siwek06!"
End Sub

you can also bold the text by puting this line before a text:

Sub SetFontBold()

Overall i think this is a easy language to learn.
Go on to microsoft.com help center, or the forums to learn more.


Feb 23, 2009 | Visual Land V-Touch Digital Media Player

1 Answer

Visual basic dot net


In the button's click event, type:

System.Diagnostics.Process.Start("http://www.yourwebsite.com")

Feb 18, 2009 | Microsoft Visual Basic .NET Standard 2003...

1 Answer

VB With MC9090S


Hello,
If you are willing to use VB.NET, then it will be easy. You would need the Symbol EMDK. With that and VS2008 (Express should be fine as well), you only need few coding steps:

1) Add reference to dlls
Symbol.dll and Symbol.Barcode.Dll

2) Finder a scanner
s = Symbol.Barcode.Device.AvailableDevices.First()

3) make a reader
r = New Symbol.Barcode.Reader(s)

4) add data
d = New Symbol.Barcode.ReaderData(1, 1024)

5) enable laser
r.Actions.Enable()

6) enable reading
r.Actions.Read(nrd)

7) add handler
AddHandler r.ReadNotify, AddressOf r_ReadNotify

8) read data in event
msgbox(d.Text)

That is all there is too it. Good day.

Jan 22, 2009 | Symbol MC9090 Barcode Scanner

2 Answers

Vista driver for 1200S scanner


Install on Vista and Windows 7 using driver files from a XP installation. Copy the following driver files from XP: umax.inf, layout.inf, sti.inf, scsiscan.sys, sti.dll, umaxscan.dll, umaxud32.dll, umax.pnf (this may be more files than you need, but it works). Edit the umax.inf file to remove all by the 1200s/SCSI related sections (or copy it from below). Perform a manual installation of the 1200s and select the umax.inf installation file that you copied and edited. This worked perfectly. My Umax 1200s is recognized and works great in Windows 7.

Umax.inf:
; UMAX.INF -- Windows Still Image Setup File
; Copyright (c) 2000 Microsoft Corporation
; Manufacturer: UMAX DATA SYSTEMS INC.
[Version]
LayoutFile=Layout.inf
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
DriverVer=07/01/2001,5.1.2600.0
[ControlFlags]
ExcludeFromSelect=*
[DestinationDirs]
DefaultDestDir=11 ; LDID_SYS
[Manufacturer]
%Mfg%=Models
[Models]
;no button will be supported on inbox UMAX driver.
%SCSI\UMAX____ASTRA_1200S_____V.DeviceDesc% = SCSI.Scanner, UMAX____ASTRA_1200S_____V

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Device section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; All SCSI scanner (600S, 610S, 1200S, 1220S, 2400S, 2200-SCSI)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[SCSI.Scanner]
Include=sti.inf
Needs=STI.SCSISection
SubClass=StillImage
DeviceType=1
Capabilities=0x30
DeviceData=Scanner.DeviceData
AddReg=Scanner.AddReg, SCSI.Scanner.AddReg
CopyFiles=Scanner.DriverFiles,Scsi.Scanner.CopySys32Files
DelFiles=SCSI.Scanner.DelSysFiles
ICMProfiles="sRGB Color Space Profile.icm"
UninstallSection=SCSI.Scanner.Uninstall

[Device.Events]
; These are events that this device supports - uncomment the events
; supported by this scanner and provide a description for the
; event and the name of the application to launch. The name of the
; application is the name which the application uses to register itself
; with the STI.
Event1=%EVENT_1%,{2DA39CE1-4F33-11d3-9859-00104BF5E7FA},%APP_TO_LAUNCH_1%
Event2=%EVENT_2%,{2DA39CE2-4F33-11d3-9859-00104BF5E7FA},%APP_TO_LAUNCH_2%
Event3=%EVENT_3%,{2DA39CE3-4F33-11d3-9859-00104BF5E7FA},%APP_TO_LAUNCH_3%

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Services (no meaning on Win9x)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[SCSI.Scanner.Services]
Include= sti.inf
Needs= STI.SCSISection.Services

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; DeviceData
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Scanner.DeviceData]
TwainDS="WIA-UMAX TWAIN DS"
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
[Device.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
; Flags which indicate which events should be recognized by the minidriver
; To recognize an event set the value of its mask to 1 to turn off an
; event set its eventmask to 0.
EventMask1=0
EventMask2=0
EventMask3=0
; The time interval between two subsequent activations of the event
; button on the scanner - If the time between activations is less than this
; then the event will be ignored. This value has to be specfied in milliseconds
; it must be larger than half a second and not more than 10 seconds.
DebounceTime=5000
; Enable polling for buttons event if 1
POLLING=0
; Enable Set Remote Wakeup (for LM9832/3, or LM9831 with updated EEPROM)
REMOTEWAKEUP=0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; AddReg
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Scanner.AddReg]
HKR,,HardwareConfig,1,2
[SCSI.Scanner.AddReg]
HKR,,USDClass,,"{92bf9f20-ca15-11d0-8350-bc0a6bbd28e3}"
HKCR,CLSID\{92bf9f20-ca15-11d0-8350-bc0a6bbd28e3},,,"UMAX WIA"
HKCR,CLSID\{92bf9f20-ca15-11d0-8350-bc0a6bbd28e3}\InProcServer32,,,%11%\umaxscan.dll
HKCR,CLSID\{92bf9f20-ca15-11d0-8350-bc0a6bbd28e3}\InProcServer32,ThreadingModel,,"Both"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copy files
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Scanner.DriverFiles]
umaxscan.dll
umaxud32.dll

[SCSI.Scanner.CopySys32Files]
;scsiscan.sys
;scsimap.sys
[SCSI.Scanner.DelSysFiles]
[SCSI.Scanner.Uninstall]
DelFiles=SCSI.Scanner.DelSysFiles

Jan 12, 2009 | Umax Astra 1200S Flatbed Scanner

1 Answer

Edit unbound msflxgrid rows save changes in database


unbound FlexGrids do not directly accept data entry, but can accept data through the FlexGrid's KeyPress event or via a Textbox

For more detail see

http://www.pbdr.com/vbtips/gen/Article-UsingFlexGrids%282%29.htm

Dec 12, 2008 | Microsoft Windows XP Professional

1 Answer

Visual Basic


Hi Buddy,

Create 2 buttons for previous and next in a form(say, current_form). take the previous form as 'prev_form' and next form as 'next_form' then
write a code in the previous button command click event as

prev_form.Show()
current_form.Hide()

write a code in the next button command click event as
next_form.Show()
current_form.Hide()

Please let me know if you have any concerns

Sep 02, 2008 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

86 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2642 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18354 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...