Brice PRUNIER's Q&A profile
Visual Basic how to do file I/O in VB 2005
I used to do this with VB6. Type Record STat As String * 4 PkID As Integer SID As Integer SName As String * 35 Msg As String * 100 End Type Dim Rec As Record Rec.SID = Val(lblTo.Tag) Rec.STat = "M" Rec.SName = lblTo.Caption Open filename & ".log" For Random Shared As #1 Len = Len(Rec) Dim Pos% Put #1, getPos(1, "M"), Rec Close #1 I searched a lot and am unsuccessful. I don't know ...Show All
Windows Forms STAThreadAttribute problem in managed c++ windows forms
hi, i m developing a windows forms application using MC++, when i do debug the project , it fails in the line of ' openFileDialog1->ShowDialog(); ' and gives an error like that : An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll Additional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main functio ...Show All
Visual Studio Team System Report server error
Hi, I was trying to generate a model on the report server site under TfsOlapReportDS data source, but I got following exception. An error occurred while generating model. (rsModelGenerationError) Get Online Help An error occurred during the generation of semantic model : [Create mapping between cube dimensions and database dimensions] Unexpected error occurred : Schema indicates that cube dim ...Show All
Visual Studio Can VS 2005 installed on Windows XP SP1
Hi, Is there any possibility of installing VS 2005 on Windows XP SP1 operating system. I read the prerequisites of installing VS 2005 from Adminreadme.htm file. The minimum requirement mentioned is Windows XP SP2. Any help is appreciated. Thanks Bhaskar ...Show All
Visual C# How can I prevent an event's parent version to be processed?
I have a function -with a common name- both in the child and in the parent form. And I do NOT want the event (in the parent form) to be processed while the event in the child prossesing... (hint : In VFP the equivalent phrase is 'NoDefault') Thanks in advance. Can you clarify If you're using the class name when calling the function (e.g. class.SomeFunction()) this shouldn't happen, unless I'm not und ...Show All
Windows Forms Windows Forms autotab
In Windows Forms is there an autotab capability It existed in MFC where when typing into an Edit control (textBox), once the max number of characters for the control was exceeded, the focus went to the next control and the characters were&nb ...Show All
Visual Studio Team System Solution.vsscc files
I get a "Checkout error or user cancellation" dialog box when I attempt solution level operations like adding a new or existing project. It usually complains about <solution>.vsscc not being under source control. So does TFVC require a VSSCC file or not Yes, it does. How did you add the solution (Add Sln to SCC wizard, command line, SCE ) ...Show All
Windows Forms Using Exception Management Application Block with CAD program add-in...
I am developing a Winforms add-in for a major CAD package. I have incorporated EMAB throughout the add-in, which is comprised of 11 forms. All of the forms are encapsulated in 4 separate .dll assemblies. When I invoke the add-in from my test&nb ...Show All
Game Technologies: DirectX, XNA, XACT, etc. rear view mirror using stencil buffer
hi all, iam displaying a vehicle rear view mirror using stencil buffer. my problem is when iam displaying this its only showing the objects which are rendered lastly. can anyone help me . or am i using wrong principle by using stencil buffer ,because iam 30 days buddy for direct3d programming. any other solutions are also welcome bye have a bug fr ...Show All
Visual Studio 2008 (Pre-release) ANN: Aurora is now compatible with the February CTP
Aurora 8.3 is now available for download http://www.mobiform.com/eng/aurora.html New in Aurora 8.3: Animation is now available. It currently has functionality for basic shapes, controls, and Clip Art. Paths, 3D and the ability to rotate elements will be available in future versions. Animation will not be serialized out with this version due to a required change to how Aurora serializes the code out with the February WinFX C ...Show All
Visual Studio Team System Add user from a thrusted AD domain
Hi, When i try to add users from a thrusted AD domain, I get an error message. "Couldn't add user/group 'xxxxxx'. It may be in an incorrect domain. Menu: Team->Team Foundation Server Settings->Group Membership TFS: Beta 3 Refresh TFS Service account: AD2\TFSSERVICE User account: AD1\<user name> One way thrust between AD1 and AD2. Is this a "beta" issue ...tried to add AD1 users to a Security Group in AD2, and then add the group to t ...Show All
Visual Studio Express Editions "Sql Server" Data Source is missing in VS C# 2005 Express
Hi All, I need create a connection to live Sql Server. Alas, in VS C# Express in the data source list I see only "Access File" and "Sql Server Db File". Is it how it is supposed to be Second option allows only to connect to offline mdf file, not what I need. It is especially strange, considering that in VS WebDev Express I see "Sql Server" option (together with those two I can see in C# Express). Initially I thought it w ...Show All
Visual Studio System.MissingMethodException: Method not found: 'Microsoft.Office.Core.CommandBarControl EnvDTE.Command.AddControl
Hi, I'm trying to add a command into a commadbar, I believe the code is correct but when i run the code i get the following exception: Exception recieved System.MissingMethodException: Method not found: 'Microsoft.Office.Core.CommandBarControl EnvDTE.Command.AddControl(System.Object, Int32)'. Anyone know why We need a bit more context. What OS, what SKU of VS, what SDK version What are you trying to do, a ...Show All
SQL Server Different Header on Second Page
I have a report that requires a different header starting on the second page. I tried creating the header for page one in the body of the report, then creating the header for page two in the actual report header and setting PrintOnFirstPage to false. Unfortunately, this leaves a large space at the top of the first page, which is not acceptable to my users. If there was a way to create a list box header that repeats at the top of each page, th ...Show All
Visual Studio Express Editions Simple, yet complicated questions...
Hello, I am new to programming, and would like to jump right into making some quality applications. I have been in a C++ programming class since August, and have really become familiar with the basics. At first, I practiced with the simple stuff, and made some very cool console applications. After creating these applications, I made a release build, and sent them to some friends to get their opinions. Then, I began to step into Windows F ...Show All
