airwalker2000's Q&A profile
Visual FoxPro Beginner in Foxpro (version 7) - need help in input/print on chinese character
hi, i am beginner in this software can anyone share with me, how should i go about inputing and printing of chinese character using version 7 or can someone direct me to some useful links for self learning would appreciate on any help. thanks jy1234, 你好! This is a popular problem for you to enter a different language under the English version of Windows. You will even find your Chinese characters can not be correctly displayed in a Word document or under msn messanger or yahoo messanger when you try to chat with sb. or If you do not intend to install the Chinese version of Windows, you'd better download some Chinese software for data entry. The popular ones are: http://www.njstar.com/ http://www.suntend ...Show All
Windows Forms Kernel32.dll, GetPrivateProfileString error.
I have imported the GetPrivateProfileString() function from Kernel32.dll. However, I am really confused on how to use it to get the data of a key. For instance: [MySection] MyKey=MyKeyData How do I use it to get "MyKeyData" and store it in a string The problem I am having is one of the function arguements. It gives me an error. "Trying to write to protected memory, blah blah blah". DWORD GetPrivateProfileString( LPCTSTR lpAppName , LPCTSTR lpKeyName , LPCTSTR lpDefault , LPTSTR lpReturnedString , DWORD nSize , LPCTSTR lpFileName ); Which I have made: int GetPrivateProfileString( string lpAppName , string lpKeyName , string lpDefault , string lpReturnedString , ...Show All
Visual Studio Team System Build errors after removing VS Team Suite and installing VS Team for Tester
Hi, I recently removed Visual Studio Team Suite Trial addition and installed Visual Studio for Testers. When I build I get the error: Error The "CodeAnalysis" task failed unexpectedly. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Build.Tasks.CodeAnalysis.GenerateFullPathToTool() at Microsoft.Build.Tasks.CodeAnalysis.Execute() at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) Not that it matters but I was using Visual Studio Team Foundation Server for my source code management but switched over to Visual Sour ...Show All
Visual Basic mp3.......dman
hi folks mr d-man helped me out with some code to load wav files... I tried the same principle with mp3 files.....but it wont work ....any ideas... d man....where are you cheers In order to play MP3 files or to load any file type...the pc must have a properly registered application to handle the particular extension...in this case "mp3"....if the file extension is registered all you have to do to start the associated application is : Process . Start ( "C:\TestDir\StairwayToHeaven.mp3" ) If the extension is not registered then you must give the complete path to the executable (media player) and pass the mp3 file as an arguement: Dim p As New Process p . StartInfo . FileName = ...Show All
.NET Development Add SSL WebService Reference to VS.NET Project
When i try add web reference to ssl webservice. the error 403 appear . How can i add reference to SSL webservice the error print screen attached . This problem is known BUG in VS-2003. but you can used the workaround. 1. On the website change security configuration to to not require certificate. 2. add webreference to your project and change the security configuration on website again to require certificate. 3. You must download the WSE 2.0 SP1, if you haven’t already ( http://www.microsoft.com /downloads/ThankYou.aspx familyId=dab3ad9f-be8f-42e1 -95fe-9aae41a487f3&displayLang =en ), and add a reference to Microsoft.Web.Services2 in your project. and you need change your c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. EffectPool with content pipeline
I make a lot of use of the EffectPool class to share parameters between shaders. Using the content pipeline, how can I still do this There is only a getter on the compiled Effect's EffectPool as far as I can tell. Could/Should there be a: Effect fx = Content.Load< Effect >("MyEffect",EffectPool); Cheers, Trev. ...Show All
SQL Server Problem with connecting with sqlexpress 2005 on my host
Hi I have a problem with sqlexpress I'm using sqlexpress 2005 with asp.net 2 and all things work in my computer good but when i upload it on the internet in my host it return this error : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) I am using sql server locally and i'm not using it remotly i just created a simple page (just have a detailsview) and upload it to the internet and then upload my mdf and ldf files to the app_data folder The ASP.net fo ...Show All
Smart Device Development Emulator For Wince 6.0
Hi... I have to use wince 6.0. where i can get wince 6.0 emulator. Thanks in Advance That's all well documented in MSDN under 'SDK Development' Here is the starting point: http://msdn2.microsoft.com/en-us/library/aa909591.aspx ...Show All
Software Development for Windows Vista CardSpace in P2P
Anyone have any pointers on how CardSpace [could be]/[is intended to be] used with WCF net.p2p (or similar) technology steven http://stevenR2.com This actually doesn't necessarily apply to P2P and i may be clutching at straws, but I'm thinking out the box a little and about where this technology could be used (it has been an area of interest for a few years now). So please knock me down with a big stick if an idea sounds ridiculous! Consider a service that purchases items from a one of a set of web services, depending on the item. Or, in the case of P2P, consider a service that can respond to requests from remote users requesting a file (say you advertise these files on some shared P2P app). In t ...Show All
Visual Studio PInvokeStackImbalance was detected
I am trying to create a smartdocument using Office 2003 professional edition and implementing the same on VS.NET 2005 edition. As soon as I load the winword.exe(as startup from VS.NET 2005) and attach the manifest in debug mode the following error is displayed. Can someone shed some light on how to overcome, any Microsoft VSTO or VS.NET Debugger team members, pls help ASAP. NOTE THAT IM NOT USING VS TOOLS FOR OFFICE 2003 ERROR: PInvokeStackImbalance was detected Message: A call to PInvoke function 'WRDomainSetup!WRDomainSetup.EverettPolicy::GetRequestedRuntimeInfo' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention ...Show All
Windows Live Developer Forums VEColor alpha 0.0 is as opaque as 1.0
My observation, working a little bit with polylines, is that the A property of a VEColor does not work exactly as advertised in the SDK. While transparency 0.0 is meant to be transparent, 0.0 seems to be identical to 1.0. I am using IE6. Anybody else see this An obvious workaround is to use an alpha of 0.001, which looks pretty invisible to me. Yes, it DOES seem silly to be drawing invisible lines, but that's a separate issue. Can the polyline be fixed to behave as the documentation says it ought to It's nice to see the rollout of an improved SDK. Keep up the nice work! Any idea when MSFT will be giving us classes to support working with collections (creating, renaming, adding & deleting pins, etc) Thanks! Intere ...Show All
.NET Development Read XML with Nested column using DataSet or Any Parser
Hi, I want to read the XML with Nested same column name using C#. Eg: <Item> <Name> Name1</Name> <Name> Name2 </Name> </item> If anyone knows how to read this plz help. // // initialize the (XmlTextReader) reader with the (string) url // of the file to read // using (XmlTextReader reader = new XmlTextReader(file)) { // // continue to read till the end of the file // while (reader.Read()) { // // if the current NodeType is an Element and also // the name of this Element is "Name" // if ((reader.No ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bug in texture content importer (alpha generation)
It appears that a texture will be made chroma-keyed, even if you don't select the chroma-keyed texture processor. When importing a pre-saved DDS from Photoshop, pure magenta color turns to black (which in DXT1 can mean alpha), even when using the plain "texture (mipmapped)" processor. Bug filed at: https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=237899&SiteID=226 Both the SpriteTextureProcessor and the ModelTextureProcessor do color keying. the plain TextureProcessor does not. Are you sure the texture is being built with the TextureProcessor Keep in mind that if you add both a model and that model's texture to solution explorer, you are actually causing the texture to be buil ...Show All
Architecture DataSet Performance issue
HI We are using a oracle stored procedure which returns a refcursor. For queries with like search which returns large number records the dataadapter.fill() is really takes time. For a case whcih returns 14000 records it took 3000 ms to perform the fill method, eventhou gh we are filtering by 99 recodrs using fill(ds, start, maxrecords). As the number of records increasing the time varies even if the filtering happens only for 99 records. Any idea how we can improve the performance. Or any other we can call the SP which gives any improvement We cannot modify the SP. And the DAL used by many diffrerent componenets. Thanks in advance Sharmila Sounds like you've got index trouble, ...Show All
Software Development for Windows Vista This workflow is not owned by the WorkflowRuntime.
Hi, I've got a sequential workflow that occasionally starts throwing the above exception. The app works its way through all the activities successfully creating the "executing" record for the HandleExternalEvent activities up to and including the last one, then fails (regardless of which one is last) and then starts cancelling and closing the activities. I've disabled the "last" activity and it just fails on the next to last (now the last activity). I'm adding the Persistance service with the following: Dim owr As Object = HttpContext.Current.Cache(_WFName) ' Cache is per AppDomain If owr Is Nothing Then System.Threading.Monitor.Enter(_sync) owr = HttpContext.Current.Cache(_WFName) ...Show All
