Hi
I have a windows application coded using Visual C# in .NET 2005.
The application queries data stored in an MS Access table. One of the
field in the access table contains text which is hyperlinked to
particular files on the local machine.
Say, I have a field called TITLE and all each of the specific documents
(pdf or word) are hyperlinked to the corresponding record in the TITLE
field.
I am able to do this in Acess.
But, this property does not carry over in the windows application.
I am using a datagrid to display the queried results.
I set the required field to be as "Hyperlink" property for the datagrid and still the file does not open.
Any ideas on how to fix this?
Loading
RushalKumar ShirsathPosted Nov 1, 2007, 5:07 AM
I have problem in windows services.
i have created windos service application but when i run it by command
installutil /i /Winservice/bin/debug/Winservice.exe
then i get problem.
my code is like this
--------------------------------------------
Winservice.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
using System.Text;
using System.IO;
using System.Web;
namespace wis1
{
public partial class Service1 : ServiceBase
{
public Service1()
{
InitializeComponent();
}
protected override void OnStart(string[] args)
{
// TODO: Add code here to start your service.
File.Create("D:\aaa.YBP");
}
protected override void OnStop()
{
// TODO: Add code here to perform any tear-down necessary to stop your service.
File.Delete ("D:\aaa.YBP");
}
}
}
---------------------------------
in
ProjectInstaller.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
namespace wis1
{
[RunInstaller(true)]
public partial class ProjectInstaller : Installer
{
public ProjectInstaller()
{
InitializeComponent();
}
private void serviceInstaller1_AfterInstall(object sender, InstallEventArgs e)
{
}
}
}
-------------------------------------------
send me solution