Vincent Randal's Q&A profile
Windows Forms ovveride OnPaint not called on Custom Tab Control
Hello I am trying to create a custom tab control which inherits from a tab control but my ovveride paint does not get called Does anyone know why i just want to draw the tab control my own way namespace CustomControls { public class TabControl : System.Windows.Forms.TabControl { public TabControl() { this.Name = "ScrollingText"; this.Size = new System.Drawing.Size(300, 300); } protected override void On ...Show All
SQL Server Strange behavior with Calculated Members
After creating a Calculated Member like this: CREATE MEMBER CURRENTCUBE.[Product].[Family Line Product].[Line].&[PCs].[XPC] AS AGGREGATE({ [Product].[Family Line Product].[Family].&[Business PCs], [Product].[Family Line Product].[Family].&[Home PCs] }), FORMAT_STRING = "#,#.0", VISIBLE = 1; I would expect to find this Member only in the [Product].[Family Line Product].[Line].&[PCs] Member Identifier. But this C ...Show All
.NET Development TCP packet confirmation
Anybody know how I can checks that my TCP/IP packet have been really received on the destination side and that is not standing in the buffer because of retries or bad connection Ronald You can't rely on TCP acks to tell you if the peer application has received your data. It simply isn't going to work reliably, and there are already too many unreliable network applications out there. Deal with the extra cost - i ...Show All
Visual Studio Team System Question Before Evaluating VSTS
All, I'm trying to determine the answer to one very, very important question for us. Can VSTS source control application run for developers who are in different areas without using VPN to access it Currently, we are using SourceSafe with SOS for our remote dev's to access it and check in/check out files without using the VPN. We want to maintain that functionality, but I haven't been able to find anywhere on the VSTS site wher ...Show All
Visual Studio Express Editions Picking up strings from another program
I just downloaded VB Express I need to know where to get started.. what i would like to do is create a program that takes the chat data from another program (.exe file - a game) and then responds to it by pressing F3 so for example if in the other program someone types "hello" I want my program to recognize it and press F3 thats it.. the only difficulty i am having is looking in MSDN and finding ...Show All
.NET Development The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
I just installed Visual Studio 2005 today and I'm already getting an error. This code worked fine on 2003. I am running Windows XP 64 so I definitely have the latest MDAC. Anyone know why I would get this error Dim strConnect As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & GetWorkingPath() & "db.mdb;Persist Security Info=False;" conn = New OleDbConnection(strConnect) conn.Open() Project Properties ...Show All
Visual Basic ActiveX - error 424
I made a new ActiveX control in VB 6. A very simple one.there is one circle of the original shape control which is called oval_shape.the usercontrol is called math_circle. in the intialize and the resize sections of the usercontrol I do the following stuff: oval_shape.top = 0 oval_shape.left = 0 oval_shape.width = math_circle.width oval_shape.height = math_circle.height when I put the new ActiveX control on anykind of form ...Show All
Visual C++ How to Port MFC to .NET; from VC6 C++ to Managed C++ and/or C# .NET
Can someone point me to information on how to port and/or reuse a portion of a huge MFC app to C# .NET managed and/or C++ .NET managed code. Willing to rewrite most of the user interface, but need to preserve/modify existing code that is based on 50+ classes derived from MFC's CObject. I need the "Serialize" portions of CObject so that my existing data files can be read into the ported app, or so I can create a conversion app. I ...Show All
Windows Forms A question about smart client's deployment.
I published a smart client in the web server which was inside domain, the IIS' security policy was integrated windows. After having published the application, it was able to run and auto-update by computers which were inside domain - computers which were outside the domian counldnot run the application and throwed the error as below: The following properties have been set: Property: [AdminUser] = true {boolean} Property: [ProcessorArchitecture] ...Show All
Visual Studio Express Editions VC++
Why I can not add a function or a variable in class. Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=449779&SiteID=1 . Hope this is what you are looking for! Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio 2008 (Pre-release) Customize DataContext class name in sqlmetal?
Is there a way to specify what the class name should be for the DataContext class that is generated via sqlmetal I'm generating my classes off a test database so the DataContext class is being named MyProjectTest. How can I change/customize the naming of the generated DataContext class Thanks, Steve ...Show All
Visual Studio Team System Not letting me rename web projects after branch
If I have a project called WebUIApp in a solution called MySolution that exists in a Main line, in source control explorer I have $/MyTestProject/Main/MySolution/WebUIApp. In this case, I might have the WebUIApp at http://localhost/MyTestProject/WebUIApp . Then I branch the Main line to $/MyTestProject/V1/MySolution/WebUIApp. I then get latest versions on this and then try opening the solution. When opening the solution, ...Show All
Visual Studio Express Editions c# application implementation
Hi, I am developing a solution using C# express edition and sql 2005 express (first time). I need help to figure out how to do software and database implementation. Do I need to buy Visual Studio 2005 to deliver software aplication and database to my client Thanks for your help Any app you write in C# Express can be sold in just the same way that those written with paid versions can be and the same goes ...Show All
Smart Device Development .net CF 2.0 networking
I have a quick question. Will CF 2.0 have any improved networking capabilities over CF 1.0 or we will still have to call native APIs I mean, will we have something like the classes in Opennetcf.Net namespace or better Something nice to build network aware apps that are able to decide to fall back to GPRS if there is no WiFi or if the user leaves WiFi area Hi Joaquin, The following are some of the addition ...Show All
Visual C++ MFC newbee problems to create worker thread
I am new to MFC. I am just trying understand threading. I tried to create a worker thread, and I get a linker error when I compile the code. in CMFCThreadingDlg.cpp I put... void CMFCThreadingDlg::OnBnClickedBtnStart() { HANDLE hThread; hThread = AfxBeginThread(foo, this ); } static UINT foo(LPVOID lParam) { AFX_MANAGE_STATE(AfxGetStaticModuleState()); return 0; } I have put the foo prototype on ...Show All
