CNB's Q&A profile
SQL Server Problems connecting to local SQL server [HELP!]
Hi all, I have the developer edition of Visual Studio 2005. After successfully installing it in my local machine, I wanted to create a small application which connects to a database. I accessed the Server Explorer tool, right clicked on Data Connections and brought up the Create New SQL Server Database option. The issue now is that I don't see a list of servers in the "Server Name" drop down box although in the Server Explorer itself, I have a server listed (your-c6b5e4eabc - The default computer name of my local machine). I am given to believe that SQL server is unable to make a connection because I have not configured something which is essential. I hope someone can point me as to how to make databases using SQL se ...Show All
Windows Forms ShortcutsEnabled in TextBox
Is there anyway to enable the ctrl-a keyboard shortcut for a textBox If not, what would be the easist way to select all text in a textBox Kitsune Weird. So according to the documentation none of the shortcut keys should work. But I just tried with a Form with just a TextBox on it and although Ctrl+a does not work, Ctrl+x, Ctrl+c and Ctrl+v does work. Also, the default value for ShortcutsEnabled is true for TextBox. I wonder what the reason is for this behavior. Documentation error and/or a bug regarding ctrl+a ...Show All
.NET Development C# to C++ struct via void*
Hello all, I want to pass different C# structures to a Managed C++ function thats expects a IntPtr param which will be passed to a native C++ function that expects a void* pointer. As example, suppose I have this structure: struct Vertex { public float [] pos; public uint color; } I alloc the pos array for a given number of elements and fill it. Then I pass this struct as a IntPtr to Managed C++ using GCHandle. I then need to pass this IntPtr to a native C++ function which expects a void* pointer I'm able to pass this correctly to the Managed C++ method (and reconstruct the C# strutucture inside the method, so the pointer is not corrupted), but when I cast it to void* using IntPtr.ToPointer(), I get garbage va ...Show All
Community Chat Opensource C# BitTorrent library
Hi there everyone, I've written an open source bittorrent client library which runs on Windows/MacOS and nearly all flavours of Linux which is pretty much at Beta 2 status, i.e. most of the really big bugs are gone. The source is available at the public SVN for mono under the Bitsharp folder (details can be found at www.mono-project.com). There is also a TorrentCreator and BitTorrent Tracker library available at the same place, both written in C# aswell. Those are also needing developers should anyone be interested in pitching in. Example code and a more detailed blurb is at www.mono-project.com/Bitsharp. Basically, i'm doing a call to developers to: 1) Try and find a few people who wish to help with further developing the library. 2) Try ...Show All
Visual Studio 2008 (Pre-release) What is xxx.vsHost
VS.Net often generates a xxx.vsHost file. What is the purpose of this file Do we need to deploy this file in production environment. ...Show All
Visual Studio Team System Customize Team Foundation Server instance of Sharepoint Services
We have a corporate Sharepoint Portal Server setup that has a 'Virtual Server Gallery' with a 'Office Spreadsheet' webpart. Is there a way to add this to our Team Foundation Server instance of Sharepoint Services so that the 'Office Spreadsheet' webpart can be added to Team Sites I've also posted this to the Sharepoint Communities forum. Thanks, John ...Show All
Visual Studio Express Editions open new outlook email window in program
Can anyone point me in the right direction on how to click a button and open and MSOutlook new email window. I would also like to program to add an attachment as well. Thanks do you have any idea about my "attach contents of webbrowser issue" from two post ago. Also I am not having any luck with theStringBuilder.Append("&attach=C:\myfile.ext") everything works ok just no attachment. I even tried email to myself to see if it was there just not showing up. No luck ...Show All
Smart Device Development Threading - using variables declared on the UI.
Hi all, I have created a thread in my application, that performs many updates to the database, using the following method... WorkerSignOffThread = new Thread(BackgroundProcessing); WorkerSignOffThread.IsBackground = true; WorkerSignOffThread.Start(); private void BackgroundProcessing() { processingDone = false; InspectionManager.FillInspectionGoodAnswers(SelectedInspectionUID); processingDone = true; } ...but as you can see, the FillInspectionGoodAnswers() method uses a variable ' SelectedInspectionUID '. This variable was declared in the Form that declares and starts this thread - is this ok The thread seems to run and update the database ok, but I was under the impression that the threads couldn't use UI objects/controls/ ...Show All
SQL Server Showing different counts for the same dimension?
Hello, For the life of me I can't figure out the best way to do this. I have 2 fact tables, hosehold and account where several accounts roll into 1 household. Each fact table has several dimensions attached to it on of which is the "core" dimension. The "core" dimension indicates if a household or account is "core" based on several business rules. I need to be able to show counts of "core" households and ALL of their associated accounts and also "core" households and their associated "core" accounts ONLY. What's the best way to set this up THANKS! I should also add that it's only the household count for the products that is made incorre ...Show All
Visual C# using App.config
hi! i already created my app.config but i cant seem to use it in my program.. how do i call the connection i had placed in it you may wish to look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=791689&SiteID=1 perhaps this will help you in some way ...Show All
Visual C++ Error Message concerning Runtime Error
When I attemtp to open Internet Explorer I receive the following error message: Microsoft Visual C++ Runtime Library Runtime Error! Program: C:\Program Files\Internet Explorer\iexplore.exe (I am then instructed to contact the applications support team......would this be Internet Explorer ) PLEASE HELP! can you help every now and a gain when trying to log onto internet, or trying to log into windows i get runtime error will not let me proceed. I have to shut my pc down and re start. to remove the error ...Show All
Visual C# SoundPlayer & device selection
I have a PC with both a SoundMax sound card as well as a VOIPVoice USB phone (i.e. Skype). After installing the USB phone (and resetting the SoundMax as the default audio device), all sounds I play with SoundPlayer go to the USB Phone and not the SoundMax. How can this be fixed It doesn't seem like System.Media.SoundPlayer understands the concept of multiple sound devices. :( :( :( Double-plus ungood. :( :( :( Sorry, we don't answer hardware configuration issues at these forums, programming questions only. Give www.microsoft.com/communities at shot... ...Show All
Software Development for Windows Vista Burn video stream directly to DVD !?
Hi, to all !!! I'm new to this community.... i'm searching info about bunrning method in windows vista... It's possible to burn a video stream, such as camcorder, directy to DVD using IMAPI v2 in windows vista (rc1), and where i can get info Thx for all response !! Hi Ready4u, The only built-in support for DVD burning in Windows Vista is via the DVD Maker application. DVD Maker does support importing from a camcorder (perhaps via Movie Maker). Please try this out and let us know if you are looking for something different. Thanks, . ...Show All
Software Development for Windows Vista Making a GUI subservient to the WF
I've got a situation where I am attempting to write a state machine workflow. This workflow responds to events on two data exchanges: 1 for network messages being sent from a central back-end location, and 1 for events sent from the GUI such as a submit button being pushed. I've got the 2 exchanges set up just fine. The other part of this is where I'm having difficulty finding a best practice. I want the Workflow to tell the UI which pieces of the UI should be enabled or disabled based on a rule set that I will probably store in a policy. For example, when the state changes, I want the policy (which reads variables from some dependency properties that are set by incoming events) to then fire off events such as DisableSubmitButton that will ...Show All
Visual Studio Team System Inconsistent 2-tier TFS installation after SP1
First I installed the Team Foundation SP1 RTM on the application-tier and after that succeeded I went to the database tier. But I'm not able to install the service pack on it. Somewhere the installation stops and hopefully reverts it's changes. The lock-down of the SQL server through the "TFS_Quiescence" still stays. There some manuall task to revert this and the SQL server is accessable again. Now we can't get any source code anymore because there is always an error which says that an incopatible version is installed: "Detailed Message: TF53018: The application tier MY-SERVER is attempting to connect to a data tier with an incompatible version.". Could somone please help me, I really need to access the source. Is it ...Show All
