PederO's Q&A profile
Windows Forms Weird behavior when customizing property grid.
Hello guys, I'm studying the architecture behind custom controls and the property grid in 2.0 for a while now, but I still not seem to get it completely. I've tried a couple of strategies, which all resulted in some undesired behavior that I cannot explain. I hope someone can help me out and provide me with the missing details. Strategy 1: ICustomTypeDescriptor I linked an extension of CustomTypeDescriptor to my custom textbox through a ...Show All
.NET Development Solution for MailSettings Problem when configuring SMTP
Just FYI if you encounter the problem with SMTP setting through ASP.NET configuration for Membership Services. Error will be as following:============================== Compiler Error Message: CS0246: The type or namespace name 'MailSettingsSection' could not be found (are you missing a using directive or an assembly reference ) Line 45: Line 46: Configuration config = OpenWebConfiguratio ...Show All
Software Development for Windows Vista Dual Boot with Vista
I've got an AMD Dual processor system AMD X2 4400 ASUS A8N-SLI Premium 2Gb ram 2 250gb SATA II (RAID together as one 500gb drive) I've got Windows XP Pro as my Operating System and was thinking of putting on Vista and create a dual boot system. Do I need to partition my 500gb drive to do this How would I partition it If I partition it can I also split it so I can also install Windows XP64. I would prefer to ...Show All
Visual Basic streamwriter doesn't call stream's write() method ?
Hi, I've create a stream class for use with a company custommade networkprotocol. I inherited the stream class and implemented all methods needed. VB 2005 created them for me so I could not make any typing errors there. When I create a streamreader using this stream my overridden read() method in the stream class is called when I use streamreaders readToEnd() method. But when I create a streamwriter and call it's write() or writeline() met ...Show All
Windows Forms Better DataGrid
Hi, We are having major problems with the .NET DataGrid and I saw in some forum that Microsoft worked with another company to produce a more feature rich control. I can't seem to find it. Does anyone else know anything about it MAtt ...Show All
Visual FoxPro VFPOLEDB on 64 bit Operating Systems
This is a bit annoying because there doesn't seem to be any reference about this on any of Microsoft's sites. Is the VFPOLEDB not compatible with 64 bit operating systems When trying to use it with either XP Pro 64-bit Edition or Windows Server 2003 64-bit edition, I get the "Provider not installed on local Machine." I find it hard to believe (sort of) that Microsoft would not specify that, nor get a patch out for it. Many of my ...Show All
SQL Server Trouble with installing SQL Server 2005 Developer Edition
I downloaded the 2 CD ISO Format from msdn to install SQL Server 2005 English Developer Edition on my XP SP2 box. I currently have SQL 2000 running. So Sql Server 2005 Dev Edition is to run side by side in a named instance. From CD1, I launched default.hta and could not install Database Services. The log mentioned could not find a 'valid copy of xxx.msi' where xxx is VSS writer, Database Services or SQL XML4 etc... I tried 3 times and e ...Show All
Windows Forms Exporting OCX files
I have created a control in Visual Basic 2005 Express Edition Beta. When I build it, it just makes a dll files. Where is the OCX toolbox file Now I am getting the error again :( "Object Refrence not set to an insta ...Show All
Visual Basic Trying to update a datatable
I am completely frustrated… Trying to help a friend. Here is what I have been trying to do.. I am a noob at visual studio. I am setting up an inventory database using VB as the front end. I have setup an accounts table, product table. These I can view edit, delete, and ad records to fine. I am trying to make an invoice. I have set up the following tables: tblInvoice ...Show All
Windows Forms designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or m ...Show All
Visual Studio Express Editions How do I build a dll from command line using C# express ?
I have C# express installed and would like to build a dll with following command : csc /target:library /out:bank.dll a.cs The windows Command Prompt responds with " 'csc' is not recognized ..." I know in VS 2003 I can use the .NET Command Prompt. How do I do this for C# express so that my above dll build command will be recognized thanks. The C# command-line compiler is lo ...Show All
Visual Studio Team System Webtests in Internet Explorer 7
I tried recording a webtest with IE7 installed. Unfortunately it doesn't seem to work as no button clicks are recorded, only page requests. Uninstalling IE7 made webtests function but I really like IE7 :) Is there anything I can do to get both The current IE7 beta releases have a bug in them that prevents form POSTs from being recorded by the web test recorder. I have been working with the IE team to make sure this gets fixed before ...Show All
Visual Studio OLE DB Connection problem with Crystal Reports 9
I have a C++ application that was implemented as OLE DB provider. When I create a report using Crystal 8.0 or 8.5 using OLE DB I connect to my application (it is displayed in the list of OLE DB (ADO) providers) and generate reports. When I try to do the same with Crystal 9, I have a problem: As well as in Crystal 8, I select to create a new connection, select OLE DB and select my application as a provider, select the data link file where I ...Show All
Visual Studio Team System Opteron optimization / Profiling
Hi all We currently use Dual Xeon for a production server, but would like to change to Dual Opteron to get even faster speeds. Dual Xeon 3.8Ghz CINT2000 42.1 CFP2000 32.7 Dual Opteron 280 system CINT2000 75.6 CFP2000 82.4 My question is if the optimizer of Visual Studio Prof. 2005 will generate optimized code against the Opteron, and will the profiler work with Opteron (Intel VTune only works with Intel Chips). thanx, Soren ...Show All
.NET Development calling a web service on the WWWW (WAN) from a windows service
hi, I have a windows service who tries to call a web service that resides on the internet. upon calling any function using the proxy i consistantly receive the following exception: The underlying connection was closed: An unexpected error occurred on a send. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at Syste ...Show All
