Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Finding window name

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2008, 08:08 PM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 42
Awards Showcase
Beta Tester 
Total Awards: 1
Default Finding window name

Hi everyone
I am trying to pass some info to excel
Excel must be open and the cursor in the starting cell
I want to pass eg. 12.005 plus a Enter character Chr(13) to move to the next cell
I have used Dzt usefull library dzHW-3 and changed the test program and i have partial sucsess
dz.bringwindowTo Front needs the the name to be spot on
if i use dz.BringWindowToFront("Microsoft Excel - Book1")
then it works
but if I change the file name in excel it no longer works.
so
how would i use
r = FindWindowLike(hWnds(), 0, "Microsoft Excel*", "XLMAIN", Null)
to find the correct name for the window, when the file name Book1 changes
and
how do I pass enter (chr(13)) i get an error when i try
error= input string was not in correct format
I have looked at Winuser.h and it may as well be writen in some strange language, because I simply don't understand it at all.

Please can someone help
thanks Friedrich
Attached Files
File Type: sbp test to excel.sbp (1.9 KB, 10 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Always on top Window francisco cobos Questions (Windows Mobile) 3 11-12-2008 07:28 AM
Finding those important forum posts enonod Code Samples & Tips 0 05-30-2008 08:02 AM
Finding phone's IP? XHorntail Questions (Windows Mobile) 4 05-14-2008 03:58 AM
Finding the parent of a control willisgt Questions (Windows Mobile) 3 02-15-2008 06:53 PM
Finding DLL on PPC paul j Questions (Windows Mobile) 11 09-30-2007 02:35 PM


All times are GMT. The time now is 03:23 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0