MosheCohen's Q&A profile
Visual Studio how to locate the chapter in the help table of contents associated to the current visited page
Sometimes I find a page by searching in Index in the .NET help system. But after, I want to locate that chapter or section in the table of contents. How do I go, pls, from the current page in order to find its link and place within the chapters in table of contents. Best regards The Standard Toolbar in Visual Studio has a "Sync with Table of Contents" button on it. Click that button to achieve what you want. The button is located next to the one that's labelled "Ask a Question". ...Show All
Visual C# Customizing the default context menu of the web browser
Hi, I am currently making my custom web browser application using C# (using .net 2005 visual studio). I make use of the webBrowser component which u can found in the toolbox. When running my application, and right click on the webbrowser component, i got the default context menu (that come with the Internet explorer). Goal: My aim is to customize this default context menu. Customize here means i still want the default context menu, but wanna remove/disable/add options to this default context menu. In order to achieve this goal, i spend more than 2 days to search for articles, and after many trial and errors, I have successfully make use of ...Show All
Visual Basic Computer take a nap every third time through a for/next loop.
Hi All, I have the wierdest problem I have come across in my 40 some years of troubleshooting code and hardware. The followinf code is simply 3 nested for/next loops. About every third time (sometimes 2, sometimes 4) through the inner, y loop both of my computers take a 15 millisecond nap. An instruction gets performed and then it is 15 milliseconds before the next instruction is performed. Nohing else is going on, there are no outside references, there are no endless loops, there is no complicated math, just simple compare statements. There is no reason for the cpu to stop for 15 milliseconds. I doubt that ...Show All
SQL Server Using the same connection in multiple threads -> native exception
I found a peculiar thing today while working with SQL Mobile in a multithreaded application (VS2005, application for Pocket PC 2003). I created a class which has one SqlCeConnection object. Every time I call a function to insert/select/delete something from the local db, I open the connection, execute the query an then close the connection again. But when I'm calling a function from the db class in thread 1 and in the meantime call a different function (from the same db class of course) in thread 2, things go wrong. Because when function 1 wants to close the connection, function 2 is still using the connection and it will crash my app ...Show All
Windows Forms DataGrid in TabControl
Hi, I have a tabControl (in a windows form) contains two tab pages. In the first tab page, there is a data grid. When I click and switch to the second tab page, I also want to see the same datagrid showing on this tab. How to do that (I don't want to create datagrids for each individual tab page. What I want is a data gr ...Show All
.NET Development visual studio 2005 express DataSource
how insert data by code whit Datasource Hi, You could do it just like using a normal DataTable and an DataAdapter. Here's a sample: ProgramTableAdapter pta = new ProgramTableAdapter(); lmstestDataSet ds = new lmstestDataSet(); lmstestDataSet.ProgramDataTable dt = new lmstestDataSet.ProgramDataTable(); pta.Fill(dt); DataRow dr = dt.NewRow(); dr["Id"] = 234; dt.Rows.Add(dr); pta.Update(dt); cheers, Paul June A. Domag ...Show All
Visual FoxPro A list where, the first element already apears
I have a list in a formular. Cand I do, that when the form is Init, the first element of a list, already apears, in that list before I select any element from list. Thank you. If you want to select first item in the listbox, add something like this to Init() method of your form : this.myListBox.Selected(1) = .T. ...Show All
Visual Studio "Microsoft.Sdc.Tasks" project is not getting recognized
I have created a web service with default settings. Copied the contents of the Install folder <from the GDN2[1].0.051004.000.zip file> onto a new folder called Build. I created a DevBuild.proj file with the following contents: < xml version = " 1.0 " encoding = " utf-8 " > < Project DefaultTargets = " Full " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " > < Import Project = " Microsoft.Sdc.Tasks " ></ Import > < PropertyGroup > < BuildConfig > Debug </ BuildConfig > </ PropertyGrou ...Show All
Visual Studio Team System TFS / MS Project Bug
When assigning resources in MS Project to a task (existing or a new one), MS Project just shuts down. No warning and no error messages are displayed. It happens every time for every user who is creating a project schedule. This does not occur when I use excel. One difference I did note is that in Project I added reasources via the Company Directory and their names showed up in the assign resources column as the full name. In Excel they showed up as the Windows login name. I don't know if it makes any difference. Jeff In Project if you add resources as the login name do you still see the same problem All work items are tracked using the ...Show All
SQL Server cannot login
Well, I've tried every suggestion by helpful people in connecting to a database I created, to no avail. I created a db, called, nodes10.mdf. Test connection works. Right now I get: Cannot open database "nodes10" requested by the login. The login failed. Login failed for user '<server>\<user>'. Before you call me on my syntax, the problem is with logging in , not my insertString. code: SqlConnection conn = new SqlConnection("Data Source=NORBY11\\SQLExpress;Integrated Security=SSPI;Initial Catalog=nodes10;Connect Timeout=30;User Instance=True"); string ndeText=numberNode.Text; string insertSt ...Show All
Visual Studio Tools for Office VSTO Installation Problem
I'm having problems to create a new VSTO 2005 project. I installed the components in the following order: Office 2003, Office 2003 SP2, Visual Studio 2005 and VSTO 2005. I had not problems in the installation but when i try to create a new VSTO project (e.g. Word document) the wizard is launched and i select that i want to create a new document. Then after a few seconds an error message appears: The error message said that i have to clear the "disabled items" in the Help/About menu in office or reinstall the VSTO 2005. I have done the two things (the disabled items list is empty) and reinstalled the VSTO 2005 and i'm havin ...Show All
Visual Basic unspecified error
I donno why but whenever i try to pass parameters to the procedure iam calling its giving me an error saying -2147467259 - unspecified error Can anyone tell me what this means The error is when i try to pass parameters oComm.Parameters(0).Value = uHeaderInfo.sProjNumber thanks for the reply cgraus the problem is its giving the same error to all values that iam passing. even in the next module when iam trying to pass the parameters to another procedure. its saying the same. sriksdave ...Show All
Visual Studio Team System Control Gallery Component in Visual Studio 2005 Team System?
Hi, I have a simple question: does Visual Studio 2005 Team System contain a component like the Control Gallery on www.asp.net The thread: http://forums.asp.net/902167/ShowPost.aspx indicates that it does. But the descriptions here indicate that it mainly offers a Source Control system. If it does not have such a component, does anyone know of a .net software that does the job of the www.asp.net control gallery Cheers, Geoff Geoff, to my knowledge there is no such thing in Team system as described in the thread your referring to. In team system You will find that is contains a new version c ...Show All
Visual C++ Any good thread guide, ftp and http for visual c++ 2003 other than msdn?
Any good thread guide, ftp and http for visual c++ 2003 other than msdn Please note, I am really novice in these area. Thanks, Jil. I did not get ftp or http thread, but got a good thread sample, and tested working fine. http://www.codeguru.com/columns/Kate/article.php/c9009__1/ http://www.codeguru.com/columns/Kate/article.php/c9009__2/ Just referenced it for others use. Thanks Jil. ...Show All
SQL Server Passing variables to data flow component
Hi, I've read the various posts and articles regarding this matter, but I seem to have problems getting to work: In my control flow, I start by declaring a variable named "LastJobLedgerEntryID", to identify the records I need to add to the stage. From there I would like to use this variable in the source component in my dataflow, i.e.: "SELECT [Entry No_],[Job No_],[Posting Date],[Document No_],[Type],[No_],[Description],[Quantity],[Direct Unit Cost],[Unit Cost],[Unit Price],[Chargeable],[Job Posting Group],[Global Dimension 1 Code],[Global Dimension 2 Code],[Work Type Code] FROM mytable WHERE [Entry No_] > " ...Show All
