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

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

pms

Member List

CTGuy67
RVogel
OU812
Jose Fco Bonnin
Anonymous124124
945
Katie Blanch
avhavh
Norman37050
WilliamPen
beefeater
soccerdude1000
bhav2007
Rosaria
riffrack
MAKU
melc
stratis
勇敢的心
sunilkumar
Only Title

pms's Q&A profile

  • .NET Development .Net integration with Exchange Server v5.5

    Hi, My first posting, so I thought I'd begin with something simple... 1.) Is it possible to read the contents of a mailbox on exchange using .NET VB/C# 2.) If it is possible, can anyone give me any pointers on where to look. I would like to be able to firstly read the contents of a mailbox through a web app, and eventually search and archive mailbox contents. # broxi #   Exchange uses IMAP protocol. POP3 is also supported. Unfortunately, neither POP3 nor IMAP is supported in .NET Framework 1.1 and 2.0. Which means that you won't be able to do this through the .NET framework library today. We ar ...Show All

  • Windows Forms DataGridView Row Selection With Mouse Right Click

    How can I select a row of datagridview control when i click with mouse right button. Here's what I use - a little bit of work, but seems to work regardless of other property settings on the grid. This code makes sure the mouse down is on a cell and not a column orrow header cell.  This code clears all other selections and selects the row that the user clicked on because that is what I wanted, but you don't have to do that, of course. Private Sub dgvResults_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles dgvResults.MouseDown    If e.Button = Windows.Forms.Mo ...Show All

  • .NET Development Converting to Unicode

    I have the following code in vb6: StrConv(sServer, vbUnicode) Can anybody tell me how to do this in c# Hello Gbez, While I haven't tried running your code, I would recommend running your application with CLRSpy - specifically the Marshalling Customer Debug Probe. It may be that there is a marshalling issue with the PInvoke calls. Adam Nathan talks about CLR Spy on his CLR Interop Blog on MSDN: http://blogs.msdn.com/adam_nathan/archive/2004/01/13/58308.aspx Hope that helps, Stephen http://blogs.msdn.com/stfisher ...Show All

  • Visual Studio Team System TF53011 - Not a licensed user

    We've been using the RC of TFS with no issues. Yesterday we followed the instructions to upgrade from the RC to the RTM workgroup version. We only have two users who will be using TFS. I can access TFS with no problems. Another user, gets the error: TF31001: Team foundation cannot retrieve the list of team projects from Team Foundation Server....The Team Foundation Server returned the following error: The request failed with HTTP status 403: TF53011: "user" is not a licensed user... We are both using VS Team Edition for Developers and Team Explorer was also updated to the RTM on both workstations. How do we correct t ...Show All

  • Visual Studio Flatten down the dipslay of a report

    hello report gurus! :) I'm new to crystal reports so maybe my question is a little "unexperienced" (or stupid ;). Is it possible to completely flatten down the view of a report So to don't display any sidebar / statusbar / buttons / etc. and just display the report itself Some of the things can be hidden very easy by setting the approbriate properties to "false"... but the Tabs on top of the reportViewer are not to be hidden. As well as the shadow around the report document.... Maybe there is a little trick to write your own reportViewer by just grapping the Graphics-Object of the reportinstance and then painting the rep ...Show All

  • Windows Forms bound controls not committed when selecting the menu bar

    Hello, I have a question in regards to binding controls (ie. TextBox). I noticed that any value in the control does not update the object it is bound to until that control loses focus. This normaly works quite well, except the following scenario: Suppose there is an app w/ a textbox, and a save option in the menu. If a user edits a new text string into the textbox, and clicks on the menu to select the save option, the textbox still has focus and that string will not get updated into the object the control is bound to. So, if the user continues to select the save option in the menu, the text string will not get serialized out like it is ...Show All

  • Visual C# Get value from settings file by usage of ConfigurationManager

    I want to know how do i read value from app. settings.settings I have added following entry (by means of settings designer) Name: DebugMode Type: bool Scope: Application Value: true Now i want to assign this value to variable in my code: i was expecting that this would work bool debugMode = Convert .ToBoolean( ConfigurationManager .AppSettings.Get( "DebugMode" )); but it isn't. I guess i'm doing something wrong...   Configuration.AppSettings give you a handle to the AppSettings section of the configuration file - the client configuration API (or the LocalFileSettingsProvider to be exact) uses the Applicati ...Show All

  • Windows Forms TabControl grayed out in Toolbox

    I am trying to add a TabControl and TabPages for an application I am developing. I am using VS 2005, and I just want to create a simple tabcontrol to display pages containing data from several related tables in the database. The problem is, I am able to find the tabcontrol icon in the toolbox, but it is grayed out, so I can't drag and drop it onto the design view of my webform page. I tried finding a code in the help areas, and copied that and pasted it into the source area for the web form page, but when I tried executing it, I received compilation errors, saying that system.windows.forms.form is undefined. I don't k know if I have a librar ...Show All

  • Visual Studio Express Editions XML as INI - Opening

    Hi! New to both VB an .NET I have searched the Internet for an easy-to-use example of how to store application/component property settings to a file. As I understand it the common INI-files are not longer supported (in a natural way) by .NET. It is no problem for me using XML instead, but I can not find an example of how to use XML for such purpose or every example I tried seems to be very tricky and circumstanstial. Is it not really an easier way to replace the old "ini-method". I would be greatful for any suggestions or codesamples.   Niklas Give this a try.  It should work in the latest version of VB2005EE ...Show All

  • Visual Basic binding navigator and toolstripdropdownbutton

    I'm trying to build a toolstripdropdownbutton type of menu when I add menu items I can't seem to find which one I click on.  I can use BindingNavgator_ItemClicked and look at the e.ClickedItem.Text and see that I clicked on the toolsstripdropdownbutton, but I can't seem to find which button under that that I clicked on. VB2005 Silly me -- all I had to do was double click the button and it opened up a click event -- Same as in VB6, but I must have just lost it for a second!! ...Show All

  • Visual Basic ToolStripButton and PrintDialog (Vb.NET Beta2)

    I find the Print Dialog Box is not in activate when fired by button on ToolStrip, like: Private Sub ToolStripButton1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles ToolStripButton1.Click    PrintDialog1.ShowDialog() End Sub   The printDialog has to be made active by clicking once before making any print options. However, it is alright by normal buton, like: Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button1.Click    PrintDialog1.ShowDialog() End Sub   Is this a bug or no ...Show All

  • .NET Development Accessing the registry from a Web Service

    I'm fairly new to this Web Service game so please feel free to suggest something different if it looks like i'm completely off track! I'm trying to write an application that runs on a Pocket PC that is accessing data stored in a SQL server database on a seperate server (not on the pocket pc). This will be deployed to lots of customers sites so I can't hard-code the location of the database in the program. I wrote a seperate little app to enter and store the connection string details in the registry so that data can be retrieved by the Web Service from the appropriate database and sent to the Pocket PC. All works fine with ...Show All

  • SQL Server Partition data file disappeared!?!

    We are running AS 2000 (latest and greatest) on an 8 processor, 16 GB RAM, 64 Bit Itanium server.  We were processing some partitions in parallel when we received the following error while processing (using the DSO library): File error [during the Open operation] 'Projection_3fact.data The system cannot find the file specified. ' It seems the .data file for one of our partitions just disappeared.  Any ideas how this could happen Here is the relevant section of the processing log... ****************************************************** 10/7/2005 1:11:06 AM 19647         Writing aggre ...Show All

  • Visual C# Not Freeing Memory

    Hi, I don't know if anyone can help me. I am working with large png files, and finding the memory is not being freed after the object is disposed. Are there any know bugs on this issue Many thanks, Bruce Hi James, Thanks. I have had a look and can't seem to find GC.Collect() within the code. Running through the memory profiler, the garbage collector is collecting instantly after it previously freed some memory. To try and picture this, it starts off at the bottom left corner and increases rapidly diagonally up the screen freeing memory and then the app throws an out of memory exception, before the plugin dies. Its the first ...Show All

  • Visual C# Why this function return value error?

    Hi... I have a class in which I am returning a SqlConnection object the code has been written in a try -catch block which is given below. while I am trying to compile it is genrating this error "Dal.cs(15): 'DataComponents.connectionClass.SetConnection()': not all code paths return a value" Please help me. using System.Data .SqlClient ; using System.Data ; using System; namespace DataComponents { /// <summary> /// Summary description for Dal. /// </summary> public class connectionClass { static string connectionString="server=nic-dd;database=northwind;trusted_connection=true"; static SqlCon ...Show All

©2008 Software Development Network