Answer Questions
pvh Need your opinion!
I need someone’s opinion on an issue im having. I just started working at a new company a couple of months ago. A project manager and I are looking at things a little differently about development of a certain project. Here is the problem and or argument. Calls are made to the database to retrieve data in a dataset. Now does it make any sense to take the data in a data ...Show All
The Rhino Saving data array as bitmap
Hi there, I have what should be a simple question: Using VS C++ 2003, how do I convert and save my data array(s) into bitmap files so that I can display them on my windows forms image window Thanks, Joe Thanks a lot! I will check it out as soon as I leave work! hehe Sounds exactly like what I am looking for. Take care You can create a bitmap, use LockBits to ...Show All
Dundoan LinkedList<string>.ToArray() ???
is there a way to do the equivalent of these in 2.0: List<string>.InsertBefore() List<string>.InsertAfter() List<string>.InsertAt() I also tried using LinkedList<>, but I can't find this method: LinkedList<string>.ToArray() Using a List<> allows you to add items to the end of the collection and uses an array internally, which is why you can't add items at certain places (y ...Show All
steve sk Moving in Binary File
Hello I am reading data from binary file ,some of this data is string and some is images and the length of some of this data is saved in many places in the file I need a way to move back in the file i use the Seek method with the StreamReader to do that when i read text files but there is no Seek method for the BinaryReader Any body can help me . I try to read the file and every thing is g ...Show All
David L27550 .NET 1.1 in Visual Studio 2005
I'm sure this might be a dumb question, but I thought I'd go right to the groups to hopefully get a quick explanation. I'm writing a client app in VS 2005 that references a web service I had written in VS 2003. The client app utilizes 2.0, the web service uses 1.1. I know that the two can communicate, but can I pull the web service project into the VS 2005 solution and still it will rely on 1.1 (because the hosting server is only 1.1 capable). A ...Show All
John Chef Retrieve the value from two cells from a row in a dataGridView, C#2005Expr
Anyone who know how to retrieve the value from two cells when you click a row in a dataGridView so you can insert the values in two variables Observe! It doesn't seem to work in the way it did in earlier versions of VS.NET - I've tried but it didn't work (but from earlier experiences I know that's not a garanti tough). I know how to retrieve the value from the cell you click in, but since I have two key attributes in the table that's visu ...Show All
nglow Begginer:Need to get the object of a webservice.
I am relatively new to .Net Web Services. I have a web service on my local server named TEST_WEB_SERVICE.wsdl. I have added the webreference of the service into my .Net Application. Now, I want to create the object to access the methods of the webservice. Pls help me out!! I am using .Net 2005 beta 2. Well, I can see in the solution explorer that webservice i.e. TEST_WEB_SERVICE.wsdl is lying under the folder "localhost" and that is lying ...Show All
zulluz RSA Encryption
Cant find much info about this one on the net, but my problem is that cant encrypt\decrypt long string, im getting "Key not vaild for use in specified state" error.The key size is 2048, but string over 200-250 chars just dont get encrypted.. Thanks all If memory serves me right, RSA works in blocks that must be smaller than the modulus by 11 bytes, for padding. This would mean that a modulus o ...Show All
pcaddict how to read properties from a config.ini file
hi i wan't to read from a config file .eg: config("Connectionstring") i know how to load a xmldoc...eg: xmldocument.load("C:\config.xml") but how to retrieve the values in the nodes regards Remco For handling INI files there is a good artikel on The Code Project: http://www.codeproject.com/csharp/kratinihandler.asp INI's are not XML. When you want to read .NET Config Files (XML) for you ...Show All
MichaelBrietzke bug in Int32.Parse
In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't. The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Profes ...Show All
Rik Does system.net have any way to map a network drive?
I need to be able to map a network drive from .net, but the only method I have found so far is by using vbscript (wscript) from within .net, to call "net use" :-S I hope I'm mistaken and that there is a native way to map a drive... There is no way to do that from System.Net. try http://www.codeproject.com/csharp/mapnetdrive.asp If you would like to see such functionality in a futur ...Show All
John Doyle Different Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
hi, all, I did check this forum to make sure that I can dig out the solution from others: " Named Pipes Provider, error: 40 - Could not open a connection to SQL Server ], but cannot. My environment setting is SQL 2000 on Windows 2003 w/ VS 2003 and framework 2.0. I use Namepipes, no firewall, no IP connection in SQL Server but IIS. DotNet application works on develop box perfectly. IIS6.0, Windows2003 sp1, SQL 2000 sp4. Windows Update co ...Show All
BLW Type conversion error
I have multiple projects that depend on SSPI.h (taken from MSDN code samples). However, during the conversion to the .NET 2.0 Framework, this file is generating a type conversion error and I am not sure how to fix it. This is the error where _ _const_Char_ptr is typedefined as System::Char* error C2440: '=' : cannot convert from '__const_Char_ptr' to 'wchar_t __pin *' This is the code snippit: &nbs ...Show All
Mark3947387 4 Billion Threads?
right iam a complete newbie to threading, so please be patient. i have put together a new multi threaded c# asp.net app. It runs and does what its suppose to do so iam fairly pleased, however i was interested in threads and what its performance was like. So i opened up a the perfomance counter for .Net LocksAndThreads. aspnet_wp # of current logical Threads = 3 # of current physical Threads = 4294964275 # of current recognized ...Show All
pieter-kun Can I call stored procedure like this:MyStoredProcedure 'Parameter1', 'Parameter2'
hi, guys, We know, normally, when we call stored procedure, we need to: SqlCommand cmd = con.CreateCommand(); cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "MyStoredProcedure"; cmd.Parameters.Add("@xxx", xxxx); ..... Can I call stored procedure like this: MyStoredProcedure 'Parameter1', 'Parameter2' Just a single string like we do in SQL Query Analyzer, without adding parameters one by one. Thanks. ...Show All
