ZnZn's Q&A profile
Visual C++ aspell compilation problems
Hi, I tried to post on the forum but it kept coming up with an internal error so i was wondering if you could help me with the following:I have recently been trying to compile aspell (a spell checker written in c and c++) in visual studio .NET (2003) which has taken forever but i managed to get it to compile a dll now. When i come to add this dll file into another project which will be using the methods from this dll it keeps giving the following error and not allowing me to add it: "Add Reference: Error adding reference to the project.". Does anyone have any suggestions on how to overcome this Any information woul ...Show All
Smart Device Development deployment to mobile device
Hi. Sorry, I did not know where to post this exactly Just installed VS.NET 2005 with .NET 2.0. I have a smartphone device (C500/SMT5600) and I cannot seem to deploy the application to it (a simple "hello" app) It fails to connect: All attempts to connect to the deployment target at port 5655 have failed. Addresses attempted: 127.0.0.1. The device security configuration may have disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Connect to device failed. Now, I can successfull ...Show All
SQL Server Errors adding a column in 64-bit version
I have run into an interesting problem. I have some code that adds a column to an existing table. The column is set as primary key, identity and clustered. On the 32-bit version of SQL 2005 it works fine. It fails on the 64-bit version of 2005 intermittently with a "could not create unique index because duplicate values were found". Kind of odd, considering as an identity field it's creating the values. I was able to recreate the problem with the following schema: Create table test1 ( col1 varchar ( 20 ), col2 varchar ( 20 ), col3 uniqueidentifier default newid ()) ...Show All
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 ends up with an error.. Dim i As Integer For i = 0 To Me .Controls.Count - 1 If Me .Controls(i).GetType Is GetType (Picturebox) Then Me .Controls(i).image = nothing E ...Show All
Visual Studio Express Editions Is it possible to shell an application seamlessly?
I need to be able to run an application such as notepad or calc in the same way that I can start a browser inside my VB app ie. make the spawned program appear to be just another window in my program. Has anyone done this before This isn't what's happening. The Webrowser control has been supplied as a wrapper for the Active-X webbrowser and you are using that. There are no such analogs for the utilties you mentioned. ...Show All
Visual Studio Express Editions Problen with uninstallled Visual Basic 2005 express
I hd Visual Basic 2005 Express Edition installed. I also have Visual Studio 6. Now when I open Visual Basic 6 I get this message: "Please wait while Windows configures Visual Basic 2005 Express Edition -ENU". I no longer have this installed nor do I have the installation files. The message comes up 3 times during the loading ov VB 6 and is irritating to say the least. I have been trhough the entire uninstall process (both automatic and manual) for all of the 2005 Express products I had (SQL and Visual Basic). I have uninstalled .NET Framework 2.0 (still have 1.1). All to no avail. Any suggestions as to how I can eliminate t ...Show All
Smart Device Development socket programming
hi there, i was doing socket programming between desktop PC and mobile device, however i always get an error msg on device application as below "Control.Invoke must be used to interact with controls created on a separate thread" what does that mean i only know it was something to do with the thread and control can somebody explain why it happen thx Please see this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/multithreaded_netcf_apps.asp And this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/n ...Show All
Visual Studio Launch event for VS2005 in Greece
Hello, I would like to attend the Launch event for VS2005 in Greece. I visit the internationallaunch site, then I click Greece and.... it seems that Greece does not even know about VS2005! Can anyone from Microsoft help on that, or is Greece too small to have such an event http://www.microsoft.com/windowsserversystem/applicationplatform/launch2005/events.mspx location=Greece ...Show All
Visual Studio 2008 (Pre-release) Why DLINQ puts all fields in SQL-WHERE clausule on UPDATE?
Hello all! When I update some persisted object, DLINQ always puts all fields in SQL-WHERE clausule but the Identifier field is setted with: [Column(Id = true , AutoGen = true , DbType = "INT NOT NULL IDENTITY")] Why DLINQ do not put just a identifier field restriction Tanks! Vitor The default update behavior for DLINQ is optimistic concurrency. This means DLINQ does not take write locks to keep others from changing the underlying data while your code is working with it. Instead DLINQ optimisticly assumes no one else will be changing it. DLINQ verifies this when issuing an update command by ...Show All
Visual Studio Team System Team Project creation fails by failing in task SharePointPortal
Hi, after migrating a "full functional" installation of Team Foundation Beta3 to Team Foundation Beta3 refresh containing two Team Projects we cannot create new team projects. The existing projects seem to work. The log points to a sharepoint problem while creating the team web site. The installation is a single server box. The migration was done as described in http://msdn.microsoft.com/vstudio/teamsystem/b3rmigrate.aspx The sharepoint services were migrated from SP1 to SP2 with WSS2003SP2-KB887624-FullFile-ENU.exe The useraccount failing to create the team project is TFSSetup (meaning it has all the permissions necessary) The TFSSetup ...Show All
Windows Forms Windows Control Library Does not show in Toolbox when inside solution Folders.is it a bug?
Is this a feature or a bug I have a solution and I have added some "Solution Folders" to it to keep things organized. Inside one of the solution Folders i have added a WindowsControlLibrary Project. I have noticed that whevever I had a project inside a solution folder it does not show in the toolbox and does not let me add to it either. Am I missing something is it bad to use solution Folders anything I should know about them Thanks in advance ...Show All
.NET Development Build .NET 1.1 apps (C++) with Visual Studio 2005?
Is it possible to make a .net 1.1 project in visual Studio 2005, or can you only make .net 2.0 versions I'm just wondering, otherwise I have to install VS2003 next to is :s if I want to make an asp.net site for a 1.1 server or a program for pc's that only run 1.1 Thx in advanced! See http://forums.microsoft.com/msdn/ShowPost.aspx PostID=18445 . This should answer your question. ...Show All
Visual Studio GetCanonicalName() Error
Hi I am getting the following error, is there any way to find out which type it cant find in the map as i have a lot of types but when i drill down into the map through the debugger they all apear to be there i think. if this should have been posted elsewhere please let me know cheers. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. Server stack trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Visua ...Show All
Visual C++ setting compiler options programmatically.
I am trying to simplify my life and set up all compiler options programmatically in a single file where I will see what is going on. I created a .cpp file and copied an MSDN function in there that is supposed to do it. My intention is to call this function eventually from the main routine. So far all attempts to compile the file failed with the errors described below. First the code: using namespace System; using namespace System::Object; using namespace System::CodeDom; using namespace System::CodeDom::Compiler; using namespace System::CodeDom::Compiler::CodeDomProvider; using namespace System::String; using namespace System::Object::Micro ...Show All
SQL Server IE Refresh Problems with WebParts
I am noticing delays in the refresh of my webparts (Sharepoing 2003) page in conjunction with how the report looks in my Report Manager for SSRS 2005. I have my Cache set to refresh on every page visit and my cache set to the lowest at 1 mb in IE....but when I refresh in my Webpage in Sharepoint, sometimes I have to completely close IE out...and even doing that and reopening IE doesn't always refresh the changes reflected in Report Manager right away. What is this, a bug just simple changes to the report itself. I think the problem ended up being at least so far, the old IE nonsense where it's still caching even tho ...Show All
