Dudi Nissan's Q&A profile
Windows Forms Using combobox in GridView control
Hello I would like to see combobox come up in datagrid view control in Windows forms project when users enter in edit mode in a cell. For example one of the columns is US States. When users enter into edit mode I would like this cell to&n ...Show All
Visual Studio 2008 (Pre-release) No HttpContext when IIS hosted?
I have a custom datacaching class that works fine under an ASMX web service, but reports that HttpContext is null when used in an IIS hosted WCF web service. Am I doing something wrong To answer my own question... I found this shortly thereafter: http://blogs.msdn.com/wenlong/archive/2006/01/23/516041.aspx A very good article. Unfortunately, the config attributes he refers to are invalid. Instead o ...Show All
Windows Forms Retrieve recordcount
Hello all, Here is my problem. I'm trying to retrieve a record count from my database through a stored procedure, but it stimply won't work. Here is my stored procedure: ===================================================== CREATE PROCEDURE [spREPORTSLOGIN] @USERNAME char(20), @PASSWORD char(20), @ ...Show All
.NET Development reading web.config file
It appears that you are obsoleting the previous .NET System.Configuration.ConfigurationSettings.AppSettings method of reading values from the web.config file. What is the method for doing this in .NET 2.0 I got it resolved - you need to also include a reference to System.Collections.Specialized.NameValueCollection in order to dimension a variable which can be assigned to the ConfigurationManager.AppSetting ...Show All
Visual Studio Express Editions Serial port control
I want to be able to send and recieve data from a microcontroller to VB 2005 express. Does anyone have any suggestions on how to setup a comm port and link code from say a button Thanks As the functions that you are asking are not just for express... I would have a look at the other forums on this site and do a search. You might want to focus the search on the networking and communications groups, and the la ...Show All
SQL Server Problems Using Temporary Tables
I am declaring a temp table in control flow via Execute SQL task. I then want to use that table as a source in a data task, keep it alive going back to control flow and use it as a destination in another data task following. I am having trouble just getting the first data flow to access that temp table. In my Execute SQL task, I'm creating a simple temp table. After executing that task, I can head to the data task and change my OLE DB Source to ...Show All
Visual C++ Use methods as Callback
Hi all, I’m asking for help. I’m developing a user interface for a cross platform simulation that is using glut. I would like to create a C++ wrapper for the initialization of glut. I’ve created the following objects: Class CApp { public: CApp(); virtual void __cdecl displayFn(void); virtual void __cdecl keyFn(unsigned char, int, int); ... private: virtual void __init(); ... } ...Show All
SQL Server Combining text data rows
I am working with a database derived from text documents. One of the tables (TEXT001) contains the text of the documents with each paragraph of each document assigned to its own row with a paragraph number in a SectionNo column. I want the entire text of each document in a single row with its own unique number (so that I can do a full text search with SQL Server 2005 that will search and return the entire document as a result). How do I comb ...Show All
Visual Studio Team System How do I change a WI type, from Scenario to Task for example, without creating a new WI? Is there a view to see this heirarchy?
I have a number of Sceanrios that were entered for my team that are actually Tasks related to one Scenario. Is there a way to change these to Tasks related to the scenario without entering a new WI Also, is there one view that gives me the scenarios and tasks laid out in their heirarchy I see the links in the links section, but I would like to see the hierarchy when I run a query for the scenarios and tasks in a given iteration. ...Show All
SQL Server Query 2 tables - each in a different database
Is there any query code that will allow joining tables that are in different databases running on the same server If yes, how is the connection to each handled WeslyB is right. But your user has to have select rights on the other database. You don't have to handle the rights in ADO. Regards ...Show All
Visual Studio 2008 (Pre-release) How are InvokeRequired/Invoke supported in WPF?
Are they I need to port this to WPF, but InvokeRequired has been removed from the control and there is no form :(( public static void AppendText( Form form, TextBox textbox, string text) { if (textbox.InvokeRequired) { AppendTextCallBack CallBackAppendText = new AppendTextCallBack (AppendText); form.Invoke(CallBackAppendText, new object [] {form, textbox, text }); } else { ...Show All
Visual Basic (repost) How to create a hyper link to save to a .doc or .rtf file ?
Hi: ( I had post this question yesterday, but when I checked this forum today to see if any response, I can't find my post. ) the question: how to create a hyper link programmatically to insert ( save ) to a .doc or .rtf file ( like the one we create manually in MS Word ), even without Word running or installed on the machine. Thanks. Looks like your original post is at http://forums.microsoft.com/ ...Show All
Visual Basic I have problem with win2000 and vb2005 in clickOnce
Hello all, When I install my clickonce application, in win2000 OS there is a problem comes up when first form shown there error mesage is System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle ) at System.Windows.Forms.Control.MarshaledInvoke (Control caller, Delegate method, Object[] args , Boolean synchronous) ...Show All
Visual Studio deleting a file
i can't delete a file because it gives the following message Target AfterGet: Deleting file "\\(locationA)app.config". E:\(locationA)\TFSBuild.proj(189,3): error MSB3061: Unable to delete file "\\(locationA)\app.config". Access to the path '\\(locationA)\app.config' is denied. Done building target "AfterGet" in project "TFSBuild.proj" -- FAILED. Done building project "TFSBuild.proj" ...Show All
Visual Studio Express Editions WEBBROWSER CONTROL ..NEED HELP
I M A NEWBIE IN VB.NET... i created a new project...with a webbrowser control....i studied a webpage.. used this line webbrowser1.document.getElementsByTagName("INPUT").item(0).innerText="HELLO" to fill a textarea... it worked.. but below that there was a button on that webpage...i dont know how to click it using vb.net... can anybody plz ans my question... thnking in advance ...Show All
