MattJones's Q&A profile
Visual Studio Express Editions Get rid of Visual Studio 2005 directory in My Documents
Good afternoon... How do I stop VC++ Express from creating the "Visual Studio 2005" directory in My Documents I have set every Option I can find to point to where I want the files (%appdata%\Visual Studio 2005), and I have my projects in another location (%homepath%\My Projects\Cpp) but when ever I'm finished with VC++ Express the Visual Studio 2005 directory is back again, with a bunch of empty subdirectories. Nothing is ever stored there, just directory names!!! Btw, the environment variables %appdata% and %homepath% are not accepted by the IDE, I had to write them out by hand (well, cut and paste from an Explorer windo ...Show All
Windows Forms menu bar not showing
I have a number of forms with menu bars that show when a project is built, however, with the last few new forms i have created and added menu bar too, when project built, they will not show I have checked the initialise code, which appears to be correct. When i click on the menu bar control in design time, it will show, however a ...Show All
Visual Basic VB equivelent of a C++ line of code
This is the c++ line of code: hRemoteThread = CreateRemoteThread(hProcess, NULL, 0, (LPTHREAD_START_ROUTINE)GetProcAddress(hKernel32, "LoadLibraryA" ), lpRemoteAddress, 0, NULL); What would that be in VB, I have this much so far: hRemoteThread = CreateREmoteThread(hProcess, 0&, 0, ( )GetProcAddress(hKernel32, "LoadLibraryA"), lpRemoteAddress, 0, 0&) I think 0& = null since there are no nulls in vb.net ... Most of it is api and so they are the same all over, but What would be the equivilent of (LPTHREAD_START_ROUTINE) Thanks in advance. The Pinvoke declaration for VB.NET is as ...Show All
Visual Studio Team System HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders?
Since we are stuck using a multitude of SCM systems at least for a while, we use a utility called SwitchSCC that can easily switch among different SCC providers. It uses this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders But TF doesn't populate this reg key Is this an oversight or just the TF is going to work [Continuing previous response...] The HKLM equivalent being the default value of the key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\SourceControlProviders ...Show All
Smart Device Development Linking error with WM 5.0 using VS2005 RTM tools
Hi All, I'm compiling application for Windows Mobile 5.0 PocketPC. I have compiled sources with /QRarch4T /QRinterwork-return compiler options enabled and without these options. Also I have tried passing MACHINE:THUMB linker option but no success. Following are the error details : Error #1: Invoking CVTRES.EXE: /machine:thumb /verbose /out:"C:\DOCUME~1\seshah\LOCALS~1\Temp\lnk3CF.tmp" /readonly /windowsce "../../../install.wince/pda/tuner\tuner.res" Microsoft (R) Windows Resource To Object Converter Version 5.00.1720.1 Copyright (C) Microsoft Corp. 1992-1997. All righ ...Show All
Visual Studio Role Expressions
I have created a model and i am trying to map the model to the designer definition. I have an entity called "TouchPoint" for which i am trying to write a ShapeMap. When I try to add a roleexpression for the same i get the error "blah blah blah<RoleExpression> could not be resolved" In the Model I have a Root Class called PI, In PI there is a class called Process and the role that maps the PI and Process is Processes. Process has a relationship with another class called TouchPoint and the role that connects it is TouchPoints. For a Process in the Role Expression I just say PI/Processes For a Touchpoint in ...Show All
Software Development for Windows Vista WWF and MS CRM
Any plans or guidance regarding WWF and MS CRM 3.0 I think eventually Microsoft plans to use WWF for all of its Business Solution suites but now is not the time (for obvious reasons) ...Show All
Visual Studio Express Editions getting the free visual basic ebook
does anyone know where to find the free ebook, MicrosoftR Visual BasicR 2005 Express Edition: Build a Program Now! and if so, where can i download it thanks. & ...Show All
Visual Studio Tools for Office Excel automation in asp.net 2
Hi How can I use excel automation within an asp.net 2 project with VB.Net I'm using Visual Studio 2005 and Office XP 2003 TIA Someone recently asked a very similar question about doing this with Word. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=287608&SiteID=1 You can do this but you will have to modify the permissions IIS runs under, reducing its security, and performance will be poor because each IIS thread will startup a much heavier Excel process in order to do its work. Running Excel to automate it is not a supported or recommended scenario. VSTO only supports accessing ...Show All
SQL Server MSSQL 2005/Native Client problem with IColumnsInfo->GetColumnInfo()
When connecting using Native Client, preparing and execing a statment with multiple columns in the select list, the GetColumnsInfo() call returns zero for the number of columns. When connecting through normal OLE, it works correctly (returning "2" in this code sample). This program will connect using normal OLE, and succeed, but if the environment variable NATIVE_CLIENT is set to "1", it will connect with Native Client, and fail. Any ideas would be welcome! #define _WIN32_DCOM #include <stdlib.h> // getenv #include <string.h> // strlen, strcat #include <stdio.h> // printf #include <sqloled ...Show All
SQL Server When to create columns and metadata for custom asynchronous component output
I'm having a tad bit of trouble getting output from an asynchronous component that I've written and am looking for some insight. This component takes in a name string passed from upstream and parses the name components into standardized output fields. I'm using an asynchronous component because if the name string contains two names ("Fred & Wilma Flintstone") I'm outputting one row for Fred and one for Wilma. I've gotten it to run and with debugging have observed what appeared to me to be proper execution, but zero rows are flowing out of it. In my ProvideComponentProperties method, I add the three fields and there associated m ...Show All
.NET Development DataGridView Problem
I recently started using ADO.NET with VB/C# .NET and I'm really liking it. I also recently ran into a problem with the DataGridView control. I added a DGV Control to my Windows Forms application and bound it to a DataSource. Now it's working great and everything but anytime it has enough rows to warrent the use of the Vertical Scroll bar it locks up my Apps UI for some reason. I can't for the life of me figure this one out. If anyone has any suggestions/comments please post them. Thanks! -Chad Figured it out-- it was becuase I was calling the sub that was adding this information into the DB was on ano ...Show All
Visual Studio Express Editions Package Load Failure
When starting Visual Web Developer 2005 Express Edition I get the following error; Package Load Failure Package ‘Visual Studio Explores and Designer Package’ has failed to load properly (GUID={8D8529D3-625D-4496-8354-3DAD630ECC1B} Please contact vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future You may use ‘VWDExpress/resetskippkgs’ to re-enable package loading. After Visual Web Developer 2005 Express Edition loads, I only have HTML in the toolbox and I cannot see the properties at all. Since I do not have ...Show All
Visual Studio Express Editions How to Load C++ Dll
I have made a C++ dll, its complete source code is following #include <windows.h> #include <stdio.h> #if BUILDING_DLL # define DLLIMPORT __declspec (dllexport) #else # define DLLIMPORT __declspec (dllimport) #endif class DLLIMPORT DllClass { public: int add(int ,int ); }; int DllClass::add(int a,int b) { return a+b; } BOOL APIENTRY DllMain ( HINSTANCE hInst /* Library instance handle. */ , ...Show All
Windows Forms app crashes when run in debugger
if my app is running without the debugger (not to be confused with debug and release mode) it works as expected. if app is run in the debugger it will crash at the commented line. void ChildDisplay::ReadNext(int iLength, String* sKey) { String* recbuff = S""; String* temp = S""; m_pMMDM->SetLL(NULL, sKey); m_pMMDM->ReadNext(NULL); for(int i=0; i < iLength; ++i) { m_pMMDM->ReadNext(NULL); recbuff = m_pMMDM->FormatBufferDisplayLine(); //check for and skip duplicate entry temp = recbuff->Remove(recbuff->IndexOf('|'), (recbuff->Length)-(recbuff->IndexOf('|'))); if(String::Equals(temp, sKey) == ...Show All
