gunman69's Q&A profile
Visual Basic Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
.NET Development Problem with Reflection & Dynamic Linking
Hi guys I'm designing a program and decided to add plugin support so I readed an article about enabling plugins in .Net and did this 1- Class Library: Includes an Interface "EditorInterface.IEditor" 2- Class Library (The Plugin): Includes a Class "TextEditor.Editor" that implements that interface and of course I added a reference to the 1st class Library "EditorInterface" 3- Host Application which includes a referece to "EditorI ...Show All
SQL Server Ssimple Data Flow ? - processing after using a Destination
I have a data flow that reads multiple rows from a table and then inserts to another table for each row. I use an ole destination for my inserts. However, after that insert I need to do other table inserts and I can't figure out how to continue the data flow with the fields in the pipeline. Out of the destination is only the Error flow - Is there a way to do this thx Thanks for the quick response next step - on the multicast - o ...Show All
Visual Studio Team System Can I use existing data of TF server with other localized TF server?
1. If I installed English Team Foundation server on OS, and I would like to use the data for another localized Team Foundation server Can I migrate the data over to another TF server If I can, how can I do it 2. If I installed Beta3 TF server on my OS and later I want to install RT M build, what are the steps to be able to do that Does uninstalling TF server roll back everything except the Yukon data so if I don't delete the e ...Show All
.NET Development Error passing a large variable as a parameter to a remote method
When passing a large byte array as a parameter to a remote method, I get the following error: System.Runtime.Serialization.SerializationException: The input stream is not a valid binary format. The starting contents (in bytes) are: 53-79-73-74-65-6D-2E-57-65-62-2E-48-74-74-70-45-78 ... Server stack trace: at System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Read(__BinaryParser input)... etc. The largest byte array I c ...Show All
Visual Studio Team System Merge problem in BetaR
Hi, We have a problem in Beta3 Refresh: When trying to merge by a specific changeset, in the pending changes we can see also some deleted files that included in previous changsets. Why is like this Thanks, Michael. I don't follow. Can you be more specific Regardless, we did major surgery on Merge after Beta3; please upgrade to RTM. ...Show All
Visual C# get the IP and port from EndPoint
I have a udp connection and on the server I get the EndPoint from the connected udp socket, how can I pull out the ip/port from the EndPoint class Cast it to IPEndPoint and you have the Address property. IPAddress address = ((IPEndPoint)socket.RemoteEndPoint).Address; ...Show All
SQL Server Debugging SQL Server 2005 Stored Proc with Visual Studio 2005
Hi all, I have a big ol' stored proc (about 6,000 lines), written in T-SQL. I want to debug this stored proc using something other than a bunch of PRINT statements. I tried using the Visual Studio debugger (Server Explorer - Database - Stored Proc - "Step Into Stored Procedure"), but this is behaving erratically. The "Current statement" yellow cursor is rarely on the line that is currently being executed. It is usually ...Show All
.NET Development User Authentication ASP/SQL
I have been working on an ASP page (with VB Background) that is a basic user login page. It is being run on our Intranet within my organization, however, it's not working. Can anyone provide some suggestions I've included the code for the .aspx page and for the code behind on the "Login" button. Front end: %@ Page Language="vb" AutoEventWireup="false" Codebehind="login.aspx.vb" Inherits="PIF_VB.log ...Show All
Visual Basic Can't understand delegate function
I'm reading Wrox's Professional VB 2005. I'm just at the beginning of delegates. It has us open a module1 and put in the following code: Public Delegate Function Compare(ByVal v1 As Object, ByVal v2 As Object) As Boolean Public Sub DoSort(ByVal theData() As Object, ByVal greaterThan As Compare) Dim outer As Integer Dim inner As Integer Dim temp As Object For outer = 0 To UBound(theData) - 1 For inner = outer + 1 To UBound ...Show All
Windows Forms Can't adding Common Application Data Folder to Setup project
In File System Editor of an Setup project it is not possible to add the special folder CommonAppDataFolder. I have a access database file in my project that should be installed once for all users. So I want to put it in the application data folder off all users. Any idea how I could do this Thanks. Jo I'm getting an error on installation of visual basic express: "the application data folder for visua ...Show All
Visual FoxPro VFP free tables in compressed folders
Will Visual FoxPro free tables work fine on compressed drives or in compressed folders I am talking about the NTFS compression found under advanced attributes. I have several folders with hundreds of .dbf files used in out VFP app. I would like to compress these folders to save disk space. Dave M. wrote: Have you ever tested the performance I wanted to re-word my answer to this to give you a better feel. With mini ...Show All
SQL Server Upgraded to SQL Server 2005. Updates no longer work. Error "Could not find server 'DEVDB' in sysservers. Execute sp_addlinkedse"
Hello! We just upgraded to SQL Server 2005 from SQL Server 2000. The DB was backed up using Enterprise Manager and restored with SQL Server Management Studio Express CTP. Everything went as expected (no errors, warnings, or any other indicator of problems). The DB resides in a DB Server (Server1) and the application we are running is a Client/Server system where the AppServer resides on Server2. During the application's operation all re ...Show All
Windows Forms Why can't I change a simple name
If I start a simple Windows application a Window called Form1 is created. I have found out that it's not possible to change this name. I get a lot of error messages telling me that the change is not reflected fully in the sourcecode and when compiling that Form1 is not found. Also if I did the namechnage in the Form1 properties Window and then tried to change the name back to Form1 it didn't work. Neither is it possible to change the name in the ...Show All
Windows Forms security grant vanishes when control is contained inside another class
I have a UserControl1 hosted in IE which makes unmanaged calls. <object classid="MyAssembly.dll#UserControl1" ...></object> With the appropriate security code, the UserControl1 is able to make the unmanaged calls without Security Exceptions. However, if I define another&n ...Show All
