|
Hi all
How to insert an EMF file in to the MS EXCEL Sheet by drag and drop.
What's the appropreate dataformat for SetData method.
Iam able drop Bitmap images in to the sheet but could not do it using DataFormats.MetafilePict.
Gokul
|
|
|
|
|
I just want to show/hide QuickLaunch Bar or Any Other Toolbar(Desktop, Language Bar etc.). I have almost seen all the features of shell32.
first I add shell32.dll (search from the Windows folder) to the reference.
Then write the following code
Shell32.ShellClass objShel = new Shell32.ShellClass();
You can see all properties of TaskBar --> Right cick --> Context Menu.
But i found Toolbars no where so that I can access The Toolbars . If any one have already worked on it then please guide me to show/hide taskbar toolbar.
|
|
|
|
|
Hi,
I want to write an application that i can use IE(Internet Explorer) Dll to navogate Interenet and use IE Facilities . how i can do this job?
---------------------
Areff.HB@Gmail.com
---------------------
|
|
|
|
|
Have a look at the WebBrowser (Windows Forms) control. This might be what you are looking for.
|
|
|
|
|
Hi,
Can anyone tell me how to open Enterprise library, and if it can be opened and used with C# Express? It seems to have come in .sln and it won't won't open in C# Express. Do I need VS2005 to be able to view the files??
Where can I get valuable information on how to use the new Enterprise library. I have never used it before and would like to use it now. I am a total dummy when it come to Enterprise library, so beginners tutorials are most welcome.
Regards,
ma se
|
|
|
|
|
The Enterprise Library solution contains Solution Folders. These are only supported in VS2005 so you will not be able to open the solution in C# Express. From memory I think there is an option in the installer that tells it to build the assemblies at the end of the install process. There is also a shortcut to a batch file in the Start menu that you can use to build the assemblies.
Access to the source code is not required to use the Enterprise Library. You only need to add references to the compiled assemblies in your project and usually some basic configuration information added to your config files. Those references can be added to a C# Express project and the configuration can be added using the Enterprise Library Configuration tool.
Check out the Start menu item called Enterprise Library Documentation. This links to a help file that provides all the information that you need to get started.
|
|
|
|
|
|
Hi all,
I have been a fan of this forum.
Wanted some help from you guys.
I am using asp:WebPartManager in my code along with passport 3.1.but I get an error
"The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user.
Parameter name: value
"
Could anyone help.
After putting in some effort, i got the point that httpcontenxt.user.isauthenticated was not true in case of passport 3.1 whcih is necessary for webparts , i guess.
So how do i make that authenticate true.
Regards,
Sama
|
|
|
|
|
|
Take internet explorer and type url.then press enter key.
Deepthi Wilson
|
|
|
|
|
Deepthi this is not the place to make fun. ok.. I want a resonable logic in c#
|
|
|
|
|
|
using System ;
using System.Runtime ;
using System.Runtime.InteropServices ;
public class InternetCS
{
//Creating the extern function...
[DllImport("wininet.dll")]
private extern static bool InternetGetConnectedState( int out Description, int ReservedValue ) ;
//Creating a function that uses the API function...
public static bool IsConnectedToInternet( )
{
int Desc ;
return InternetGetConnectedState( out Desc, 0 ) ;
}
}
|
|
|
|
|
using System ;
using System.Runtime ;
using System.Runtime.InteropServices ;
public class InternetCS
{
//Creating the extern function...
[DllImport("wininet.dll")]
private extern static bool InternetGetConnectedState( out int Description, int ReservedValue ) ;
//Creating a function that uses the API function...
public static bool IsConnectedToInternet( )
{
int Desc ;
return InternetGetConnectedState( out Desc, 0 ) ;
}
}
|
|
|
|
|
This is a lot easier in .NET 2.0. Check out the new System.Net.NetworkInformation namespace. The NetworkInterface class contains a property called OperationalStatus that contains an Enumeration value indicating the current status. The namespace also contains a Ping class that you can use to check the availability of a specific address and a NetworkAvailabilityChangedEventHandler Delegate that you can hook up to methods that you want called when network availability changes.
This should be a lot more fun than typing a URL into your browser.
|
|
|
|
|
Thank You
I this this will solve my problems.
Thanks again
Jijo
|
|
|
|
|
How do I install .Net 2.0? I have installed .Net framework 2.0, but when I use Visual Studio 2003 and view the About dialog, it still shows me .Net framework 1.1? What do I have to do in order to begin using .Net framework 2.0?
|
|
|
|
|
Hi,
I don't think you can use .NET 2.0 framwork with VS2003. It will still only pickup version 1.1. I think it can only be used with VS2005, or the express products.
If anyone disagrees with me, please let me know.
Regards,
ma se
|
|
|
|
|
|
Hope this will work, as per your requirement...
For installing .Net 2.0 download from the Internet and Install.
Go to your respective framework folder May be "C:\WINNT\Microsoft.NET\Framework\"in you command prompt...
cd v1.1.4322(which is your directory for .net 1.1)
than run
aspnet_regiis -u (this will uninstall your .net 1.1)
then go to 2.0 framework directry
may be v2.0.50727 or v2.0.*
aspnet_regiis -i (this will install your .net 2.0)
you may check it wiht
aspnet_regiis -lv (this will List all the version...)
BapiLolly
|
|
|
|
|
to sum up the other answers, you can develop for framework .NET 2.0 only with VS2005
|
|
|
|
|
As others have said, only VS 2005 will develop apps for .NET 2.0. If you don't have it, you can download the free Express editions from here[^]. With some limitations (which most really don't matter), the Express editions are totally free, and can be used for commercial development.
Luis Alonso Ramos
Intelectix
Chihuahua, Mexico Not much here: My CP Blog!
|
|
|
|
|
Installing .Net 2.0 is fine. Even if you don't have Visual Studio 2005, 2.0 will let you run apps that may have been developed in VS2005, so don't uninstall it.
Note: do NOT unistall .Net 1.1. If you do, anything developed in VS2003 will not run. .Net 1.1 and .Net 2.0 can co-exist togeather, with no problems.
Roy.
|
|
|
|
|
How do I backup up my SQL Server DB from C#?
Is this the best way
dim c as object<br />
set c = createobject("adodb.connection")<br />
c.open "provider=SQLOLEDB;server=yourSQlServerName;UID=login_name;PWD=login_pwd;"<br />
c.execute "BACKUP DATABASE yourdb TO DISK='C:\backup\yourdb.bak' WITH INIT"<br />
c.close<br />
set c = nothing
|
|
|
|
|
That appears to be VBScript. Are you new to C# and .NET development? You can use ADO.NET to execute your SQL commands in C#. You can also use SQLDMO or SMO for performing maintenance tasks on SQL Server. SMO is available only in SQL Server 2005 versions. A search on MSDN for SQLDMO or SMO should return plenty of results. Good luck.
|
|
|
|