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

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

MarcoB

Member List

ofer ebert
Gwiz
BrentHecht
ElephantMan
JIM.H.
Justin-M
Sanjukta
georgeob
monkzen
tattoo
dbcuser
Asim Patnaik
Dr.Pepper
SoniqStylz
vijil
RenegadeMind
JLLO
Pedro Martins
Eric-NZ
js06
Only Title

MarcoB's Q&A profile

  • Visual Basic System.Timers.Timer()

    SERVER: The .exe is running on a Windows XP server. DEVELOPMENT: Visual Studio 2005 Standard Edition LANGUAGE: VB.Net 2005 ERROR RECIEVED: The wait completed due to an abandoned mutex ERROR DESCRIPTION: I'm using a System.Timers.Timer() object inside a windows form. The application is started each day in the morning around 7:30. It runs smoothly all day, but errors out(the log shows it is at 7:31AM, which would be the call to the IfxRealTimeAppointmentLoad routine). Basically the application calls the IfxLoadTodaysAppointment() once and then continually calls the IfxRealTimeAppointmentLoad() routine every 5 seconds. What I'm trying to do is have the application stop calling both routines at 12:00AM and then start the entire ...Show All

  • Visual C++ my try catch stuff isn't working

    Below is my code with lots of comments: // create a boolean key to determine success or failure in the data conversion bool success = true ; // create variables here so that they can be used throughout this function int x; int y; // Use try->catch to prevent errors occuring because the user has put invalid characters in try { // change the values in textboxes min and max to integer values x = Int32::Parse( this ->min->Text); y = Int32::Parse( this ->max->Text); } catch ( ApplicationException^ ) { // conversion has failed, so disable the rest of the script for this run success = false ; // display a message both to tell the user about th ...Show All

  • .NET Development Webservices client: changing the Namespace

    I'm building a client application witch will comunicate through soap with a webservice. The soap message i now sent: <soap:Envelope xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:wsa=" http://schemas.xmlsoap.org/ws/2004/08/addressing " xmlns:wsse=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd " xmlns:wsu= " http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd "> <soap:Header> <wsa:Action>urn:orxserver#bedrijfsVoorraad</wsa:Action> <wsa:Mess ...Show All

  • Visual Basic Need suggestion on control to use

    I would like to have a control that has columns & rows. Each row will have a button associated with it. It won't be tied to any data source. I've looked at the DataGridView control, and it seems like the steroid version of what I want. I don't like the gray column it has on the left side of it that tells me which row is selected. Also, I know I can make a column a button column, but I don't like that it shows as a column in itself. Is there a more basic kind of grid Thanks! Checkboxes are standard. Yes for images. Take a look at this: www.freewebs.com/reneecc That's a listview on the right. ...Show All

  • Visual C# Debug vs. Unit Testing

    I was hoping to get some opinions about using the System.Diagnostics.Debug class instead of or in addition to NUnit unit testing. What do other developers favor more, Unit Testing or Debug Also what are your thoughts on using the Trace class with TraceListeners to implement logging of an application, say versus using a framework like log4Net Thanks. There is no way you can substitute unit testing for simple use of the Debug class (I'm assuming you mean use of Debug.Assert here ). This is useful for checking that you are in the right state within a class, but does not act as a test driver. You need to unit test to try and create the conditions that could cause your assertions to fail. I tend to use Debug.As ...Show All

  • Visual Studio Express Editions Disabling the vertical scrollbar from a listbox

    Any suggestions on how to would be greatly appreciated! Yep, do it like this; it works both in the designer and at run-time: Public Class MyListBox Inherits ListBox Private mShowScroll As Boolean Protected Overrides ReadOnly Property CreateParams() As System.Windows.Forms.CreateParams Get Dim cp As CreateParams = MyBase.CreateParams If Not mShowScroll Then cp.Style = cp.Style And Not &H200000 Return cp End Get End Property Public Property ShowScrollbar() As Boolean Get Return mShowScroll End Get Set(ByVal value As Boolean) If value = mShowScroll Then Exit Property mShowScroll = value If Handle <> IntPtr.Zero Then RecreateHandle() End Set End Property End ...Show All

  • Visual C++ DLL Compatibility?

    I am converting an app from vc6 to vc8 (vs2005). I've got everything to compile fine, and most of the testing looks good. While system testing in Release mode, I get an occasional crash. The dialog box says "PCSMain.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created". Even though I have drwtsn turned on, I don't see any error logs being created. Even while running the app thru VS debugger, I don't get any helpful info when it crashes. I am taking a wild guess that the problem may be a library issue. Since I am using vc8, msvcr80.dll is used. But in looking at depends.exe for my exe, it looks like my db2 stuff also depends on msvcr71.dll. So my q ...Show All

  • Software Development for Windows Vista Location of contact.h/icontact.idl?

    Are contact.h and/or icontact.idl present in Windows SDK I need to use Windows Contacts and to access IContact interface I need contact.h or icontact.idl. Hi Pekka, I'm Tom Archer - the Program Manager for the Windows SDK Tools and Build Environment. I just added the files to the SDK so you'll see them on the next public build (currently scheduled to be the September CTP) ...Show All

  • Windows Forms Binding text box fields to combo box selected value

    I have a small C# windows application with few text boxes and a combo box. I need to bind text fields to the value selected in the combo box, it works fine for the first selection but when I try to select another another item during the same session it gives me an error: "This causes two bindings in the collection to bind to the same property. Parameter name binding" . I think I need to bind the text boxes to may be the selected index change event of the combo box, but I am unable to implement that correctly. private void cmbEmployeeList_SelectedIndexChanged( object sender, EventArgs e) { txtFirstName.DataBindings.Add( "Text" , objDSEmpTrkSys, "EmployeeInformation.FIRSTNAME" ); txtLastNa ...Show All

  • .NET Development Query a View

    Ok I need ti query a view.. All i have to do is retrieve information from the CRM database using a prewritten view. Now i know that the reporting services have to work to use Views so i spent a week fixing that. but i still get a null result whenever i run my query. i need some expert help with this issue. This is a big issue for my company right now. if anyone has experience with using the views in the CRM database and writing custom pages in CRM then PLEASE respond. Ill give you any and all details you need at that point. A view is just like a table for all practical purposes when Selecting. Start with simple queries that give you some results and then build up the query in steps until you have problems. One place that can trip y ...Show All

  • Visual Studio Team System Need help regarding Introspection engine's behaviour towards calling of overriding methods.

    I have created a custom rule in FxCop 1.35 where I m checking for the proper documentation of exceptions thrown from a method or methods called from the method being analyzed. I m analyzing the following code using this rule. /// <summary>  /// This class is a base class which we will  /// use to derive other classes from.  /// </summary>  public class BaseClass  {   /// <summary>   ///   /// </summary>   public virtual void TestMethod ()   {    throw new ArgumentNullException();   }  }  /// <summary>  /// This class is a derived class which overrides  /// base class method.  /// & ...Show All

  • Windows Forms Error An existing connection was forcibly closed by the remote host.

    Hi, I have a VB.Net 2005 application. I would like to use Clickonce deployment for the client to install the application over Window Server 2003. However, each time user click the launch or install, error "An existing connection was forcibly closed by the remote host." occur. I have no idea of what's wrong with it. I have a firewall which open the 80 port already. Please help. Thanks! Emily ...Show All

  • Software Development for Windows Vista SAPI problem on Vista

    Good afternoon I have a speech recognition engine built with SAPI 5.1 on Windows XP. General problem: it doesn't work on Windows Vista. Details: when I try to use it in MS Word on Windows Vista the message "The referenced assembly is not installed on your system" is displayed. The problem is that Vista doesn't say what assembly is not installed. Any help would be appreciated. Regards Anatoly Borisov I've implemented ISpSREngine2 interface in Sample SAPI SR engine from SAPI 5.1 SDK. All ISpSREngine2 methods just return S_OK. Then I set this Sample SR engine as a default recognizer on Control Panel->Ease of Access->Speech Recognition Options->Advanced Options . Then I tested it on Control Pan ...Show All

  • .NET Development Asynchronous Web services in Vs. 2005???

    So I've seen a lot of examples on how to do web services in 2003 but it apears that in 2005 there is no BeginXXX and endXXX so I'm a little lost. So far I have got this which compiles and runs but doesn't seem to catch the result like it should. Any ideas Public Class frmWebService Public Delegate Sub getIndex( ByRef newDS As String ()) Private casedoc As New disapp.clsContentManager Private casedoc2 As New disapp.getNeedIndexDocInfoCompletedEventHandler( AddressOf getNeedIndexDocInfoCompletedEventHandler) Private Sub frmWebService_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .DataGridView1.DataSource = Me .BindingSource1 End Sub ...Show All

  • Visual Basic problem in debugging application with .net having large no of projects

    i m doing project in VB.Net having a solution with 123 project. to compile that i hav to build each project seperately..... is there is any method by which i can select all project in one go and compile all simultaniously. From the solution explorer...right click on the solution at the very top.....then select properties...The properties dialog will open and you will be able to set the startup project as well as the build configurations for each project Also from the main menu....Tools...Options...Projects and Solutions....Build and Run edit:The tools menu is a different set of overall environment options. ...Show All

©2008 Software Development Network