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

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

PeterNL

Member List

BacchusMann
Ajit Sheth
Steve Watts
DonDoThat
CharlesLing
Sree C
goofaholix
Naqshekhayali
bartarobinson
Matthieu
BillGates4ever
AngieH
Noovish
bxcv
Derrick Powell
develop_kc
Aravind Biran
Weixiao Fan
karabadji
MazeGen
Only Title

PeterNL's Q&A profile

  • Windows Forms How to resize controls on my windows form with changing form size

    Hi, In my windows form I have a tab control with a few tab pages. Each tab page has some user controls and some .net controls such as datagrid, labels e.t.c When I resize the windows forms the controls dont change their size and position. So if I reduce the size of window it hides half of the controls on my application. How do I make my application or controls such that they relocate and resize themselves when size of the window changes ...Show All

  • Windows Forms How to prevent form closing when datagridview errors exist?

    Hi -- I've got a form with a datagridview on it. The datagridview allows users to add new rows. When the user adds a new row but doesn't commit it (by moving to a different row) and then clicks the "X" button on the form, I only want the form to close if there's no errors on the newly-entered row. If there are any errors, I don't want the form to close. How do I accomplish this I know I can trap errors in the RowValidating and DataErr ...Show All

  • Windows Forms How to access methods of MDI Child from by MDI Parent Toolbar?

    Hi How can I access the methods (Add, Save,Delete, Record navigation methods such first, previous, next & last) of a MDI child from when clicking on a toolbar positioned in the MDI parent form So on the MDI parent I have this toolbar. When clicking on a button on this toolbar it must call a method from the current MDI child form. I am running there are several types of MDI child forms with keeping recordsets, but each contains (th ...Show All

  • SQL Server Is this possible? How

    hello guys, I want to create a report using a bar chart data region from a cube. The cube contains Date and Time dimentions. Here is my question: The catagory field (x-axis) value of the bar chart is dependent on the paramaters value(i.e.StartDate and EndDate). For instance if the difference between StartDate and EndDate is greater than 1 year, the x-axis value for the bar chart should come from the Date dimention and display the year value. ...Show All

  • Visual C++ unable to edit command line for a project

    Trying to compile and execute a C++ project in VS2005 I ran into a linker problem. After some investigation it turned out that the calling convention was not what it was supposed to be for the functions used in the program. I changed the option for the calling convention from /Gd to /Gz. I needed __stdcall to be made. After that I got this error message: Error 1 Command line error D8016 : '/clr:pure' and '/Gz' command-line options are ...Show All

  • Windows Forms How to clear an integer column with a integer parsing error

    I have a datagridview column bound to a datatable column of data type integer, the column is not mandatory. If there is an integer value in the column, the user cannot clear the value without the error "Input string was not in the correct format". How do I get the grid to accept an empty string for this column, and send a DBNull back to the underlying datatable I have found a solution to this, it app ...Show All

  • Visual Studio Get Latest Solution

    Hi guys, I have a simple situation to get latst of a solution with help of automation. But File.GetLatestVersion Or File.GetLatestVersionDynamicSilent don't help me. It gets latst of a project only. Is there any possibility Krishnan. Would this work Imports System Imports EnvDTE Imports EnvDTE80 Imports System.Diagnostics Public Module Module1 Public Sub Main() DTE.Windows.Item(Constant ...Show All

  • Visual Studio Team System Web view not styled (most of the time)

    Most (approx. 80%) of the time when we click on a link to a TFS Artifact in a mail send by the alerter service, the web view is not styled. So we see just the text from the xml which is unreadable. Any idea what is wrong If you are referring to build web report, yes this is a known issue with B3 refresh bits and fixed in final bits. Unfortunately, there is no viable workaround other than trying to refresh multiple times. Thanks. ...Show All

  • Visual C# Program Execution

    Ok. I know how to open a program through code using the Process method. But what I would like to know how to do is, how to execute a command within a program that I open. For example. Say if I was to execute a .rar file. It would open and show the compressed files. How would I call a method to extract those files If this is possible can someone explain to me how Most good program have command line argument to do this stuff. unrar file.r ...Show All

  • Windows Forms can anyone help me to getrid of this error....

    hello i have made deployment for my windows application but when i make request for the my report i have got an error:cannot find keycodev2.dll or invalid keycode. note i have include my report in the deployment thank you for the help and for the&nb ...Show All

  • SQL Server Could not find stored procedure 'msdb.dbo.xp_sqlagent_notify'

    I have started getting this new error after installing SQL 2005 service pack 1 whenever I start the SQL agent : Log SQL Agent (Current - 6/5/2006 12:28:00 AM) Message [298] SQLServer Error: 2812, Could not find stored procedure 'msdb.dbo.xp_sqlagent_notify'. [SQLSTATE 42000] (DisableAgentXPs) I don;t see any problems because of it but would like to fix it because it is an error and might be affecting something I don't know about. Thank ...Show All

  • Windows Forms Object reference not set to an instance of an object

    When im adding af webform VS2005 Beta 2 give me the following error: Object reference not set to an instance of an object When im not checking code behind file it works fine It have worked fine for about 2 months but suddenly i get this error I have been shown a solution to this.  Check your registry HKEY_CLASSES_ROOT & see if there is a default value set - if there is delete it. Doing this resolved th ...Show All

  • SQL Server June CTP - How to inspect for Empty String

    Thanks for your response but neither option work. I did confirm that Len(field.Value) is 0 by displaying on the report. For some reason when used in the IIf function, the comparison, Len(field.Value) = 0 fails. System.String.IsNullOrEmpty(Fields!Variable.Value) also does not evaluate to true when the string is empty. ...Show All

  • Visual Basic Database Questions

    I'm fairly new to creating programs that utilize databases. I have just purchased a book about ADO.NET, but I wondering if anyone could offer some opinions on where to start. In particular, what database program should I begin learning Most of the applications that I want to develop will really only need a local unshared database to systematically store and recall information. I would really like to avoid spending a large amount of money on p ...Show All

  • .NET Development registering for COM interop creating duplicate registry entries.

    Hi, I am working on .NET 2.0 beta2 on Windows 2000 advanced server. I have created small .NET dll, in which I have exposed a number of classes for COM interop using ComVisible(true) on those classes, for example:         [ComVisible(true)]         [ClassInterface(ClassInterfaceType.None)]         public  class Class1: IClass1         { ...Show All

©2008 Software Development Network

powered by phorum