Paulg742's Q&A profile
Smart Device Development Connect to ActiveSync using Wireless Network
Using ActiveSync 3.8 I was able to easily connect over ActiveSync to my PC using my wireless network. Since installing ActiveSync 4.0 I can not get this to work and I cannot find any documentation on how to set this up. My wireless connection is shown as connect if I goto Settings | Connections | Connections | Advanced | Network Card. How do I use my wireless network to connect to my PC using ActiveSync 4.0 Alicia Can someone point me towards good instructions on enabling AS over the lan in 3.8 A am new to Mobile OS and spent quite some time trying to figure it out with no livk. Thank you ...Show All
Smart Device Development OnClosing / WM_CLOSE message when switching apps (why?)
I have an application that uses multiple forms for data entry. Each for is modeless and is shown via show/hide. All of these forms are stored in an array list until the user requests them and they are shown. When the user switches applications (ie: starts notepad) on the pocket pc, the window (which is visible), has the OnClosing event occur (which I assume is triggered by a WM_CLOSE message). Why is this happening I've dealt with this issue by overriding and cancelling the OnClose, however... It still begs the question... Why Thanks. here you go http://msdn.microsoft.com/library/default.asp url=/library/en-us/guide ...Show All
Visual Studio Will installing Team Foundation Server mess with VSS?
Hi guys, I'm wondering if installing team foundation server (which came with vs2005 b2) will mess with my current installation of source safe. I use source safe with vb6 and I don't want to mess that up. Can anyone tell me if it'll have any affect on my SourceSafe ...Show All
Visual Studio Team System Subscribing to project alerts; setting userid + password
BisSubscribe.exe allows you to subscribe to project alerts and has a parameter (/userID) for setting the domain and user name. I presume this domain and user name is used for logging onto the Mail Server specified during the setup of TFS. Unfortunately, my Mail Server (SMTP) requires a password as well as user name to authenticate me before accepting any emails for transmission. This is a common requirement for anyone working in a small team environment where the administration of their mail server has been shifted to a third party. Is there a parameter for BisSubscribe that allows the user password to be set I ...Show All
Windows Forms listbox selected index background color
How can i change the listbox selected index font and background color. You need to create a derived class from ListBox (technically you don't have to but it would be best). In the constructor for your class set DrawMode to OwnerDrawFixed to tell Windows that you'll handle the painting. Implement OnDrawItem as follows: protected override void OnDrawItem ( DrawItemEventArgs e ) { bool bIsSelected = (e.State & DrawItemState.Selected) == DrawItemState.Selected; //Draw the background ...Show All
Smart Device Development No Symbols Loaded when loading native DLL on windows mobile 5 device.
Hello, I'm trying to debug a native DLL running on a Windows Mobile 5 device but it keeps saying "No symbols loaded". Here's a list of checks I've made: - the project (as well as all other projects in the solution) is set to debug. - Properties > Configuration properties > C/C++ > Debug Information Format = /Zi. - tools>options>debugging>symbols are set to all folders that have a *.pdb file in it. - I cleaned and rebuilt the whole solution. Here's the output window: 'enc2.exe' (Managed): Loaded 'd:\a\enc2\enc2\bin\debug\enc2.exe', Symbols loaded. 'enc2.exe' (Managed): Loaded 'D:\vs8\SmartDe ...Show All
.NET Development How to extract icon from resx file
I've a form with an imagelist filled. I just want to access the resx file of the form to get an image from the imagelist in icon format. Can anyone help me I've solved the problem : before the Main sub there was a directive : [STAThread] Deleting this code line my application running well. But now my question is : why till 1 month ago I can run application with [S TAThread] without problem and today it doesn't work And more What does [S TAThread] means ...Show All
Visual C++ Warning C4793 and #pragma unmanaged
Hi Flap! I'm getting the following warning in an header file included within a #pragma unmanaged block: 1>c:\devel\DXSDK\SAMPLES\C++\DirectShow\BaseClasses\wxutil.h(384) : warning C4793: '__asm' : causes native code generation for function 'void *memchrInternal(const void *,int,size_t)' 1> c:\devel\DXSDK\SAMPLES\C++\DirectShow\BaseClasses\wxutil.h(379) : see declaration of 'memchrInternal' Given that no managed code should be generated because of the #pragma unmanaged directive I shouldn't get this warning, right It makes me think that somehow the compiler is trying to generate managed c ...Show All
Smart Device Development How to make a label transparent?
Hi, I need to know if there's a way to make a label's background transparent, I tried using the color.Transparent property on the label.backcolor, but it didn't work. In fact, i've got a picture and a label in front of it which should display a specific message. This image's color may vary so I ca'nt set a specific color to the label's background. Is there any solution Thanks! The sample provided by onny will not work correctly on the Compact Framework due to missing functionality in both the Compact Framework and the underlying Windows CE operating system. For instance the SetStyle method is ...Show All
Visual Studio Express Editions Windows Application template
Visual Basic Express 2005 When I click on "new project" and the template window comes up, I only have the Class Library and Screen Saver starter kits. I cannot find the "Windows Application" template. I have looked through the files in the command prompt but have not seen anything that looks like a template installer. Any help will be appreciated. Thank You, Don ok try this "VBExpress/setup" if it didn't work you can ask your question in express installation forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=24&SiteID=1 hope this helps ...Show All
Visual Basic Password Verification
Hello Friends, I am new in this forum. I am implementing one appication. I need a form which will verify a user against his password. I am using VB 2005 Express Edition & SQL Server Express Edition. Can you send me a code snippet for this Bye... Prasanta Well you simply get the password the user has entered (and the username) then query the database for that usrer and check the password value from the database with the value of the entered password. ...Show All
Windows Forms Word Document in a Rich Text Box
Hi, I have been trying to display a word document in a rich text box. I know it would be easier to display the document is word itself but the person that needs to do its wants to display it in the textbox. If anyone would be able to give me a hint on this it would be a great help. Marais ...Show All
Visual Studio 2008 (Pre-release) When and where to set custom IIdentity when implementing custom authentication
Hi - If custom user name/password authentication is being implemented, where is it possible/recommended to set the "PrincipalIdentity" to a custom IIdentity object So far I have custom implementations of ServiceCredentials, UserNameSecurityTokenAuthenticator, UserNameSecurityToken and IAuthorizationPolicy all hooked in and working nicely to verify user credentials against a custom store. I am looking to attach a custom principal object following the example in this thread . However, the object obtained from EvaluationContext.Properties["PrimaryIdentity"] when IAuthorizationPolicy.Evaluate gets called is a GenericIdentity. Where should I (ca ...Show All
SQL Server How to import cube definition from SSAS 2000 to SSAS 2005
Hi. I have a SSAS project CAB-file created in SSAS2000 and would like to import/convert it to a SSAS2005 project but I can't find any way to do this... Does anybody know how this is done Any suggestions would be greatly appreciated! Regards Kjetil Thank you! Sorry for the delayed reply but I'be been rather busy lately. I am starting on this project next week and will try out your suggestions. Best regards Kjetil ...Show All
Smart Device Development Some Controls
I'm developing an application which gathers data through a web service, this data is stored on a database and therefor each use must be able to modify certain aspects of it. The textbox control in .NETCF2.0 supports multiple lines, however spacing is another issue. If i were to publish data to the database using this mobile application (WINCE50), instead of the line breaks i get squares, however if i were to publish the same data through the web interface; the line breaks would properly appear. Could the control be messing this up, or is the web service not interpreting this correctly Image here: http://img134.imageshack.us/img134/759 ...Show All
