oysts's Q&A profile
Windows Forms How can show the many instances of form opened in 'window' menu like in MSword?
In MSword, if I open five documents, the window menu shows all the five, and when I click the one, that instance opens. How can show the many instances of form opened in 'window' menu like in MSword Any web pages, clue or sample would be appreciated. Thanks, Jil. Hi, If your using a MDI form you could access all forms in the MDIForm1.OwnedForms its an array of forms that the MDI owns... You could then check if its visible or not... ...Show All
Visual Studio Express Editions How do I get my free e-books?
I downloaded, installed and registered the beta editions before Nov. 7th. I have yet to get an e-mail though telling me how to access my free e-books. I have a benefits page where I can download icons and pictures but nothing about e-books. Anyone know what's going on Thanks. again . ...Show All
Visual Basic Please, how to populate treeview
Hi all, please help me with treeview control with database access treeview with 3 nodes! node1 subnode subnode othersubnode node2 subnode2 othersubnode2 othersubnode2 othersubnode2 subnode...... how to put in table of mdb and fill treeview control please.. help! Your table probably should look like this Id Name Level ParentId 1 Node 1 1 0 2 Node 2 2 1 3 Node 3 1 ...Show All
Smart Device Development C# and Blackberry
Hello Everyone, I want to create a C# Service such that if something is changed at Oracle this service listens for it and passses on to blackberry... Vice-versa if something changes at Blackberry, this service gets it and sends it to oracle. Someone have dealt with this before.... Suggest the best possible way to do it... Thanks, Harsimrat Microsoft does not offer any BB support, so you can ...Show All
SQL Server Iteration within Stored Procedure
A Stored Procedure inserts a record in a base table. I want to add n records (n=1 to 5) into a related table. Another SP (tdAuthorityInsert) is already set up to insert one record into the related table. So, two questions 1. What is the form of an iterative loop in a Stored Procedure 2. How do you call a Stored Procedure from inside another Thanks, td Is this what you trying to do declare @ NumR ...Show All
Visual Basic Form Switching
Hello all, I know this is a real n00b question, but I was wondering if someone could advise me as to a better way of doing my form switching without creating a new instance of a form each time. I know usually you can just go Dim F as new Form2 F.Show But that creates a new instance of Form2. What I'm trying to do is to have a permanently open version of Form2 that I can access at any time. The reason I want to do this is so that I can k ...Show All
SQL Server Mapping bigint variables
Someone asked this earlier, but the answer did'nt seem to be right (anymore). I am having some trouble in mapping a bigint result from an ADO.NET resultset to a variable in SSIS. Whatever variable data type I tried, except for the Object type, I get the following error message: Error: The type of the value being assigned to variable "User::<variable name>" differs from the current variable type. Variables may not change type during execut ...Show All
.NET Development Freezing TCP SocketListener
I'm writing my first local network TCP/IP Client/Server Windows Forms workstation application functionality code in VB 2005 Express. The internet may be connected by the user, but it is playing no role in the Client/Server part of the application. The objective is to write a simple listener and a simple client not demanding anything but the Listener being able to pick up transactions sent on a specific port and up to six Clients being a ...Show All
Smart Device Development WCE pocket PC 2003 Application
hey i would like to know how to add a Com object to a WCE pocket PC 2003 Application thanks in advance see if this helps http://msdn2.microsoft.com/en-us/library/ms180791(VS.80).aspx ...Show All
.NET Development My ftp request work once on two
I have this code : TcpClient tcpc = new TcpClient (); tcpc.Connect( "10.0.0.2" , 21); NetworkStream nst = tcpc.GetStream(); byte [] bytes = new byte [tcpc.ReceiveBufferSize]; nst.Read(bytes, 0, tcpc.ReceiveBufferSize); nst.Read(bytes, 0, tcpc.ReceiveBufferSize); nst.Read(bytes, 0, tcpc.ReceiveBufferSize); byte [] wbytes = Encoding .ASCII.GetBytes( "USER myuseretudepdf\r\n" ); nst.Write(w ...Show All
Windows Search Technologies Problem with WDS Filter
Hi - I recently upgraded to the most recent version of WDS (2.6.5 ) and Windows Live toolbar. Maybe not a good thing to do at once, but I now get the following error message literally dozens of times a day: " Windows Desktop Search Filter has encountered a problem and needs to close. " I select the "Send Error Report" button (Microsoft should have received a few hundred from me by now) and continue with what I'm doing. ...Show All
Visual Studio Team System How to output text message from a test method (a function with [TestMethod] attribute) ?
Hi, I wanted to print some text messages from a unit test function. I tried using System::Console::WriteLine( ) which didn't work probably because the project was not a console application. I would like to know if there is any way to print to the output window Thank you, -me- Hello You can add debug.WriteLine statements to your code and then run the test in debug mode. http://msdn2.microsoft.com ...Show All
SQL Server Conditional color in Matrix subtotal column
I am using matrix in my report with calculated fields, for example I have 3 columns : Actual amount, Budget and Variance. Variance should be in Red if it is negative. I can set up an expression to change the color on the row level, but not in Subtotal ot Total row. I cannot use sum of Fields! values, because Budget amount is also calculated field based on the "Category" value which is columns group on the matrix. So anyway, if I am ...Show All
Visual Studio 2008 (Pre-release) A more complexed usage
Hi, At work, we use mapping engine that uses GDI+ as renderer. Map is combined of several small bitmaps. At the background we build a "BIG" bitmap from 9x9 tiles of bitmaps. The viewed area is clipped from the "BIG" bitmap. We used to refresh the map every 300mSec in order to see location changes of icons/shapes which we managed as layers. I'm evaluating how to do it/ is it the purpose of WPF There is no OnPaint event (which ...Show All
.NET Development How To Easily Change Connection To Access Database Created Using "Add New Data Source" And Draging Table To Form
Hello, I created a small application that works, but I want to be able to change the location of the database in a more simplier way. By this, I mean to accomplish this task, I could just delete my dataset, binding source, table adapter, and binding navigator. Next, I would add a new data source and connection to point to the new location of the database. But, this would mean that every time I do this I have to also cha ...Show All
