Software Development Network Logo
  • Game Technologies
  • Visual Basic
  • Visual C#
  • Windows Vista
  • Microsoft ISV
  • VS Team System
  • SQL Server
  • Smart Devicet
  • .NET Development
  • Audio and Video
  • Visual FoxPro
  • IE Development
  • Visual C++
  • SharePoint Products
  • Visual Studio

Software Development Network >> amazingsunday's Q&A profile

amazingsunday

Member List

nyc9
Jassim Rahma
Gomez9999
Somesh Chandra
Glen Satuito
parm12
Kandisa
François Paradis
Cale Hoopes
MSDevUser
Chimme
Guruprasad Hathwar
daijun
Tan Chin Yong
Aabra
MMS2006
Anatoly Rozhyn
Jamie Thomson
GeneralSQL
Serapth
Only Title

amazingsunday's Q&A profile

  • Smart Device Development Load Image from stream?

    .NET CF 2.0 Trying to load an image into a picturebox from a memorystream - is this possible when I try to do it I get a notsupportedexception theImageStream.Position = 0; this .thePictureBox.Image = new Bitmap(theImageStream); ahmedilyas wrote: but still, shouldnt it throw a cross threading exception or does the .NET CF now have this exception I remember seeing one a while back I think... Correct, but IIRC the exception is thrown by the code in the property setter. I suppose that not every setter has the thread check. Could be a bug ahmedilyas wrote: so, when are you free for some coffee it's on you. Sure, next time I am flying across the pond <g> ...Show All

  • SQL Server exporting more tha 65k rows to excel

    hi all, I wanted to know how to export a report that returns more than 65,000 rows of data to MS Excel, it will fail because excel has a limit of 65K records per excel sheet. What i want to know if there is some way to use multiple sheets (in the same excel file) to show more than 65K records Eg we have 105K rows of data ...can we export 65K records in the first sheet, and the remaining 40K in the second sheet (of the same excel file) Appreciate the Help, Siddharth Hello Siddharth, Using a Table, you can force an explicit page break after a certain number of rows. Because the Excel renderer creates a new worksheet for every explicit page break, you can use this technique to make sure ...Show All

  • Visual Studio Express Editions Sharing variables between forms

    What is the best way to share a varaible between two different forms. One form will get the variable and the other form will use that variable. Also some code examples would be nice. You could also try (in your working form - in this case called Form1): Calling Form2: Dim myNewForm2 As New Form2 myNewForm2.ShowDialog() Accessing variables in Form2 from Form1: variableForm1 = newForm2.variableForm2 Variables can be shared from child forms, in this case Form2, to parent Forms but not in the opposite direction. ...Show All

  • Architecture Custom Business Object creation and usage (with iBatis posssible)?

    Hi, I am new to iBatis.Net (and n-tier architecture in general) but would like to try, pls correct me if my understanding is wrong. Just wonder: 1. Since iBatis is an sql mapper, is it I still have to write the business objects myself If I have 50 tables in my app (assume each BO mapped to each table) and each table has about 70 fields, then I have to write all the classes and properties myself 2. How the business object classes should be look like If let say the business objects is used throughout my application, how to have things like deleted/original value, sorting, field max length, etc.. How will it work when bound to a datagrid Thanks. 1. yes 2. This is a rather wide subject, t ...Show All

  • Visual Studio 2008 (Pre-release) XamlParseException Error

    I have xaml in Expression that has a button on it from a custom control library. When I test it, it works fine. I have now exported the xaml into a file and am now dynamically loading it at runtime with another EXE. Upon load I get the error... " The tag 'SearchButton' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line '23' Position '6'. " Both projects reference the custom library and the dll resides where the EXEs get compiled. Any ideas This is the xaml file that I am loading. (Scene1.xaml) <Grid xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:mc=" http:// ...Show All

  • Visual Basic Problem setting up a remote configuration when "Make Single Instance Application" is enabled

    I have a client program that connects to a Window Service using the following code in the constructor of the main form of my client program: RemotingConfiguration.Configure("C:\EmaiFiles.config", False ) This work fine if "Make Single Instance Application" is not checked. If I check this option, I get the following exception when the program attempts to execute this line: System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Remoting configuration failed with the exception 'System.Runtime.Remoting.RemotingException: The channel 'tcp' is already registered.\r\n at System.Runtime.Remoting.Channels.ChannelSe ...Show All

  • SQL Server Bidirectional replication

    Hello, is it possible to implement bidirectional replication with queued updating subscriptions in SQL Server 2000 I am currently testing bidirectional replication on two servers and it works well so far. My concern is how to I update the subscriber or publisher once both servers become disconnected How to I resync thank you for your help, Lars Bidirectinal replication does not support queued updating. But because both servers in bidirectional replication are publishers, if the two servers are disconnected, replication agents will just retry until it can connect to another server. Keep in mind that bidirectional replication does not support conflict detection/handling. Peng ...Show All

  • Visual Studio Team System check in comments - forcing typing

    Dear All How can i force the user to type comments when he performs check in to his code Thnks alot Ron Ron, You need to look into a "Custom Checkin Policy" to force this behaviour. See Jeff Atwood's excellent post for more details:- http://blogs.vertigosoftware.com/teamsystem/archive/2006/08/22/3417.aspx Good luck, Martin. ...Show All

  • SQL Server YTD, MTD etc for Current Point In Time

    I've set up time intelligence on my cube.  This works fine.  I can get to: YTD YTD Prior Year YTD Index Jun 2006 Qtr 502962 467145 107.6672125 Sep 2006 Qtr 733396 916144 80.05248083 Dec 2006 Qtr 733396 1440868 50.89959663 Mar 2007 Qtr 733396 1850595 39.63028107 with the following MDX. SELECT { [Time Calculations].[YTD], [Time Calculations].[YTD Prior Year], [Time Calculations].[YTD Index] } ON COLUMNS , { [Time].[Fiscal Hierarchy].[Fiscal Year].&[2007].CHILDREN } ON ROWS FROM [mycube] WHERE ( [Measures].[Order Quantity] ) This works fine if I have time series on rows and time calculations as colum ...Show All

  • Visual C# The system cannot find the file specified

    I have this problem: Could not load file or assembly 'Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. HELP! Thank's! Hi the thing is that you are referencing an assembly, and loading a different one.. the thing i mostly do is copy the assembly you want to reference in a folder under your project and add the reference to the copy. are you loading the assembly from the GAC ...Show All

  • Visual Basic SetWindowsHookEx Always returns Zero

    I am using VS 2005 8.0 I do not know why the following code is always returning zero for the SetWindowsHookEx. I have unchecked the "Enable the visual studio hosting process" in the projects debug properties but it always passes the If _mouseHook.Equals(0) condition and the Hook is not initiated. Can anyone tell me why Below is all the code on the form. Thanks. Imports System.Runtime.InteropServices Public Class Form1 Inherits System.Windows.Forms.Form Private _mouseHook As Int32 = 0 Private _mouseHookProc As CallBack Private _appThreadID As Int32 Private Const WH_MOUSE As Int32 = 7 Private Delegate Function CallBack( ByVal nCode As Int32, ByVal wParam As ...Show All

  • SQL Server Equivalent Stored Procedure for Wildcard search.

    Hi, I need to convert the following MDX functionality into a Stored Procedure in MSAS 2005: SELECT { FILTER([Store Type].AllMembers, InStr([Store Type].CurrentMember.Name ,"*", 0) > 0) } ON AXIS(0) FROM [Sales] Is it possible to use the stored procedure "Like" implemented under the Analysis Services Stored Procedure Project ( www.codeplex.com ) If yes, what would be the equivalent MDX query for implementing the same functionality Thanks and Regards, Santosh. Hi Santosh, Sorry for the delay - I have just returned from some extended leave. The example I gave in may post was meant to be equivalent to the first Filter(Inst()) example that you posted FILTER([Store Type].AllMembers, InStr([ ...Show All

  • SQL Server Report Builder FQDN Issue

    Ok this one has me stuffed. SQL 2005 Server with all the fun stuff aswell. HOWEVER, when attempting to run the report builder it fails when using a FQDN. (Full Qualified Domain Name) http:\\servername\reports - No Issues http:\\ipaddress\reports - No Issues http:\\servername.domain.com.au\reports - Can Access, reports run fine but fails to run the report builder. The error deatails are as follows: ERROR DETAILS Following errors were detected during this operation. * [3/08/2006 11:21:37 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype) - Downloading http://SQLSVR.nat.company.com.au/ReportServer/ReportBuilder/ReportBuilder.application did not succeed. - Source: System.Deployment - St ...Show All

  • Smart Device Development steps to setting up a mobile pc for scanning inventory

    what are the necessary steps to setting up a mobile pc to use for scanning merchandise I am complete novice, and have only downloaded Active sync but am unsure as to the next steps in creating what I need to perform scanning tasks this is probably the wrong forum for this post - you might want to post to microsoft.public.pocketpc.developer for a more appropriate response. having done this many times, I will tell you that there are two general approaches to scanning on Windows Mobile device with integrated scanners. One is called 'keyboard wedge' which simply means that if your mobile application has a field into which the decoded barcode must be placed, keyboard wedge takes the scan result and sends it ...Show All

  • Visual Studio Express Editions Combining numbers

    Hi everyone, I am struggling to implement a combining numbers game with recursion. The game is about : you enter some numbers, and then a value, then the program tries to determine that wherher with these numbers, this value can be obtained or not. But when I compile the program, I got peculiar errors as the following: Would you please help me in correcting the errors ------ Build started: Project: hw2, Configuration: Debug Win32 ------ Compiling... SymmetricMatrix.cpp c:\documents and settings\mert\belgelerim\visual studio 2005\projects\hw2\hw2\symmetricmatrix.cpp(440) : error C2228: left of '.length' must have class/struct/union type is 'int []' c:\documents and settings\mert\belgelerim\visual studio 2005\projects\hw2\hw2\symmetr ...Show All

©2008 Software Development Network