joost g.'s Q&A profile
Visual Basic How do you compare binary files with VB Express 2005
I did this in VB6 with the Open for Binary file command and the Get command, but since VBE 2005 has been updated with new commands, does anyone know what code to use to compare files Thanks. Yeah, they could have hair... Come to think of it, I don't know any woman with a round face. ...Show All
SQL Server Can't uninstall or reinstall nonfunctioning sql server
In previous post in the Getting Started section, I discussed problems trying to run queries on multiple databases: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=299240#299240&SiteID=1 Nobody could help with the problem. I eventually got a query to run after several attempts at deleting and recreating databases. Then, I was hit with the following error message: Class does not support aggregation (or class object is remote) (Exception from HRESULT: 0x80040110 (CLASS_E_NOGGREGATION)) (Microsoft.SqlServer.SqlTools.VSIntegration) Nobody could help with that either but based on posts with the same message, I tried uninstall ...Show All
Windows Forms Save the Treeview Nodes into Access Database using VB.Net.
Does anyone have an example of how to save and restore the Nodes from a Treeview into an Access Database using VB.Net. What I’m looking for is a way to save and restore the TreeView control with the Nodes in the same order as they appeared to the user when the user closed the application. I found this excellent example using VB6. I tri ...Show All
Visual C++ Post-build events in VC++ 2005 always running
Why are post-build events (Configuration properties - Build Events - Post Build Event) executed regardless of whether any build occurred in the main part of the build If nothing changed in the project, i.e. the main build never occurred because it was already up to date, a post-build event is still run. In VC 6.0 when the build was up to date, the post-build event did not run which is the behavior I desire. Should this be filed as a bug or is this by design Is there any way to make a conditional post-build event based on whether the main build occurred, like in VC 6.0 Thanks, Ted. FINALLY ...Show All
Visual Studio Debugging ASP.NET with 2003 side-by-side with 2005?
How about side-by-side installations of VS.Net 2003 and VS 2005 related to debugging ASP.NET applications In Beta 1 it didn't work when I tried running the two environments side-by-side. /Per Salmi Per Salmi, can I suggest you redirect this question to the ASP.nET newsgroup. http://forums.asp.net/ Regards, Kit ...Show All
Visual Studio Team System Source Control acting weird
I had a team project with a bunch of code as part of its source control (solution with 4 projects). I wanted to change the team project over to a new process template I created. So I took a backup copy of my source code from my local filesystem, and then used tfsDeleteProject to delete the team project. I opened up my .sln file and went to Change Source Control... and unbound all the projects and the solution. I created a new team project using the same name as the previous one, and created a new source control root using the same name. When I open up the source control explorer for the new team project I see the source control ...Show All
SQL Server dynamic query
Hello friends, I want to create a dynamic query based on input of the parameter. If the user passes nothing then all fields should be displayed else use query based on parameter. I had view sample of MSDN ,but I got error [BC30203]. Is there another way to it Please help. u can use the query in this way, SELECT AreaName, AreaCode FROM Area UNION SELECT ' All' AS Areaname, '' AS AreaCode ORDER BY AreaName This will add 'All' n ur drop down box n using case statement in query u can get the desired results. regards Satyendra ...Show All
SQL Server Comparing VarCHAR FIELD with NULL
Hi, I have the following query SELECT * FROM PABX INNER JOIN LOGIN ON (PABX.COD_CLIENTE = LOGIN.COD_CLIENTE) AND LEFT(LOGIN.TELEFONE1,3) = LEFT(PABX.NRTELEFONE,3) LEFT JOIN AUXILIAR ON (AUXILIAR.ORIGEM=LOGIN.LOCALIDADE) WHERE pabx.COD_cliente = 224 and SUBSTRING(PABX.NRTELEFONE,4,1) NOT IN ('9', '8', '7') AND LOGIN.UF = RIGHT(PABX.LOCALIDADE,2) AND LOGIN.LOCALIDADE <> PABX.LOCALIDADE AND PABX.CLASSIFICA IS NULL AND PABX.LOCALIDADE <> AUXILIAR.DESTINO AND (BLOQUEADO = 0 OR BLOQUEADO IS NULL) But It has a problem because when AUXILIAR.DESTINO returns null (it means there is no registry) the condition AND PABX.LOCALI ...Show All
.NET Development sqlexception: timeout expired dataset (fill)
Hi, On a fill call (sqlDataAdapter1.Fill(dsmydataset)), I'm getting an sqlexception: timeout expired ever so often - well, too often. I have other web pages using datareaders on the same web server and using the same sql database with the same connection string and they are not having this issue. Should I just change to a datareader Or, is there a way to change this timeout Daniel Increase the value of SQlConnection's Timeout property i.e SQlConnection.ConnectionTimeout and then try. ...Show All
Windows Forms Using System 'Link Select' Cursor
I've noticed that when I want to set my cursor type in VB.net 2005 Beta, it won't let me exactly choose the system cursor of 'Link Select', only the 'Hand' cursor which is fixed to the Windows Default White Hand cursor. I'd prefer it if my program used the custom link cursor if one is set by the user in the mouse control panel. Is there any way I can achieve this ...Show All
Visual Studio Team System Testing Smart Client Applications.
Hello all Our company develops smart client applications. For the past year we've been using VSTS from its early Betas to now the 180 day Trial. I've been looking at the testing capabilities of VSTS and we've created a bunch of Unit tests, Manual Tests, Ordered Test(of only unit tests) and that's it. Because we do not have a web application, we can't really use the Load Test and the Web Test. The only workaround for us would be to create an .aspx page that invokes all of our Web Services calls and then create a Web Test based on that .aspx page. Personally I don't like this approach since it is not a good representation of our smar ...Show All
.NET Development using ADODB
im trying to execute a store procedure in a method written in c#, but i want that method to return a recordSet so i tried using adodb but how to execute the store procedure using adoodb is it possible thanks in advanced Hi, Yes you can. But you'll have to use SOAP to get xml values returned by the Webservice. When you return a Dataset, it would be converted to xml. Just download the SOAP SDK and see the docs on how to capture a webservice in VB6... cheers, Paul June A. Domag ...Show All
Microsoft ISV Community Center Forums mysterious error: RUNTIME ERROR '451'
Does anyone have any ideas about the following error Runtime error '451': Property let procedure not defined and property get procedure did not return an object. I get this in message in a popup when I call a function on a custom class. The function is supposed to return a boolean value if the code it contains executed successfully. It is used in a manner similar to the following: 'In an ordinary module Dim myClassInstance as myClass Dim success as boolean set myClassInstance = new myClass success = myClassInstance.SomeFunction 'NOTE: Here is where the debugger takes me 'In the class module 'Cl ...Show All
Software Development for Windows Vista Automation Unit Testing
Will there be a Automation Unit Testing for VS Team System Something like Web Test. only for Web, not for WinForms or WPF. I would like some kind of Recorder that could save all clicks I made and generate a unit test. ...Show All
Windows Forms converting image in a clipboard to memory stream
suppose i have copied an image to clipboard and then pasted it onto a picturebox. using: IDataObject iDataObj=Clipboard.GetDataObject(); //determine the format of data if (iDataObj.GetDataPresent(DataFormats.Bitmap)) { pictureBox1.Image=(Image)iDataObj.GetData(DataFormats.Bitmap); } in order to save this image to database. i would then have to convert the contnts of the clipboard to a memory stream object and then serialize to byte[] object. how do we do that. i figured it ou. the problem was with the memory stream. the problem was created when saving multiple images to the clipboard and the memory stream was filled with m ...Show All
