John Hind's Q&A profile
Visual C++ Visual C++ Toolkit for VS2005?
What is the Visual C++ Toolkit 2003 The Visual C++ Toolkit is a free edition of Microsoft’s professional Visual C++ optimizing compiler and standard libraries--the same optimizing compiler and standard libraries that ship in Visual Studio .NET 2003 Professional! Hi, I used to have Visual C++ Toolkit installed along with my VC++ 2003. This tuesday, after attending Microsoft VS2005 launch event, I came back with VS 2005 Standard Edition and would like to start developping with it as soon as possible. Is there any equivalent of VC++ 2003 Toolkit but for VS 2005 Or is it already included Tha ...Show All
Visual Basic Newbie: How do I declare a Global or Public Variable?
I'm developing an ASP Application using VB and are having a bit of trouble with my variables. On my first page im recieving input from my user and I need to know how i can use that on the page that the user gets redirected to I had hoped it would be as simple as declaring a variable on the opening pages public and then referencing it but the other pages can't see it. Any one have any ideas. Im still quite new to ASP and VB.net, still stuck in the good old VB6 days. Regards Dan If I understand that caveat - that shared variables (or public variables in Modules) are global to the applica ...Show All
Smart Device Development Cannot display custom password applet at startup
Hi, I am trying to implement a custom password applet that displays instead of the standard builtin password screen. This was possible using pre-WM5 by creating an applet and setting (amoungst others) the Redirect registry setting for the password control panel applet. Using the letmein msdn example (which i have digitally signed to allow it to load at boot-time), this functionality no longer appears to work - the standard builtin password screen always displays. I have successfully managed to get other signed files to load at boot time. Is there any way to load a custom password applet, or has this functionality been removed in Windows Mobi ...Show All
Visual Studio How do I avoid a Target from being skipped?
Target "Exists" skipped. Previously built successfully. I get the above message in a script I am writing. The target is called at more than one place using "DependsOnTargets". The fact that MsBuild is not rerunning the target to update a variable, means that my script is failing. Is there any way to prevent a target from being automatically skipped Sorry Warren, MSBuild by design will not build the same target more than once during the build of a single project. In cases when you need this type of functionality, the usual route to take is authoring a custom task. Is there any reas ...Show All
SQL Server OLEDB question
This may be a newbie question but here it goes. I have SQL Server 2000 running on a windows server 2003 machine. When i have my database local, on MSDE everything is fine. But when i switch my code to move to the server, (after i've attached the database within the server) it tells me that server either does not exist or login failed. Now here is my connection statement OleDbConnection m_conn; string connectionString = "Provider=SQLOLEDB;Data Source=SERVER1;Initial Catalog=workups;Integrated Security=SSPI"; m_conn = new OleDbConnection(connectionString); Now like i said when i change the Data Source from ( ...Show All
Visual Basic New to Vb 2005
Hi friends, I am New to VB 2005, I have a professional subcription of MSDn..hw effectively can i use ,y subcriptionn...I developed a project in VB 6.0...but i am satisfied i need to convert my project to VB 2005..is there any simple way or I shud redevelop the entire project.. Also in VB 6.0 hw can code tro make my form Auto scroll and adjust with the screen resolution.. Please help..me Thanks, Bjorn There is a conversion tool provide with VS05...you can convert the entire vb6 project at once or use the tools menu to convert one procedure at a time... HTH ...Show All
Visual C# serialization manager does not have an active serialization session.
I am not able to view the designer view of a screen. It gives me this error: "This method cannot be invoked because the serialization manager does not have an active serialization session." Please help. Thanks I am using a 3rd party control and am not sure whether it is serializing / deserializing on creating the instance. Is there any way that I can create an active serialization session before calling the new method of that control in my designer.cs file. Thanks ...Show All
.NET Development Enumerating Running Applications in C#
Hello, I am doing a small application similar to the Windows Task Manager. In the Windows Task manager the first tab 'Applications' displays all the running applications in the system. I tried two ways to get running applications but each of my method had problems. No.1 I got All the running processes Process [] procs = System.Diagnostics.GetProcesses(); foreach (Process p in procs) { // I can get Handle and Title of the Main Window of each process and can // display it. someVariable = p.MainWindowHandle ...Show All
Visual Studio Express Editions How to install FULL Express Edition (really all files !) to partition D: ?
When I install Visual C# 2005 Express Edition and choose custom setup I can select the installation folder. When I enter now e.g. D.\visualcsharp\exped2005 only a small portion of all installation files are put into this folder. The majority of all files (>1GB) are put into partition C:\ despite my previous selection This is by far too much for my small C: partition. How to I really install ALL files into partition D: (resp. directory D:\visualcsharp\exped2005 and below) Matt I've got the same problem here (with Visual C++ 2005 Express): Selected a folder on D: as installation fo ...Show All
Microsoft ISV Community Center Forums Can I unProtect a document?
My VB code protects a Word object without setting a password, like this: Call Document.Protect(2) Is it possible to Unprotect this document If so, how (Did I post this in the right forum ). Thanks in advance for help. -Jeff Use the uprotect method of the document If ActiveDocument.ProtectionType <> wdNoProtection Then ActiveDocument. Unprotect Password:=strPassword End If The Password parameter is optional. ...Show All
Visual FoxPro Memo file is missing or invalid
Hello, I have a DBF file an I need to open it. I have VFP9.0 and when I try to open it I get a message suc as: "Memo file C:\....\myfile.fpt is missing or is invalid." Is there a way to open this file I will deeply appreciate advices or ideas.. Thanks. Hi slarin, No he didnt give the .fpt file, but I solved my problem already, I used dbf recovery trial, and then from there I saw the structure of the table (memo), then I followed cindy's instruction. TY. Thanks also cindy. Mark ...Show All
Visual Basic Passing Parameters ? and LIKE with Table Adapter
The following examples DO work in Query Builder (dataset designer) but DO NOT work in Preview Data for the tableadapter or at runtime using "FillBy". There seems to be an issue when using , wildcards and LIKE together: SELECT ID, ClientName, AR_ID, ContactList, AssignedSalesRep, LastTicketDate, AddressList, PhoneList, State, City FROM ConXitClients WHERE (ClientName LIKE N'%' + + N'%') SELECT ID, ClientName, AR_ID, ContactList, AssignedSalesRep, LastTicketDate, AddressList, PhoneList, State, City FROM &nbs ...Show All
Visual FoxPro coming back to foxpro
used foxpro 2.5 and now have visual fp. am having trouble lwith iff and if then syntax. i want to have user enter a zip code and then the city and state are filled in. thanks for any help You can only use IIF() to handle a single value, so you really need a standard IIF...ELSE IF zipcode = '11566' REPLACE city WITH 'Merrick', state WITH 'NY' ELSE *** Whatever *** ENDIF You could use IIF() like this, but what is the alternative... lcStr = IIF( zipcode = '11566', "REPLACE city WITH 'Merrick', state WITH 'NY'", "") IF NOT EMPTY( lcStr ) &lcStr ENDIF ...Show All
Visual Studio Performance Issue with Crystal Reports
I'm having a crystal reports performance issue within my VB 2005 Windows application I'm hoping someone can assist with. When I open a report after initial application startup, my hard drive spins like crazy and it takes approximately 20-25 seconds to display the report. Subsequent reports are very snappy and display almost immediately. I'm guessing the initial delay is related to components in the crystal reports engine being initialized. If this is the case, is there a way to initialize during application startup Anybody else experience the same issue By the way, the application was developed using VS2005 Professional Edition (in Visu ...Show All
Windows Forms Best Practice?
Hi, I have a form which shows a datagrid with all users. If you press new user, a new form opens, you enter all info including password and close the window with save. Then the new user appears in the datagrid from the first window. So far so good. My question is, how do I send the new user information (including password) to the first&n ...Show All
