Click here to Skip to main content
15,886,110 members

Comments by Sugu.s (Top 18 by date)

Sugu.s 20-Dec-13 4:33am View    
Replace your Query string as "SELECT ISNULL(username,'') AS username, ISNULL(password,'') AS username FROM login;"
Sugu.s 17-Dec-13 0:56am View    
Hi, already the ElevatedPermissions set as Required.
Sugu.s 6-Nov-13 8:17am View    
This way returns only host name not client machine name...
Sugu.s 29-Apr-13 9:21am View    
It seems not certificate issue. I found that XP could not read WIA. When i going to create object like AutomationFactory.CreateObject("WIA.CommonDialog")), i got error as "No object was found registered for specified ProgID".

My code is,
try
{
using (dynamic CommonDialog = AutomationFactory.CreateObject("WIA.CommonDialog"))
{
dynamic imageFile = CommonDialog.ShowAcquireImage();
if (imageFile != null)
{
if (!Directory.Exists("D:\\ScanImage"))
{
Directory.CreateDirectory("D:\\ScanImage");
}
string filePath = string.Format("D:\\ScanImage\\{0}.jpg", Guid.NewGuid());
imageFile.SaveFile(filePath);
}
}
}
Sugu.s 26-Apr-13 0:34am View    
Did you mean expire date of key. That is 4/18/2014.