Software Development Network Logo
  • Visual Basic
  • Visual Studio
  • Visual C#
  • Visual FoxPro
  • Audio and Video
  • Windows Vista
  • Visual C++
  • .NET Development
  • SharePoint Products
  • Game Technologies
  • Windows Forms
  • IE Development
  • Microsoft ISV
  • Smart Devicet
  • SQL Server

Software Development Network >> niallhannon's Q&A profile

niallhannon

Member List

Kaz3
kiril.stanoev
smalamas
Ashish Vyas
Eran Kampf
thekaran
VinceExtense
SillyMS
giko
Pockey
prakal
Kevin Hoffman
cisco0407
Carolina Gomes
Lunarpc2
uksuv
laboremus
Michael Dyrnaes
programmingisfun
Chuck Cobb
Only Title

niallhannon's Q&A profile

  • Visual Basic Accessing registry using VB2005

    Hi, I want to search for the installed software via registry. I don't know what should be exact path where i can locate the installed software in registry or what will be the keys which will help me to search all the installed software on the specific system. Please help me out. well i guess you have not seen "App Path" entries. Here i am pasting the ScreenShot. It contains the path of executable installed on system as "keys". http://i34.photobucket.com/albums/d149/h1ddd3n/rege.jpg ...Show All

  • Visual Studio 2008 (Pre-release) One Table Per Class Inheritance

    Hi. I'm testing Ado.Net vNext inheritance features. In my SqlSrv DB I've a one-table-per-class inheritance structure, with one table for Base objects and one table for each Derived objects, linked to the base through the ID field Base(ID, BaseProperty) Derived(ID, DerivedProperty) ..... SSDL <Schema Namespace="AdoNetEntityFrameworkTestTarget" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl"> <EntityType Name="Base" Key="ID"> <Property Name="ID" Type="int" Nullable="false"/> <Property Name="BaseProperty" Type="nvarchar" Nullable="false" MaxLength="50"/&g ...Show All

  • Visual Basic Please Help me in converting VB6 DataGrid usage to VB2005 DataGridView.

    Hi, I am a newbie VB6 programmer looking for assistance in converting the following code into VB2005 code. No matter what I seem to do I cannot get an equivalent that will run using VB2005. I have to stay with the existing file format due to legacy issues. I would like to read and write randomly as shown. I'm also confused on how to get the data into the VB2005 DataGridView. Any help would be greatly appreciated. Thanks PaulZ --- A snippet of my VB6 code ---- Private Type DiskFileLayout dAccount As Integer dActivity As String * 10 dCurrency As Integer dDate As Date dTotal As Currency dContainers As Double dPrice As Currency dCommission As Currency dNote As String * 33 ...Show All

  • Software Development for Windows Vista rule engine standards

    Can you please help me in understand what all standards are prevailing in rule engine industry. I came to know a few of them i.e. RuleML, BRML, SWRL, though I don’t know all of them. Also that RuleML is a part of SWRL and BRML is a part of RuleML. Please elaborate which of these standards are generally used in rule engines created for .net applications and why. Thanks Tic This post should be a good start point to understand the Rules Engine within the WF: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1116536&SiteID=1 Thanks, Kushal. ...Show All

  • .NET Development Trouble catching exception

    Hi, I am having this problem catching a exception in a try catch block as shown below try { DialogResult result; result = wizard.ShowDialog(); } catch (PackageCreationException e) { MessageBox.Show(e.Message, "Failed", MessageBoxButtons.OK, MessageBoxIcon.Warning); } now the wizard is a form which throws a PackageCreationException if it fails this works fine if it is run in the Visual Studio environment but when run as a standalone application this exception is not caught. I have been cracking my head over this. I can catch and handle exceptions fine every where else but here. Does anyone know why this happens ...Show All

  • Windows Forms Read and view PDF files like adobe activeX

    Hi, How to read and view PDF files like adobe activeX Thank's Alexei Hi, 1. I want to find the acrobat reader path. (May be use the registry info of acrobat reader) 2. Than upload the dll and run the viewer. Thank's Alexei ...Show All

  • Visual C++ Intellisense becoming unable to resolve objects

    I'm posting this here and not in the general Visual Studio forum because my experience so far tells me the situation with C++ is different than with, say, C# (I have so far at least one example where VS's tools behave worse in the C++ environment than in that of C#). I have Intellisense getting confused and unable to resolve objects so often that I find myself closing the solution, deleting the *.ncb file, and reopening the solution. It almost makes me wish I had a "rebuild Intellisense" button... Kamen Hi Kamen, In that case, I would log the issue at http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 for the owners to take a look. May be they will be able to shed more details. Thanks, Ayman S ...Show All

  • Visual Studio Team System Build not finding referenced DLL

    In my solution there's a project that references a DLL (Rhino.Mocks.dll). I had just copied this DLL to the bin directory of the project and added a reference. The reference is set Copy Local = true. However, when I do a Team Build it can't find the dll on the build machine. How do I resolve this problem so that I can get a successful build ...Show All

  • Visual Basic Estimating a process finish time

    Hello, I have experience of VBA and I am developing my first app in VB within VS2005.  The app will have to process hundreds of files on a frequent basis and import them into a SQL Server database.  The user will select lots of files and then walk away from the machine.  I want to be able to estimate the finish time so that they can watch progress and manage their time. In VBA it is simple as the type date can be used in functions so the equation dtFinish = dtStart + (Now() - dtStart) * lngFilesToProcess / lngFilesProcessed would yield a date with the estimated finish time. A similar approach in VB does not work as I get IDE errors in my code telling me I can not * a date and an integer. I have looked at th ...Show All

  • Windows Forms DataGridView - Replace column with my DateTimePickerColumn

    Hi I have a database with one table containing: - id (int) - name (string) - date (DateTime) Now I fill a DataSet with the data in the database using OleDbDataAdapter . Then I connect the DataTable (inside the DataSet) to my DataGridView: - datagrid.DataSource = dataset.Tables[0]; I then created a DateTimePickerColumn (inherits from DataGridViewColumn ). (The control works fine) Now to my question. How do I replace the "date" column to be a DateTimePickerColumn Do I have to: 1. Hide the "date" column. 2. Add a new column (DateTimePickerColumn) 3. Implement code for copying data between 1. and 2. I want DataSet.Update() to work with DateTimePickerColumn . Anyone :) / K ...Show All

  • Visual Basic Fileget

    Hi, i am using fileget to read a file, but i am going the following error: System.Security.SecurityException was unhandled Message="Late bound calls to file system methods in the Visual Basic runtime are not permitted." my code is the following: Public Structure rec <VBFixedString(4)> Public icount As String <VBFixedString(48)> Public iTellerID As String <VBFixedString(48)> Public iTellerName End Structure Public myrec = New rec Dim iFr As Short iFr = FreeFile() FileOpen(iFr, "day_08.log" , OpenMode.Binary, OpenAccess.Read) FileGet(iFr, myrec,1) FileClose(iFr) What i am doing wrong Please help. Georgesl w ...Show All

  • SQL Server #Error using IIF and divide by zero

    I am getting an error in a calculated field that could potentially divide by zero, even though I'm using an IIF. The column displays in the report as "#Error". My expression looks like this: = IIF(Fields!Qty.Value = 0, "None" , Fields!Hours.Value / Fields!Qty.Value) I have successfully used this approach with INT fields, but this time the Hours field is a NUMERIC(9,2). My workaround is to do this: IIF(Fields!Qty.Value = 0, "None" , IIF(Fields!Qty.Value = 0, 42, Fields!Hours.Value) / Fields!Qty.Value) I guess the 42 is cast to an INT inside the second IIF and the calculation works. What's strange is that the division would even be carried out in the event of Qty = 0 from the first II ...Show All

  • Architecture Windows Installer -> How to make patch or upgrade

    Hi to all, I'm reading "The Definitive Guide to Windows Installer" to make upgrade or patch to my app. But all the procedure explained in the book is too much expensive for a programmer, and manual edit ORCA db is not a friendly procedure. Does someone know some white paper, or other to make simply upgrade to my app I can't use Clickonce because this is an old app built in VC++ 6. However, can i have some suggestion to other good installer for installation packages building I could point at these tools: Macrovision's Installshield Wise for Windows Installer WiX - it is powerful tool but it is not easy to use as there is no sophisticated UI VS 7.0 and 8.0 - you can use Setup Project template ...Show All

  • SQL Server How to get Remote Backup

    Is there any way that i can get backup from other(Remote) location on LAN Thanks   ************** Exception Text ************** Microsoft.SqlServer.Management.Smo.FailedOperationException: Backup failed for Server 'xyz,1433'. ---> Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: Cannot open backup device 'C:\Program Files\abcd\Setup1\Backup\asdasd.bak'. Operating system error 3(The system cannot find the path specified.). BACKUP DATABASE is terminating abnormally. ...Show All

  • Software Development for Windows Vista De-normalization required for querying WorkFlow Instance Status

    Hello all. I have been experimenting with WWF and find the UI based definition of work flow incredible. I worked primarily with the State Machine but found a limitation as far as my implementation was concerned. Basically, I need to display the State for 10,000-40,000 items in a view. To do this I had to duplicate the status in another table due to the fact that the default persistence model stores the Work flow instance as a blob. Was wondering if anyone had similar requirements and had less redundant solutions. It sounds to me like a better way would be to write your own custom Tracking service (note: tracking, not persistence) that tracks the state changes in your workflows in a way that gives you easy access to the ...Show All

©2008 Software Development Network