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

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

GauriMK

Member List

VSR
reichel1
slimjinky
Pankaj11
Barry Lewis
PaulPT
k_jedsada
ZebSoft
Michael W Powell
Abhi_N
Nathan Neitzke
dvj81
Helmut Obertanner
sebepsiz
Matt Masson
Lewishsu
joe_coolish
Martinavd
nikos_22
Insignia
Only Title

GauriMK's Q&A profile

  • Visual Studio Team System DisposeMethodsShouldCallBaseClassDispose and Windows service projects

    Hi all, I have a project that is a Windows Service. The code that's generated by the designer overrides the Dispose method of its base class. It does this in the following manner: Protected Overloads Overrides Sub Dispose( ByVal disposing As Boolean ) If disposing Then If Not (components Is Nothing ) Then components.Dispose() End If End If MyBase .Dispose(disposing) End Sub FxCop correctly indicates that if an exception occurs in any of this code before the call to MyBase.Dispose, the base class resources won't be disposed of. Is this a problem then in the designers that generate this code Has t ...Show All

  • .NET Development Problem with AutoNumber key column

    Hi, I'm using dataGridView in VS 2005 environment. And I observed that the AutoNumber key columns increments the number whenever I sort on the grid. Scenario to reproduce the problem is: -bind the grid with 'Employee' table.(EmployeeID column is Primary key and it's AutoNumber) -Sort on the gird. Observe: EmployeeID column displays different number at each time when we sort the grid. Any idea about this Any comment is appretiated. Thanks. Julia168 Could not reproduce. Tested against SQL Server Employees table and Microsoft Access Employees table. Perhaps you have so ...Show All

  • .NET Development reading some strange file

    hi all, I have a file that i want to read created by a program from another company. I fi open the file in notepad it has all kind of funny chars in it, i tried different ways of reading it in vb.net but the funny chars stay. Anyone has any idea how to read something like this this is an extract from the file " 2006/05/19 13:44:28 ----------- uStreetname 91 1745 Opwijk ' 590208356329 SLIN3f )ly%g: )' 29.11.2005 grtz & thnx to anyone who looked into this. bjorn In terms of just reading the raw data your best bet lies with the StreamReader class... as for making sense of the data... y ...Show All

  • Smart Device Development Camera Capture for Eten G500

    Hi! I used Camera Capture sample from Windows Mobile 5.0 SDK for develope app with PDA Eten G500. The same action with imate K-Jam was s uccessfully. But with Eten G500 the sample does't work. What can I do May be it is nessesary to change this code CGraphManager::GetFirstCameraDriver( WCHAR *pwzName ) { HRESULT hr = S_OK; HANDLE handle = NULL; DEVMGR_DEVICE_INFORMATION di; GUID guidCamera = { 0xCB998A05, 0x122C, 0x4166, 0x84, 0x6A, 0x93, 0x3E, 0x4D, 0x7E, 0x3C, 0x86 }; // Note about the above: The driver material doesn't ship as part of the SDK. This GUID is hardcoded // here to be able to enumerate the camera drivers and ...Show All

  • Visual Studio CrystalReportViewer Deployment

    I have a problem in the release version of VS2005. When I create a simple Crystal Report application and try to run it, I am fine on my development box, but when I deploy it to another machine and try to run it, before the form's Load event (I have a MsgBox in that event that never appears) I get an error box wanting to send a report to Microsoft; when I look at the contents, I see: Error signature EventType: clr20r3   P1: expirationreport.exe  P2: 1.0.0.0 P3: 4370e391   P4: expirationreport   P5: 1.0.0.0   P6: 4370e391 P7: e    P8: e9   P9: system.invalidoperationexceptio ...Show All

  • Visual Studio Can't uninstall MSDN Library for Visual Studio 2005 Beta

    A while back I installed Visual Studio 2005 Team Suite Beta 2 Version on my laptop and used it. I now have the latest Visual Studio 2005 Professional and I want to install it but I can't. MSDN Library for Visual Studio 2005 Beta will not uninstall. I've tried just about everything but everytime it goes through the uninstall process at the last possible moment it "rolls-back" and dosn't perform the uninstall. I'm stuck. I read through most of the messages here to try to find a clue and I've tried several many good suggestions but still with no success. Any ideas would be greatly appreciated. Thanks. ...Show All

  • Visual Studio Installing VS beta on Windows XP with no SP2

    Hi! I have trouble installing the SP2 on my  PC with Windows XP Pro (.."the product key used to install windows may not be vaild." The PC belonged to my former employer and I don't know nything about the Windows version on it. Is there a way to install VS Beta without the SP 2   Regards, Torunn You can only use a MSDN licence for as long as you continue to pay for the subscription. As the subscription has ended you will need to purchase another copy of Windows. ...Show All

  • Visual Studio Team System Change Project in a Excel file

    Hi. I just copied the Issues.xls file from one Team Project to another. When I open the copied Issues.xls it still points to the first Team Project. How do I change the Team Project in the Issues.xls file Cheers, Chris Unfortunately there is no way to change the server/project that a project plan or excel workbook is referring to. The server/project are stored as part of the document itself. ...Show All

  • Visual C# A method to get that an enum contains a specified field

    I know that we can use "|" to get that an enum variable contains a field. ...Show All

  • .NET Development Application runs slowly first time with Framework .NET 2.0 on Windows 2003 Server

    We are developed an application in .NET 2.0. On Windows XP SP2 and Windows 2000 and others, works fine all times, but when you try to run on Windows 2003 Server, the first time takes a lot. We have check that this time are consumed in database access. All next times you run the application works fine. Do you know some bug related to w 2003 Server or only may be an specific configuration on this server Thanks in advance. The first connection to the database will always take more time, once a connection has been established it can then be pooled and then gets reused the next time that your program calls the data ...Show All

  • Visual Studio Express Editions Why sometimes CreateObject("Scripting.FileSystemObject") doesn't work?

    On some machines with Windows Xp or 2000, with VB 6.0 or VB 6.3 CreateObject("Scripting.FileSystemObject") returns no object. How can i fix if Scrrun.dll is present. on some machines it could be a third party application that is keeping the scripting object from being created...There are virus scanners and such that have an option to block the creation of scripting objects especially the Scripting.FSO...If you have the option try using System.IO namespace for working with the filesystem versus using the scripting object! ...Show All

  • .NET Development Creating an XML based Windows Form.

    Hi all I have a very basic question. I have in the past created windows forms that used Oracle tables for the datasource. I am now trying to create a simple application that will only use xml files to read/write data. I used the Visual Studio xml schema designer to define what is essentially my table structure (the file is shown as a .xsd file in the solution explorer). I then created a windows form. At this point I am a bit lost. I am not sure how to tell the form that I want it to be based off the xml schema that I just defined. When I try to pull in dataset from the toolbox onto the form, it indicates there are no datasets. I seem to be ...Show All

  • SQL Server VBA IsError function in MDX with SQL Server 2005

    In SQL Server 2000 Analysis Services, we use the VBA IsError function to determine if a generated member name actually exists in the cube. See the following example... StrToMember ( Iif ( ISERROR ( StrToValue ( "[Start Date].[Month].[" + Format(Now(), "mmm yyyy" ) + "]" )), [Start Date].[Month]. Members . Item ([Start Date].[Month]. Members . Count -3). UniqueName , MemberToStr ( StrToMember ( "[Start Date].[Month].[" + Format(Now(), "mmm yyyy" ) + "]" ). Lag (2)))) I tried the same thing in SQL Server 2005 Analysis Services, but when I processed the cube, I got the following error: MdxScript(Freight Analytics Proto) (36, ...Show All

  • SQL Server STRANGE SQL Query

    When I try to execute the below query: select * from jobmaster where status in ('Active') and materialtypecode in (1,2) and unit='IMPERIAL' and superusercode='S051000014' order by controllercode,jobname through ADO I got the error message: Invalid column name controllercode When I execute the same above query in MS SQL Query Analyzer it is working. Is there any workaround Could it be that you are wokring on different databases / instances where the column is existing in one case on in the other not HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Basic Looping Round datagrid

    hi anyone help, i am writing a invoice part to my program. I have loaded a datagrid with Orders ready to invoice. My employer wants me to highlight several rows in the datagrid then loop round datagrid invoicing each order as we go. i was hoping somebody can push me in the right direction by telling me: How do you highlight several rows in datagrid And How do you loop round a datagrid Cheers Alllan ...Show All

©2008 Software Development Network