Lognath1's Q&A profile
Visual Basic AnalogTVTuningSpace and MSVidCtl
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as described here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/directX/htm/hostingthevideocontrolinavisualbasicform.asp and here: http://msdn.micro ...Show All
SQL Server how to use word and pdf filter in full text search (SQLServer2k5)
where to find and how to use full text search service to index word and pdf documents. please point me to a tutorial or give a step by step instruction. thanks for reading. http://www.codeproject.com/csharp/fulltextsearchingifinters.asp ...Show All
Visual Studio Express Editions What is cout?
It may sound silly but what is cout I am a newbie and I just ask out of curiosity because I see it a lot lately.Is it useful You bet!Imagine that once in a while I always have a question,thus we do C++ in the university,plus the forums I visit so as to help myself get out of this mess.Thanx for the help BTW! ...Show All
Visual Studio Team System Creating a link dependency in Work Items
I want to have a hierarchy for the work items...i.e. you should not be able to create a task without linking it to a requirement work item...I want to be able to create a rule in the methodology to force a work item linking before allowing the new work item to be saved...any ideas Any one on the project can create a task work item so I can't link it...right now, my only solution is to create a report... Unfortunately there is no easy way to do this in v1 - we don't support the concept of dependent links, and the links themselves are not strongly typed (so there is no way to enforce the existence of a ...Show All
.NET Development Stored Procedure
Hi, I'm using ADO.net (1.1) and I'm trying to run a stored procedure like this: myCommand.CommandText = "MyStoredProcedure 1, 'teste', 14, 'Mary'" myCommand.CommandType = CommandType.StoredProcedure myCommand.ExecuteNonQuery() Why doesn't it work I'm keeping receiving a error message saying that It cannot find the stored procedure "." Do I have to run the stored procedures with parameters Or is it possible to do it like in ADO ("MyStoredProcedure 1, 'teste', 14, 'Mary'") Thanks in advance. JPP You should only put the stored procedure's name in the commandText and pass the parameters using SqlParam ...Show All
SQL Server problem regarding relationship
this is my diagram http://aspspider.net/vhalexxs/relationship.jpg here is the error while saving the diagram... 'rco_prodattr' table saved successfully 'rco_prodacc' table - Unable to create relationship 'FK_rco_prodacc_rco_prodattr1'. Introducing FOREIGN KEY constraint 'FK_rco_prodacc_rco_prodattr1' on table 'rco_prodacc' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints. Could not create constraint. See previous errors. is there a way to create a constrain with cascade delete and update on rco_prodacc, or if not what will be the best possible ...Show All
Visual C++ fatal error c1001: internal compiler error
Hi, I'm using VC7 and when i get "fatal error c1001: internal compiler error (compile file 'msc1.cpp, line 2701)" in MsXML.h, specifically in (the last line) EXTERN_C const CLSID CLSID_DOMDocument; #ifdef __cplusplus class DECLSPEC_UUID("2933BF90-7B36-11d2-B20E-00C04F983E60") DOMDocument; Any suggestions\ideas are very welcomed. Cheers, Snir. Sorry that it took us a long time to look into the issue. I have just seen it now. May be it was initially posted in another forum and just got moved now to the C++ one. Internal compiler errors are compiler bugs. Ple ...Show All
Visual Studio Express Editions Detailed example - structs
I have a weird situation as follows: staticData.h defines a struct as follows: static struct city { public: int cityID; char cityName[22]; char countryID[2]; char countryName[20]; double lng, lat; int annualDemand; int populationrank; bool shown; }City[800]; My main f ...Show All
Visual C++ How do use conventional C++ Code with Visual C++
Goodday I cannot seem to create any programs with Visual C++ I am not getting anywhere the only program that works is Hello World: #include <iostream> using namespace std; int main() { cout<< "Hello World\n"; return 0; } Not even the test win32 application want to run and i did everything like you explained Please Help Peder Really Because for other hundreds of thousand of programmers it works. So, can you explained what you tried to do and what exactly doesn't work ...Show All
Visual Studio Class Designer in VS2005 Beta2
How do I create one I just can't find the Class Diagram template under the New Item.. menu in solution explorer for a Project Howe do I go about adding this in . Thanks in advance Balram Can`t find class designer in VS 8.0.50727.42. How can i install it ...Show All
.NET Development how to open ur custom file format in ur application
hi, i am developing an application in C#.For saving the state of an application i am using a custom file format.Now suppose a user using the application want to save the state of the application he can save it as "savedstate.abcd" where .abcd is the new extension to be supported by my application.Now when he double clicks on this saved file named "savedstate.abcd" my application will open up and the objects being used in my application will be instantiated with the saved data. i have done addition in the registry so than when a user double clicks file with my extension ".abcd" the application will start.but how do i read the applica ...Show All
Visual Studio how do i get the caret position in the native editor?
hi, i'm trying to catch the event of the caret reposition on the native editor. only thing i found to try and get it is: IVsTextViewEvents ::OnChangeCaretLine() but... i cant find any kind of AdviseTextViewEvents(), like you can usualy find for such interfaces. what am i missing any kind of sulotion will do, even if it's only good for VS 2005. thanks. For posterity, here's how I got OnChangeCaretLine events in C#. I reference the following VSIP assemblies: microsoft.visualstudio.ole.interop; microsoft.visualstudio.shell; microsoft.visualstudio.textmanager.interop. c ...Show All
Visual Studio Express Editions why do I like this express edition?
Beleive me, I can just as well use GNU make or NANT and invoke CSC.EXE and other tools as needed, so I wanted to try out these express editions to see if they were faster and easier to use than the full blown Development Studio offerings. In particular, as a consultant, I wanted to answer the question: how can I leave some source code at a customer site and give them half a chance of being able to extend it without being overloaded with huge tools installs Well, so far it seems these expression editions hit the sweet spot. It is true that I have gotten lost in the GUI looking for some features, and ended up exporting the Options to th ...Show All
.NET Development FTP list result
Hi, I'm retrieving a detailed list of files into a string array via FTP. Each item in the array looks something like this "drwxr-x--- 3 vincent vincent 4096 Jul 12 12:16 public_ftp". What would be the easiest way to break this info down and put it into the relevent columns on a listview control(name, date, attibutes etc). I'm really stuck on where to start. appreciate any help Chris Here are some methods we use: public class ServerFileData { public bool isDirectory; public string fileName; public int size; public string type; public string date; p ...Show All
Visual Studio Team System Branching is Broken - Severe SQL Error
About two weeks ago I was able to successfully create a feature branch off of our Main\Src directory. Last night I tried to help a co-worker create a different feature branch off of Main\Src. We tried from the VS 2005 UI and via the command line with no luck. Both ran for 15 minutes without completing. Finally we left the command line branch going all night and when we got back in this morning the following error message was displayed: C:\Foo\Branches\Feature>tf branch $/Foo/Main/Src $/Foo/Branches/Feature/XYZZY A database error occurred (SQL error 0) ---> A severe error occurred on the current command. The r ...Show All
