Is it possible to register a .NET component during the installation of a VB6 app?
Is it also possible to grant security (eg. via CAPSOL) as part of an installation package?
Hi,
I have created one application in c#.net.Using this application we can update datagridview,now i need to implement undo in it plz give me some ideas.
private void button29_Click(object sender, EventArgs e)
{
Datatable dt;
dt.RejectChanges();
}
using above code i can do undo before updating.
but i need a undo feature as in word plz suggest me
thanks in advance
Hello,
I have developed my .net web app on XP using IIS6.
It uses just plain old master pages, nothing fancy. No nested master page.
When I deployed it to the server, which is IIS7, suddenly any page that implements a master page, will not be rendered.
Gives a 404 error instead.
Any ideas, about confguration that I need to specify in IIS7 that is not in IIS6?
Thanks
I add to my project a PageFunction and I get a dozen of the following error and the project won't compile:
'ResourceDictionary' root element is a generic type and requires a x:Class
attribute to support the x:TypeArguments attribute specified on the root
element tag.
Basically I get an error for each DataTemplate I merge in the ResourceDictionary, has anyone encoutered this problem before?
Note: I use VB.NET 3.5 on VS 2010.
I have checked the following article on how to use the sqlMembershipProvider. My doubt, is this the way most of the asp.net applications authentication schemes implemented.
Is there any other method, any references will be quite helpful for me.
I have constants in my cs file Constants.cs. In the asp.net mvc controllers I use the constants like this ViewData[Constants.Whatever] = ...;
How can I use the constants in my aspx file? When I try to use it I get an error saying:
CS0103: The name 'Constants' does not exist in the current context
I want to allow the user to add columns to a table in the UI.
The UI: Columns Name:__ Columns Type: Number/String/Date
My Question is how to build the SQL tables and C# objects so the implementation will be efficient and scalable.
My thought is to build two SQL tables:
TBL 1 - ColumnsDefinition:
ColId, ColName, ColType[Text]
TBL 2 - ColumnsValues:
RowId, ColId, Value [Text]
I want the solution to be efficient in DB space,
and I want to allow the user to sort the dynamic columns.
I work on .NET 3.5 MSSQL 2008.
Thanks.
I am currently in the process of setting up ndepend report generation as part of Continuous Integration build process using CruiseControl.Net, I have followed the instructions outlined in ThoughtWorks Website.
The ndepend tasks runs fine and the reports are generated correctly but when I goto the dashboard and try to bring up the ndepend reports, nothing comes up (it displays blank). Does the cruisecontrol dashboard application expects the ndepend report in a particular file under the working folder or the artifact folder ?
Is there any class in .Net framework that can read/write standard ini files:
[Section]
<keyname>=<value>
...
Delphi have TIniFile component and I am looking if there is anything similar for C#.
I was told that the assembly files made from C# and F# source is interoperable as they are compiled into .NET assembly.
Q1 : Does that mean that C# can call F# functions just like they are C# functions?
Q2 : How about the IronPython and IronRuby? I don't see any assembly dll from the IronPython/IronRuby.
Q3 : Is there any easy way to use IronPython/IronRuby functions from C# or F#?
Is there any class available to get a remote PC's date time in .net? In order to do it, I can use a computer name or time zone. For each case, are there different ways to get the current date time? I am using Visual Studio 2005.
I'm searching for a free component or library that could convert HTML to PostScript ( .ps file format ). I'm using .Net framework 1.1. Any one have experience with situation like this ?
hi,
I am using Ajax Control Toolkit version 40412 in my asp.net 4.0 website. When I run the page in Firefox it is working good but I run the page in IE8 it is not rendering toolkit controls and putting "//" characters on the bottom of page.This is happening with every control of toolkit. What can be the problem with this, any ideas?
I have a site in ASP.NET and i thought it would be cool if i can redirect users to wiki.mysite.com. Now i would like to know if i can easily make MediaWiki recognize users logged into my site. I dont want any anonymous posters.
Is there a way to hook or have mediawiki use accounts/cookies from my site instead of using its own database/account system?
Hello,
i need to execute command line from .NET windows application.
I tried with this code but i get error
'C:\Documents' is not recognized as an
internal or external command, operable
program or batch file.
var command ="\"C:\\Documents and Settings\\Administrator\\My Documents\\test.exe\" \"D:\\abc.pdf\" \"C:\\Documents and Settings\\Administrator\\My Documents\\def.pdf\"";
var processInfo = new ProcessStartInfo("cmd","/c " + command)
{
UseShellExecute = false,
RedirectStandardError = true,
CreateNoWindow = true
};
var p = Process.Start(processInfo);
Hi,
I want to create a shoping cart web site using .Net and C#.
I am intermediate for C# and SQL Server.
Have no idea as of on how to start with a Shoping cart website ,my sincere grattitude towards any usefull link or suggestions and help .
Thanks,
Subhen
I've inherited a bunch of code that has server script inside of .htm files.
On IIS, a handler mapping pumps.Htm pages though the asp.net engine.
Unfortunately, visual studio doesn't notice that they should be treated as code.
Is there any way to make VS treat .Htm files as code/aspx files?
Taking over some code from my predecessor and I found a query that uses the Like operator:
SELECT * FROM suppliers
WHERE supplier_name like '%'+name+%';
Trying to avoid SQL Injection problem and parameterize this but I am not quite sure how this would be accomplished. Any suggestions ?
note, I need a solution for classic ADO.NET - I don't really have the go-ahead to switch this code over to something like LINQ.
My Boss have given me assignment to find how a web based application developed in dot net can be protected. As per agreement products developed in our company are asset of company and even not developers can gave the code. But still he wants to know how he can protect products in case a developer theft code and try to launch it from his home ?
Please guide how this can be controlled.
Hi,
We have an existing web application developed using ASP.NET/Ajax
We are planning to move it to either WPF or Silverlight.
Can someone please compare these 2 technologies with respect to productivity,performance, maintainability,trade-offs, their pros and cons etc ?
Thanks for reading.
I have a uri string like: http://example.com/file?a=1&b=2&c=string%20param
Is there an existing function that would convert query parameter string into a dictionary same way as ASP.NET Context.Request does it.
I'm writing a console app and not a web-service so there is no Context.Request to parse the URL for me.
I know that it's pretty easy to crack the query string myself but I'd rather use a FCL function is if exists.
I'm looking for a while to programmatically convert (or use a tool already created) MACESS .cra, .acr, and .err files to a readable format?
I'd prefer a .NET way of doing it however at this point I'll take any programmatic way.
PS I tried adding tags "MACESS Sungard" but I don't have 250 rep yet to do so.
Hi
I have an asp.net page which launches a child page in another browser window to look like a popup.
I want to pass 2 pieces of data to it from the parent page.
I know ots possible with javascript, but is there a way to do it using C#?
thanks again
Hello
I want to design a WebService for communication between Win Mobile 6.5 based Palm device and a PHP web server. The Palm device software will be developed on .NET compact framework. The communication between web server and device I envision as XML over HTTP. I want a tool that will let me design the Webservice (interfaces, methods) and then generate the xsd schema together with xml messages for the communication. Can you recommend something?
Regards