John Oriente's Q&A profile
Visual Basic When I open a form "FORM.VB" how do I auto exec a sub in form "FORM.VB" ?
When I open a form "FORM.VB" how do I automatically execute a sub in form "FORM.VB" Michael Michael Dyrnaes wrote: When I open a form "FORM.VB" how do I automatically execute a sub in form "FORM.VB" Michael Call the sub you want to execute from the form load event: Private Sub Form1_Load ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles MyBase . Load InitForm () End S ...Show All
Visual Studio Express Editions RSS Screen Saver
Ok so I want to change the default RSS link and the default IMG, how do I go about this You SUGGEST I do it at the bottom of the tutorial but provide absolutely no guidance on how to do it.. Whats up with that I've tried replacing the images in the resource file with new pictures but keeping the same file name, that did not do a single thing, // The images to display in the background private List < Image > backgroundImages; ...Show All
Visual Studio Team System How to copy many work items between team projects?
If I have a team project with a bunch of work items, that is not solved in this team project, how can I easily copy/move these work item to another team project I know I can copy one work item within the GUI, or maybe use Excel to copy a couple of work items, but is there another way It's available at http://www.gotdotnet.com/codegallery/codegallery.aspx id=b29d4456-c4ba-474e-a422-04794 ...Show All
SQL Server Upgrade/migrate to new hardware. What's best?
We have a new server with Windows Server 2003 and SQL Server 2005. Our current box is Windows 2000 server with SQL Server 2000. All have the latest patches. The new SQL Server has no databases installed, it's a brand new, clean installation and it is not in production. We have no specialize components or anything on our SQL 2000 box. Straight tables, view, stored procdures, functions, etc. What is the best way to mo ...Show All
.NET Development xml serialization problem
hi! I am new to xml serialization so please bear with me. Ilya on the smart device forum gave me a huge hand in guiding me to the right direction. What I want to do is serialize objects so I can transport it across a network (PC to mobile) running .NET 2.0. I have followed: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemxmlserializationxmlserializerclasstopic.asp ...Show All
.NET Development Custom Filtering and Sorting in DataView
Greetings all! I've started to explore VS.NET 2005 and .NET 2.0 framework, coming from VS.NET 2003. What I've been looking at lately is custom filtering/sorting and what .NET 2.0 can do for me that .NET 1.1 can't. I've seen that DataGridView at presentation-layer can perform custom sorting through the use of SortCompare-event but what I really want is a DataView that can be bound and that can be filtered AND sorted through events. I created ...Show All
Windows Forms Saving location of database in the app, not the database
How can I save the location (Path) of the MS Access database I want to connect to in my app without having a second database local to the VB Client. Obviously, the client needs to know the path to the database in order to connect,&nbs ...Show All
Visual Basic invalid parameter
Can anyone tell me why this throws a system.argumentexception:Invalid parameter Imports System.Drawing Public Class form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose ...Show All
Windows Forms Simple question: How can I easily duplicate a form?
I just want to quickly make a copy of a form so that I can make an alternative version. I tried to do a copy/paste (In the solution explorer), which appeared to work just fine until I compiled and got this message: Error 1 The item "obj\Debug\MPS2.FormMPSWSOManger.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. MPS2 Since I' ...Show All
.NET Development How to implement GetFunctionPointerForDelegate function in .NET 1.1
I try to wrap some native win32 api, but it is need the callback to be the parameter of SendMessage. I solved this by using the new GetFunctionPointerForDelegate function in .NET 2.0, but in .NET 1.1, I found no way to do the same thing, I also found the Delegate.Method.MethodHandle.Value, Delegate.Method.MethodHandle.GetFunctionPointer() and the return value of GetFunctionPointerForDelegate function are different. I was confused. How can i impl ...Show All
Visual Basic how to update rows in an mdb data source??
hi everybody , I'm a beginner student in vb.net,and I'm working on a very small project as a homework,and I've some questions which I ought to search for their solutions via any source . I need to make an (Update )button in most of my VB forms,which enable me to update any row elements in the datasource in Access through each form , for example: I've a form about CustomersData as (Cust_No,Cust_Name,Cust_Address,Cust_Phone...etc) ...Show All
SQL Server SQL Server Backups - Help please
Hi, Sorry, If I have chosen the wrong forum could someone point me in the right direction. I am new to SQL Server 2005 (in fact also to Visual Studio 2005...). I am trying to find how I can simply create backup(s) - daily if possible of the new database I have created. I would also like to create a script of all the tables I have so far created including indexes etc... to be able to recover from any failure and or transfer data to anoth ...Show All
Visual C++ "debug assertion failed" when debug and release .exe both work fine.
Hi: I compile one program under both debug and release setting in VC++ Express 2005 and with no error. Both version execute without any error. Somehow I constantly encounter "debug assertion failed" message when I press F5 to get into debug mode under VC++ Express 2005. Could anyone tell me what happened The error points to a piece of code I never changed... which is standard I/O procedure. I am pretty sure if there's ...Show All
Windows Forms What logical order are Controls stored in the Controls collection?
Hi all, how are the Controls on a Windows form stored What I mean is, are the Controls in the Form.Controls collection (Controls[0], Controls[1], Controls[2] etc) stored in the positions that they are appear (x, y) on screen So a control that is positioned in the top left comes before a control that is positioned at the bottom right in the Controls collection (I probs have these completly wrong :)) The reason I am asking is because I have a loa ...Show All
.NET Development Data Access, where to start?
Hello, I am developing a small application and I am wondering where to store information that I need. After some thought storing the information in XML or in an Access database is probably the best option. Could someone point me in the direction of some resources for opening a connection, getting info and sending info to XML or Access or both Cheers, padraic Hickey Padraic, We've got two choices here I'd recommend, but # ...Show All
