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

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

Aryam

Member List

Scott P. Lane
Shash
John Weldon
shamim
imillicit
MiguelSilva
Khadragy
BergSt
Larry Buerk
Michael Ruminer
twostars
Whololo
freddoo
zivco
SamGentile
FLx
yoges
Bjorn Erik
phox
Deva Wijewickrema
Only Title

Aryam's Q&A profile

  • Visual C# override- virtual- new keywords

    Hi everyone, I have some doubts about override- virtual- new keywords. I think that all methods who include override keywords are also virual methods since we are also able to override these kinds of overriden methods. THe following code snippet demonstrate my opinion. So I would like to ask that whether I am wrong or correct. If I am wrong, please make me correct. class VirtualClass { public virtual void VirtualMethod() { Console.WriteLine( "VirtualClass:VirtualMethod" ); } } class OverrideClassA : VirtualClass { public override void VirtualMethod() { Console.WriteLine( "OverrideClass ...Show All

  • Windows Forms Elapsed Time

    I have two text boxes. Can anyone explain how i can set the properties of the boxes to accept time format entry only. Also I am trying to find out how I can find the elapsed time between the two text boxes. Yours frustrated.  Jacob makes a valid point. Using the exiting DateTimePickers is your best bet. But . . . if you're&n ...Show All

  • SQL Server SQL Agent Failing when trying to run my SSIS Package

    My SQL Agent was working fine.  Now when I try to run it, it failes when trying to run my SSIS package.  I looked in the logs, and job history, no luck in finding any critical errors. My SSIS package runs fine through VS 2005 in debug mode. Here are the only errors: 01/04/2006 09:53:48,,Warning,[396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect 01/04/2006 09:53:48,,Warning,[260] Unable to start mail session (reason: No mail profile defined) 01/04/2006 09:53:48,,Information,[129] SQLSERVERAGENT starting under Windows NT service control 01/04/2006 09:53:48,,Error,[364] The Messenger s ...Show All

  • .NET Development VS 2005 Time delay in calling subroutine (Office Interop)

    Hi to the group, I wrote a program originally in VB.NET 2003 to retrieve some outlook items. The program runs just fine. I have recently converted it to VB.NET 2005 and here is the issue: Program loads and runs up to the point of calling a subroutine - 'GetSomeOutlookItems'. The program has thus far taken about 1/2 second or so. The subroutine is in its own module and imports Microsoft.Office.Interop. The program now takes about 6 to 8 seconds to actually get to this subroutine. Once the program gets there it takes about 1/2 second to finish loading all the data. Is there something I am overlooking or doing wrong Did VS2005 convert my progr ...Show All

  • Smart Device Development ActiveX for PPC 'Hello World'

    I'm starting to get desperate on my quest to find a simple, decent "Hello World" example for how to create an ActiveX control that can be hosted in PocketIE. If anyone can point me to some good articles (with source code, preferably) I'd be more than grateful! It looks like the Windows Mobile v5.0 SDK contains a sample for using an ActiveX control on a web page that is opened in Internet Explorer Mobile (which I believe was what PIE was renamed to for this release). http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/mogrfaxsamplesample.asp If you install the WM5.0 for PPC/SP S ...Show All

  • SQL Server Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)

    After getting an RPC error when trying to login to my server via either consol or Terminal services, then rebooting, I can no longer connect to SSIS Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&LinkId=20476 ------------------------------ Connect to SSIS Service on machine "BG-22SQL" failed: The service did not respond to the start or control request in a timely fashion. . ------------------------------ Connect to SSIS Service on machine "BG-22SQL" fai ...Show All

  • Visual Basic making an api call error 126 (findWindow)

    I'm trying to get a handle to a window, so I need to make an call to the api to the findwindow function.. so I declare: Declare Function FindWindow Lib "User32" Alias "FindWindowA" _ ( ByVal lpClassName As String , ByVal lpWindowName As String ) As Long Public WinWnd As Long and make the call inside a sub: Dim windowName As String windowName = "Title" WinWnd = FindWindow(vbNullString, windowName) WinWnd gets trash, end the error variable is set to 126, wich means specific module not loaded I tried to put the auto keyword, not sure what it means but I saw it on an example on making api call in msn w ...Show All

  • .NET Development Key/ForeignKey performance question

    I've read on various online performance sites that an Int performs better on a WHERE clause than say... VarChar(8). Assuming this is true, does this hold true with relationships Having an Int as a ForeignKey and Key seems a lot more efficient than a VarChar - in terms of space and speed. Thanks :) Yes, it's more efficient and therefore faster to use integers as compared to character fields as integers are indexed more efficiently. It's much easier to index and locate an integer than a character field. I'm not sure how much faster using an integer would be though. ...Show All

  • Visual Studio Build is being skipped

    So I got my copy of VS 2005 Standard at the rollout event and installed it.  I took a compact framework project produced in VS 2003 and copied it to a new directory and converted it to VS 2005.  When I attempt to "Clean", "Build", or "Rebuild" the project I keep getting the message " ========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ========== ".  I tried deleting the exe's and the object files manually to no avail.  I tried turning off edit and continue assuming that it could be making decisions about when to build and when to skip but it still just keeps skipping.  Any ideas Bill Check to see i ...Show All

  • Software Development for Windows Vista How to Capture Vista Event Viewer Logs in XML format using VB.NET

    Guys, Really need your help. Rite now I'm working on an application that can capture all the event viewer logs in the local machine (the logs should be in XML format) and send it to server. How can I achieved this objective using VB.NET Is it possible Thanx! ...Show All

  • Visual C# Logical program structure.

    Hi All, Is it a good idea to break up a program's code structure into individual classes for each tabPage when using a TabControl component on a form Or should I separate my code into projects that create classes that encapsulate like functionality into separate modules Does anyone have a good online reference that is useful for providing a basic rule of thumb for breaking up projects into managable, logical pieces that they would like to share TIA, Mark Hi! All depend on task. Generally best solution is simple solution. Can you describe your project and your reasons to make somethin ...Show All

  • Windows Forms programmatically find a row in a DataGridView and select it

    Hi There, I've got a DataView populated with data from a Table. The Table contains a PrimaryKey. With this DataView I populate a DataGridView and show all Columns except the PrimaryKey Column. What I now want is to find a row due to a given PrimaryKey Value. How can I do this without to iterate thorugh all rows and check the PrimaryKey from each DataRowView Thanks in advance... Greet Markus   Markus Fritz wrote: With this DataView I populate a DataGridView you populate do you load the grid by iterating through your table and then copying the values to the grid ...Show All

  • Windows Forms getting the error description of an invalid data entry

    I use databinding to bind a textbox into a bindingSource (VS2005). The column the textbox is bound is of integer type. When the user enters a non integer value the binding stuff do not allow focus to be lost from the control, until the user corrects the error. How can I take a generic description of that error so that I can display it to the end-user using a errorProvider control, so that the users knows what the error is Do I have to write custom code in the Validating event even for this trivial check Something like this Private Sub txtInteger_Validating( ByVal sender As Object , ByVal e As System.ComponentModel.Canc ...Show All

  • Visual Studio Team System How to get the list of valid users in a particular project?

    i would like to get the valid users in my team server (with a particular project) and i will put it in a lets say, dropdown list. so that i can use it in adding workitems with the use of ASP.Net i used the IGroupSecurityService but i can get only the Group Names and not the members inside the group. any ideas Thanks,. (btw, im using ASP.Net-C#) i still cant get it... i dont want to use my alternative way of doing it.. (getting the username and then validate it). i want it to be in a list... anyone tried and made this, that can help Thanks. ...Show All

  • Visual Studio Tools for Office Add-In won't run with .net 2.0

    Hi; I have an Add-In that runs fine under .net 1.1 w/ Word 2000/2002/2003. I just tried running it since installing VS 2005 & .net 2.0. It now tells me "AutoTag2003.dll is not a valid Office Add-in." I have tried this with both the version built under VS 2003/.net 1.1 and the version built under VS 2005/.net 2.0 - same problem with both. Any suggestions thanks - dave ps - I have the release version of VS 2005 installed. Hi; First off, thank you for answering this. A couple of questions though: 1) I just created a new VS 2005 Add-In and it works fine. I have not downloaded the fix yet. So why does my new Add-In work 2) I also can't ...Show All

©2008 Software Development Network