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

Software Development Network >> Rocco Mastrangelo's Q&A profile

Rocco Mastrangelo

Member List

Kevin Cochran
Zafoe
Dennis Kudin
luyan
MattiasJ
ming_68
Colmeister
Tom Frey
Henrik Erlandsson
Donald Burr
Dave Anson
GSReddy
double digger
Brian Lyttle
SunsOfFun
Shadi_05
Ann Zhou
taumuon
AlexV
Susan Still
Only Title

Rocco Mastrangelo's Q&A profile

  • Visual Basic Where to look to find the list of all Visual Basic events...

    I have a looked in books as well as on-line and I can't find a list of all the possible events for Visual Basic and Windows Forms. Thanks, Claude. Different classes have different events...you can get a list of a given class' events from MSDN, for example, here's the events for the Form class: http://msdn2.microsoft.com/en-us/library/td1s43eb(VS.80).aspx Hope that helps, Jonathan Aneja The VB Team ...Show All

  • Windows Forms Importing text files

    Greets all, I have several comma-delimited files that we buy from a supplier that need to get into our database. Since we have to do some formatting to the data we already have an app that does this however it takes a VERY long time to do this.   So far the problem seems to stem from avoiding duplicates. Ex. If I get a list of  ...Show All

  • Visual Studio How-to: create a custom tool that runs directly against a model file

    The T4 engine that ships with the DSL tools gives you a flexible way to generate text output based on the contents of a model by running a custom tool against a template.   However, in a production environment, you may not want a user of your designer to have access to the template. You might prefer the user experience to be more like that provided by the Microsoft dataset generator, where the custom tool runs directly against the model file, rather than against a template.   This is very easy to do using the May release of the DSL tools.   1) Create and test your template as normal, but then put in a placeholder ...Show All

  • SQL Server Creating a report using a Stored Procedure

    Hi All, Is there a way to create a report in SQL2005 reporting services to call a stored procedure that has parameters I keep getting an error saying i am not supplying the params, I can't seem to find where to put my parameters for the report to use. Thanks, Joe How about something like exec uspTest @parm1, @parm2 If I remember right it will provide a couple of boxes for you to type the parm values when you view the report in Report Manager ...Show All

  • Visual C# What determines DateTime.Today.ToString() output?

    I have the situation where in a simple console application, DateTime.Today.ToString() returns .. "2/9/2005" on one machine and ... "2.9.2005" on another. (the date separator is changed). It's important that I get the date in the first format (slashed), and change my code everywhere is a challenging task. I'm looking for a configuration solution to this problem, not a code solution. Does anyone know what determines the format of the ToString function Regional settings don't seem to make an impact, even after a restart. Both machines are running W2k SP4  and  .NET 1.1.4322 Many thanks, Mike Zemek ...Show All

  • Visual C++ What API required to access HTML tag of a chm file in MFC program????

    Hello, I like to write an MFC program that will have to check the value of an html tag (<meta>) in a chm file. So I like to know what MFC class and method is required to use to have my program access the html tag value of a chm file Any idea pls Thanks.   vcboy wrote: I can't have chm file shown on web browser in my program. So, is there any way to get MSHTML document object without using web browser control Yes.  You can use HRESULT IHTMLDocument2::put_URL(BSTR  v );  As described here http://msdn.microsoft.com/library/default.asp url=/work ...Show All

  • .NET Development Exception: DataTable internal index is corrupted: '5'. on ...

    Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not display the new value. That value is displayed after I move the mouse over that cell and make it invalidate its region manually. Another error I caught is the one that you can see as the subject of my po ...Show All

  • Visual Basic Making an Incremental Search

    I had a datagridview(dgvName) that was primarily used to load data from a certain table of my database.Using the datasource option in my datagridview's properties, I choose the table and in the Column, I bound a certain column(Name)...Now I had also a TextBox(tboxSearch) which I want to use as a way to search the data of my dgvName..I want the seaching to be incrementally, that is, when I type a single letter in the textbox, say A, cell will point to Aaron and when I type Ab, it will point to Aban and so on.Anyway I am using visual studio.net 2005 edition..Can somebody help me please... thanks. Make ...Show All

  • .NET Development DataAdapter.Fill() is necessary?

    Hi all, In ADO.NET 2.0, there's a new method called DataTable.Load (DataReader) method, so is it necessary to use DataAdapater.Fill(DataSet) anymore I think all developers don't mind to write a few more line to change .Fill() to .Load() if the performance can be improved greatly after moving from DataAdapter to DataReader (as DataReader is native and fastest approach in retrieving record). Thanks, In MSDN doc, it says: The Fill method retrieves rows from the data source using the SELECT statement specified by an associated SelectCommand property. Also SqlCommand calls ExecuteReader() to retu ...Show All

  • .NET Development save to table without primary key

    Hi, I use VB 2005 Express. Problem: When I save some data back to a table (Access) with a primary key everything is fine. But when save data back to a table without primary key I get an exception error: Update requires a valid UpdateCommand when passed DataRow collection with modified rows So my question is then: 1. Is it possible to update a table without primary key 2. in that case, how I use the following kode for updating: Me.Validate() Me.TblTunablesBindingSource.EndEdit() Me.TblTunablesTableAdapter.Update_(Me.TunablesDataSet.tblTunables) I have exported the table in Access from an external software, ...Show All

  • SQL Server linked server exec stored procdure results in Transaction context in use by another session.

    I am using sql 2005 beta Microsoft SQL Server Management Studio (expires in 355 days)      9.00.1116.00 Microsoft Analysis Services Client Tools      2000.090.1116.00 Microsoft Data Access Components (MDAC)      2000.086.1830.00 (srv03_sp1_rtm.050324-1447) Microsoft MSXML      2.6 3.0 6.0 Microsoft Internet Explorer      6.0.3790.1830 Microsoft .NET Framework      2.0.50215.44 Operating System      5.2.3790 i have defined a linked serv ...Show All

  • SQL Server "sysft_Content" - what is it?

    upgraded 2000 - 2005 and applied sp1. also same failure with SQL 2005 from scratch tried to do a simple Backup Database of a db named 'msu' to a disk file on a local hard drive just like I would with 2000. failed with: System.Data.SqlClient.SqlError: The backup of the file or filegroup "sysft_Content" is not permitted because it is not online. BACKUP can be performed by using the FILEGROUP or FILE clauses to restrict the selection to include only online data. (Microsoft.SqlServer.Smo) Could you check if msftesql service is running properly Is msftesql service running in a differen ...Show All

  • Windows Forms Control.Enabled=False - becomes ugly. Why?

    And it is incredibly difficult to do something about it. Eg. combobox don't respond correct on Paint and BackgroundPaint event. I like the old VB60 look - it is much better then today’s solution. I have found out that deep into the control class is the gray value stored and set. Why not let us (developer) control what colour to use when enabled is false I have seen some nonsense explanation why the solution is selected. One was that Microsoft was not willing to spend the money needed to fix it. Another one was that this was a good solution! Microsoft – are you going to fix this problem When will we receive the fix ...Show All

  • Visual C++ why the compiler can't find the headers

    i have an enterprise project that originaly have been writen in visual c++ 6 MFC now I want to open it and compile in VISUAL studio 2005 but the compiler throws Error 1 fatal error C1083: Cannot open include file: someFile.h file or directory not found. it just canwt find any of the headers. when i compile the project at vc6 there are no problem and when I compile it with vs.net 2003 its seems to be alright as well why can't I compile it at the vs2005 What are the header names Are these VC specific headers or user defined Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual J# Smart Client Deployment

    Hi, i’m new on Smart Client Deployment. I now that there are new things on .net 2.0, but i’m still working with version 1.43. I’m trying to publish on a IIS a Windows Forms executable made obviusly on .Net. Everything works fine on the client side until i use some J# dll and i get the following message... java.lang.NullPointerException: Referencia a objeto no establecida como instancia de un objeto.    at Etelecom.Programas.wconexion.E17V9F2()    at Etelecom.Programas.wconexion.keyEventDispatch(Object eventSource, Int32 keyCode)    at com.genexus.ui.runEvent.run() Any idea..... Thanks in advance... XAvier. ...Show All

©2008 Software Development Network