Answer Questions
Tomer Glick Adding Puspins or PolyLines using MS Ajax 1.0 ???
Hi, i want to use the scripmanager /updatepanel / MS Ajax to add / remove pushpins to VE using Visual Studio 2.0 C# asp.net. Does anybody have a decent sample in doing this or get me on the way to accomplish this task Thanks in advance.. Your getting the same problems i had, you have to make sure you use the full namespace. So to call the following webservice method i have to use the following. I don't know what the button extender is but calling the javascript function won't do it, I would suggest to use <a onclick="GetPushes('test');" href="#">Click Me</a> function callmethod() { ASM.Web.RptPrefWebApp.WebServices.Hieararchy.GetItineraryInstance(1,callmetho ...Show All
Earl Hood Launching Messenger IE Activity
Hi... I am trying to launch MSN from an internet page along with an activity that will load the internet page that is used to launch IM. In short, I want to add a link to a page that will allow someone to "IM This" or invoke instant messenger and start an activity that will allow them to discuss the page with a buddy from their list. I use the following to launch IM, but was wondering if there was an addin that exists that woud allow me to pass a URL for a page that I would like loaded in the activities window: obj=new ActiveXObject("MSNMessenger.P4QuickLaunch"); obj.LaunchApp(" ",""); It would be awesome if someone could let me know what the appId of such an addin was and how to ge ...Show All
VBtje How to Display part of a large Image?
I have a image with 2MB, I only want to get part of the image and display in a picturebox without load the whole file, how to (I'm a Chinese boy, so my Eng is not very well, forgive me) hcaihao@gmail.com Have you looked into IImage.Draw() and “OPTIONAL const RECT* srcRect” I have tried IImage.Draw() method, but still get oom error when the image is a little large. Really That's cool, could you give me a piece of code I know the code below can create a thumbnail, but how to cut the image FileStream fsImage = new FileStream("a .jpg ", FileMode.Open); IBitmapImage imageBitmap = ImageUtils.CreateThumbnail(fsImage, new Size(240, 266)); ...Show All
Sab2 Missing MouseDown and MouseUp Events
Why didn't the developers of the .NET CF not implement the MouseUp and MouseDown event for a Button in the CF More obscure is that they are implemented for picturebox and the Panel! Why not for the Button If preformance and size of the framework is an issue, i would implement them for the button and not for the picturebox. I readed the workarrounds for this problem (Subclassing through native code as discribed by paul yao and david durant in their book) or just use the OpenNETCF 2.0. I think these events are essential and due the nature of a Button (It is intended and designed to click on) the events must reside in the standard CF. 1 Are any other alternative solutions know for this problem 2 Is there a possibilty that they are imp ...Show All
Rhubarb UPnP: problem with QueryStateVariable
Hello! I have a problem with the UPnP API on Windows Mobile 5.0 Pocket PC Emulator (Microsoft Visual Studio 2005)... My software is able to find devices and invoke their actions but some things don't work: 1) InvokeAction of an action with one (or more) output parameter: it returns an array with one (or more) elements but the type of these (VARIANT) element is VT_ERROR. 2) Same happens if I use QueryStateVariable (returned VARIANT has type VT_ERROR). void CMyProject::QueryStatusVariable(IUPnPService *pUPnPService, CString VariableName) { HRESULT hr=S_OK; TCHAR tszMessage[2048]; CString strVariable; BSTR bstrVariableName = NULL; bstrVariableName=VariableName.AllocSysString(); if (bstrVariableName! ...Show All
Lakshmi N Does CF 2.0 support app.config?
Hi all, I would like my application to use the XML app.config file, but can't get the namespace's I require. Doesn't CF 2.0 support this Ahh, understood :) Thanks Sorry, Ilya, i'm a bit lost by what you say. If in my Solution I have a file app.config with the following XML data... < xml version="1.0" encoding="utf-8" > <configuration> <appSettings> <add key="WasteManagement" value="TRUE" /> <add key="PerformanceMeasure" value="TRUE" /> <add key="GenericInspections" value="TRUE" /> </appSettings> </configuration> ...and I want to get the value of 'KEY' 'WasteManagement', I can't do this the no ...Show All
Parshuram Scanning SDK in Compact Framework Issue
Hi all, I have found an issue with the Imaging/Scanning SDK that the Compact Framework uses and would like to report this issue with Microsoft. How exactly do I go about do this Thanks Tryst Hi Alex, I have had some more info back from Symbol, who say that they are using the following files for the Scanning API... The Compact framework files that are in this project are: MSCORELIB SYSTEM SYSTEM.DATA SYSTEM.DRAWING SYSTEM.WINDOWS.FORMS SYSTEM.XML Not sure if this helps. (Have you any news on this ) Tryst Motorola (Symbol was purchased by Motorola a while back) just released the SDK 1.6 a couple of days ago. I'm not sure, but I would like to think the MC50 will correctly support this. If so, I would ge ...Show All
Rafael &#40;Live Butterfly&#41; Urgent - Handling Map Click event
Hi all, I have a strange requirement. I have a small Virtual map appearing on one of my pages. Now on its click I want to open a popup window which will be a bigger version of the small map displayed. For this, I have done following map = new VEMap( 'VirtualMap' ); try {map.LoadMap( new VELatLong(latitude, longitude), 8 , 'r' , false );} catch (err){} map.AttachEvent( 'onclick' , openVirtualMap); This functon openVirtualMap opens a new popup window which conatins the larger map. Now the problem which I am facing is 1. After clicking on the small map, The popup comes up and then the popup suddenly gets minimized. I used event .cancelBubble = true ; I also tried setting the focus ...Show All
Mark Goldstein How do I measure the amplitude of input wave file in C#.net ?
I try to develop a software wih C# (for ppc) that show the amplitude of inpute audio in a input text, but I don't know how and with which code I should measure it, please help me I'm not quite sure what you asking... Do you expect somebody would write an application for you or give you an equivalent of probably a whole college course on digital sound in one or two posts It's not going to happen, you'd need to figure it out on your own. Here’s what you need to do in general, particular implementation is up to you: 1. Parse WAV file – format is very well described in multiple places in the internet. 2. Obtain PCM data from it. If it’s compressed you would need to uncompress it first. 3. ...Show All
Donald Wong Application form lost focus in windows mobile 5.0
I have a form in which there is a function which will download some information. When I were downloading information after some time let say about 10 minutes my form goes to Background which I don't wants. Please suggest me what can I do.So that in during this download my form remains in front. Thanks Kamii47 wrote: I have a form in which there is a function which will download some information. When I were downloading information after some time let say about 10 minutes my form goes to Background which I don't wants. Please suggest me what can I do.So that in during this download my form remains in front. Thanks set a timer that sets focus at regular intervals. I have also use this ...Show All
RonDiamond Idle functions
Hello I wonder how to implement an idle function I searched the SDK but couldn't find any appropriate functions. I only found .net Application.Idle but since I don't use .net it's not for me. Could anyone please give me some pointers Many thanks, Martin Malek Ilya Sorry for not being clear enough. What I need is an idle message to be sent via the message pump whenever the application is not doing any work. Perhaps I should implement it as a callback and have it sending messages allways in a certain intervall / Martin Malek Before you know how to create MFC projects etc. you need to decide whether you want to use MFC or not. If your app is about controls/UI interaction like stuff you shall be better off using MFC, ...Show All
katti205961 Please quickly help?
there is an error in my code but i don't know where i'm using pocket pc 2003 with visual studio 2005 beta 2 and sql server 2005, i create database as sql server mobile database (mydb.sdf) and connet it with my application, the when i insert new row. the error message: An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll Additional information: The path is not valid. Check the directory for the database. [ Path = C:\Documents and Settings\User\my documents\visual studio 2005\Projects\DeviceApplication1\DeviceApplication1\db2.sdf ] thank you shange the path to \Program Files\MyDB\jobs.sdf , you don't need the Mobile Device bit ...Show All
Jim Sz address coordinates
Hello everyone, does anyone know that if there is a function or a method that takes an address and returns the coordinates (either pixel x, y or latitude, longitude will do) of that address .. but without ploting the address on the map thank you Yuki i am achieving this by combining the Google Earth API's geocoder method with VE for all display and markup. if you have a googleearth api key, you can do this easily. first load the geocoder: function loadGoogleMapAPI() { if (GBrowserIsCompatible()) { //add the google geocoder gcoder = new GClientGeocoder(); } }//end function then do dosomething like this gcoder.getLocations(<some address>, createApprovalPinLatLong); your address is ...Show All
venp CAB installing shortcut in "Games (1)" on PPC but not Smartphone
For some reason my CAB isn't working right in the PPC emulator. On the Smartphone it installs the shortcut in "Games", but on the PPC it makes a new folder "Games (1)". Here's the section: [Shortcuts] "MyGame",0,"MyGame.exe","%CE17%\Games" Any ideas Yeah... Of course. Shouldn't the shortcut just be added to the existing folder That's what happens when I run it on a Smartphone emulator. PocketPC seems to have other ideas, at least version 2003. I would guess you already have "Games" folder. I figured it out... This should be %CE14% for the games folder... Pocket PC has a separate Programs subfolder under the start menu which %CE17% doesn't ...Show All
Dudley Controlling Messenger from other program
Hi, I'm trying to figure out the proper way to control Windows Messenger from a java program. I think about starting conversations, find out whether a user is online and so on... 1) Is it right that this is usually done through COM 2) Is the Messenger Object the right point to start at 3) Are there any java libraries that already do this job The only libraries I found directly communicate with the Server. This is not what I wan't to do. I think that it's more comfortable for the users to use the installed messenger. Sorry if this question is stupid, but it's a bit hard to find the information I look for. Your marketing department was just too busy finding new names for the same things the last few years ... ...Show All
