Bruce Adkins's Q&A profile
Visual C# Typedef for C# (Global Type Alias)
so int is a alias for System.Int32. How can I add my own alias that will be GLOBAL. So instead of List<int> lLanguageIDs; I could do List<LanguageID> lLanguageIDs; where LanguageID is a alias to int or System.Int32 thanks Ralph You can by using one of the not well known features of the using directive where you can use it to define a type name of you ...Show All
Visual Studio Team System User authorizations
I would like to get the list of PROJECTS of which a user is READER, using the Team Foundation Webservices. How can I do Thanks. You can get the list of projects using the Common Structure Service web service, and check the permissions using the Groups and Security Service. Check the SDK for details. ...Show All
Visual C++ GUI using VC++
Hi all, I am very very very new to this field. I am making a GUI for an executable file that runs in DOS Shell (or command prompt) using Windows Forms Application of Visual Studio using VC++. The exe has many flags with it where the user can give his own inputs. i am able to run the .exe using WinExec though with default arguments, what I need to do is to take the inputs from the user and then pass it to exe. how do i do this I t ...Show All
Windows Forms Circuit design control/framework
Hi I'm looking for a control, framework, etc... to allow the user to create circuits graphically. And to be able to add new components to a toolbox at runtime. For example, electrical, lan cabling, telco cable network, ... Data to be store in s ...Show All
Windows Forms passing variables between forms again :)
I have read about five different threads about passing variables between forms and none of them have made much sense to me or helped me. I know i am very new and green but can't seem to figure it out. So one more time could some one help me in simple terms. Show me how to be able to access data from one form to the next. I am wanting to for example access a string that i have assigned in form1 and use it in form 2. Don't know how to do it. I am ...Show All
Software Development for Windows Vista Vista nothing but a copy
Hello all, I was just looking at some screenshots of the new Windows Vista. Vista is supposed to bring "Clarity" and it does it is clear that Microsoft can not do anything for themselves. The took the RSS from Firefox and Safari who by the way have had it for a number of years. They took the dock idea from Mac OS X. (Just because you share stock does not mean that you can copy Willam). If you know anything about different syste ...Show All
Visual C++ Tab is not working with my VC++ Dialog !
Dear All, In my VC++ Dialog, Tab is not working when ever i call that dialog from the Menu. However Tab works absolutely fine whenever I call same Dialog from another Dialog. I have tested it, Tab on My Dialog (say Dialog-A) works fine when ever i called it from another Dialog (say Dialog-B). But when ever the Dialog is called directly from the Menu, Tab doesn't work. I am really struggling to get rid of the simplest thing (As I am ne ...Show All
Visual Studio Express Editions Getting files with specific extensions using FolderBrowserDialog
Hi everyone. I'm making a media player using the BASS API Library and Direct-X. My problem is, I'm using the FolderBrowserDialog component and I know it can't filter files but I need only files with specific extensions to be added to the Listbox I have on the form. So far the code looks like this: Public Sub foldertoplaylist() Dim plug As Integer = 2 Dim playlistid3 As String Dim chosen As String ...Show All
Windows Forms Can't anyone help me with this? - "..timeout period elapsed prior to obtaining a connection from the pool..."
I posted this problem but no one responded. I figured I'd try one last time. I'm having a wierd problem. I've been using Visual Studio.NET 2003, and writing an app that up to now has been working perfectly. All of a sudden an error comes&n ...Show All
Visual C++ Boolean Conversion
<wdhough@discussions.microsoft.com> wrote in message news:d1b20b55-fc8e-4827-80c8-37a552c78681@discussions.microsoft.com > I use the following code to convert an integer into a CString > > int i = 9; > CString s; s.Format(L"%d",i); AfxMessageBox(s); > > I was wondering what changes need to be made to this in order to > convert a boolean I realise i can just put the boolean in t ...Show All
SQL Server SSMS + *.html files.
If I try to add a *.html file to the SQL Server Management Studio Solution/Project, there is no way I can open the *.html file within the environment as I would expect from the Visual Studio Environment. It opens, but it displays the HTML content not the rendered content. E.g. ReadMe.html or History.html which might cover other information not appropriate for *.sql files. E.g. Redgate's - SQL Compare report files are output in ...Show All
Visual C# Convert array to Class
Hi, C# Gurus, I'm switching from MFC/C++ to .Net/C# recently. Really miss the POINTER, you can convert any pointer to any type easily. I have a case need some help, please. Here's the C++ code : I have a byte array myArr[100] contains data read in from COM1. myArr = {1,2,3,11,12,13,. . . . . . . . . . . .} and classes CX, CY, CZ . . . . . . . . class CX { byte a; byte b; byte c; . . }; I can con ...Show All
Visual C# timer problem
I've a timer (interval = 1000) in my app. When the timer is working parallelly a big loop is also working. but I found out untile this loop not finished the timer won't work. How can I force the timer to alwasy work every second I found this article about using threads in c# ( http://abstractvb.com/code.asp A=1028 ) but when I tried to compile this sample the compiler return this error: The type or namespa ...Show All
Visual Studio Team System Build FAILED: A database error occurred (SQL error 8152) ---> String or binary data would be truncated.
Hi, I'm running Beta 3 Refresh in a single server environment. I've started moving our source code from StarTeam to TF Version Control, but have run into a problem with the build. I started out with a small sample and a simple build file and everything worked fine. Now I've checked a major part of our source code into TFVS and have set up a team build. The build have multiple solutions with multiple projects and several thousand source files. Th ...Show All
Visual Studio Express Editions dialougue message
how do i create a windows dialougue/error message (the little window that pops up and has a message and an ok button) with c++ thanks for the help Hi there, Are you creating a .NET Windows Form or are you using MFC If you are creating a .NET Windows Form, here is an example: //Plain message box - Text, title & OK Button MessageBox::Show("This is an example message box", "Example message box title"); /* Mes ...Show All
