Ramrakhaini Shanker's Q&A profile
Windows Forms Treeview Nodes.Add Problem
I have a problem when I add a child node. When the tree loads the first time, all the child nodes display correctly. If I add a child node, it gets saved to the database, and I clear out the tree (treeview.Nodes.Clear) and repopulate it for the new node to show. However, now the new node I just added, appears in another location and I end up with 2 child nodes with the same name. Any ideas on how to make the treeview refresh cor ...Show All
.NET Development C# Apps Server that Select From SQL Server 2000
Hi, I'll like to program a C# Application Server that constantly polls the SQL Server 2000 for data. For example, I've a table called A in SQL Server 2000 that's constantly being inserted. My App Server will do a Select * from A as a string of data and then process the it. Is there any similar template that you've come accross Or can anyone enlighten me TIA. Hi, How much is it consuming in mega ...Show All
Windows Forms Wat would be handy...
it would be handy if u can start arrays at 1 instaed of 0 for outsiders it would be hard to get, but for internal use i think it would be fine my prears have been heard, because i read that in vs2005 you can st ...Show All
Visual C# Communication Between Froms...
I currently have a form that I am using to store variables/arrays/etc. I have just created a second form. The form is launched when the user selects a button. I have launched the form by simply instantiating the object, like this: Form2 f = new Form2(); f.Show(); However, there is data that I need to retrieve and display from the first form (Form1). Would anyone know how I could go about doing this Thanks, ...Show All
Visual FoxPro Time format saved a character field
Hi, Can somebody pls help me figure out how am i going to compute the time format such as this one "05:32:44" saved in a character field. The output should also be a time format not like this one when i'm summing up all the records "190:119:255". The time is in this format Hour:Minute:Second. I will appreciate very much if somebody can help me on this. Thank you in advance You can use conversion fun ...Show All
Visual Studio Express Editions Distributing Applications
Can somebody please tell me where I can find info on distributing the applications I create with VB.NET 2005 Express I have looked around and a lot of sites say that there isn't a facility to do this but I have got the "Publish" button. I need a complete guide so that everything works - did a little test and sent the setup.exe to a friend but he couldn't use it. Brought up an error. Can somebody help Thanks in advance, Depending on y ...Show All
SQL Server How to use sum and count aggregate functions with xml data type in SQL Server 2005
Hi: I have xml in sql server 2005 beta2 that is stored as an xml data type and I'm trying to run some aggregate functions like count and sum, but I don't know how to do it. The elements are numeric values, but 'sum' and also 'count' return errors. I have included the error message and the sp below. Any ideas how to use sum and count correctly Thanks, Paul -------------------------------------------------------------------- ...Show All
SQL Server Mdx query
Hello guys, Assume I have a date dimention in a cube and I want to retrive data based on the StartDate and EndDate value. In short, I want to filter all records between StartDate value and EndDate value which is given by a user. Can any body give a general syntax or mdx query to achive this goal Sincerely, Amde Hello Amde Assuming Analysis Services 2005: SELECT {[Measures].[MyMeasures]} ON 0 ...Show All
SQL Server Using DMX to rename clusters
Hi, I have a MS Clustering model based on knowledge-area and I want to rename each cluster to the name of the knowledge area. What would be the DMX to rename the cluster I have been trying to do something like - UPDATE [Knowledge Base].Content SET Node_Caption = [Knowledge Base].[Field] (Field is the column in the mining structure [Knowledge Base] with the values to be assigned to the Node_Caption) But this does not work. The DMX ...Show All
Visual C++ TrackBar is displayed incorrectly inside ToolStripControlHost.
Create a win form project Add a ToolStrip (toolStrip1) to Form1 Add the following code to InitializeComponent() ToolStripControlHost^ ts = gcnew ToolStripControlHost( gcnew TrackBar); ts->AutoSize = false ; ts->Size = System::Drawing::Size(100, 20); toolStrip1->Items->Add(ts); Run the App. Why does the TrackBar appear in the wrong place initially (seems ...Show All
Visual Studio 2008 (Pre-release) Speech recognition
I am using speech recognition and there is a problem with building the grammar. I want the application to recognize a command and the commands are , for example: "new", "first", "last", "select <file><rank>". I build the grammar like that // toolbar commands Choices toolbarCommands = new Choices("new", "first", "last"); // sele ...Show All
.NET Development Finally not called unless exception caught outside?
Is it expected that the code inside a finally block is not executed when the exception is not caught elsewhere Or perhaps I am seeing something else... in the following the code in the finally is never executed: That is what I see if I run the Debug Configuration with Ctrl-F5 (w/out debugging). If I do this it pops up the "... has encounted a problem and needs to close..." dialog. I click "Debug" and choose the VS I ha ...Show All
Visual Studio Team System Beta3 extensibility with VS 2005?
" NOTE : The release version of the Visual Studio 2005 SDK now contains the Visual Studio Team System Extensibility kit for Beta 3 of Foundation Server. The files below are considered legacy and are included for completeness and testing purposes. For the most recent Extensibility Kit, please download the Visual Studio 2005 SDK - October 2005 ." This means extensibilty kit is available only with VS2005 now. Trying to download this downloads an ...Show All
SQL Server cant start the sql server services
Hi all After i configure the Merge Replication, my sql server services wont start again. The error show that "The request failed for the service did not respone in time fashion. Consult the event log or other application error logs for detail" >>The error show that "The request failed for the service did not respone in time fashion. Consult the event log or other application error ...Show All
Windows Forms How to change the position of the Currency Manager
Now my currency manager is tied to Row Num 3 and column no 4 of the datagrid At this situation I want to change the currency manager to Row Num 3 and column no 1 COuld you please let me know how to do it Thanks Chec ...Show All
