Anton Rapoport's Q&A profile
Visual C++ 1).NET Framework SDK (Class library),2)win32 and COM development. I want to know which one is better
I want to study the following two things:1).NET Framework SDK (Class library),2)win32 and COM development. I want to know which one is better so I can choose how to learn or which one is the one which I have to learn first Have both of them the same functionality I thank you here in advance. But I wonder which technology in .NET is the counterpart of COM technology Because I see the document of COM and DCOM, it is really very good technology. If I study .NET, which part have the same functionality of COM Thanks a lot. ...Show All
SQL Server SQL 2000 Database upgrade to 2005
Dear All.. I have a few databases running a sql2000 and the time as come to move them onto sql2005. Which would be the best route to take. If I can think back to older version it was just a simply job of doing a backup in it's current version then restore in the new version and upgrade was taken while restoring.. I could be wrong but any help !! Thanks Martin. HI Hemantgiri Many thanks for the info, I knew my old memory was right - I shall remember your points when I upgrade thanks again Regards Martin ...Show All
Software Development for Windows Vista Some sample about AcivityBind and WorkflowParameterBinding
Can u give me some sample about the usage of WorkflowParameterBinding and ActivityBind I can't any theme about this lezi wrote: See this code below: code1: // // CreateBallotForJim // this.CreateBallotForJim.InterfaceType = typeof(CommunicationsWorkflow.IVotingService); this.CreateBallotForJim.MethodName = "CreateBallot"; this.CreateBallotForJim.Name = "CreateBallotForJim"; workflowparameterbinding1.ParameterName = "alias"; workflowparameterbinding1.Value = "Jim"; this.CreateBallotForJim.ParameterBindings.Add(workflowparameterbinding1); 1. code1 bind "Jim" to the argument alias of function void CreateBall ...Show All
Windows Forms Button Click
Just a small problem. I'm having problem clicking a button in my webbrowser inside my form . private void btnSubmit_Click(object sender, EventArgs e) { HtmlElement Button = this.webBrowser.Document.GetElementById("post"); Button.InvokeMember("post"); } Thats my code I don't understand why it doesn't work . Any insite is much appreciated. Thanks in advacne ! what error do you get Also you kind of have it wrongly.... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=967956&SiteID=1 ...Show All
Visual C# Move to a next window after pressing a button
Hi, Basically, the title says it all. How can i move to a next window after pressing a button. I'm trying to make a calculator. Thanks in advance! well, if I undrestand correctly, you wish to open another window in your application correct (another form) if so, simply create an instance of it and show it to the user. Example: Form2 theSecondForm = new Form2(); theSecondForm.Show(); //or: theSecondForm.ShowDialog(); the showdialog() puts the form in question into the model dialog meaning that the previous forms opened are not accessible until this form is closed and only then can you access the other forms as well as continuing execution of code. Is this what you are after ...Show All
SQL Server Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio)
Analysis Services Project deployes with success. When you want to browse the deployed cube by draging an attribute from the Metadata pane to drop it on the DataPane the following takes place. =================================== Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio) ------------------------------ Program Location: at Microsoft.Office.Interop.Owc11.PivotView.get_FieldSets() at Microsoft.AnalysisServices.Controls.PivotTableHash.get_FieldSetsEnumerator() at Microsoft.AnalysisServices.Controls.PivotTableHash.GetFieldSet(String uniqueName) at Microsoft.AnalysisServices.Controls.PivotTableBoundMetadataBrowser.GetPivotTableDataObject(NodeObject nodeObject) at Microsoft.Ana ...Show All
Windows Forms How to get the complete scrollable height and width of a control
Hi, I am hosting a browser control(framework 2.0) in a form of fixed size. Control is docked as fill in the win form. The control navigates to some url and displays the web page. Now if the web page size exceeds the win form size scrollbars appears. I want to calculate the complete height and width of control(complete scrollable height and width). Let me know how i can do it. Note that i can do it using the HTMLDocument's scrollheight and scrollwidth properties but the problem is it returns correct values only when the height and width are specified. Correct values are not guaranteed through it. Thanks, Yash Try using the ClientSize property. According to the docs, it does "not include the non-client ele ...Show All
Software Development for Windows Vista Unsupported media state while drive becoming ready
I have consistently seen IDiscFormat2Data::get_CurrentMediaStatus return a state of IMAPI_FORMAT2_DATA_MEDIA_STATE_UNSUPPORTED_MEDIA after I insert a blank recordable disc, after the drive becomes ready. There seems to be a transient state that exists immediately after the drive becomes ready. Prior to this state, while the drive is becoming ready, the get_CurrentMediaStatus method correctly returns an HRESULT of E_IMAPI_RECORDER_MEDIA_BECOMING_READY; then, immediately after becoming ready, it returns S_OK but reports a media state of unsupported. If you call it subsequently, it will return S_OK and correctly report the state as IMAPI_FORMAT2_DATA_MEDIA_STATE_BLANK. It appears that this proble ...Show All
.NET Development using statement on SqlDataReader
Hi all, if I am to use the 'using' statement on a SqlDataReader where the resultset then gets passed outside of the method in which it was executed, will the 'using' statement still clean up the resources (close, dispose etc) although the SqlDataReader ResultSet gets passed out of the method What I currently have is below, but am not sure whether making use of the 'using' statement on the SqlDataReader will actually clean up its used resources. public static SqlCeDataReader ExecuteQueryGetDatReader(SqlCeConnection objSqlCeConnection, string strQuery) { SqlCeDataReader objSqlCeDataReader; try { using (SqlCeCommand objSqlCeCommand = new SqlCeCommand(strQuery, objSqlCeConnection)) { objSqlCeCommand.CommandType = Comma ...Show All
Visual Studio Express Editions selecting all items of listview
is there an easy way to highlight all the items of a listview. thanks for any help. I can't reproduce this. Did you set the HideSelection property to false What's the View property value Do you have a context menu defined for the ListView ...Show All
SQL Server MDX Calculated Member Problem
Hi, I am trying to create a calculated measure, but since I am new to MDX, I have no idea how to go about it. I have two measure groups. One contains the number of customers recruited and is associated with one dimension (Start Week number). The other measure group contains the amount of of sales (£) and has two dimensions (Start Week number + Actual week number). What I want to do is create a calculated measure of sales amount per customer recruited. The number of recruited customers will obviously be constant for any given start week, and the sales amount will be different for each actual week. Could anybody advise on a way to do this. Many thanks, Dave Here is a simple example of a ca ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render target + multisample problem
My problem is: I just want to draw some objects to a render target, and than save it to texture -> post process it. It works, if I turn off multisample. But if it's turned on, it behave like DepthBuffer would be turned off (the last drawed object will be the nearest, even if it's far away), but it's not. Again, if I only turn off the multisample, it works fine, if I turn it on, it's get crazy. I create the render target this way: m_rtarget = new RenderTarget2D ( m_rtarget .GraphicsDevice, m_rtarget .PreferredBackBufferWidth, m_rtarget .PreferredBackBufferHeight, 1, m_rtarget .PreferredBackBufferFormat ); And I don't change the device's settings after it, so it sould match. But I was curious an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Subscription not available on my Xbox!
Hi! Is there any reason why the Creators Club Subscription is not showing up on my Xbox I live in Norway, but I've not read anything about any region restrictions on this download. I want in on the fun too! Hmmm, you're in Live Marketplace | Games | All Game Downloads XNA Creator's Club is on my list. The XNA Game Launcher is what's used to deploy games from your PC to your 360, it's not the Creator's Club. Maybe an MS person will chime in here. ...Show All
.NET Development How Do I Rotate a PictureBox
I have a picturebox placed on a form. I would like to rotate the entire box by X degrees. Is there a way to do this Thanks. Jeff pictureBox1.image.RotateFlip(RotateFlipType. Rotate90FlipNone ); is not working. The error is "Not implemented" ...Show All
.NET Development Registering a .dll file into shared assembly failed in web application
I am registering a .DLL file to shared assemby by running gacutil.exe. The code works fine with window application but doesn't work with web applicaation,Code executes with no error on both the applications . I am having NTFS partition. ...Show All
