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

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

dba72

Member List

michaelp
JSensei
ScottMilener
rwike
Carroll Barrett
tcoop
miltoncwb
Chad Boyd MSFT
Haplo Peart
Peter Moore
keeara
GenuineBoy
Hemant1408
Dwayne Walters
Lee Franke
Muksh
LarryETL
Koen Vandecasteele
nerdz
dsac
Only Title

dba72's Q&A profile

  • Windows Forms Unwanted Focus to FlowLayoutPannel

    In the main window, I have a flowlayoutpannel. The main window opens some sub windows using Form.Show() (modeless) The problem is whenever I add a control to the flowlayoutpannel, it gets focus and the sub windows are put behind the main window. How can I prevent this. I don't want that automatic focus. I tried sub window.TopMost as a workaround,  but then the tool tip for the controls on the sub window are put behind the sub window and became invisable. (who would want this!) Thank you for your help! ...Show All

  • Visual Studio Express Editions Form Question

    Is there a way to keep my main form (I only have one), set to "always on top" I think you could do that in VB6, but I can't remember. Thanks hi, its property in form properties Me .TopMost = True hope that helps ...Show All

  • .NET Development Where did the GetXml method go?

    I'm working on a webservice, that is supposed to return the content of a dataset. I've built a dataset (dsItem), but I can't seem to get any XML out of it. The GetXml() method simply isn't available... Could anybody tell me the simple reason that is so Here is my code: Public Function ItemRequest( ByVal strSearch As String ) As String Dim ds As New dsItem Dim dsArtistTable As New dsItem.ArtistDataTable Dim dsAlbumTable As New dsItem.AlbumDataTable Dim dsTrackTable As New dsItem.TrackDataTable Dim dsArtistAdapter As New dsItemTableAdapters.ArtistTableAdapter Dim dsAlbumAd ...Show All

  • Visual Basic How to send Struct variables using DirectPlay and VB.NET?

    I can send/receive INT or String but have no clue on how to send a whole Structure. I tried searching the VB general forum for "struct AND DirectPlay" but found no result. Thank you. I'm really stuck in a situation here. I want to use VB.Net and DirectPlay to make a chat engine. I searched the internet for a sample but the only ones for VB that I could find were in VB6. When I upgraded them to VB.Net they completely stopped working. Anyway, I was wondering if you could send me the source code for your chat system in VB.Net Please My email address is admin@jimmyware[dot][donotspam]co[dotage]u ...Show All

  • Visual Studio Visual Studio 2003 uninstall

    Hi, I've had Visual Studio 2003 for a while, but have now got Visual Studio 2005 Beta 2. I don't have enough space on my system drive, so I need to uninstall Visual Studio 2003. When I try, it says "Setup is unable to determine a valid ordering for the installation. See the error log for further details". I don't know where this error log is. I have tried repairing prior to uninstalling, or uninstalling the components, but I still get the same message. Does anyone have any ideas Is there a way to tell the installer what to uninstall - I did a full install originally as far as I remember. Many thanks, Jonathan Stratford ...Show All

  • Windows Forms What does this mean.."A child row has multiple parents"

    Hi all, Well, all I need to know for now is whats in the subject title. What does it mean with the caught error message shows -> "A child row has multiple parents" In order to understand what is going on I need to know what it means; what is going on under the hood For more info... 1) There is a query that includes multiple tabl ...Show All

  • SQL Server Import CSV file data from URL/HTTP

    Hi, I'm truly a newbie to this, so please ignore any stupidity :-) I am trying to (in SQL2005 - integration services) 1) Import a CSV file over http (using an URL) 2) schedule the job (so it is done regularly) 3) *bonus* edit the URL dynamically I have a web link, e.g. http://dummy.com/cgi-bin/run.cgi from=050101&to=050102 when accessing this "page" the result is sort of a CSV file. It looks something like this: Date;cust;id;... 20050101;CLIENTA;0121210310; .. 20050101;CLIENTB;238241268;... ... Step 1) How can I import this to be used in a Data Flow task (or similar) I have managed to set up a HTTP Connection Man ...Show All

  • .NET Development Easy way to change control type

    In MS Access, when you had a control already on the form, you could right click it to change it to another control type (ex. textbox to combobox). Is there a similar function in VB.NET (ex. textbox to maskedtextbox) Thanks! The refactor support may do this for you in the code view. Or, you can always change the type in the code view, and see what happens :-) ...Show All

  • Software Development for Windows Vista Vista ListView Focus/Selection style

    How can I say that the ListView control should use the focus/selction style like in explorer My items have just the blue background, not the much cooler explorer 3d stuff. btw: I'm using the application manifest. Steffen Hi Tammy, Was the final list of names ever documented Thanks, Matt ...Show All

  • .NET Development Could I NGEN my application before add it into the setup package?

    It seems the NGEN is used after the program is installed on target machine Could I NGEN my program, add it into the setup package, and distribute the package so that the end user will not cost his time on waiting the ngen processing No, as nice as this would be, there's no way to do it. If it were possible to pre-NGEN a file, statically linking the used parts of the framework wouldn't be much of a stretch (thus making your EXE bigger, but eliminating the need for a 20MB+ framework dependancy), but I haven't seen any effort (or even interest) from Microsoft in such a feature. -Ryan ...Show All

  • Smart Device Development Component inheritance bug.

    Hi I have come across a bizarre problem. I am using Visual Studio 2005 Professional Edition. The steps I have taken to reproduce this problem are as follows: 1) Create C# Smart Device Application (Pocket PC 2003) 2) Add a new blank component called 'Component1' to the project in the solution. 3) Change the component to inherit from "Microsoft.WindowsCE.Forms.Notification" instead of "Component". (A reference to 'Microsoft.WindowsCE.Forms' will need to be added.) 4) Create a class diagram and give it the following custom attributes: DesignTimeVisible(true) DesktopCompatible(true) 5) Save and compile it. When the compo ...Show All

  • Smart Device Development FindWindow

    Hi all, I'm trying to use an application with 2 buttons that will allow me to which between two windows. But there's some problem with my codes: Imports System.Diagnostics Imports System.Runtime.InteropServices Public Class Form1 Inherits System.Windows.Forms.Form Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu Public hWndTmp As Integer Public hWndChild As Integer <DllImport("user32.dll", CallingConvention:=CallingConvention.Winapi, CharSet:=CharSet. Auto )> _ Public Function FindWindow( ByVal lpClassName As String , ByVal lpWindowName As String ) As Integer ...Show All

  • Visual Basic disable DataGridViewCheckBoxColumn

    Is there a way to disable a cell in a column of the datagridview control of type DataGridViewCheckBoxColumn Using the three state property and the indeterminated state I get a green rectangle. I want to have a disabled checkbox. Do I need to create my own images in the cell paint event Use the ReadOnly property. Me .DataGridView1.Rows(0).Cells(0).ReadOnly = True ...Show All

  • .NET Development Operation must use an updateable Query

    Hi, I am using VS 2003 and C# with OleDb connection to read and write from Excel spreadsheets. I have no problem reading Excel data but when writing to Excel I got this error on this line: oleCmdInsert = new OleDbCommand(@"INSERT INTO [Sheet1$A1:A1] VALUES ('ABC')", _oleConn); oleCmdInsert.ExecuteNonQuery(); Here is the error: System.Data.OleDb.OleDbException: Operation must use an updateable query. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPAR MS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCo ...Show All

  • Windows Forms shutdowndown freeze in windows 98

    Installed a netgear wireless usb adapter on windows 98 computer to share cable internet and now cannot complete shutdown from start menue. Computer freezes about half way thru shutdown. Uninstalled the adapter and shutdown works okay. Any suggessions Your driver is keeping active and not letting the system shut down.  See if they have a new driver& ...Show All

©2008 Software Development Network