Answer Questions
Stathis Papaefstathiou accessing asp:table cell values
I'm working with an asp:table control using C#. I wish to get the string values in the cells but it is proving more difficult than I had thought, is there an easy way My method doesn't appear to work, Text always returns and empty string! The cells in the second column actually contain a asp:textbox as the contents are meant to be editable. There are only two columns and a variable number of rows. Here's what I'm using [CODE] TableRowCollection ...Show All
MarcCBrooks Trouble betweeen xp32 and xp64 within the same vs 2003 app
Hi there, We have an app here we are developing, using vs 2003 visual basic and asp.net. For the past months, we only used vs 2003 pro under xp32 machines. Recently, 2 new atlhon 64 machines, running xp64 joined the developing team, using too vs 2003 pro. For some kind of strange reason, i dont know if its possible, but it seen that the code that was handled on Xp 64 machines and returned to xp32 machines stopped to work correctly. F ...Show All
Cyrus About License !!!
I want to develop a web site, for my Small Business, using ASP.NET... but my question is, what I have to pay in order to do this Thanx in advantage... That is correct. You don't need to purchase any licenses to run an ASP.NET website. I am 100% positive of this. That depends. You CAN get by without paying anything. There are free website hosts that support asp.net. The asp.net compiler is free. You could even u ...Show All
marcusaurelius error: oledbexception nust declare the variable '@Eff_Date'
Here is the code in my Load event after declaring cn, da and cm cn.ConnectionString = "Provider=SQLOLEDB;Data Source=localhost;Initial Catalog=matrix;Integrated Security=SSPI;" cm = New OleDbCommand("select * from lk_Feat", cn) cm.Connection = cn da.SelectCommand = cm cm = New OleDbCommand("UPDATE Lk_Feat SET Eff_Date=@Eff_Date , Exp_Date = @Exp_Date ......etc. .., cn) cm.Parameters ...Show All
Maojiu VS 2005 SQL access
Hello, I am learning VS2005. I have installed VS2005 on my laptop. In VS 2005, when I try to create a new database using Microsoft SQL server database file as the data source , I get the following error message. An error occured while establishing a connection to the server. When connecting to SQL server 2005, this failure may be caused by the fact that under the default settings SQL server does not allow remote connections. ( Provider: ...Show All
rkn123 Is File Path longer than 260 characters allowed in .Net 2.0 ?
In .net 1.1 I get a pathtoolongexception see here .... "The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters.The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must b ...Show All
RiskSWDeveloper_WorkEmail VB Code to open a Web Form
Is there VB Code to open a Web Form if you have a form called myForm you can call Dim cMyForm as New myForm cMyForm.Show in VS2005 you can also call My.Forms.MyForm.Show Hi, What do u mean by open a Web Form If you are referring to opening a Web Form from a Windows Application in VB, then you can use Process.Start and pass the link as a argument to Internet Explorer. Sample: Process.Start("iexplore.exe", " http://localhost/ ...Show All
Terry Kim AuthenticateAsServer Method
hi there I have a problem implementing "AuthenticateAsServer" method. X509Certificate2 cert = new X509Certificate2("C:\\certnew.cer"); SslStream mySSLStream = new SslStream(myclient.GetStream); mySSLStream.AuthenticateAsServer(cert, True, SslProtocols.Ssl2 || SslProtocols.Ssl3 || SslProtocols.Tls, true ); As it is obvious the certification is invalid (missing private key). does anyone know how to export a pfx file or something ...Show All
kalikoi How to count and retrieve the number instances of current process
Hi, My requirement is to count and retrieve the number of instances of current proces. I am opening Internet explorer with 5 instances. I want to retrieve the url address of each instance in vb.net. Is it possible Regards, Helan Thanks ahmed. I am using Internet explorer only. Actually what's happening is Process.GetProcessesByName("iexplore") returns length as 2, if I am having two ie instances befo ...Show All
Chandra_SQL unable to connect to SQL server
hi everybody! I am just a beginner in asp.net. i am trying to connect to the sql server and getting an error: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. the code line for connection is : cn.ConnectionString = "Data Source=DENVER; Initial catalog=pubs; user id=sa ; Pwd=" right click on the server name - properties gives a message saying only sysadmin can access this feature. do i need to ...Show All
nkh8204 ThreadPooling in c#
I have to upload 70 files using ThreadPooling and code i have used is as below.I have set the maxthread size as 10.But it is uploading only 8 files. Please tell me how to make it work.Also if u can please give a sample code.Help will be greatly appreciated. WaitCallback callBack = new WaitCallback ( UploadFileEx0 ); for ( int i = 0 ; i < 70 ; i ++) { if ( true == isThreadAvailable ( true )) { T ...Show All
mvt howto modify a label's/textboxe's value that is a membr of a form in the windows application project from a web service project?
i want to ask "how to modify a label's/textboxe's value that is a member of a form in the windows application project from a web service project " In my solution there are three projects! one of them is ASP.NET web service, other is classLibrary and another is a windows application... (build order 1.win app, 2.classLib,3.WebServ). firstly i create then show a login form(name: loginForm) that is in my win app project. then when user lo ...Show All
JeromeGab Exposing .NET Class as a COM Class
Hello, I am having problems with exposing a single C# class as a COM Class. I have a project which compiles to an .exe. I have a C# class which has an interface. I wish to expose this class and only this class as a COM class. Can you help with an example Or some steps on how to do this, without creating another seperate project. I can create a type library and a DLL and I can register these. I can create a class wrapper ...Show All
HelenZHOU I need help on embeding a database in an application
can anyone help me on how to embed a database with an application i am developing an application for organizations to give an HR system. so which database tool should I use and how do we include a database inside an application I mean it istalls with the application I agree. Consider that Visual Studio 2005 includes full support for SQL Server Express and all of the other editions. While it also can connect to ...Show All
Per Dunberg Faulting application...faulting module kernel32.dll, Source - .NET Runtime 2.0 Error Reporting
I am getting following error once I double click on the executable of the custom application Faulting application km.exe, version 1.0.0.13965, stamp 4486cb6c, faulting module kernel32.dll, version 5.0.2195.6946, stamp 40d223b8, debug 0, fault address 0x0002bbf3. Km.exe is my custom WINFORM application executable. I believe the above is a common Error Message. It has been a very frustrating experience for last two days and today. He ...Show All
