sean_morrison's Q&A profile
Visual Studio Express Editions Switch between tabs using code???
Hi I was just wondering if it is possible to switch between tabs on a tab control by using code rather than selecting each tab with your cursor. I want different tabs to be displayed depending on what my user selects from a file menu. I have tried tabpage2.show() tabpage2.visible = true tabpage2.bringtofront and assigned this code to a button, hoping when the button is pressed tab page 2 will be the active tab. any help would be much appreciated thanks lee ...Show All
SQL Server SQL 2005 Developer edition fails during installation
When trying to install SQL 2005, I keep getting the foll. error: Error 1706. Setup cannot find the required files. Check your connection to the network or CD-Rom drive. For other potential soltions to this problem, see C:\Program ....\1033\setup.chm I have tried using two different DVDs, and also downloaded SQL 2005 from msdn, but none of them work. Can some please help. Thanks, Amir acharania@trimontrea.com JHD , thanks a bunch. I ran into the same problem when installing SQL Sever 2005 on WinXP Pro. Your post put an end to my endless search for the solution. Once again, thank you very much! ...Show All
Visual Studio Start Page and Proxys
How can I make the visual studio 2005 RTM Start page work through an authenticating proxy server If you have proper configuration about the proxy on your IE settings, VS start page should work the same way as your IE browser. Thanks, Daniel ...Show All
Windows Forms Single Instance app, Activate
Using this in Main to enforce a single instance of the app: Dim firstInstance As Boolean Dim safeName As String = Application.UserAppDataPath.Replace("\", "_") Dim mtx As Mutex = New Mutex(True, safeName, firstInstance) If Not firstInstance Then Return End If Application.Run(New Form1) ... But instead of just returning if its not the first instance, I would like to Activate the existing instance's window. I guess the question is how can I get a reference to the form in the instance already running maybe you want to look here http://www.codeproject.com/dotnet/VB6andVBNETWindowMessages.asp i think if you sen ...Show All
Visual C++ Dependency checker for 64-bit executables
Hello, I am adapting a product from 32-bit to 64-bit. The application is written in C and C++ with MFC and ATL code. At present I am able to execute my 64-bit compiled code on a 64-bit system as long as I have a copy of VS 2005 installed on that server. I have been trying to help our Installation designer determine which of the VS redistributable merge modules are needed to install on a "clean" (one with out VS installed) system. The problem I am having is that DEPENDS does not seem to work for my 64-bit executables. It shows errors for 2 DLL's that I know we are not referencing (DEVMGR.DLL and MSJAVA.DLL), as well as listi ...Show All
.NET Development Failed to access IIS metabase, VS2005 RC
I am developing a webservice in Visual Studio RC. I have just got a new pc and my problem is that I am not able to access this webservice. I have created a virtual directory in IIS, but if I try to browse there, I get a "Failed to acces IIS metabase" error message. Does anybody know how I can resolve this problem 1) Is IIS installed on the machine (From a command prompt NET START - Is IIS Admin service present in the list) 2) Is ASP.NET installed - Run aspnet_iisreg.exe /lv from the VS command line prompt 3) For 2) is the default install for ASP.NET v2.0 as opposed to v1.1 ( the running version is marked with ...Show All
SQL Server Grouping question
I have a report that is actually going to be printed on NCR (carbon) paper to be written on. On this report I have a table that displays items from five different groups plus adds blanks for written entries. The data displays correctly under each group along with the extra spaces for written data, however what I need to know is how to "force" a group that does not have any items. Is there a way to do this Thanks for any information. If you don't have any items of a group your resultset doesn't contain the group and I think its not possible to add it afterwards, so you have to change your SQL- ...Show All
Visual C++ What equals to C# ref keyword in VC++ 7
Can somebody tell me what equals to C# ref keyword in VC++ 7 Thanks in advance. Hi David, i take look at your reply and it seems to be the best answer for me. Thank you. Could you take a look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=181164&SiteID=1 and try to help me for that. Any idias will be deeply appreciated. ...Show All
SQL Server SQL Code converting a String to a number
I am trying to write a SQL code to insert a record into a ODBC table. The variable 'lscus' holds a 12 character string for customer # e.g. 000000000022. The variable captures and displays a 12 character string, but when the INSERT SQL is run it converts the variable into a number e.g. 22. Why is it converting to a number How can I Insert a string value for 'lscus' Thanks for your help Private Sub cmdAddRecord_Click() On Error GoTo Err_cmdAddRecord_Click ' Create todays date into a Format "YYYYMMDD" string Dim stDate As String Dim stTime As Double stDate = CStr(Mid(Now(), 6, 4)) + CStr(Mid(f ...Show All
Smart Device Development Link error of CeMountDBVolEx
Hi all, I am developing WM5 edb application. there is a link error of CeMountDBVolEx : LNK2019: unresolved external symbol "int __cdel CeMountDBVolEx (.... " I have added "coredll.lib" to Additional Dependency of the Configuration Manager, but still get this error. Please advise. Take a look at the following posting and the posted answer, I believe it is the same issue. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=143643&SiteID=1 ...Show All
SQL Server Output format
I'd like to take the results of my report and save them as tab delimited text files. This is not one of the options available when I click the save button. The only options I have are XML, CSV, TIFF, PDF, Web Archive and Excel. I'm new to this software. Any help would be appreciated. TIA, Paul Hammond Richmond, VA Thanks, All this sounds like a lot more work and research, which is not why I started using this program. I'm hoping they come up with an out of the box solution soon. Paul ...Show All
Windows Forms Customizing DataGrid
Hi, I need to customize the DataGrid, preferably in Designer as it's less work. I need to set sizes, backcolors, and data mappings. I want to use this grid to add, edit, and delete rows from a table. I can't get it to work from the Designer. I can't seem to override the default settings such as PreferredColumnWidth. What am I doing wrong TIA, Roy ...Show All
.NET Development VB 2005 Express - example database project
I'm looking for a simple example project where i can find all the statements are related to - connecting and closing the database - get (sql select) and set (sql insert, update) data - how to put and edit data in a DataViewGrid Can somebody help me tnx from the Netherlands Hi, I have some example. Do you need only code, or instruction, how t create all project ...Show All
SQL Server Results to Text showing NULL...yuck
In the old SQL2000 QA, when you ran a query with "Results to Text", I would select Tab-Delimited and then would easily be able to copy and paste this to Excel. Now, it can't get rid of the "NULL" stuff. Anyone ...Show All
Visual C++ Could not add a new Class Diagram to the project
In Beta2, in class view, right click on a class name and select "View Class Diagram", but there is a error: "Unable to create file e:\some dir\ClassDiagram1.cd. Make sure you have file system permission to create the file, and have disk space available" I don't know how to fix it. Hi, The fact that there is still a menu item is a bug. Thanks for reporting this. Ronald Laeremans Visual C++ team ...Show All
