Preston Park's Q&A profile
Visual C++ Internationalized Time Zone Names
I have a somewhat peculiar issue with time zone names. We distribute our server software via an image (since it will always run on our hardware) that includes Windows XP Pro (English) with the international language packs so that the OS appears in the country's native language (in this case Dutch). We then allow our client software to be installed to hardware of the customer's choosing. In this case, they are using Windows XP Pro (Dutch version). One check we make to ensure the server and clients are in-synch is to confirm they are both operating in the same time zone. We do this using the GetTimeZoneInformation Win32 call and comparing the StandardName/DaylightName returned in the TIME_ZONE_INFORMATION structure. Unfortunately the n ...Show All
Windows Forms UserControl custom property and UndoEngine
Hello, I have a user control that has a custom property added to it. To make it simple the property is a bool. I have a basic implementation of UndoEngine that works fine. When I delete a control from the design surface, and then "Undo" that, the Control comes back just fine, but the custom property is back to its default state. I've done quite a bit of research on things but haven't come up with anything helpful yet, so I'm here for more assistance from the experts. I've played with the Localizable attribute for the property, but that doesn't work either. Thanks again for the help. Ken If the property doesn't serialize, have you tried adding a DefaultValue attribute This attribu ...Show All
SQL Server Can SSIS work with an XML web service? (Verisign Payflow Pro)
I'm trying to figure out a solution for posting financial transactions against our Payflow Pro (Verisign) payment gateway (web service) using SSIS. The process I have in my mind goes like this... 1.) Select the appropriate records from our financial system DB. 2.) Iterate through each record and post the pertinent values against the payment gateway web service. 3.) Create log files for successful and failed transactions. The log files would then be manually imported into our financial system. Thanks in advance. jwelch wrote: There is no web service or XML data flow destination, unfortunately. You could write a custom destination component to call your web service. Not entire ...Show All
Microsoft ISV Community Center Forums Changing Character Length Setting for a Memo
Hi, I designing a database that requires input of a reasonable amount of text (>255 characters). I've set this up as a memo, but need to manipulate VBA in order to set the character length ... was wondering if anyone could give me a hand in how to change this in VBA. Thanks. Kate By "character length" do you mean that you need to be able to enter Unicode text You shouldn't need to do anything fancy to do this. Here's a quick piece of demo code. Option Explicit Option Base 0 Public Sub main() Dim thistbl As DAO.TableDef, fld As DAO.Field, rs As DAO.Recordset, strN As String, _ thisdb As DAO.Database If Dir("C:\TEMP\temp.mdb") <> "" Then Kill "C ...Show All
Windows Forms Newbie: Data app tutorial
Hi Could someone please recommend a good tutorial on how to build a one-many data app (many part using data gridview) in v52005 Thanks Regards Except for books... On the internet you find lots of them. e.g. Walkthrough: Creating a Master/Detail Form Using Two Windows Forms DataGridView Controls ...Show All
.NET Development Memory issue
Hi! I don't understand the .Net memory magnagement. I have a application, when run it .... consume 16.280 KB of RAM, if i don't touch the app(idle) ... this value is constant along hours, but if i minimize the app then consume 8.000 kb, if and then maximize again consume 12.000 KB ... whats happened Thanks to all, specially to Chris Lyon - MS Regards. ...Show All
.NET Development udp component ?
i want to make a little client / server app that communicates over the udp protocol. in delphi there are 2 components, a udp client and a udp server component. however in c# express i cannot find something alike. thanks. Larry Cleeton - MSFT wrote: Have you considered using System.Net.Sockets.UdpClient It could be used by both ends of a datagram conversation. could you provide an example how to use the udpclient as server and client also, does this provide me with an event-driven architecture thanks. ...Show All
SQL Server Problem with Linked Servers
I am trying to link a sql 2000 server to a sql 2005 Server. I setup the link to the sql 2000 box from the sql 2005 (x64, Enteprrise) box using SSMS. Both boxes have the same Windows domain account that I'm using for auithentication. (I also selected the Impersonate option in SSMS) When I run a simple query on the sql 2005 box referencing the sql 2000 box ( select * from sql2000Box.DBName.dbo.tblName) I get the error message: OLE DB provider "SQLNCLI" for linked server "sql2000Box" returned message "Invalid authorization specification". Msg 7399, Level 16, State 1, Line 1 The OLE DB provider "SQLNCLI" for linked server "sql2000Box" reported an error. Authentication failed. Msg 7303, Level 16, State 1, L ...Show All
.NET Development How to add exception to WInXP firewall programatically?
I have my setup project which need to install SQL Server 2005 Express as database of my application. As it will be remotely connected, I need to add exceptions(sqlservr.exe and sqlbrowser.exe) to WinXP's firewall as specified by MS's documentation. How can I do it programatically You can add a COM reference to c:\windows\system32\hnetcfg.dll. To find out how to use it, start reading here ... ...Show All
SQL Server Adding Externall DLL functions written in Visual C++
Hi, I'm trying to add exernal functions defined by a third party in a dll. They developed the dll in Visual C++ and is provided as is, with very little additional info about the code. The dll is tested and can be integrated into an application developed with VB.NET but no other experiences are available. I tried to add the functions to SQL Server 2005 Express edition but on attempting to CREATE the ASSEMBLY i get the following error: CREATE ASSEMBLY for assembly 'ThirdPartyDll' failed because assembly 'ThirdPartyDll' is malformed or not a pure .NET assembly. Unverifiable PE Header/native stub. No rows affected. (0 row(s) returned) @RETURN_VALUE = -6 Finished running [dbo].[ThirdPartyDl ...Show All
Visual Studio 2008 (Pre-release) The WPF Challenge
I have created a WPF competition. On March 12, 2007 the creators of the three "best" WPF applications entered into the contest will win cool prizes and get some public attention for their great work. If you're interested: http://joshsmithonwpf.wordpress.com/2007/02/10/the-wpf-challenge/ The winners of The WPF Challenge can be viewed here: http://joshsmithonwpf.wordpress.com/2007/03/22/the-wpf-challenge-winners/ ...Show All
SQL Server What does "Do not replicate DELETE statements" do?
I'm trying to find information and/or articles on what exactly "Do not replicate DELETE statements" does in transactional replication. How does this affect the Publisher, Distributor, and Subscriber Does information deleted on the publisher not replicate to the subscriber What scenarios would someone use this option on a article Sorry noob to replication and SQL 2005.... For the 1st question you can read what I have done here: "Do not replicate DELETE statements" still replicates deletes to subscribers ...Show All
Software Development for Windows Vista Windows SDK installer fails (v6.0.6000.0 RTM)
I have downloaded the 1.15gb RTM windows installer twice now (the standalone not web download) and get the same message about an invalid digital signature. The file it fails on is \Setup\WinSDKDocNetFx-WinSDKDocNetFx-common.6.cab. I can't imagine I downloaded it and got it corrupt twice in the same place. Is your installer ok I can't do the web download due to proxy/firewall issues. Kerry I had all sorts of problems with the *.img format for the .NET SDK release of Nov 7 2006. [1] Could not translate it to an *.iso [2] Did not know the correct MD5 hash for the download. [3] Could not burn the image onto a DVD. I tryed ISOBuster, MagicISO, Nero burner, Deep burner and other to ...Show All
Windows Forms c# usercontrol inherits usercontrol
Hi, i get the following problem in c#. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Hide at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at Microsoft.VisualStudio.Shell.Design.AssemblyObsoleteEventArgs..ctor(Assembly assembly) at Microsoft.VisualStudio.Design.VSDynamicTypeService.ReloadAssemblyIfChanged(String codeBase) at Microsoft.VisualStudio.Design.VSDynamicTypeService.CreateDynamicAssembly(String codeBase) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly() at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyE ...Show All
Visual Studio Express Editions storing a date
i am trying to aquire the system date and time from a click event. i can get the date and time...how do i store that time for later...if i use the date.now.date it will run everytime and i will never reach the end date...i am using this for a trial period trigger and need to be able to reach that end date. anyone have any ideas on how it can be done. is there a way to have the form 2 load itself up wether the program is running or not 30 days after the program has first run and if so how ...Show All
