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

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

tgif_sf

Member List

Maxim Michtchenko
JohanBarnard
threebit
pramod Bavchikar
Steve Roszko
Souri
MShanahan
Jan Dytrych
Greg Pierson
bigtallim
shanab
igkmahesh
Lummie
DarrenMcD
alejoespinosa
Sean Cromwell
Tim Ferguson
migueldc01
cchill
John Penberthy
Only Title

tgif_sf's Q&A profile

  • SQL Server Which Package Configuration Type is best

    Hi, I understand there are different package configuration type like... · XML configuration file · Environment variable · Registry entry · Parent package variable · SQL Server Of the above which is best configuration type to use. Regards, Balaji Thiruvenkataraju There are 5 config types because each has advantages and disadvantages. The default is the XML config file as we expect that to be most widely used. Which is best for you depends on your needs. What are your criteria for a good config type Donald ...Show All

  • Visual C# How to cast Null object.

    Hi all, I am wondering if I can do casting for null object. Lets see the following code: int i; object o; o = null ; i = ( int )o; I am getting error that "Object reference not set to an instance of an object." Is this possible by any other way Thank you Hello, Null casting is invalid in .NET Because null objects doesn't has a memory area. No start point. No length. It is impossible. Happy coding... ...Show All

  • Windows Forms Drag & drop from listView to dataGrid (easy one from a beginner)

    I'm setting up the event handlers and I don't know how to access the whole listView row, I only see the first element. Shouldn't this do it private void listView_ItemDrag( object sender, System.Windows.Forms.ItemDragEventArgs e) { ListViewItem myItems = listView.SelectedItems[0]; DoDragDrop( myItems, DragDropEffects.Copy | DragDropEffects.Move ); } But all I see in the debugger is: listView.Items[selectedIndex].Text = <first row's content> Then I'm not sure how to use the info dragged in the dataGrid... private void dataGrid_DragDrop( object sender, System.Windows.Forms.DragEventA ...Show All

  • Visual C++ Datasets, datarows oh my

    Good evening experts: Would you happen to have any online reference material, perhaps an article or coding sample, that provides the general idea of working with datasets in vc++ 2005 I've found numerous examples with 2003, but it appears that the syntax has changed so those examples are working. I like New DataSet Features in Visual Studio 2005 ; but, there's also TableAdapters in Visual Studio 2005 , and Visual Studio 2005: 101 Samples for Visual Studio 2005 includes a Data Access Samples section. ...Show All

  • Visual Studio Express Editions Behaviour of Left() function

      A few months ago, I wrote an .HTA application to make life a little easier on the job.  As I look at expanding the capabilities of this application, I am considering a move to VB.  The following code raises a design time error: Error 1 'Public Property Left() As Integer' has no parameters and its return type cannot be indexed. \Visual Studio 2005\Projects\frmRMCxpress.vb 9 12 RMCxpress If Left(txtHostName.Text, 1) = "\" Then MsgBox( "Remove leading and trailing \" , MsgBoxStyle.OkOnly, "Help" ) End If   Doe ...Show All

  • Windows Forms Binding ComboBox and DataTable including a None entry.

    Hello. We would like our customers to select a country, but it is not required. Thus, the top-most entry shall be "<None>". We read the countries from our database and bind the DataTable to the ComboBox. How do we go about adding a None entry to the ComboBox We can't add a None row to the DataTable or DataView. Is there a property on the ComboBox I'm missing or something Cheers, Chris I use unions queries and LookupDataTables: suppose I have possible values of - CarMake ID Make 1 Ford 2 Chevy 3 Chrysler I will fill a Lookup table with Select * from ( select ID, Make fro ...Show All

  • SQL Server jdbc driver getTables(String , String ,Sring ,String[] )can't get tables whose catalog is pure number

    i have a database named "1", then i want to get the tables which type is "TABLE" under this catalog but it can't be done. Check the kode: conn.setCatalog("\"1\""); DatabaseMetaData meta = conn.getMetaData(); ResultSet tables = meta.getTables( "\"1\"" , "dbo","ttt" , new String [] {"TABLE"}); if i change the last sentence to : ResultSet tables = meta.getTables( "1" , "dbo","ttt" , new String [] {"TABLE"}), it still can't be done. it work when "ResultSet tables = meta.getTables( null , "dbo&quo ...Show All

  • Visual Basic It's slow!!!

    Hello After I turn on my computer and when I launch first program (which programed by VB2005), it's take a long time to show main form. VB6 was faster.   CPU speed: 2600 MHz Memory: 1024 MB  Is there a solution for that   Thanks & Regards What do you mean by 'long time' It's possible that, even though windows appears to have finished booting up, it hasn't - it's still loading and starting various services (e.g.SQLServer). Additionally, it may be that the .NET framework needs to load prior to your application loading. Did you try using a splash screen to see if t ...Show All

  • Visual Basic SHAddToRecentDocs problem

    I used SHAddToRecentDocs(2, installpath & myfile) to add myfile to Recent documents. Then I used the following loop to Wait for the SHAddToRecentDocs to add shortcut Do While Dir(RecentPath & myfile & ".lnk") = "" Loop The problem is that it never gets out of the loop. Could anybody help me to point out why I checked the Recent path to be correct and also checked that the 'myfile' is in the Recent folder. I also have written a class that wraps the SHAddToRecentDocs method here: http://davidkean.net/archive/2004/10/03/177.aspx ...Show All

  • Windows Forms How to create a Wizard with Windows Forms?

    Hi i want to create a simple wizard for an application consisting of a series of windows that take date from the user and store it in a file. I wonder if its possible to create a wizard with Windows Forms I use Visual Studio 2003 and Visual C# standard edition. Thanks in advance Patrick, Were you or anyone else able to contact Justin I have been trying to hunt him down to obtain some source that he links to at http://weblogs.asp.net/justin_rogers/archive/2004/07/23/193856.aspx but the link is dead, and webcasts at http://go.microsoft.com/fwlink/ LinkId=31156 http://go.microsoft.com/fwl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scaling (Shrinking) Sprite Chops Off Texture...

    I am using the October 2005 Release of DirectX 9.0. When attempting to Scale a Sprite I am running into some very odd behavior. When "growing" the Sprite the Texture stretches and maps fine. When "Shrinking" the Sprite the texture apparently does not shrink - and it gets cut off. I am setting the Transform properly on the Sprite, applying SpriteFlags.AlphaBlend to Sprite.Begin(), and using Sprite.Draw(). Is anyone else having this problem Funny you should mention it. I was going to post a thread about the very same thing today. I set up a test case in Direc ...Show All

  • Windows Forms DataGridView and posting changes to DataTable

    This problem appeared many times on this forum but in my case none of the solutions worked. The story is that changes do not appear in DataTable. dgv is bound to a dataset and DataMember has been assigned to a DataRelation (by its name). It views data fine, but when I type anything in dgv I can't see changes. I'm handling events TableNewRow and ColumnChanged. Those events are raised as they should when I change/add rows on dgv. When I don't press an arrow to go to the next datagridviewrow changes are not in the datatable. Before posting changes to database I'm trying to force saving data to datatable by tricks like dgv.Invalid ...Show All

  • Visual Basic Full Text Search in Visual Basic

    I am trying to create a simple full-text search application in Visual Basic (2005 Professional trial version). I have been successful in doing full-text searches within SQL Server Management Studio using SQL queries, so the database has a working catalog, index, etc. Here is a sample SQL query statement that I have used in SQL Server Management Studio: SELECT SectionText FROM Full_Documents WHERE CONTAINS (SectionText, ' "radio" '); This query returned all the rows containing the word “radio” within the SectionText column of the Full_Documents table. I have placed a textbox (SearchT ...Show All

  • Visual C# Dynamically moving controls

    I have six panels, each panel contains a textbox and its label. Each panel has a checkbox associated with it on the form, but outside of its respective panel. I only want the panels whos checkboxes are checked to be visible. If another checkbox is checked, I want that respective panel to be displayed directly under the last panel displayed. Once that checkbox is unchecked, I want the panel to disapear, and all the other panels that come after, to move up. I am going crazy trying to get the code right, and I thought maybe someone has already done this as could give me an idea on how to get all these panels to apear and dissapear, and repositi ...Show All

  • Windows Forms Why MenuStrip?

    I'm watching a presentation on VS.NET 2005 and they showed a new control called MenuStrip.  My first thought was, why did MS have to create a brand new control   Couldn't they have just enhanced the existing menu control with new features   Will there be a utility to upgrade 2003 projects to use the MenuStrip   Is the existing menu control&nb ...Show All

©2008 Software Development Network