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

Software Development Network >> Nick Hart's Q&A profile

Nick Hart

Member List

Michael Mortensen
xlordt
PeacError
David Sadler
arkiboys
Robert Davis
AlexStorm
udayan
Krutika
Kernel Panic
chu!0
enric vives
YiLi
saloni1
R Raghu
mta37
ashwin_k_s
manukahn
Zakary
enric vives
Only Title

Nick Hart's Q&A profile

  • Windows Forms To show a ToolTip in a cell of a GridView

    My problem is that I cannot prove to be a hint or tolltip in a cell of a GridView. Would it be better or easier to show it in a table Thank you ;D Thank you for answering I want something this way, but there is a problem, and is that the component GridView does not contain a definition for Rows I am investigating the possible cast, but nothing. Some another idea Thank you very much again ...Show All

  • Visual Studio 2008 (Pre-release) Embedded UI Elements in RichTextBox - Disabled?

    I am trying to embed user interface elements inside a RichTextBox control. In particular, I would like to embed a RichTextBox inside a RichTextBox. I can't seem to get the embedded control to be enabled for editing (or clicking in the case of a button). Setting IsEnabled = "True" in the XAML doesn't do the trick either. What should I be doing Is this currently supported e.g the embedded button with the "Click Me!" caption in the XAML sample below is not click-able: <Window x:Class="WindowsApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 ...Show All

  • Software Development for Windows Vista Accessing Windows Contacts using MAPI

    Is it possible to use MAPI to access the new Windows Vista Contacts If so, any samples would be appreciated. I don't have any samples available right now, but yes, you can use MAPI to work with Windows Contacts. You can retrieve the IAddrBook object from WAB32's WABOpen function. Programs written against Contacts this way should work also on XP's WAB. MSDN documentation on WABOpen: http://msdn.microsoft.com/library/default.asp url=/workshop/wab/Reference/Functions/WABOpen.asp There's also a new IContact API that gives you more flexibility when working with the new XML format. MSDN has samples inline with the documentation. http://msdn2.microsoft.com/en-us/library/ms735779.aspx Hope that help ...Show All

  • Windows Forms Deploying a Protected executable

    Hi, I would like to use windows installer to deploy a protected .exe that uses a USB dongle. I run the protection software to create the protected .exe. I then copy the protected .exe into my Release directory, when I build the installer it will write over my protected version with the non-protected. I need the detected dependancies for this app to work right. So what I do is remove the project output from the installer and add the protected .exe. My installer than works fine, protected version is deployed. Question is, is this the correct way to do this Does anyone have a better way to deploy a protected .exe using windows installer Thanks Jeff Adding the files (like your exe) t ...Show All

  • Windows Forms Adding a custom control in Datagridview cell

    Hi all, I am a .NET developer and am facing a problem in Datagridview. To start with, I had a combobox as the column type in DataGridView. I was populating this combobox from a database table which had some aroudn 37,000 records. With so many records getting populated in the combobox on the datagridview slowed the datagrid to an exruciating slow speed. To resolve this issue, I thought of writing a custom control which will have a text box and a drop down box next to it. The text box in the custom control will let the users type a search value for the description(display member) and the results will then populate in the dropdown next to it. For e.g, if the users are searching for a company name (america), they will type america in the tex ...Show All

  • SQL Server DTS to VB

    Can someone help me please. I am having issues with the following code. This is the first time I am doing this, so it is Brand new to me. Sorry if I look and sound like an idiot. I am having issues with 'DTS.OleDBProperties' cannot be indexed because it has no default property at the following line :oConnection.ConnectionProperties I used DTS wizard to create my vb code and I am following this page: http://msdn2.microsoft.com/en-us/library/aa176248(SQL.80).aspx Can someone please guide me in the right direction. Option Explicit Public goPackageOld As New DTS.Package Public goPackage As DTS.Package2 Private Sub Main() set goPackage = goPackageOld goPackage.Name = "Test" goPackage.Description = "Casier" ...Show All

  • Windows Forms Changing the Add/Remove Program Dialog Box Icons

    How can I change the Icon displayed in the Add/Remove programs dialog box through VS2005 when using one-click deplyment Can anyone help Thanks! ...Show All

  • Gadgets File Association

    What programme does the .gadget extension need to be associated with to get it to add to the Windows Sidebar I've managed to accidently associate .gadget with WinRar by doing an open with to work out why one of mine wasn't installing correctly, and now can't find how to reset it. Associating it with sidebar.exe doesn't work, and Windows' automated jobbie doesn't know what a .gadget is. Windows Sidebar: %ProgramFiles%\Windows Sidebar\sidebar.exe Ironically, if you look it up on the web it reports " Windows does not recognize this file type." ...Show All

  • Visual Studio 2008 (Pre-release) Problem with FaultException on the client side

    Hi Everyone, I have a little problem with FaultException on the client side. Everything works fine except the exception on client side now is [System.ServiceModel.CommunicationException] while on the server side the process throws back [System.IO.DirectoryNotFoundException]. What should I do in order on client side to catch the same exception which throws back from the server (See codes at the end of this message for more details) Regards, JDang // Service contract and implementation [ServiceContract] public interface IFileTransService { [OperationContract] [FaultContract(typeof(Exception))] void PutStream(Stream inStream); } public FileTransService : IFileTransService { public void PutStream(Stream inStream) { ...Show All

  • Visual Studio 2008 (Pre-release) Custom Control binding

    I've created a custom control that have two data templates: ViewTemplate ( when edit mode is false) and EditTemplate (when edit mode is true) . I have a problem with binding: a) when I use Content = " {Binding} " and < TextBlock Name = " View " Text = " {Binding Path=Name,Converter={StaticResource NameConverter}} " /> < TextBox Name = " Edit " Text = " {Binding Path=Name,Converter={StaticResource NameConverter}} " /> in ListView I get only one row of product name instead of list of products' names b) when I use Content = " {Binding Path=Name,Converter={StaticResource NameConverter}} " and < TextBlock Name = ...Show All

  • .NET Development WMI Class?

    I created this class in C# designed around a mirror of the WMI "Win32_LogicalDisk" class. my plans for it were to just be able to throw a WMI object into my Class. So i could work with the Data alot more smoothly and without having to have a list of all the classes and stuff in front of me. So anyways, i'm new to the whole WMI thing, so i noticed that the way to get a logical disk was to grab a collection and then enumerate through the collection to get what you need. well, what i need is to get a list of logical disks and throw all of their data into a 'NEW" instance of my class. So, i'm kinda of stumped on how to have a collection of objects, have the code understand how many objects there are, give each of the ...Show All

  • Visual Basic VB.NET 2005 RC - Datagrid issue

    I have an application which uses a datagrid to display a property listing.   The list will contain around a quarter of a million records so I need the user to have a simple way to search. I have built a search routine which allows the user to type some text in to a toolstrip bar and then performs a search through the dataset.   The issue I have is when the routine finds a match, I need it to highlight the row on the datagrid.   This is where I have the problem; I cannot see how to achieve this.   I have tried searching everywhere (Google/Experts Exchange etc) and have seen some pretty ridiculous solutions such as mimicking a user clicking on the mouse. I also found what I thought were useful ideas such as : &n ...Show All

  • Customer Care Framework Agent Desktop launched ... But issues ...

    Ok...I have been on this for a while and at last Agent Desktop launched.... But it has issues....Before going to the problem our background info Initially our setup was We built a windows 2003 server called CCFDC . CCFDC - is the Primary Domian controller (PDC) for Domain CCF We installed all the server components on this system(CCFDC) and created the DNS entries 1. CCFSQL 2. CCFIIS 3. CCFRS as mentioned in the document to point to the CCFDc To our dismay, the web services didn't work. Upon consulting KB site , I found out , IIS will not work on PDC computer properly. (We tried the workaround as specified.but still didn't work)So we are forced to find another system for CCFIIS. Unfortunately there are no other systems. ...Show All

  • Visual C++ where do I find the documentation about a class?

    Hi all. Given a class, how does I get its include file Where do I find the methods it has using msdn I simply couldn't get this information. the class, for instance, was CStringW... any help is appreciated :) []s ...Show All

  • Visual Basic Mask: optional but no spaces

    How do i create a mask that accepts numbers 0-9, no spaces, and at least 1 (length > 0) currently i am using If - else for the at least 1 char condition If MaskedTextBox.length = 0 Then ... End If but for the 0-9 and no spaces , optional(but at least 1 character) i tried using 099 but spaces can still be entered ResetOnSpace property set to true didn't work i thought of using a KeyDown event: Private Sub txt_IPinput2_KeyPress(ByVal ...) Handles txt_IPinput2.KeyPress, txt_mask4.KeyPress, txt_mask3.KeyPress, txt_mask2.KeyPress, txt_mask1.KeyPress, txt_mask.KeyPress, txt_IPinput4.KeyPress, txt_IPinput3.KeyPress, txt_IPinput1.KeyPress Dim control As MaskedTextBox = CType(sender, MaskedTextBox) If Char.IsWhiteSpace(e.KeyCh ...Show All

©2008 Software Development Network