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

Software Development Network >> Ben Wang's Q&A profile

Ben Wang

Member List

Advectus
Luke Breuer
prk
jctbmw
Richard Wilson
Alvin Kuiper
zproxy
clint 2
robo2x
Ridi Ferdiana
bighammer811
Qdshi
Rodolfo Navarro
robinjam
logtorahul
TheSniipe
StevenR2
imj
DotanP
lawhornk
Only Title

Ben Wang's Q&A profile

  • Gadgets DOM and select object

    hi everybody, I have a lot of difficulties with the select option, to write all the option features in the drop-down list. In standart html, it works well : http://albidochon.free.fr/jeu3/test.html but can't resolve the dom code in js, it shows the select drop-down list, but it is empty. i found a lot of code to do this, but not in the dom way, and nothing in the msdn documentation. the problem seems to be in the js function : function tri(){ for (i=0; i< jeu(0).options.length; i++) fill and write the options fields......i miss this } I don't want to do iframe gadget or js innerhtml, so, so.... The js and css files are here http://albidochon.free.fr/jeu3/gadget.xml thank you for the he ...Show All

  • Visual Studio Express Editions Express edition vs. "the real thing"

    Hi folks, I am currently working on a program that I intend to use at our company. Since VBE is free, I thought I start with that to see if I can manage to get the job done. Now it appears that it might work, so I think about purchasing the VB Studio 2005 package (VS). I bought Evangelos Petroutsos book "Visual Basic 2005" (recommended!), and from what I can see everything applies to both the VB part of VS, and to the VBE edition. I have a few questions however, just to make sure: - can any solution written in |the Express edition be imported / opened in VS or does it need to be re-written - will an application compiled in VS run faster (more optimized code) - is there anything else different that I should know Greetings, Th ...Show All

  • Visual Basic Query about invoking an application when an Event going to Occur

    Hai all, I need to invoke an application (developed by us - it may be anything) when we click Shutdown option or when the system one for getting going to Shutdown.Is there any provision for this thing . Thanks I believe you are asking how you can run an application when windows is shutting down If that is the case I think you can use the SystemEvents which is located in the Microsoft.Win32 Namespace. You can find more information about these events at http://msdn2.microsoft.com/en-us/library/z1bwe429.aspx You should learn about SessionEnded and SessionEnding . Try adding an event handler to a windows service that runs at startup. When you system start t ...Show All

  • Visual C# finding documents and settings directory.

    Is there a way in .net 2.0 to find the drive letter and path of the documents and settings/allusers/application data/ string path = Environment.GetFolderPath (Environment.SpecialFolder.CommonApplicationData); (It's line-wrapping in an odd spot, but it's just a method call, passing an enum.) ...Show All

  • Software Development for Windows Vista explorer crashes during thumbnail creation of files

    hi I am writing a directshow filter for H.264 decoder using the CTransformFilter base class. The filter works well when you play H.264 encoded Avi files in MediaPlayer and graphedit. But when I click the Avi file and the explorer tries to create the thumbnail it crashes. I dont have a clue why this is happening. help me ...Show All

  • SQL Server reference member in user hierarchy

    hi, I have a user hierarchy in my Date Dimension such as [Calendar]->[Years]->[Quarters] And I can access the member by directly call the memeber name, for example: select [Date].[Calendar].[Years].[2006].[Q2] on columns, ................................... The results will be correct. However, if I use reference to call the member, for example: select [Date].[Calendar].[Years].[2006].&[2] on columns, ................................... There will be nothing in my results. Would you please tell me what shall I do to enable the reference call to my hierarchy member Thanks. Hello again Jeremy. If you scroll out to the right, in the dimension usage tab of the cube ...Show All

  • Visual Basic VBA call to VB 2005 DLL (COM) fails

    Hi, I have to call a DLL (COM in VS 2005 lingo) from inside Excel 2000 (VBA code). When I compile the DLL on .NET Framework 1 it works fine. However, when I compile the DLL in .NET 2 I run into a "File or assembly name <dll name> or one of its dependencies was not found" Please help if you can. Thanks much DeborahK, Thanks for the quick reply. I actually found the answer on another thread which I have pasted below by "Tarp". I had the same issue when moving from VS 2003 to VS 2005. You could use your fix, or the MS fix mentioned in the kb article 908002 will fix all your previous and future DLLs. http://download.microsoft.com/download/b/6/7/b6711d3b-b509-4567-8599-98bf3473310f/vs2005-kb908002- ...Show All

  • Visual Studio Tools for Office Deploying Shared AddIns created in C#.NET which uses web services

    Hi, I have created a shared AddIns for Excel using .NET . My AddIn uses a web service to perform certain operation. Now i want to deploy the application, for that i have used the AddIn set up which is created when project is created. Now when i am using the .msi file to set up the application in another system it is not working as it is failing to call the web service. Can anyone please tell me how to create a set up file for such addIns which uses a web service , so that i can deploy it to any other machine. Thanks . Debarati I'm sorry, but this group is specific for VSTO technology and does not cover shared addins. The better place to address this question would be http://msdn.microsoft.com/newsgroups/default ...Show All

  • Visual Studio Tools for Office Error with Excel 12 Workbook

    Hi all, I am currently developing an excel application using VS 2005 & VSTO v3. I have Office 12 loaded in my PC. I started by creating a new Excel based solution by selecting Excel 12 workbook. Without adding any codes, when I compile the solution, I get an error message which is as follows: Compile complete -- 0 errors, 0 warnings ExcelWorkbook1 -> C:\Projects\ExcelWorkbook1\ExcelWorkbook1\bin\Debug\ExcelWorkbook1.dll C:\Program Files\MSBuild\Microsoft.VisualStudio.OfficeTools.targets(96,9): error : An error occurred while attempting to persist the data. The message returned is: Could not load file or assembly 'WindowsBase, Version=3.0.51116.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. ...Show All

  • SQL Server Multiple Updatable Publication on the same table!!

    Hi, I have created a publication for sql server 2005 Mobile Edition subscriber, I need to add another Publication/merge replication on the same tables, Scenario: -Server A and mobile devices (publication for sql server 2005 Mobile Edition subscriber) -The same Server A send data "1 way direction" to Server B by merge replication publication. NB: My Tables are updatble in both publications. Any idea Thanks, Tarek Ghazali SQL Server MVP ...Show All

  • SQL Server How to store file attachments (text and binary).

    I need to store several different types of documents (text, MS Word, PDF, etc.) in SQL Server 2005. What is the best way to store file attachments that have different MIME types Currently I'm using a table with a varbinary(max) column which works for binary files but not for text files. Do I need to have multiple columns in the table for different file types Thanks in advance for your help. CREATE TABLE dbo.[CM_Attachment] ( [Id] int IDENTITY (1, 1) NOT NULL , [Change_Request_Id] int NOT NULL , [Attachment] varbinary(max) not null, [Created_Date] datetime NOT NULL DEFAULT GetDate() , [Created_By] varchar(30) NOT NULL , [Modified_Date] datetime NOT NULL , [Modified_By] varchar(30) NOT NULL ) GO INSERT INTO CM_Attachment(Change_Req ...Show All

  • Architecture SOA - Availability vs. consistency

    Hello, I had an architectural question: Could someone please explain the tradeoff between Availability and consistency in SOA Thanks Houman Houman, with respect of trade-offs and considerations, I'd suggest you the following resources Principles of Service Design: Service Patterns and Anti-Patterns (article) http://msdn.microsoft.com/architecture/default.aspx pull=/library/en-us/dnbda/html/soadesign.asp Service Orientation in Enterprise Computing (article) http://msdn.microsoft.com/architecture/default.aspx pull=/library/en-us/dnbda/html/soa_vb-1.asp MSDN Architecture Webcast: Connecting Your Business with Service Orientation (webcast) http://msevents.microsoft.com/cui/w ...Show All

  • SQL Server Dimension writeback: does it update the datasource as well or only the cube?

    Dimension writeback: does it update the datasource as well or only the cube I cannot change the underlying data but want to fix the data in a dimension, so I enabled writeback.. only I get errors as the writeback tries to update the underlying data source. (the user has readonly writes by design). Hello. I am not sure about what version of Analysis Services you are talking about, but the answere is yes. The members you create with dimension writeback are written in your source dimension table. HTH Thomas Ivarsson ...Show All

  • Visual Studio Team System TFS cannot connect to Sharepoint

    Hi all, After lots of problems, I managed to install TFS. I am now trying to create a new test project Adventure from Visual Studio 2005 and the following error is raised Error Unable to connect to the Windows SharePoint Services at servername and I cannot determine the reason for it. The exception being thrown is highlighted below. Any help will be greatly appreciated. QZ 2007-02-26 11:20:13Z | Module: SccTask | Thread: 8 | Changing project setting ExclusiveCheckout to "False" 2007-02-26 11:20:13Z | Module: SccTask | Thread: 8 | User chose to create new empty folder $/Adventure 2007-02-26 11:20:15Z | Module: Engine | Task "VersionControlTask" from Group "VersionControl" completed ...Show All

  • .NET Development Question about BinaryReader?

    when I call a function, say ReadSingle(), will BinaryReader read just 4 bytes from the file or it will read a large chunk of data from the file at a time and cache it and only return what I am asking I am trying to read/write a large file (50-->100MB) from/to a network drive. I am trying to find an optimal way to do it. Any suggestions would be appreciated. Thanks, hdp. I'm sure it does, at a minimum the network driver would need a buffer to store the packets. ...Show All

©2008 Software Development Network