Dear Friends,
I want to create a .cab installer for my application. i have my application in a .exe format. Now i want to create a online installer in .cab format(for IE only). I dont have .net. Please hep me to find out how it can be done and is any other tools is available. Please guide me if their are open source tools are available....
Hi Guys,
If i have the following entity:
public class PocoWithDates
{
public string PocoName { get; set; }
public DateTime CreatedOn { get; set; }
public DateTime LastModified { get; set; }
}
Which corresponds to a SQL Server 2008 table with the same name/attributes...
How can i automatically:
Set the CreatedOn/LastModifi...
I have a set of actions in a database, such as Add User, Edit User, Import Users, Send Invitation, etc. I have attached these permissions to roles. Then I attached these roles to users.
Is there a good pattern or API I can create for using this? I do not want to put a bunch of if/else statements in the code to check for permissions. So ...
I have an instance of System.Windows.Forms.CheckedListBox which displays a list of tick boxes and I have some other System.Windows.Forms objects in my application. I would like to, depending on what the user selects using the other System.Windows.Forms items, show or hide different items in the System.Windows.Form.CheckedListBox. How cou...
Let's imagine I want to stream three files to a user all in a row, but instead of him handing me a Stream object to push bytes down, I have to hand him a Stream object he'll pull bytes from. I'd like to take my three FileStream objects (or even cleverer, an IEnumerable<Stream>) and return a new ConcatenatedStream object that would pull f...
Hi to all,
I am excited to be a part of the forum :)
my first post !
I am posting this so that many can benefit from it.
My question: what is the fastest/performance approach to send large managed Bitmap object to unmanaged/native function ?
I will be using C++/CLI, (VS 2008, .NET 3.5) for that purpose
One Approach: pin_ptr
use pin_...
Hi all,
My questions title says it all.. Are VC Runtimes part of .Net framework? also how can I get the VC 10.0 Runtime for download?
...
I have a web service that contains a method I need to run to generate a report. The web service method is written in .Net 2.0 and works fine on my test system which runs on the same server as the live system. The only difference is that the live version uses https.
Whenever I change the endpoint address to the live service and run my ap...
Hi i have a jquery tab. On each tab click i want to load a fresh page . I am using iframe, but while tab switching only the source is changed loading event does not takes place. How can i solve this?
CODE......
function LoadIframePage(url) {
document.getElementById("ifrforms").src= url;
}
<div style="float: none; height: 80...
I need to parse the string "1.2345E-02" (a number expressed in exponential notation) to a decimal data type, but Decimal.Parse("1.2345E-02") simply throws an error
...
Our company's website is built on MCMS 2002. We are on IIS6 and we need to redirect our site users to our new website in another domain. What are the options for redirection in MCMS 2002?
mcmsfaq.com has a link to a redirection control - reDirector, but the link is 404.
Will ISAPI_Rewrite work with MCSM-2002?
I urgently need hands-on...
I have code which require me to Pinvoke into a 3rd party native DLL. The issue is that when I use the Nunit test runner for those tests, the native dll is locked by the nunit processes (nunit.exe and nubit-agent.exe). Thus my post-build copy command fails because of this.
The only way to generate a 'successful build' (includes post-buil...
I know I can append to a string but I want to be able to add a specific character after every 5 characters within the string
from this
string alpha = abcdefghijklmnopqrstuvwxyz
to this
string alpha = abcde-fghij-klmno-pqrst-uvwxy-z
...
Hi,
I'm converting an old website which uses clientside XSLT based on an old working draft:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
It looks like IE is the only browser who can manage to transform the HTML client side.
When transforming is done serverside with .net code, it will throw an error:
System.Xml.Xsl.X...
i write winforms application, using .net 4.0, linq, etc. will it work on machines with .net 2.0?
...
I have an GUI application that takes a while to load all its plugins, before it is ready to be used by the user.
I want to write a C# program that would measure the time taken for this application to start up. I thought the Process.WaitForInputIdle() method would do the trick, but it doesn't. It exits as soon as the process is started.
...
I need to send push notifications to a Blackberry device from my ASP.NET application. What is the best way to do it? Are there any .NET libraries? Do I need to compile a PAP request by myself or something like this?
...
How can I call an aspx page from a SilverLight application, so that it opens in as a modal dialog and it blocks interaction with the SL application until the dialog is closed?
Thanks
...
Hi Everyone
I am stuck here.
Is it possible to map data from 2 different tables to 1 entity in Entity Framework 4.
I have a bunch of employees in one table, and in the other I have som project information.
I would like to combine these 2 tables in one Entity, and keep the tracking features etc., is that possible?
I do not want to use...
Dear All,
I have a problem with connecting to a server which is another machine. When i try connecting my machine with the following code, it works fine:
'connString = "Data Source = .\sqlexpress;" & _
'"Initial Catalog = one;" & _
'"Integrated Security = SSPI"
Try
conn = New SqlConnection(connString)
conn.Open()
MessageBo...