megamacy's Q&A profile
Visual Studio Team System Protocol violation - can I change how sensible the test shall be to protocol errors?
I get this error when running a test on a web page that I have no possibility to change: RequestFailed: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF Is it possible to configure how the test shall handle this so the test will not fail Sten, this sounds like a bug so I'm going to need some more info to track it down. What's the request like that's causing this error Are you using non-ASCII characters in a custom header value or in the URL Josh ...Show All
Software Development for Windows Vista Release Plans
Can somebody supply any information that is available re; the planned release dates for WF, in particular with regards to: 1) A version compatible with the Beta 2+ build of Visual Studio 2005 that was provided on the goods disks at the PDC 2005 conference. 2) A version compatible with the VS2005 being released in November. 3) A version with a go-live license. The RTM version of the Microsoft .NET Framework 3.0 is finally released! You can download it at: http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en ...Show All
Smart Device Development configure the desktop machine for Windows Mobile 5.0 development
Hi, While installing Windows Mobile 5.0 Pocket PC SDK on my desktop PC, I'm getting following error, anyone know the solutions ---------------------------------------------------------------------------- Software development tools required to use this SDK for application development are not installed on this workstation. Before trying to run the Setup Wizard again, verify that the required software is installed. To determine which software development tools are required, see the Microsoft Web site at http://go.microsoft.com/fwlink/ linkid=21615&clcid=0x409,which you can open in an external browser window by clicking the Open Browser but ...Show All
.NET Development XmlDocument
Hi, Does XmlDocument load all data at once to memory or it using paging If yes, how can I load xml file to memory by the parts Or may be, I can load xml to dataset for special table only and not all the table The xml file consists tables of data. Thank's Alexei Hello I have a VB6 windows application where I get xml data from a server. I do some processing on this xml data and send the request back to the server in xml format. now I am trying to upgrade the VB6 application with VB.net 2.0. can any one help me know how to do this in .net environment. ...Show All
Windows Forms Printer Margins Changes When Locale Changes
The MSDN documention says PageSetupDialog.PageSettings.Margins are in hundredths of an inch. My CurrentUI is en-US. I set Top=70 (0.7"). When my application is run in a PC with CurrentUICulture set to some metric locale, eg German-Germany, the PageSetupDialog pops up with a Top of 7 (mm). It seems that a Margins value of x inches will be converted to x *10 mm. Why isn't it converted to x *25.4 How do I make sure that my margin values stay the same no matter what locale the application is running in Thanks. I found out more. If I enter a margin value of 25 (mm) in the Pag ...Show All
Visual C++ Unresolved external symbol _main referenced in function _mainCRTStartup
Hello, When I upgraded my code from VS2003 to VS2005, the VS2005 gave me these error responses. Error 189 error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup Error 190 fatal error LNK1120: 1 unresolved externals The program works well under VS2005. I do not know how to fix this , please help me.... Thank you very much! Yang Hi, I tried to change the option to Windows (/SUBSYSTEM:WINDOWS), but it does not work... Thanks! Yang ...Show All
Software Development for Windows Vista Vista UI lacks of Transitions, Fades and some other things
I like Windows Vista very much, but when i compare the current December CTP [of which I am beta tester] with a Mac OS X Tiger video found on the apple homepage, Vista falls behind in some areas. What I find so pleasing in Mac OS X are the cool but not annoying transitions in various parts of the user interface. In Vista, except of the window minimize to taskbar, maximize from taskbar, window open and window close effects, there are none noticable. There should be much more, for example when opening the start menu, etc. There are tons of possibilities for transitions which look nice, aesthetic, don't disturb users and help better recog ...Show All
Visual Studio Examples of beta vs prod builds?
I have a 2005 smart client that is deployed using ClickOnce. To build beta, I have to change the app.config file via Settings.Settings to say "Beta" and vice versa for a prod release. I also have to change the URL in the publish tab via the properties window for the project. It is really not that much but I can't seem to find any examples of how to do this via MSBuild. Anyone have any samples, links or anything they can point me to Thanks, Keith You can solve the app.config problem by doing a command-line build of your project file in combination with a custom task. You'd write a custom task in MSBuild that knows ho ...Show All
Windows Forms problem with mirrored listview
I created a class that inherits ListView and overrode the function CreateParams : protected override CreateParams CreateParams { get { const int WS_EX_LAYOUTRTL = 0x400000; const int WS_EX_NOINHERITLAYOUT = 0x100000; CreateParams CP; CP = base .CreateParams; CP.ExStyle = CP.ExStyle | WS_EX_LAYOUTRTL | WS_EX_NOINHERITLAYOUT; return CP; } } so basicly it supposed to mirror the content. now, the list view is in Details mode and I add some headers. the rows with the data turns out allright but the headers are backwards(just like I didn;t mirrored it). anyone knows why or how I can mirror the headers too ...Show All
Visual Basic ListBox as an argument
Here is one for the group. Can a list box become an argument, ie. ListBox(21) ListBox(22) My problem is that I have several list boxes with data. I need to compare ListBox1 with ListBox2 and 3 and so on. It would be so much easier to use a variable like ListBox(x) as the list box number. Thanks, rmc The easiest way is to create an array of the TextBox type and add your TextBoxes to it ala: 'Create a 10 TextBox long array Dim TextBoxes(10) As TextBox 'Add new TextBox at array index 0 TextBoxes(0) = New TextBox() 'Add new TextBox at array index 1 ...Show All
SQL Server How Can I call SQL Server SMO Objects in VC6 or VB6
How Can I call SQL Server SMO Objects in VC6 or VB6 Hi I want to use SQL SMO (SQL Management Object .Net Library) in VC 6.0 and VB.6.0 I don’t want to use SQL DMO (COM component) I tried to make COM callable wrapper (CCW) for SMO using the following command line execution. RegAsm.exe /tlb:MicrosoftSqlServerSmoTest.tlb Microsoft.SqlServer.Smo.dll After executing the command line RegAsm.exe, I got the following output. Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.42 Copyright (C) Microsoft Corporation 1998-2004. All ...Show All
Smart Device Development Serial Ports and PPC
Hi, I am currently porting a simple piece of win32 code to PPC 2003 using VS2005. I have trouble openening up a serial comport. In the code I am using on PC, I am using CreateFile for opening COM ports. Is it not possible to use that on a PPC device . I keep getting an invalid handle back. When running the application on target. I have been looking in the past threads on this issue, and all those seems to suggest using .NET is the way forward.. Being a newbie that is abit much to start looking into just to get a simple comport to work... Could anyone please give me some hints on this one Many thanks in advance, ...Show All
SQL Server SQL Agent Failure
I have created a job with several SSIS packages included in it. There is a failure when I schedule and run the job. Where can I find the information why it is failing When I run the packages individually, they run fine. Thanks in advance. Presumably you are using a log provider in your packages so first thing to do would be to look at those logs. Also, use command-line job step to execute the package. http://wiki.sqlis.com/default.aspx/SQLISWiki/ScheduledPackages.html -Jamie ...Show All
Microsoft ISV Community Center Forums vb in excel - on data modified?
Hello. This is my first time here and I'm totaly not sure if I post this question in the right place (or even if this forums have a place for it) but I didn't found anything that sounds more apropriate so here goes. I'm trying to capture the event when someone modify a cell data in an excel worksheet. I managed so far to patch the following "macros": per the support engineer: Solution ================ Would you please tell us where the other abort points are And you can try following things: 1. Try to run the code on another computer(which al ...Show All
Smart Device Development Does a custom Setup.dll work with WCELoad?
Does WCELoad.exe call codeINSTALL_EXIT Or, is it only the Application Manager (CEAppMgr.exe) that does this I've been trying for a couple of days to create a dll that would fire off after installing my cab file using WCELoad.exe. Please tell me if this is not possible so I can stop trying to make it work. Yes it does. CeAppMgr.exe runs on desktop, it has nothing to do with CAB's setup DLL. Basically it just copies CAB to the device and invokes WCELoad.exe. As to your problem, please make sure your DLL is compiled for correct CPU and exports all required entry points. This DLL can not be managed. There ...Show All
