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

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

gaius

Member List

rjv_rnjn
Kevgor
sandyalmeida
John Mollman
Holger Sachs
Stuart Campbell
Nikita Mironov
JD-SSan
npt
et3ishak
Ragas
kqjf
Corgalore
rmccullough
KttocS
pmedart
paraGOD
hivani
Asuranceturix
Liberato78
Only Title

gaius's Q&A profile

  • Visual Basic How can I know the cpu and Graphic card information from VB.NET 2005

    hallo every one   Iam making a programm in vb.net 2005 and I want to make a label.text = ( cpu information ) and another label shows my graphic card informatiion how can I do this   and thanks alot Look at 'my.', my. will giv you a lot of information abouth your system. MartinY  ...Show All

  • SQL Server Managment Studio Scripting options?

    Am I missing something on options somewhere   With Enterprise Manager when you choose to script a stored procedure you had the option to say include a drop statement and security statements.  In Management Studio I don't see these options.  Just script a create OR a drop.  Not both.  I think this is a giant step backwards for the tool if it isn't present or can't be configured.  Nevermind...I found it.  It was in the Generate Scripts wizard off the database.  Too bad this wasn't easily exposed from the context menu on specific object (like a stored procedure). ...Show All

  • .NET Development Simple quesiton: Custom datatypes

    I have a WebService class with the following methods: [WebMethod()] public void SendInfo( MyInfo theinfo) { //implementation details } [WebMethod()] public MyInfo GetInfo ( ) { MyInfo theInfo = new MyInfo(); // implementation details return theInfo; } MyInfo is a class that I have generated using xsd.exe (its fairly straight forward) Now when I want to use these two webmethods from a client application in C# I select "Add Web Reference" and enter the endpoint URL. This works great and it generates the necessary methods and data structures accordingly. The only problem is that I seem to get two seperate classes generated ...Show All

  • Visual Studio 2008 (Pre-release) Transform3DCollection, Transform3DGroup

    Several questions concerning those two classes: 1. What is the difference between the two 1.a Generally 1.b When do you use which one of the two 2. I thought Transform3DCollection was used to collect a number of transforms to apply them to GeometryModel3D. However, the following code - which accordingly to code examples I found on the net seemed to have worked earlier - does not work with the September release: GeometryModel3D geometryModel= new GeometryModel3D(); Transform3DCollection transformCollection = new Transform3DCollection(); transformCollection.Add( new ScaleTransform3D(...)); transformCollection.Add( new TranslateTranform3D ...Show All

  • .NET Development Opening the file as a New Process

    I am trying to open a file, e.g. a text, .doc or .mpp file, when it runs on the localhost system opens a respective file, but when installed in the IIS 5.1 and IIS 6.0 as a virtual directory, and access the file, system doesn't opens................................................... Imports System.IO Imports System.Diagnostics Partial Class CR Inherits System.Web.UI.Page Dim projectPath As String Dim documentPath As String Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load documentPath = "Change Requests\" projectPath = Con ...Show All

  • Windows Forms Expand Button in a propertygrid

    I need to add an expand button for one of the properties in my propertygrid just like the button which is present in the 'collection' property of controls like .. treeview, listbox etc..... Any suggestions guys Check out a great article on MSDN on this subject: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/usingpropgrid.asp ...Show All

  • SQL Server How do I calculate the difference between two line items?

    I am trying to calculate the difference between two date/times as they relate to two separate errors that have occurred on a production line. The available date fields are as follows: Error Date First Error Date Last Error Date First Repair Date Last Repair Date 1 4/17/2006 08:23:29 AM 4/17/2006 08:23:29 AM 4/17/2006 08:23:29 AM 4/17/2006 08:23:37 AM 4/17/2006 08:23:37 AM 2 4/17/2006 08:34:56 AM 4/17/2006 08:34:56 AM 4/17/2006 08:34:56 AM 4/17/2006 08:35:43 AM 4/1 ...Show All

  • Visual Studio Team System TFS Beta 3 Data Tier installation

    The install guide says that the SQL2005 install has to be the default instance on the data tier server. We'd like to install the data tier on our existing server which is running Sql 2000 (for Biztalk 2004) by adding a Sql 2005 instance. Is there any way to get TFS Data Tier to use a named instance instead of the default one Okay, thanks Allen. We went ahead and installed it in single server mode instead - just need some more RAM for the server now :) Are we likely to be able to use a named instance in the RTM release ...Show All

  • SQL Server Data Flow not saving into destination table

    SORRY PROBLEM FIXED ... seems that as soon as I posted this message in the forum it helped me to realise the problem. It was a data integrity issue. I am quite new to SSIS. What a marvelous technology!! Been working with it all day today. Have been referring to MSDN doco as well as various blogs, SSIS.COM and so on I have found around the place. I have a DataFlow, taking data from a SQL 2000 table, transforming it (adding a surrogate key) and then multicasting to two tables. Both tables can generate an error text file if there is any problem. Problem is that no records ever end up in the destinatin tables. TIA ...Show All

  • Visual Studio 2008 (Pre-release) Problem with transitivity for Composite design pattern

    Hello! I'm trying to do a straight forward implementation of the Composite design patten. I have code like this: Composite compositeRoot = Composite .Create( "Composite 1" , "Composite Property 1" , Primitive .Create( "Primitive Q" , "Primitive Property Q" ), Composite .Create( "Composite 11" , "Composite Property 11" , Primitive .Create( "Primitive 111" , "Primitive Property 111" ), Primitive .Create( "Primitive 112" , "Primitive Property 112" ) ), Composite .Create( "Composite 12" , ...Show All

  • Visual C# How do I compare two TimeSpan objects to see if they overlap

    Is there a way to compare two TimeSpans to see if they overlap For example: (1/1/2006 - 1/31/2006) overlaps (1/15/2006 - 2/14/2006) (1/1/2006 - 1/31/2006) does not overlap (3/1/2006 - 3/10/2006) . I want to do programatically determine whether two date ranges overlap. How can I accomplish this Unfortunately TimeSpans do not contain dates, instead they contain the span of time between two arbitrary points in time. In order to determine if one date range is within another, you would first have to construct DateTime objects that represent the actual boundaries of your ranges with something like this: private bool ...Show All

  • SQL Server Forcefully Disconnect All Users and Drop a Database

    Hey all, I am trying to write a function to drop a specific database no matter the connection status. I have tried con = new ServerConnection (sql); con.Connect(); Server srv = new Server (con); srv.KillDatabase( "Name" ); ,and also tried Database db= Database (srv, "Name" ); Database db=srv.Databases[ "Name" ]; db.Drop(); None of these worked. That surprises me because KillDatabase is supposed to disconnect all activity to the database, at least that's what it says it does. Thanks. Update to all, the SMO classes were changed to t ...Show All

  • Visual Studio Express Editions Registration Benefit Portal Link

    Don't work ......the link contained in mail message and all post in this forum is bad!!!. The browser seems crazy...... if this is the start..... That link doesn't work. The page reports Error: The page you have requested is unavailable or you do not have access. ...Show All

  • Visual Studio Express Editions Registration page not available

    The link in my Visual Basic 2005 Express to register keeps coming up "page can not be displayed" the link is http://go.microsoft.com/fwlink/ linkid=51341&lcid=1033&h=7c7d6ccdd64da0f1&c=&pid=76541-000-0000011-00124&bn=050727.42   and my version is 8.0.50727.42 Any suggestions on how to register it   I want the free goodies... thanks in advance. Teamdad I got the Key from the Registration Site but no luck when try it I copy it and paste it on the box but same thing happend I gett the registration key you entered is not valid. please enter the registration ke exactly as it ap ...Show All

  • Visual Basic internetclosehandle api hangs up my program

    Hi! I hope you can help me When I issue a InternetCloseHande(lngHndConnection) my progrma hangs up. I use windows 2000 sp4, VB 6 sp6 the sentences are Private Declare Function InternetOpen Lib "wininet.dll" Alias "InternetOpenA" (ByVal sAgent As String, ByVal lAccessType As Long, ByVal sProxyName As String, ByVal sProxyBypass As String, ByVal lFlags As Long) As Long Private Declare Function InternetConnect Lib "wininet.dll" Alias "InternetConnectA" (ByVal hInternetSession As Long, ByVal sServerName As String, ByVal nServerPort As Integer, ByVal sUsername As String, ByVal sPassword As Str ...Show All

©2008 Software Development Network