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

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

AlexBB

Member List

Simmy7
Jeanne P
v_praveen
wirwin
Dougal
GBNeil
Andreas Asterlund
vTyphoon
rxg
yln
yogb
patria
Darril
jus
airwalker2000
Anthony Christianson
SandeepLohani
Dylan Smith
TCK
Karthikeyan
Only Title

AlexBB's Q&A profile

  • Visual Studio 2008 (Pre-release) Why 3D animate in fullscreen transparent window slowly?

    Hi, all,   I am a new comer of WPF. I built a simple 3D animate in a fullscreen window, which was implemented through setting WindowStyle, it looks like this:   <Window x:Class="WindowsApp.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     WindowState="Maximized"     Topmost="True"          WindowStyle="None"     >     <Grid>       <!--The following codes are set up 3D animate -->        & ...Show All

  • Visual Studio 2008 (Pre-release) Creating WCF clients from Type objects

    I was wondering if there is a way to create a WCF client by passing a Type object of the interface representing the service contract. For example: [ServiceContract] public interface IFoo { [OperationContract] void SomeOperation(); } class Program { static void Main() { IFoo proxy = new ChannelFactory(typeof(IFoo)).CreateChannel(); } } I know that ChannelFactory does not have a method CreateChannel() but I was wondering if there was a way to do the same thing. Thanks, Wells Wells,   You are right, there is no constructor for dynamically creating a ChannelFactory based on the type. I had the same problem for my Workflow Adapter/Connector Pair  solution where the client proxy w ...Show All

  • SQL Server Cannot display database properties windows in Sql server management studio.

    I use sql server 2005 developer edition with service pack 1. When i right click on a database and i select properties an error occured with the folowing stack trace =================================== Cannot show requested dialog. =================================== Cannot show requested dialog. (SqlMgmt) ------------------------------ Program Location: at Microsoft.SqlServer.Management.SqlMgmt.DefaultLaunchFormHostedControlAllocator.AllocateDialog(XmlDocument initializationXml, IServiceProvider dialogServiceProvider, CDataContainer dc) at Microsoft.SqlServer.Management.SqlMgmt.DefaultLaunchFormHostedControlAllocator.Microsoft.SqlServer.Management.SqlMgmt.ILaunchFormHostedControlAllocator.CreateDialog(XmlDocument ini ...Show All

  • Visual Studio 2008 (Pre-release) ADO.NET vNext Entity Designer Problem

    This is quite possibly a stupid question, but because I'm not used to creating an EDM in this manner... I created a new EDM called MyModel, generated it from the database, everything compiles... Here's what I can't figure out - I don't actually have a generated class called MyModel in my app, so does anyone have a quick syntax snippet of how to run a LINQ to Entities query off the designer-modelled EDM called MyModel Thanks! Hi! Kevin, The VS toolbox should show you icons for EntityContainer, EntityType, Association and Inheritance when the EDM designer window is active. i.e. after you double-click a ".edm" file in Solution Explorer to open it up. Since the VS toolbox is context sensitive, is it possible that your toolb ...Show All

  • Windows Live Developer Forums local.live.com Interface

    Does anyone know of any resources to build an interface within VE similar to the local.live.com interface The site has a full screen VE control with menu panels that collapse / expand, icons linked to menu panes, links to routes etc. I really like the it and can see the logical step with custom VE applications is to move to this style of interface. Is the interface code for local.live.com available John. Hmm, no, i dont read books, only Donald Duck comics on the toilet ;) But i recommend you start writing your function, and ask when problems arise. I think with the text i posted it shouldnt be so hard to do it. ...Show All

  • SQL Server transaction log size growing very large

    hi all, my tlogs at the subscriber are growing very large irregardless of my recovery mode. any help using snapshot-push replication thanks, joey SQL 2000 I disagree. I have the same issue on all of my 10 ten subscribers. I run a "backup log [dbname] with truncate_only" every 12 hours to keep the log manageable. ...Show All

  • .NET Development Interop layer throws System Exception (cast) when accessing unmanaged COM code

    I would appreciate help/comments on the following... I am trying to access a COM component written in Fujitsu NetCOBOL from C#. I have spent many hours (days...) reading the docs, trying various combinations, and looking at the samples but my attempts are failing miserably. The COM .dll is called "AVSCOMSVR" and the embedded TypeLib has been picked up and converted to an Interop Assembly by VS 2005. Here's a picture of the generated interfaces and Classes: http://homepages.ihug.co.nz/~dashwood/dashwood/AVSProject2.jpg I find this a little puzzling... VS2005 seems to have duplicated the interfaces, some above the Class entry and some subordinate to it, but that may be OK and just reflect my limited understandin ...Show All

  • .NET Development DateTime Issue of Two Timezone!

    Frist, I will introduce my trouble. I deploy the WS in one Timezone, and UI in another Timezone. UI gets the datetime info by WS, but UI can't get the right Time that equals to database. For example the WS Timezone is UTC+1, and UI Timezone is UTC+6, the Time received by UI is always add 5 hours. Is anyone can help me out Thanks! Thanks, Can I add some configsettings in WS to stop the automatic DateTime Change, and how to ...Show All

  • SQL Server Validating a "date" masked as a string.

    I'm trying to import a text file with a column that is actually a date value, like this "19550218" (yyyymmdd). What is the best way to test if the string-date values in this column represent valid sql dates Should I use SSIS to copy that value into an actual sql date field and see if an error is generated I have tried using the VB.NET "System.Datetime.ParseExact" function in a Script task but found ParseExact less than reliable. TIA, Barkingdog P.S. In fact, thought not speedy, I think that SSIS should come with a number of datatype validation routines "out of the box". Importing clean data is relatvely easy. It's handling the exceptional cases, like above, that really burn up my tim ...Show All

  • Commerce Server Guidance on number of catalogs and number of products

    Hi All, In the CS docs there is the following page Performance Considerations in the Catalog System. In this page it says (underlining added by me)... Number of Catalogs The relationship between the number of catalogs and performance is very complex. However, a basic guideline is that fewer catalogs are bette r, depending on hardware and your specific scenarios. This guideline is valid up to around 500,000 products per catalog . Beyond that, more advanced configurations may be needed, based on your performance requirements. Now, in the Starter Site Performance guide the catalog config was... 15 catalogs with 1,000,000 products each 6 virtual catalogs with 700,000 products each This has me a little confused as I would ...Show All

  • SQL Server Why SQL Server 2005 database mirror Can't failover?

    Hello All, I've tried to replicated exactly what it says in the online documentation. At the end of the post are the SQL statements issued. 1. Enable encrypted outbound connections on the primary server 2. Enable encrypted outbound connections on the mirror server 3. Enable encrypted outbound connections on the witness server 4. Enable encrypted inbound connections on the primary server 5. Enable encrypted inbound connections on the mirror server 6. Enable encrypted inbound connections on the witness server 7. Set mirror''s partner to the primary 8. Set primary''s partner the mirror 9. Set principal’s witness. Every step run''s normally,but why can''t auto failover. I use ...Show All

  • Visual Studio Express Editions Problem with building tutorial

    I installed DirectX 9.0 SDK(June 2006).I opened Saple DirectX Browser and installed Tutorial00 in my projects folder.I opened the project with Visual C++ 2005 Express and tried to build the project.The compiler started to build it but it suddenly stopped with showing 0 errors,0 warnings...And the compiler doesn't want to continue building...I get this problem every tim I try to build tutorial...Please help me! That's very strange... I build my DX9 projects using "Visual C++ -> Win32 -> Win32 Project"... Perhaps your Visual Studio 2005 installation is broken. Try to reinstall it. ...Show All

  • Windows Forms adding date columns and time rows to a datagridview

    Is it possible to set up a datagridview thats connected to an access database, to have columns and rows like this monday tuesday wednesday 7:00 (data) (data) (data) 8:00 (data) (data) (data) 9:00 (data) (data) (data) what I'm trying to do is write this little app that schedules classrooms and I need to display chronologically the dates and times on the grid. All I have in the DB is the start date, end date, and what days of the week the classes are.and i have interval time also Please tell me the logic follow is my try, works, but not very smart we can store all data form Access into a arraylist of class using System; using System.Collections.Generic; using System.Compon ...Show All

  • Audio and Video Development DXVA convertion

    Hi, I have a mpeg2 video stream (m2v file extension) and I want to convert it into DXVA standard format in order to feed the IDCT and MCP block. I am totally new to DXVA. - Where can I get access to DXVA by just download DirectX SDK edition - Moreover, I wonder how to do the conversion from a bit stream to DXVA standard format, can anyone help me Thanks, Brian Here is what one of our DXVA experts had to say about this: The best way to start writing a DXVA2 decoder is to study the DXVA1 decoder documentation first. The data written to the DXVA compressed buffers is identical between DXVA1 and DXVA2. The DXVA1 documentation can be found here http://msdn.microsoft.com/library/default.asp url=/l ...Show All

  • Smart Device Development Using GIF's on a Form, do I need to dispose() them?

    Hi all, I am using GIF's on a Form that sit in the PictureBox Controls. Do I need to Dispose of these when the Form is closed, or will the CLR take care of this for me Thanks Hi Jeff, and thanks for the reply. After having looked at the link you provided, it states that the resources for Forms opened through ShowDialog() do not get released until you manually manually call Dispose(). and (2) you have displayed the form using ShowDialog . In these cases, you will need to call Dispose manually to mark all of the form's controls for garbage collection. ...but I open the forms via a using statement. This means that I don't need to call the Dispose() method of the Form, rignt Thanks ...Show All

©2008 Software Development Network