ackermsb's Q&A profile
.NET Development Wich is faster? In relation to how I build my business objects
I kow for a solid comparison between using datareaders and datasets I will have to perform that myself. But for now I will be utilizing datasets... What I am doing is currently utilizing assemblies to create my datasets ahead of time. I will eventually compile them as dlls. I'm just utilizing assemblies during my building/testing fase. My questions is: Is it faster to completely build the datasets and all needed connections inside the assemblies/dlls and fill them Or to build the datasets and connections as a sub procedure that can be accessed and then fill them as each required set of data is needed I ask because I will be having many different data connections and so I'm not sure if it's faster to explicitly build/fill almos ...Show All
Windows Forms TextBox controls in Components
My buttons show in my component when i add it to my windows form but my textbox controls when i add them to the visual designer and i go to my windows form i see the button controls but i do not see the textbox's any reason why that is Tryin2Bgood wrote: No i need to have more control on how the form looks so i am using the Component class...instead of a user control Inherit your class from Control it'll fullfill all your requirements! Best Regards, ...Show All
Commerce Server Can't open the profile Definition in the Commerce Server Manager
Hi, If I expand in the Comerce Server Manager "global Resources-> Profiles->Profile definition" and Click then for example on "User Objects" I see the message "Editor will be loaded" but nothing happens. have anybody an idea, what can I do Thanks Dominik Hi Dominik, Check the blog post Joe pointed out. If that doesn't resolve it use Fiddler to get an HTTP trace from the client side. The other common cause is that the Widgets folder isn't accessible on the server. Cheers, Colin ...Show All
SQL Server SSIS is truncating data being migrated from mainframe
I have data on the mainframe that contains special characters such as a copyright symbol (letter c with a circle) when running the SSIS package migration from mainframe database to SQL Server 2005 database the data in the column is truncated at the point it hits this symbol with no errors. I had error reports set up for truncation and did not see an error report for this. I have tried to change the data type to different data types and re-run nothing changes things. The symbol is a EBCDIC 'b4' on the mainframe side - I have no idea what that would translate to. Anyone have any ideas Am I stuck with substituting something else for the symbol on the mainframe side and re-running the package Is there anyway to handle this situatio ...Show All
SQL Server How create named set across dimensions...
If I want to create a named set for a set of "accounts" that limits the accounts to a subset based on two other dimensions, how do I do it I tried... CREATE SET [Accounts Created in Last 30 Days from NorthEast] AS { ([Accounts].[Account].Members, [Sales Region].&[NorthEast], [Date Account Created].[Is Last 30 Days].&[True] ) And it returned the right set of subset of accounts, but I ran into two problems: 1) in addition to the account column showing up in query results, it returned the [Sales Region] and [Date Account Created] columns, which in retrospect makes sense because the "dimensionality" of the set includes all three dimensions. and because of this, 2) when I try to use the set in Excel ...Show All
Internet Explorer Development How to clear cache of browser
Hello we are useing visual stdio 2005 and vb.net to develop website , we need a page name index.aspx when it will call the enter catch memory of the browser to be clear. we using the following code <script language="Javascript"> { window.history.forward(1); } </script> but it get proper relsult when user refresh the page by refresh button button. can any one give the solution for this ...Show All
Visual Studio 2008 (Pre-release) Unable to use MatrixTransform operator to rotate images
Hi, I get XPSviewer error when I try to use matrixtransform to rotate an image in XPS document. I can rotate graphics but not images. Here is the sniped of XML code. Any suggestions how I can use MatrixTransform operator <FixedPage Width="794.24" Height="1123.2" xmlns="http://schemas.microsoft.com/xps/2005/06" xml:lang="en-US"> <Path Data="M 0,0 L 794.24,0 794.24,1123.2 0,1123.2 z"> <Path.Fill> <MatrixTransform Matrix="0,1,-1,0,0,0"/> <ImageBrush ImageSource="/Images/pg1Layer0.jpg" Viewbox="0,0,1241,1755" TileMode="None" ViewboxUnits="Absolute" ViewportUnits="Absolute" ...Show All
SQL Server Need help with a sp
Hello, I am writing a stored procedure that is supposed to get info out of a table. E.g TABLE FRUITS Id Value1 Value2 1 Apple Banana 1 Apple null 1 grape null 2 Plum Melon 2 Plum null 3 berry null As you see there are six items with three ids but different info. If I select * From fruits WHere id =1 I get three rows. 1 Apple Banana 1 Apple null 1 grape null But In this case I just want to return two rows, namely: 1 Apple Banana 1 grape null Thankful for any suggestions, preferably in codeexamples. Best Regards, L Hi, The q ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Saving Files
My game is now ready for 360 Super Stardom.. but i need to save high scores to make the replay value higher. Please could someone point me in the right direction of saving files and high scores I'm glad I searched before posting... One more question though, how do we save in regards to the logged in profile For example, Marble Blast Ultra saves the user's best times without asking for a name or anything. Is there a way for us to determine the current user so that we are able to do this as well or is that something likely coming along with the Live support ...Show All
Visual C++ IsWindow(m_hWnd) asserstion fails when doing Create(hWnd)
Hi, My application has a dialog which works fine as long as code containing hWnd = ::GetActiveWindow(), Create(hWnd) belongs to the same project that initiates the dialog. However, I'm trying to seperate the diaglog from the big project because several other projects reuse the code, and it fails with assertion error. (I created the seperate project as library that will be linked from the original project) GetLastError() shows 1813 which says "The specified resource type cannot be found in the image file." I am positive all resource related informations are intact.(rc and resource.h files) The dialog class also uses ATL and I made both projects ATL application projects and specified 'ATL static link' Thanks for help in advance. ...Show All
Software Development for Windows Vista DVD Title on REV Disc
Hello, I wanted to know if it is possible to create a DVD title, as per the DVD Video Standard, on the REV Hard Disk Or for that matter any ATAPI Hard Disk What are issues for the same. Thanks, a You can get the IMAPI documentation as part of the MSDN library at http://msdn.microsoft.com/library/default.asp url=/library/en-us/imapi/imapi/portal.asp IMAPI does not support HD DVD and BD-R at this time. OSTA's UDF specification recommends UDF 2.50 for HD DVD and BD, with the exception of BD-R POW for which it recommends UDF 2.60. Type 5 devices refers to MMC indeed, but not particularly to the revision 5 of this standard. Type 5 is defined as part of SPC, Scsi Primary Commands - see www.t10 ...Show All
Windows Forms How can I get the event when a Form is loaded and shown on the screen?
I have a form that takes a long time to load due to some data that is being loaded on the OnLoad event. This makes the application unresponsive when the form is being opened. So what I want to do is to display a panel on top of the form that shows "LOADING..." until the form is finished loadong. The problem is that I want to start the time consuming function only after the form has been loaded and shown on the screen but I have no event for that.. Ways to solve the problem: 1. Call a BackgroundWorker thread for the time consuming function. The problem is that if the time consuming function is updating the GUI then i need to create a delegate for every change that it wants to perform on the GUI and it might also make the GUI lo ...Show All
.NET Development Remoting timeout issues
Are there any known workarounds for the really annoying lengthy remoting timeouts on down servers This is particularly a problem when using .Net remoting and the server isn't available, it can take up to 2-3 minutes for the line of code to timeout when accessing a remote object. I have tried implementing a Ping class before I access the object, but sometimes this just doesn't work if the server is in the process of shutting down... Obviously having an application hang for that long is unacceptable.. I am threading everything however my application will not cleanly close if the thread is hung waiting for a socket timeout. A sample for you.. We "solved" this proble like this: The remoting server has a Method called Ping ...Show All
Visual Studio Team System Problem checking out binaries
I am trying to write a custom task to check out my binaries and then check them back in. I am having trouble with the "itemspec" part of the command line. I will be building this on the build machine and there is no workspace on there. So I was wondering if I am to use the workspace where the files are downloaded to (BuildDirectoryPath) Any ideas If you're going to try this in a custom task, I would suggest using the version control object model, rather than calling out to the command-line. You can find a quick walkthrough here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/Extensibility_Guided_Tour/The%20Version%20Control%20Object%20Model.asp . -Aaron ...Show All
Windows Forms Datagridview
Hi all, If i enter a value in a datagridview cell, datagridview automatically generate a new row following the editable row. I dont want the newly generated row automatically instead as i intend.Help me please to resolve this problem ...Show All
