smrshl's Q&A profile
SQL Server Attribute Relationships in Project Real
Hi, I'm just trying to dig a little bit deeper into attribute relationships... The documentation of Project Real is a quite interesting read... So if you have a look at http://www.microsoft.com/technet/prodtechnol/sql/2005/realastd.mspx (the technical drilldown for Analysis Services) or even better http://www.microsoft.com/technet/images/prodtechnol/sql/2005/Images/realastd02_big.gif you find an example how to construct attribute relationships. But here's my problem: do I have a problem in understanding attribute relationships or doesn't also Microsoft know how to deal with them Why are Fiscal Year/Qtr/Period lis ...Show All
Visual Basic how to print a rich text box
HELP! How do you print rich text boxes Look at the PrintDocument class in Visual basic. Here is a scaled down, generic example (this is assuming VS2005 and all controls referenced below are added, and does not account for paging or line counting): Private Sub Button3_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click If PrintDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then With PrintDocument1 .PrinterSettings = PrintDialog1.PrinterSettings.Clone .Print() End With End If End Sub Private Sub PrintDocument1_PrintPage( ByVal sen ...Show All
Windows Forms Name Property
Hi I have a custom control that is inherited from System.Windows.Forms.Control. I want to do some custom processing when the Name of the control is set. But inside the constructor,a reference to the Name yields a blank value i.e. "". Can u tell me when is the name of the Control actually set. Also whenever the user changes the Name of the control ...Show All
Visual Studio 2008 (Pre-release) Is MSMQ broken??
The following simple example doesn't work properly. It was built using VStudio 2005 and both the machines involved have WinFX Nov CTP installed. It appears that MessageQueue.Receive only works correctly with a queue on the local machine. This also prevents ServiceHost from working correctly with MsmqIntegrationBinding - which is how I discovoered the problem. I have tried this code in both directions between the two machines with the same results. Local queue access works fine, but remote queue access appears to be broken. Writes are OK, and the first read is ok too. Subsequent reads just hang the calling ...Show All
Visual Studio Quality of images in reports
Hi, I have put on my report my logo image. Regardless of the format of my image .bmp or .tif it is always converted to .jpg on ASP.NET page or when exported to PDF. It has a bad quality, but originally was good. Even when I put my image as a high quality .jpg it seems it is converted to bad quality .jpg. 1. Is it possible to have a .bmp or .tif on rendered report 2. Is it possible to have a .gif 3. How can I control quality of automatic converting of images to .jpg Thanks, Przemo I have found solution for point No. 3: http://support.businessobjects.com/library/kbase/articles/c20161 ...Show All
Visual Studio Tools for Office Help Needed: Smart Tags in Excel and Recognising cell formulas?
Hi there, I have successfully created a VS2005 C#.NET SmartTag DLL that recognises various cell text and actions them accordingly. I am trying to find out how I can recognise a cell containing a "=RTD(,,,,)" type function. The SmartTag Recogniser2 routine only allows me to parse the cell Text and not the formula. Is there any way I can do this Or is there anyway I can locate the source cell that is being parsed GCParris wrote: Thank you for your reply. It would be useful if it could be done in the future :) I agree, this would be an excellent addition with real added value - for starters it ...Show All
.NET Development connecting between Outlook and Yahoo mail server
Hi all, I need your help in the follwoing case: I want to build an application of communication layer between Outlook 2003 and yahoo emal server. I want to begin now only the first step: To read the inbox list. Witch classes I need in the .Net framework how can I read about them how can I apply the automation mechnism between my application and outlook. Please help... Best regards... Hi Wasim, I'm unclear as to what you are trying to do. Do you want to download the messages from Yahoo into your Outlook application and then read the messages from Outlook OR Are you trying to build your own email ...Show All
Windows Forms Build of project reloads User Controls in Toolbox every time.
Hi, I have noticed that the toolbox in VS 2005 contains a tab for every projects in my solution that contains a component derived class. During builds of the solutions each of these tabs are being refreshed / rebuild and it can take a little time. Is there anyway of stopping this refresh, or is it a matter of removing the tab from the toolbox Maybe this is a bug that has been fixed post Beta 2 Thanks for your help Graham Mike, I am going to check that out first thing in the morning. If that does it, there will be a lot of happy people in our office. I asked multiple developers on my team to ...Show All
.NET Development date problem
Hi everyone, I am working in a vb.net project with values of type "datetime" in SQL. I am a little bit confused when I work with datetime values. When I insert values in database, which formatting should I use When I search for some rows in a table and the search criteria is a date field, I have to use the convert function in SQL or not can anyone help, maybe some articles or links, Thanks. When you use paramitrimized queries you never have to worry about format's. Just add a parameter to you IDatabaseCommand with the parameter name set to @livpr_fromdate and the DbType set to DbType.DateTime. Now you ju ...Show All
Windows Forms How To Use The Tab Key In ListView
Is there any way to use the Tab key to cycle thru the records in a ListView I tried this Private Sub ListView1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ListView1.KeyUp If e.KeyCode = Keys.Tab Then MessageBox.Show("Tab Key") End If But the Tab key is not even recognized and the next item in the Tab order gets the focus I would like to be able to stay on the ListView and use the Tab or Shift + Tab to move up and down the rows You're welcome! Glad I could help. At first I was going ...Show All
Software Development for Windows Vista Access from Access
Hi - a quck one - How is hosting implemted, Does it have an ActiveX control - my question is How do i integrate it into access forms thanks AIM48, Check out: http://www.windowsworkflow.net/default.aspx tabindex=4&tabid=41 There are samples that illustrate both designer hosting & application hosting of workflow. Arjun ...Show All
Windows Live Developer Forums Visual Studio Only?
Is Visual Studio .NET 2003 or above going to be a requirement for MSN Search API developers I know it's early yet, however that's the only SDK I see and there's no information indicating anything else will be available. I ask because some of us have been developing API's (Google, Yahoo!, eBay, Amazon, etc, etc) for a long time now. You're going to be missing out on an awful lot of really good developers if you're going to have the requirement that everyone drop between $550 and $1800 for a software package we don't currently have and probably will not use for anything other than creating MSN Search API applications.&nb ...Show All
Visual Studio Tools for Office vbScript with .NET
With Visual Studio 2005 and Framework 2.0 you discontinued the Microsoft.Vsa namespace. How do I execute vbScript in your latest framework without having to return back to your COM MSScriptControl (C:\WINDOWS\System32\msscript.ocx) I had been using the with Visual Studio 6.0 and then upgraded to VS 2005. I am using msscript.ocx in C++ and what used to work under 6.0 now does not. Calling Run on the control for a function with a single input parameter returns “0x80020003 Member not found”. The same result is true even with a VERY simple VBScript function like: Function myFoo (inBar) myFoo = ...Show All
.NET Development Calling .NET2.0 assemblies from 1.1
Is it possible in any way to call a .NET2.0 based assembly (ie. SQL2005 SMO assemblies) from a .NET 1.1 app using either direct reference, assembly loading at runtime, reflection, remoting, other I have a .NET1.1 app that we can't yet convert because we have a large # of users on 1.1 but we want to provide some support for items in SQL2005 for users that have it installed and I cannot find a way to call .NET2.0 assemblies from a 1.1 app. Even if I had to have some proxy class that maybe went through remoting, that would probably be acceptable in the short term. Any ideas or am I just SOL Thanks, Ashton ...Show All
Smart Device Development WebBrowser bug in .NET Compact Framework?
Hi. I am developing an application using .NET Compact Framework for Windows Mobile 5. I want to use a WebBrowser control to display some html text inside of the WebBrowser. To do so, I am setting the property DocumentText of the control to the desired text. When the application runs, the text is displayed, but then the control enters an infinite loop of document refreshes. This means that the control will refresh the text entered and the control cannot be used. When this code runs inside the Emulator for WM5, the application crashes. However, when the application is deployed to the device, the infinite loop efect happens, but the ap ...Show All
