Anzer's Q&A profile
Windows Forms errors when I try to publish from DEV machine, but apparently it works
hiya, I get the following errors when I try to publish a smartClient app that already exists on my server.In other words, I already have a working version on my server, but I want to overwrite with an updated version from my dev machine. So, I try to publish: <errors> Failed to copy file 'blah publish.htm' to 'mySite/publish.htm' to the web.The server connection timed out. I get the same error with "setup.exe" I also get the same error with "myApp. application" file, it goes on to say: "The page smartClientStraightline.application has been modified by VM1-11-WHIDBEYB\greasetrapblock" <\errors> Is it anything to do with this warning: <warning> SignTool reported an error 'Failed to sign publish\\setup.e ...Show All
SQL Server Mysterious login failure error message in log-shipping
Hi I posted this a few days ago in SQL Server Security forum and at Raul Garcia's suggestion (thanks Raul for your help), I post my question here again to see whether I can be lucky enough to find a super guru to help me out. ------------------------------------------ I get the following error messages in the sql server error log Source Logon Message Error: 18456, Severity: 14, State: 11. and Source Logon Message Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: 185.23.11.33] (note: 185.23.11.33 is the ip addr of the source server, i.e. node 1 in the two node clustered environment) The scenario is: We set up log-shipping (LS) between a clustered sql server system (source server) and a stand-alone sql server box ( ...Show All
Audio and Video Development Event Target
Hi Chapter 8 of specification gives the larger picture of Event Processing. It says that user events are fist processed by the script and after that markup gets chance to process the event. eg if a user presses a navigation key then first the script (through event handlers ..if one is regestered ) first processes the gesture and after that (if allowed by script) the markup processes the gesture --changes the focus to the next element (depending on the navigation key). If the above is correct then this means the target for the keyboard events is always the current focused element. One exception might be access ( or shortcut) keys in which case the target is the element for which the short key is defined. ie script cannot override the acc ...Show All
Visual C# using an Observer Design Pattern with a reference property
Hi, I was wondering if anyone who has used the Observer Design Pattern with a container of observers knows how to notify when there was a change to a Reference type Property's property. I have searched all over online, but all I can find is when the Property is of a Value Type. For example, check out my "TODO's" in the following code below: class Wheel { private double _diameter; private double _width; public double Diameter { get { return _diameter; } set { _diameter = value; // TO DO: How do I say that ...Show All
Visual FoxPro creating shortcut on desktop
Hello everyone, Can i use foxpro programming to create shortcut to an exe file on desktop thank u in advance You can do it using WSH as in these examples from the Fox Wiki: To create a shortcut in the current directory: oWsh = CreateObject("WScript.Shell") oLink = oWsh.CreateShortcut("FoxWiki Web Site.URL") && The .URL is required oLink.TargetPath = "http://fox.wikis.com" oLink.Save() To create a shortcut in the Desktop: oWsh = CreateObject("WScript.Shell") cDesktopDir = oWsh.SpecialFolders("Desktop") oLnk = oWsh.CreateShortcut(cDesktopDir + "\\Shortcut to Notepad.lnk") oLnk.TargetPath = oWsh.ExpandEnvironmentStrings("%windir%") + "\notepad.exe" oLnk.Save() See more: http ...Show All
Commerce Server OrderQuery Schema
This is related to another issue i had and is posted below but since it didnt get any responses i am posting this one on its own as it may help others. I am attempting to retrieve a PurchaseOrder using the OrderQuery message, however i am receiving an exception in biztalk: The search clause received by the send adapter is not valid for the CommerceServerOrdersQuery API call. Message ID: 1a18d3ad-dd9a-4228-a1b2-c86ccbb5a060. Exception message: The XML supplied does not conform to the search clause schema. Now, the only difference with my file is that i am missing the xmlns attribute: <CLAUSE OPER="equal" xmlns=" http://schemas.microsoft.com/CommerceServer/2004/02/Expressions "> Now, i grabbed thi ...Show All
Visual Basic Sort Method
I am trying to make a high score table for my game and so far I have made the random access file, and it is working fine. I have one problem, on the properties for the list box, there is an option to sort, though this is only alphabetically. This isn't very good for saying it's a highscore table. I was wondering if anyone has some code for doing something like a bubble or insertion sort Thanks Dan Dan_Brownlow, I hope that this Sort method would give some help. In the following code, the sort method overrides the parent class sort to perform a simple bubble sort on the length of the string contained in each item: Protected Overrides Sub Sort() If (Items.Count > 1) Then Dim swapped As Boolean ...Show All
.NET Development Where's the WinForm event for AFTER a form has finished loading?
I need to fire an event AFTER a form has finished loading and is displayed to the user. Currently, I'm initializing my MapPoint control on my form in the form_load event. But, if the connection to the MapPoint server is down, the form never really finishes loading before an exception is thrown and it's very slow. I want to put my MapPoint initialize inside an event that fires AFTER the form has finished loading and is displayed to the user. How can I do this Hello All. _Quimbly_: And it does the same thing in the Activated event handler Have you tried setting the DoubleBuffered property of the form to true HTH. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XMA on windows?
Now that the Feb SDK XACT is out, I see it now supports ADPCM. However, we would really like the Windows XACT to support XMA format on PC (like it does on Xbox360). We need the better compression rates that XMA gives over ADPCM. Is there any chance of this happening, or is XMA something Xbox-specific that will never be available on Windows XMA/WMA is a highly complex variable bit-rate compression scheme It's much more complex than mp3/ogg format that is non-trivial to decompress on the fly mp3/ogg files plays perfectly on the today PC's, decompressing their data in the real-time in the many and many titles. We need a higly compressible sound format available in XACT for music storing and play ...Show All
Windows Forms Publishing a windows application to a sharepoint website
Hi, First of all i do not know where i could go with this question so from my point of view the best forum was this one. My question is "Can I publish the windows application to a sharepoint portal website " I need to do that and when i try to publish it from vs2005 it just give me the message that the following files have been blocked by the administrator: setup.exe Any idea how to work around it Thanks ...Show All
Visual C# Interop.Excel.Chart (Changing the location of the chart to another worksheet programmatically)
Good Day, I'm really having this hard time trying to figure out if there's a bug in Microsoft Excel PIA '97. In the program that I'm developing, I'm creating an Excel Chart as a different worksheet and then transfer (relocate) it to an existing worksheet (2nd worksheet in the workbook). In my line of code below, I'm passing the name of the target worksheet. chart2.Location(Excel.XlChartLocation.xlLocationAsObject, wsheet2.Name ); Though the target worksheet is already in place (present in the workbook), the chart will be transferred to a different worksheet, which is the first worksheet. Can somebody help me on this.. Is this a PIA bug I've tried to debug my project and it seems that wsheet2.Name has the same name as my target worksh ...Show All
.NET Development Why can't I deserialize my Type?
I'm playing with Types, Interfaces and Serialization and have come up with a situation that I think should work but does not. I have an Employee Type that implements the IEmployee Interface. I construct an Employee instance and serialize the instance to a file.(App1) In another application(App2) I then try to read the serialized instance of the Employee Type from the file. The catch is that I compile App2 WITHOUT any reference to the Employee Type, only to the Interface IEmployee. I am doing this so that App2 can use the IEmployee Interface without knowledge of the actual implementation as found in the Employee Type. App2 compiles cleanly. Knowing that I need access to the employee class before I can deserialize the class, but wanting t ...Show All
Visual Studio Team System AssignedTo names in reports
For importing items from our existing tracking systems into VSTS, we created local users on the server for all members defined in the previous Tracking system. This was necessary in order to be able to re-create the items in VSTS with the "Created By" field set to the initial creator of the item (before import). After the import we removed all local accounts (from the server and from the TFS groups) and added the domain-accounts. This seems to work fine for querying, but not for reporting. Whenever I filter on the AssignedTo dimension in a report, I get the full list of accounts that ever existed on this server. Even those that never imported any events. Some accounts are listed twice (domain + local account ). Is it possible to ...Show All
Visual Basic Better way accessing large tables with dataset
I have about 2-3 SQL tables where in each of the table it has about 120,000 records in them. I thought about using the data sources wizard for this use because it's easy, and I can make a search menu rapidly. I've successfully created something like this for a smaller tables that have 100 records or so. Basically I want users to select which table from a combobox, and enter a search term and it will show whatever data associated with the search term. The thing is, the application loads slowly because of the several large datasets loading on form load. How would you guys do this I have a feeling I'm gonna have to use sqlcommand over table adapter for this and only connect and get the record this way. ...Show All
Visual Studio Express Editions Showing "1 000" instead of "1000" in textbox.
OIkai, this might be very simple, but I have a textbox with "1000000" in it. And I want it to be shown as "1 000 000". There must be a way to get the data out and change it, and then put it back in the textbox again. Anyone know how And question 2, I found a old vb6 code: If KeyAscii > 26 Then If InStr("0123456789", Chr(KeyAscii)) = 0 Then KeyAscii = 0 Its for making a texbox accept numbers only, but it keeps giving me error on KeyAscii. How can I make it work in vb exp Use a masked textbox to setup the format that you want displayed in the textbox... You can also use the following in a textbox to restrict user input to numeric values: Private Sub TextBox1_KeyPress ( ByVal sender As Object , ByVal e As Sys ...Show All
