adi's Q&A profile
Visual FoxPro Blinking Vertical Line hard to see in a textbox
I have converted a Clipper application to VFP 8.0 and all interface occurs in the main window (_SCREEN) of Foxpro. The following command is used for data entry: @ 21, 15 say "Enter new Order Number " get cNewNum read The data entry shape that is blinking in the textbox is very difficult to see. It is a very narrow vertical line and therefore is hard to pick up. Is there any way to change the shape from a vertica ...Show All
Visual Studio 2008 (Pre-release) SSPI fails without userPrincipalName, why?
I'm using a netTcpBinding with a self-hosted service running as my own user, with a client of ASP.NET hosted by IIS running as Network Service on another machine. I'm a bit confused on the service/client identity and how it relates to authentication. I find that if I don't specify anything in the <identity> for my client <endpoint> things fail: Error: System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI faile ...Show All
Visual Studio Team System FxCop Error not pointing to the correct line in the source
Hi, When a custom rule is run on a test program we are seeing errors/warnings being thrown. But unfortunately when they are double clicked, the pointer is not going to the right line and instead points to the class declaration line. Not sure if I am missing some thing here. Can some body please help Thanks and Regards PrashG You need to look at what object you are passing in to the problem collection. Y ...Show All
Visual C++ Running a program?
I have built a program on calculating the area of a rectangle as the user inputs the length and width. It works fine, however, my question is. If I want to send it to someone, what files from the whole folder do I need to send (.zip ). Also, how will they be able to run it, without a compiler. I can easily run it from: C:\Documents and Settings\Peter\My Documents\Visual Studio 2005\Projects\optut\debug however, as I've seen other progra ...Show All
Visual Basic Error Type 'MarshalAs' is not defined
I recently converted a project from VB2003 to VB2005. I am getting this error and I can't figure out why... Type 'MarshalAs' is not defined Here is an example of the code that is causing the error: <StructLayout(LayoutKind.Sequential)> Friend Structure VersionInfoDef Dim SizeofVersionInfo As Byte Dim BootVersion As VersionDef Dim OSVersion As VersionDef ...Show All
Software Development for Windows Vista DIrectSHow or WMF9 is best for streaming video
Hello, I am currently assigned with a project to render video from a network camera.I am using C# . I an asked to develop an application which is very efficient.Also I need remote recording of the video. I am getting the data as mpeg-4 format from teh video server attached with the camera. CAn any body help me. For video capture I would probably look at DirectShow. However, I have been working with directshow a lot lately, so maybe I'm ...Show All
Smart Device Development Question about QueryPerformanceCounter()
Hi all, I just wanna design a high-resolution time tool with vs2005 based on pocket pc. With C#, the codes are just like the following: [DllImport("coredll.dll")] private static extern bool QueryPerformanceFrequency(ref Int64 lFrequency); [DllImport("coredll.dll")] & ...Show All
SQL Server replication sequence
I have 2 tables which tab B depends on the record on tab A. In publisher, records are generated to tabA before some audit information record to tabB. In subscriber, there is replication error that the trigger in tab B couldn't find the corresponding record in tab A and cause the transactional replication error. And I found the comand_id within the same xact_segno of record in tab B is smaller than that of record in tab A. Does it mean the data i ...Show All
SQL Server Querying Analysis Services 2005 Cube with SSIS
Hi, I've been trying to use Analysis Services 2005 Cube as a data source, query it via MDX and then use the data returned elsewhere in SSIS. However, I've been unable to get this working and can't find any information regarding how this can be done. Surely it should be possible when I can get this working even in Excel I've looked in December edition of BOL and no luck - have also sent a feedback to BOL regarding this and have been told ...Show All
Visual C++ linkLabel_LinkClicked
With managed C++ what would I have to type on this linkLabel_LinkClicked code in order to make my link go to a website of my choice #pragma endregion private : System::Void linkLabel1_LinkClicked(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) { } }; } http://www.codeproject.com/system/newbiespawn.asp df=100&forumid=3298&exp=0&select=706737 ShellExecute is th ...Show All
Visual C++ Beginner query
Hi everyone I am extremely new to visual c++ and really sorry if I happen to post a dumb query. I have this code that I have been given as part of my internship. I need to figure out what different parts of the code is doing. In the resouce view for the visual c++ project, I have an IDR_toolbar and some icons in that. I was wondering if there is a way to find out what parts of the code are being called when a particular icon is selected ...Show All
Windows Forms TabControls
Hi Everyone, this might seem a bit stupid but can anyone tell me how to change the background (colour or image) of a tab control - not a tab panel but the actual control. I'm going nutz here thinking that I'm being a bit dense although I can't find any reference to doing it. thanks, Ed. I'm afraid that the only way I found was to set the DrawMode property on the tab control to OwnerDrawFixed an ...Show All
Visual Studio Tools for Office In desperate need with VSTO :)
Hi, until a few months ago, I thought that making a plugin with VS 2003 and following the Introduction guide was quite easy... Until I discovered that many people couldn't install correctly my plugin because I didn't know anything about SHIM and other security concerns about Outlook 2003 and a .NET plugin. So I tried to imp ...Show All
.NET Development How to read a column's value
Using VB 2005 Express I have a form that is populated from a Tableadapter. One of the columns is a value that represents a height in cm. I want to use that value to display the corresponding inch value in a textbox on the form. So I want to read that column's value and then convert it to inches and write that into the text box - but I don't know how to identify which is the current row I'm in (when I navigate through the table with the BindingNa ...Show All
Visual Studio Team System Help with Team Foundation Server
We've just installed TFS on our AppServer01. TFS was installed using the network administrator username. I've connected, and on the first time connnecting I had to connect using the NEtworkAdministrator username. From there I could log in with my Domain user name. However, whenever I try to say Download the Test Approach.doc from the documents folder (it came with TFS) it asks me to login with a username and password. How do we ge ...Show All
