OktaEndy's Q&A profile
.NET Development Serious error with datatable
Hi, I have a DataTable in which I adding DataColumns dynamically through programming at run time using for and foreach loop. I am able to add first item programatically, but at second time I am getting following error: Error: InvalidOperationException: Collection was modified; enumeration operation may not execute. Please assit me solve this. Thank you Hi Prashant! It is becuase of the fact ...Show All
Windows Forms Resize Image => unwanted border appears in resulting image w/ HighQualityBicubic Interp.
this is the function I use : public static void ImageResize(string str_file, string toDir, int Percent) { Image imgPhoto = Image.FromFile(str_file); float nPercent = ((float)Percent/100); int sourceWidth = imgPhoto.Width; int sourceHeight = imgPhoto.Height; int sourceX = 0; int sourceY = 0; int des ...Show All
.NET Development SslStream and SSL protocol not recognized (i think)
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace provaSSL { class Program { static void Main( string [] args) { try { string certName = "" ; TcpCl ...Show All
Visual Studio How to add and use a datasource dynamically?
I want to add a datasource to my local report dynamically. I do this using the following code: .Add( New Microsoft.Reporting.WinForms.ReportDataSource( "UserList" , m_ReportBuilder.GetUserList.Tables(0))) In this example the m_ReportBuilder is just an object that returns a dataset object that contains a dynamically created table that has the data I want to display in the report. The question then becomes, how do I bind ...Show All
.NET Development Delegate security in v1.1
Hello, I'm having a bit of trouble with a piece of code. Recently I wrote a control hosted in Internet Explorer. This control performs a long operation and when it's done, it raises an event. This event should be handled in a JavaScript handler in the web page (connected with a <script for="..." event="..."> handler). Everything works just fine in .NET Framework 1.1, but something is very wrong in .NET Framework 1.1 Service Pack 1. Essenti ...Show All
Software Development for Windows Vista Visual Test is blocked from clicking UI
In the Vista docs, it mentions UIPI and UAP being off by default in Beta1. Since installing the Dec. CTP, Visual Test gets an error "cannot set playback hook" when attempting to click buttons on other applications. This is essential functionality for UI scripting via MSAA applications like Visual Test and Silk. What's the solution for enabling a VT to click buttons Is this a bug of the Dec. CTP or a feature We can an ...Show All
.NET Development Installing .. advpack.dll
Not sure if this is where to put this question but I can't find anything else on these forums (shrug ). I'm trying to install the 2.0 redistribution package and get an error with c:\windows\system32\advpack.dll when trying to install. Any suggestions The reason I'm looking to install it is because I have an application that requires it. Maybe I actually need something different Ugh. lol ...Show All
Software Development for Windows Vista ASP.NET And a State Machine Workflow
I recently read the MSDN magazine article, Windows Workflow Foundation, Part 2 (http://msdn.microsoft.com/msdnmag/issues/06/04/CuttingEdge/), where Dino Esposito demonstrates how to work with workflows in ASP.NET. Dinos' demonstration provides a helpful solution to working with Sequential workflows; however, it left me a little confused with how to work with a State Machine workflow. In the article, Dino demonstrates how to pass parame ...Show All
SQL Server hard query
hello i have a proplem in query i have 2 tables in my sql db one named stuednt include fields(id,name) and one table named stu_cources include fields(id,course_name) ok i want to query the student that have courses EX. mcse the result that i want from 2 tables ID | NAME | Coures_NAME in MSHFLEXGRID1 any one help me plz ... hi, i don't know is the id in your courses table is the cource id or a student ...Show All
SQL Server SQL Express and VS 2003
1. I am developing in Visual Studio 2003 connected to sql server express. Everything is fine. But I cannot modify tables in server explorer in visual studio 2003. The following is the error message: "You have connected to a version of SQL Server later than SQL Server 2000. The version of Visual Studio or Access that you are using was released before the version of SQL Server to which you are conn ...Show All
Visual Studio Handle leak in devenv.exe when using Dynamic Help
Since I started using VS 2005 for developing our Portal and class libraries, I have experienced a lot frusteation in the performamce of the VS IDE. Of course, when having Solutions containing 20 C# projects and one or two dependent ASP.NET portals, some performance degrade must be accepted. But having VS (devenv.exe) using more than 300.000 handles after a couple of hours is not what I believe is normal :-) See TaskManager snapshots here: h ...Show All
.NET Development Troubles extracting data in correct order
Hi everyone, i'm using vb.net 2003, i'm constructing a application, but now i have troubles extracting the data in the correct order. I need to lookup values from one table, either as is, or with DISTINCT, then, while the reader is busy reader (table1), it must also read (table2), but this time, if there is 3 values in (table1), eg categoryid = 1, 2, 3. And in table to is 50 items, it must first extract all the values from (table2), where cat ...Show All
SQL Server Restore a Database with Differential
Hello All, I'm new to this forum after read a few question error it given me little bit more understanding. But here's my problem I was create a database implement some tables than make a 'Full Backup' and input information on the table before make a 'Differential Backup'. I don't want restore a full database and just want to recovery specific table were deleted or removed. Please help........ Message show error: Restore failed for Serv ...Show All
Windows Forms checkbox greyed out
Hi I have added a checkbox column to my datagrid with this code.... Dim boolCol = New DataGridBoolColumn boolCol.MappingName = "ID" boolCol.HeaderText = "Process This item" &nb ...Show All
Architecture Problem with Configuration of BizTalk
Hi, I have installed biztalk server 2004 on windows XP Pro, SQL Server 2000 is installed on local computer. When i am configuring biztalk server on my local machine(through configframework), it gives me following error: An unexpected error occured while configuring the Single-On Server (The indicated service is not installed service ). In log file the following is then locat ...Show All
