HillBillyB's Q&A profile
.NET Development Async page and a class library
Hello. I have a class library that consumes a web service. It does some processing both and before after calling the web service method. One customer is requesting that I expose the async methods provided by the web service proxy so that they could take advantage of the new "Async=true" ASP.NET feature. However, I can't just expose them as they would then circumvent for the pre- and post-request processing that my class library has to do. My initial thought was to create my own async methods that would simply wrap the proxy's. Then, I thought about shielding the customer from all that and instead, calling the proxy's async methods myself in the single method that they'd call. That is, to them, my method still blocks. But i ...Show All
SQL Server MDX - VISUALTOTALS and PARALLELPERIOD
Hello, I have a seemingly simple MDX statement that VISUALTOTALS fails on. I want to calculate a 'Last Year' measure using PARALLELPERIOD. I can create the measure OK and display it ON COLUMNS okay too. The problem comes if I wrap VISUALTOTALS around it to form the "all" member - it always give me a null for last year + all. Sample MDX is shown below. In the result set the column headed "All" + "CCMS Last Year" is always NULL despite the fact that the individual last year members have values. The column headed "All" + "CCMS This Year" has the correct value in it! --------------------------------------- WITH MEMBER [measures].[CCMS This Year] AS ([Measures].[Column Cms]), NON_EMPTY_BEHAVIOR= ...Show All
Visual Basic How to print a document that should extend beyond 1 page
Here is my question, I would like to print a richtextbox onto multiple pages...now the situation is like this... I have a richtextbox and i already set it up so that you can print it, although by the time i would like to print it, there is too much text for 1 page alone, So i was wondering how i can print the richtextbox in portions...or...if theres a way for VB.NET to detect that Page1 is full, and to print a new page while continuing off from the last page. Any help would be appreciated. =) thanks I looked again and the 'CharactersFitted' part of the Graphics.MeasureString Method is discussed but not explained very well in this VB help: ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref8/html/M_ ...Show All
Visual C++ how to develop a win32 application with supporting multi language in vc++
hi, I have developed an application using win32 sdk in vc++. Now i want to support this application in other languages also. how can do for supporting in other languages also using win32 sdk in vc++ hi, i am not saying to support programming language. here language means, the application to run on french or german etc. like that. i have one application which is implement for english language, now i want to run this application on french language also. how i can do for this ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bounding Box Not Rotating Correctly
I have a bounding box around a rotating object which is positioned at the origin. The object is only rotating about the Z-axis and I'm wanting the bounding box to rotate with it. To achieve this I am translating the bounding box's coordinates by the same rotation matrix as I'm using to rotate the object but it's not working correctly. Instead of rotating the bounding box it just appears to shrink and stretch it. I have written a simple method which just draws lines between the bounding boxes coordinates to display the bounding box which is how I know that the bounding box isn't being rotated correctly. Interestingly enough, the bounding box is always drawn with vertical and horizontal lines, never diagonal lines. So it could be my drawing ...Show All
SharePoint Products and Technologies Creating users without adding them in the AD
Hello: Maybe this coul be a silly question but is it possible to create users accounts without using the Active Directory Regards. Yes that is the start. You can also just use local server accounts if you like. Or you can look into a 3rd party tool: http://software.sharepointsolutions.com/products/Pages/ExtranetCollaborationManagerforSharePoint2007.aspx ...Show All
Visual Basic saving file to sql server.
Hi, I couldn't update my data table. Everytime I debug my program, it's added into data table and show data successfully. When I exit my application, everything turned empty. Try Me .Validate() Me .CustomersBindingSource.EndEdit() Me .CustomersTableAdapter.Update( Me .NorthwindDataSet.Customers) MsgBox("Update successful") Catch ex As Exception MsgBox("Update failed") End Try Hi, Take a look at some of these threads.>> http://forums.microsoft.com/MSDN/Search/Search.aspx words=sql&localechoice=9&SiteID=1&searchscope=forumgroupscope&ForumGroupID=10 Regards, S_DS ...Show All
Windows Forms How to Set attribute(invisible) to ListBox Item
Hi friends i have a list box with items. i have to add some additional information to each item which should not be visible in the viewer. and after i have to transfer the listbox selected items from one window form to another window form including the additional information. i am able to transfer the listbox selected items but facing problems in adding attributes. any suggetions regards Ranadheer You can create a public property or function in the form to which this object has to be passed. Property way: put this to hold the object gotten: private ListBoxInformativeItem informativeItem public ListBoxInformativeItem InformativeItem { get { return this.info ...Show All
Visual Studio 2008 (Pre-release) .NET classes from EDM schema and entity relationships
Does the generation of .NET classes from EDM schema and entity relationships uses the actual relational database Also when you create EDM schema and entity sets and relationships, does the database really has to exist Moving the thread to ADO.NET CTP. To the first question - when you generate classes from EDM schema, the database is not accessed. To the second question - you can create EDM files manually in which case no database is accessed. But you may use a tool (EntityModelGeneration.exe ) that needs a database to generate all the files for you. ...Show All
Visual C# How to incremental build C# projects under .NET 2005?
Hello, I've noticed you removed the \INCREMENTAL build option in .NET 2005. I want to make an incremental build for my solution. My solution includes projects written in c#, some of the projects have references to other projects. When I make a little change in one project I don't want all my solution to be rebuilded again - only the necessary projects (This is the reason I have referenced the projects and not the dll files). 1. What should I do in order to build (automatically) just the relevant (non "up to date")projects. 2. I'm just curious - why does the incremental build has been removed from .NET 2005 Thanks in advance, Michal. When I right click on a pr ...Show All
Windows Forms DateTimePicker control
Hi, I try to insert date time pricker control value to Sql server data base, using CType Ctype (DH_ DateTimePicker .Value, DateTime) I received the next message: System.Data,SqlClient.SqlException: {"Incorrect syntax near '.2006'."} Can explain me the message Thanks!! Thanks ! I think that the problem is in the date format I 've used "dd.mm.yyyy". More details : Dim strCnn As String = My .Settings.EmsPrintConnectionString Dim cnSQL As SqlConnection Dim cmSQL As SqlCommand Dim strSQL As String strSQL = "INSERT INTO Employees (Name , HDate ) VALUES (" & _ PrepareStr(txtName.Text) & "," & _ ...Show All
Visual Studio Express Editions Advanced searching in vb.net
hi please help me i doing MCA final year could u post advanced search in vb.net database -ms sal server visual basic.net this software using In textbox 1 char type automatic display related that char name,database store all names Example one textbox one listbox i am typing textbox display student name in listbox i am typing 'b' char display 'b' char all student names in listbox iam typing 'ba' char automatic change 'ba' char start all names display in listbox i am typing change every char display related in student names in listbox advanced search using backend database please any help me thanks the logic is simple really. you need to fill a dataset with your data then filter it. Here is an example of filling a dataset with data: ...Show All
Internet Explorer Development Internet Explorer Toolbar (Menu Bar) disappeared after installing IE 7
I use yahoo as my homepage, when the "Get IE7 now!" appeared in the toolbar, I clicked on it and installed it. Big Mistake so far...Here's the problem, after installing my IE menu bar (toolbar) containing "File, Edit, View, tools, help" vanished and I can't figure out how to retrieve it or get it back. I have checked and it is not hidden behind another toolbar. Along with that, The IE blue bar at the top & small bars at the bottom contain no information of the URL (webpage) when pages are loaded. In the Yahoo toolbar, under the pencil icon- there is no standard toolbar listed anymore. Also my tabs disappeared from yahoo and under the toolbar options there no longer is a check box to "Enable Tabbed Browsin ...Show All
SQL Server Integration of RS with Sharepoint
Good Day , May I know if there is any sites which explains the integration of RS with SPS Regards Alu correct me if i am wrong ...report server is part of the RS package...and does it means that the service pack 2 can do without RS and generate reports directly from SPS Thanks. Regards Alu ...Show All
Software Development for Windows Vista Communication with the underlying transaction manager has failed
I want help in solving an issue related to MSDTC. I am developing a multiuser DB application with MS SQL Server 2005 and .Net 2005. Both my DB Server and client machine are having XP Prof. with SP2. I am using System.Transactions to maintain Distributed Transactions. I do not face any problems when I execute my code on the DB server itself. But when I try to execute the same code from any client machine, the following error is fired : "Communication with the underlying transaction manager has failed." I am really stuck because of this issue. Its a blocker for me. I have also made the following configuration on my system : 1.MSDTC on both Server and Client : a.Network DTC Access - Checked b.Allow Remote clients - che ...Show All
