g e o r g e's Q&A profile
Smart Device Development Drive mapping across WiFi in Windows Mobile 5 ?
Has anybody successfully mapped a network drive to a Windows server across WiFi with a Windows Mobile 5 device Please enlighten me on what you did to accomplish this as I'm getting the error message "The network path was not found" followed by "The network resource was not found, or you don't have permission to connect to the network." no matter what I've tried and I've even configured my Windows XP Home edition to share drives and still the same problem. Samba stack (It's a Windows CE operating system, and it has a File Manager application built-in and from its menu you can choose 'Open path' and it automatically pops up a Window where the path begins with \\ and where you're sup ...Show All
Windows Forms Adapter.Fill fails with No Selection Rights.
Im using an informix driver and having an issue when I try to change the connection string. Setting up a data source with the tables and adapters, I have only been able to use a DSN that I have created using the ODBC Manager. When you do the setup, it wants to save the ConnectionString. But it saves it to the Application.Connection String which is impossible to change.(Maybe I wrong) Everything works great until I try to get rid of my UID and PWD. The Adapter.Fill fails with No Selection Permissions. What am I missing DataSet ds = new DataSet(); OdbcDataAdapter daAccountInfo = new OdbcDataAdapter(); OdbcConnection connection = new OdbcConnection(myConnString + myLoginPWD); try { this.Cursor = Cursors.WaitCursor; ...Show All
SQL Server default column causing problem!
Hi everybody, Iam migrating a table called Vendors from sql 2005 to flatfile. but it end with error message that the default column is causing problem. the table is as follows, CREATE TABLE VENDORS ( RECORDTYPE CHAR ( 5 ) DEFAULT 'VNDRS' NULL, SETID CHAR ( 5 ) NOT NULL, VENDORID CHAR ( 10 ) NOT NULL, VENDORNAMESHORT CHAR ( 14 ) NOT NULL, VENDORNAMESEQNUM INT NULL, NAME1 CHAR ( 40 ) NOT NULL, NAME2 CHAR ( 40 ) NULL, REMITVENDOR CHAR ( 10 ) NULL, CUSTSETID CHAR ( 5 ) NULL, CUSTI ...Show All
Visual Studio 2008 (Pre-release) Custom ComboBox template
I'm trying to build a custom combobox template, and need an example to build on. I tried the one at http://msdn2.microsoft.com/en-us/library/ms752094.aspx but it does not apply to IsEditable=True. StyleSnooper and EID give me template which try to use some Chrome from namespace Microsoft.Windows.Themes which the compiler does not find there. So I'm kind of stuck - someone got a working custom template for me as base to learn from Thanks, Sam uuhm, sorry, forget my question, I just traced the xaml for the brushes. I got a problem, though: when I set IsEditable="True" the combobox shows in Luna Style, otherwise in your custom style. Funny. I'll try and debug why it does not ap ...Show All
.NET Development remoting sample
Figure out why this tcp remoting sample isn't correct! http://msdn2.microsoft.com/en-us/library/ms173030(VS.80).aspx ...Show All
SQL Server Outlook / Word Interface not registered
I use outlook as my e-mail front end for all my e-mail accounts. I have recently installed my software (MS Office Pro) on a new PC. When I try to send an e-mail created in Outlook I get an error message - "Microsoft Word - Interface Not Registered" I have tried re-installing / repairing the software and this doesn't work. Can anyone please help u can check the Article ID : 870707 http://support.microsoft.com/default.aspx/kb/870707 'You receive the “Interface not registered” error message when you try to send or to save an e-mail message to the Drafts folder in Outlook 2002' its worked for outlook 2003 also, i've tried myself. ...Show All
SQL Server How to supress/hide/filter Nulls or Nothing-s?
I have several columns with expressions that return Nothing under certain conditions: Example:=(IIF( Fields!solved.Value=False,IIF( Fields!TAT3.Value >120, IIF(Fields!TAT3.Value <144,Fields!Ticket.Value,Nothing),Nothing),Nothing)) As a result, I get tons of white/empty space, because 200 values were evaluated as Nothing and only 5 values/records were actual numbers. How can I supress this Nothing value Have tried a blank string (empty quotes) instead of Nothing So your code would be Example:=(IIF( Fields!solved.Value=False,IIF( Fields!TAT3.Value >120, IIF(Fields!TAT3.Value <144,Fields!Ticket.Value,""),""),"")) ...Show All
Visual Studio Express Editions Program to launch programs :)
Hey, I am looking to make a program that will be able to launch two other programs simultaneuosly. Can someone show me some code please Im pretty stuck :( Are the programs executable files what is the extension of both files you'll have to make a script that will open both, depending on what type of file they are will determine how to open them. If they are both executable files you'll make a notepad and write cd\ c:\(path)(filename).exe c:\(path)(filename).exe exit and save this as a (filename).bat file and run this when you need to. ...Show All
Visual Studio Team System Can not open WIT editor
Hello, I've downloaded the latest version of Microsoft TF Power Tools, The documentation is very interesting, and I'm sure that all this package of tools will be very useful, but I have a little problem here, I want to edit work item type, but I get only the XML when I open work item type, not the GUI that is shown in your documentation, did I miss some installation step (I have Visual Studio 2005 Team Suite) Please, explain what I have to do to edit the WIT by using your tool and not the xml file. Thank you Hello, I found the problem. In my case I had to install Microsoft DSL Tools before installing Process Template Editor, You can downloaded here: http://www.mic ...Show All
Visual Studio Express Editions Using a COM interface
Hi all, I'm new to Windows development with C++ but I've used Delphi for various Win32 API problems. Now I'm trying to use the IQueryCancelAutoplay interface but I'm unfamiliar with COM. I've found: MSDN mag article with source code: http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/ MSDN documentation: http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/reference/ifaces/iquerycancelautoplay/iquerycancelautoplay.asp When trying to use COM I have had problems with unresolved externals, and I wanted to make sure that C++ 2005 Express does support COM. I've installed the PSDK, but I don't know if this includes COM support. Thanks in advance for any help! PS - I'm unable to impl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA has it's own GamePad DeadZone?
I've been looking at the output of the thumbsticks, and it appears a value less than 24% (0.24) is ever returned. I know it's very important to implement deadzone in your programs, but why has it been done for us Someone may want to write a game that needs a smaller deadzone, but as far as I can tell it would be impossible given we don't have full access to the output right the way from 0 to 1. Is this behaviour intentional Many thanks, Adam Miles LeeC22 wrote: The actual bug lies in the fact that the horizontal deadzone is being reported when the vertical position is outside the vertical deadzone and visa versa. I don't think having dead-zones per axis is a good idea, because of the circular ...Show All
Visual C# how to check if a file is read-only?
I used : if ((File.GetAttributes(file) & FileAttributes.ReadOnly) != 0) gave me error, saying The given path's format is not supported. if the file is Archive then the file is writtable. FileAttributes fa = File.GetAttributes(fileName); if (fa.ToString() == FileAttributes.Archive.ToString()) MessageBox.Show("Writtable"); ...Show All
Visual C# Need CCW to support [hidden] and helpcontext
I have a C# project that exports part of its API into COM using regasm. I need the API to include features that don't seem to be well documented. These are: [hidden] - I need to mark certain properties/methods hidden in COM. I realize that no such concept exists in C#, but it does on COM. [helpcontext] - How do I support context-sensitive help This includes helpcontext, helpstring and helpfile. Note that this is not a graphical API or GUI control. It is a library implementing a set of interfaces. Searches around MSDN and Google have revealed no answers so far. Randall Stimson wrote: If I did this, I would have to maintain two distinct definitions of my API that must always be in sync wi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Gamestate and GarbageCollection - basic question
Hi, I've read a few things about needing to load up all resources up front, and avoiding dynamic loading in order to keep performance up - if that's true I guess it applies to mid-game loading and not per-level loading I'm used to using various states to load up resources (e.g. models etc.) for a level, then play the level and when we trash the level (either quit/die/finish-level etc.) we trash the resources, then loop round and load up the next level's stuff etc.- is this way of working suitable using XNA Cheers :) I love questions like this as I'm still learning and the various ways of doing things makes me insanely curious :) The game I'm working on uses an text document with all the assets/settin ...Show All
Smart Device Development keybd_event not firing OnKeyPress callback method
I have a form that overrides the OnKeyPress() / OnKeyUp() / OnKeyDown() methods. When I do a P/Invoke call to keybd_event() it does not make it into these methods. Here is my P/Invoke: public const int KEYEVENTF_KEYUP = 2; public const int VK_RETURN = 0x0D; public void pressEnterKey() { //press the enter key keybd_event(VK_RETURN, 0, 0, 0); //releasethe enter key keybd_event(VK_RETURN, 0, KEYEVENTF_KEYUP, 0); } Is this a threading issue Thanks, -Alan- You may find the following articles helpful: http://msdn2.microsoft.com/en-us/library/ms838019.aspx http://www.danielmoth.com/Blog/2004/10/invoke-cf-and-full-fx.html also see the following newsgroup post ...Show All
