Software Development Network Logo
  • Visual J#
  • SQL Server
  • Visual FoxPro
  • VS Team System
  • Microsoft ISV
  • Visual Basic
  • .NET Development
  • Visual C++
  • Windows Vista
  • Windows Forms
  • Smart Device
  • Windows Live
  • Architecture
  • Game Technologies
  • VS Express Editions

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

mhams

Member List

Abhigad
BenjyDog
Decoder
ImallocEx
Oswin
Kevin Beck
R_s
Omprakash
Leo Xue
KirHil
JBA123
jimson
dream123434
Mihir101
saaniok
Sankey
Rajiv Srinivasan-MSFT
AMH
Sam_Tuteja
SandyZ
Only Title

mhams's Q&A profile

  • Visual C# How can i change string to font object??

    I am making a simple text editor using C#. And i want to change the font size of the text. I did it and stored the font settings in the registry, by converting the font object to string. Now when i start the editor i want that font settings to be reloaded in it. So how can i change the string stored in the registry back to the font object so as to restore the font settings ps: I can't save the file as .rtf, as i am dealing with only plain text. ...Show All

  • Visual Studio 2008 (Pre-release) CommunicationObjectAbortedException

    This is an error I receive while returning an object over a service (net.Tcp binding). The object is an LLBLGenPro EntityCollection. The EntityCollection contains EmployeeEntities. I can successfully return such a collection if the size of the collection is smaller than about 20 entries. But if it is any bigger I get the following error: An error occurred while transmitting data. System.IO.IOException: The read operation failed, see inner excep ...Show All

  • Visual Basic Listbox as logfile

    Is there a way to save or copy the items in a list box to a logfile. I see there is a listbox.items.copyto control but not sure of syntax as to what type of array it is to copy to. Or what is best way to creat a log file The following code in VB Express / 2005 will copy the items in a listbox to a log file. For Each item In Me.ListBox1.Items My.Application.Log.WriteEntry(item.ToString) Next There are s ...Show All

  • Windows Forms Two ways Databinding

    Do normal controls (textbox for example) have two ways databindings ie if i bound the text of a textbox to a column in a datatable, will the text of the textbox change automatically whenever the corresponding datatable row and column changes  or&nbs ...Show All

  • Visual C++ Problem compiling a program

    Hi all, recently i had to work on a program which was running ok on VC++ 6. Due to certain restrictions i only can work with visual studio 2005 express beta 2. When i tried to compile the program in VS 2005 express beta 2, i got these errors which never occurred in VC++ 6: Compiling... STDAFX.CPP Compiling... Database.cpp DatabaseMarpos.cpp DataCom.CPP DBMarpos.cpp EBlockEntry.cpp EBlockLabel.cpp EdcsSettings.cpp EDCSSetupDialog ...Show All

  • Visual Basic VB ignores "out" parameters

    It seems that VB ignores out parameters. I don't understand why since it works fine in C# and used to work in .NET 1.1 too. In C++/CLI I wrote a managed classlibrary which has a function like the following: int Simple( int nType, [Out] String ^%str) The function will always initialize and return 'str' when called. In C# I can call it with no warnings too: String str; Obj.Simple(MY_TYPE, out str); However it seems that VB ignores that ...Show All

  • .NET Development DataGridView SelectAll

    I am customising the top left header cell on a DataGridView to remove all filters applied to the data columns. However the default behaviour of this header cell is to SelectAll if the DataGridView is mult-select. How do I disable the select all behaviour of the top left cell while still allowing the grid to be mult-select. Tried overrides on various methods of DataGridViewTopLeftHeaderCell but to no avail. Hopefully I'm missing somet ...Show All

  • Visual Studio Express Editions Sorting list in combo box

    I have a combo box list that starts at 16 and goes up to 255, however I can't seem to get it to list numerically. I keep getting the three digit numbers i.e. 100 to display in the list before 16 which is really the first number. Shakalama gave me some advice on a previous combo box question but not the answer to this. Sorry if it is a bit noobish but I'm new to programming and I'm trying to run before I can walk in some areas. Thanks in advan ...Show All

  • Visual Studio Tools for Office Can't install VS 2005 Tools for Office

    I have installed VS 2005 Profesional and Office 2003 Standard with Service Pack 2 and am trying unsuccessfully to install VS 2005 Tools for Office. It gets about 60% of the way through initializing and then complains that I don't have Office 2003 Service Pack 1 and quits. As I said, I have service pack 2. I have done a full install of Office, including all the extra tools it wants, and have even downloaded and installed a trial version of ...Show All

  • Windows Forms BUG: ContextMenu Shortcut (Accelerator) Problem

    I've only verified this with .NET 1.0.x, so if it's been fixed in 1.1.x please let me know and I'll quietly go away. It appears shortcuts (accelerators) are not handled properly for top-level menu items in a ContextMenu.  The problem occurs in  ...Show All

  • Visual Basic dynamically adding resources with the My.Settings object

    Hi, I recently had a client request that the column widths he set for a list view should be persistent, so that each time he opens up the application, the widths appear as he left them.  This was accomplished in Visual Studio 2003 by dynamically writing the column widths out to a config file using XML.  As the list view was being used many times within the application in conjunction with various controls, entries were adde ...Show All

  • SQL Server Connect to SQL Server 2000 over Internet

    I have a SQL Server running at a webserver, that has a public IP. I have been trying to connect to the server over Internet, by ODBC, but can't get it to work. I get the message 'Not a trusted connection'. Any tips that can help Specify the port along with the IP address e.g. 192.168.1.2,1433. Where 1433 is the port. Also verify that SQL server allows mixed authentication and the specified port is opened if the conenction is made a ...Show All

  • Visual Studio Team System Team Project Creation Failed - SQL Reporting Services?

    Having trouble apparently at the connect to SQL Reporting Services stage of creating a new project. I've checked in the reporting services config, and my username is granted all Reporting Services roles. Any help appreciated! Here's the error log (note: values in <> such as <some server> actually contain real information): 10/4/2005 4:10:06 PM | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds 10/4/ ...Show All

  • Windows Forms Class Event triggering a method on a Form...

    Hi all, i have a Class that handles Barcode scanning functionality, and a Windows Form that contains an instance of this Barcode class. One of the Properties of the Barcode Class is an Event, which is triggered when the user executes a successful barcode scan. What I want is to be able to somehow call a method belonging to the Form from within the handled event that sits in Barcode class. How can I do this The extremely watered down code is belo ...Show All

  • Visual Studio Tools for Office Reply as plain text

    Sub ReplyToAllAsPlainText() Dim app As New Outlook.Application Dim exp As Outlook.Explorer Set exp = app.ActiveExplorer Dim item As Outlook.MailItem Set item = exp.Selection.item(1) item.BodyFormat = olFormatPlain Dim rply As MailItem Set rply = item.ReplyAll rply.Save rply.Display item.Close olDiscard End Sub This takes an email and replies as plain text, what I want now is someway to automatically change the settings in ...Show All

©2008 Software Development Network

powered by phorum