eddy400's Q&A profile
Visual Basic How can I change all images in all pictureboxes?
Hi everyone, I was wondering if there was a way to change all the image properties of a number of pictureboxes on a form in a simple way. I used to use the following code for textboxes: Dim i As Integer For i = 0 To Me .Controls.Count - 1 If Me .Controls(i).GetType Is GetType (TextBox) Then Me .Controls(i).Text = "" End If Next But the same doesn't work for pictureboxes. I did try: it end ...Show All
Game Technologies: DirectX, XNA, XACT, etc. NullReferenceException - Sprite.OnLostDevice
Ok I'm finding this difficult to understand... I'm so used to destructors in C++. When I exit my application, I am getting a NullReferenceException, stacktrace at Microsoft.DirectX.Direct3D.Sprite.OnLostDevice() at Microsoft.DirectX.Direct3D.Sprite.OnParentLost(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at Microsoft.DirectX.Direct3D.Device.raise ...Show All
SQL Server Replication Help...
Hello I have a problem... I always work with merge replication and now i must tu make an estrange replication... so I need help... suppose the next situation I have 2 sql servers (A, B). In witch I have multiple tables but I will concentrate in table 1 and 2. I need that all data from server A pass to Server B, but if in table 2 are different data leave it alone, I make it but the replication overwrites the data... and I must to ...Show All
Visual Basic Portbability of Visual Basic application to ASP.NET
I m designing and developping a visual basic windows forms application. But, in a second step, I want to be able to implement the same solution as a web based application without going through all the coding and developping again. So what s the best way to design and develop some forms and their code that ll be used both as a window form application (stand alone client server application) and as a web based application through ...Show All
Windows Forms Form Controls?
Windows form troubles. I created a simple win form that imports various file formats into my database. I initially created all the logic on one page until I was told that would be 30+ different file formats that I needed to parse. With th ...Show All
Smart Device Development Unable to connect to live Web Service with Smartphone Emulator in RC
I'm still struggling with Emulator connectivity in the SmartPhone Emulator. Here's the setup: VS.NET 2005 RC SmartPhone 1.0 Framework App Connecting to a Web Service both on local machine and on the Web Emulator set up running and cradled Network Configuration has the Enable NE2000 PCMCIA Network Adapter set No other options are explicitly set from default The emulator seems to have good connections to both the local machine and the Web using I ...Show All
Visual Studio SQL Express in Visual Studio 2005 Team Edition
Hi, I find that the SQL Server 2005 shipped within the Visual Studio 2005 Team Edition is also an Express Edition. Is there an Non-Express-Edition of SQL Server 2005 Thanks. Yes, SQL Server 2005 shipped at the same time as VS 2005. The full version can be purchased separately. ...Show All
Visual Studio Tools for Office Intellisense not showing Enumerator List If ParamArray is used
I Have defined a procedure like this :- Public Sub SetBordersOn( ByVal ParamArray BordersOn() As Excel.XlBordersIndex) but intellisense is not showing Enumerator List, if this is defined withour ParamArray i.e. as a single parameter then it shows the values. kindly note that this has been reported as a bug on this link :- http://lab.msdn.microsoft.com/productfeedback/viewfeedback. ...Show All
Visual Basic New Process help
Is it possible to get a user to insert a folder address in a text box click on a button and get the folder to load I tried these codes: ------------------------------------------- Dim pr As New Process pr.StartInfo.FileName = Command.file1 pr.Start() -------------------------------------------- and I also tried: ---------------------------------------------------------- Dim ob1 ob1 = Command.file1 Dim pr As New Process pr.StartInfo.F ...Show All
Windows Forms AddHandler
Hi everyone, can you explain to me what does AddHandler do I mean where it should be used and what it really do, i am reading some explanation over the web about AddHandler but I didn't understand it . Thanks. Yeah, "BillingItems" popped into my head. and probably isn't the simplest example! Let's go back to forms and controls. If you create a simple windows form, drag a button onto it, double cli ...Show All
Windows Forms Changing component size on windows resize
I can't remember this one from my old days of Windows programming. I want to change the width of an object when the form size is changed. How do you do this No wonder you're an MVP Ken! That worked like a charm! I'm ...Show All
Visual J# Reference to vjslib.dll fails after RTM Framework 2.0 installation
After installing Framework 2.0 from MSDN subscriptions my previously working reference to a J# assembly fails with 'Could not load file or assembly 'vjslib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.' The assembly is COM interfaced, strong typed and is being called from an ASP page. This also occurred when using an early beta of 2.0 and was reported ...Show All
Visual Basic How to obtain WIFI access point information?
I was wondering if it's possible to access information from within Visual Basic about WIFI connections, such as their SSID, MAC address, ect. I don't know whether I have to add a reference, what commands to use, ect. Thanks for any help. Hello. You can query information such as this using WMI. Here is a link to a blog entry explaining how to retrieve all available wireless networks: http://blogs.ww ...Show All
Visual C++ Running a signed managed assembly with an unsigned unmanaged dll
Hello, I have an unsigned (no snk), unmanaged DLL from a 3rd party supplier written in C++. I have written an assembly in Visual C++ (using managed extensions) that invokes functions in the DLL. This assembly has a strong named key. When I try and invoke the application (it is a web app) I get the following error message: Could not load file or assembly '<signed assembly>' or one of its dependencies. Strong name signature could not b ...Show All
Visual Studio Do I really need subreport links for independent subreports?
Hi all, I have been Google-ing and searching for an answer to this simple question, but to avail. I have created a complex report which contains 4 subreports. These subreports run independently from the main report (ie. the main report and each subreport has it's own SQL Statement which run independantly from each other) and there are no subreport links because there is no need - the subreports do not reference any fields etc from the main ...Show All
