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

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

Avangard

Member List

PedroSimao
TJC2
Heng-yi Liu
Suresh S
Chrisdsax
xS24i
crazy_boss
LKeene
DoctorWho
Sujithf
Zulbaric
Gurjit Singh
robinjam
Rups11
Mirza Ashraf
chrisc12345
Deepa7476
Shlizar Axis
Damian Tran
MrSkoby
Only Title

Avangard's Q&A profile

  • Visual Studio 2008 (Pre-release) ChannelFactory and abstract

    Hi , I create a abstract class named as Test and add [ServiceContract] property to it, but in client I call ChannelFactory<Test> to generate proxy object, it will throw exception: ChannelFactory must use interface type,so How to create client object if I use abstractor class Thanks, Zhihao If you point SvcUtil.exe to the service that you have running, it will create an interface class with the same contract as the one of your class (i.e., all the methods that are marked as [OperationContract]). You need an interface to pass to ChannelFactory<T>, because it knows how to create a channel client that can "speak" the contract of the service - that's all this class can do. By tying i ...Show All

  • Visual Studio Tools for Office Multi-threading in VSTO

    I have read throught many texts and i am not able to get to a conclusion. I have an excel application. The application queries various tables. After data is obtained through each table it is processes. Doing everything serially takes a lot of time. Is there any way i can put each task on a separate thread. None of the threads will be calling the Excel COM server. The tasks will perform data access/processing operations and once all the threads are done, the MAIN thread will do the writing on the workbook. In other words "Is is possible to do multi threading in VSTO solutions, assuming that threads won't interact with the office object" Thanks1!! Hi, It sounds like you might benefit from re ...Show All

  • .NET Development When is responseXML property available to read?

    Hi all. As a previous user of the client side xmlhttprequest object, or equivalently, the ActiveX "Microsoft.xmlhttp" object, I find I now have a question about the Server Side version of the XML Http request (when working with ASP's JScript). In the case of the client-side xmlhttprequest object, I use a callback function that gets run via onreadystatechange, and through this method I can tell when the xml response is returned and ready to be accessed. However, in the case that in JScript I wrote the line: xmlHttpObj = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0"); I wrote the following code block to get the response text: xmlHttpObj = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0"); xmlHttpObj.open(&quo ...Show All

  • Visual C++ error LNK2019: unresolved external symbol

    I am using visual studio 2005 express edition and am having trouble linking a tutorial code from a book that I use. I have directx SDK(August 2006) installed with the Microsoft platform SDK. All the lib files are linked properly and I have followed the step to enable win32 applications in visual studio 2005 express. However when I build the code I get 2 LNK2019 errors 1>D3DInit.obj : error LNK2019: unresolved external symbol "int __cdecl d3d::EnterMsgLoop(bool (__cdecl*)(float))" ( EnterMsgLoop@d3d@@YAHP6A_NM@Z@Z ) referenced in function _WinMain@16 1>D3DInit.obj : error LNK2019: unresolved external symbol "bool __cdecl d3d::InitD3D(struct HINSTANCE__ *,int,int,bool,enum _D3DDEVTYPE,struct IDirect3DDevice9 * *)& ...Show All

  • Visual C# In the .net class framwork, there is a number of class ,Is there any best practise to get familar with these classes?

    In the .net class framwork, there is a number of class such as System.Runtime.Remoting etc, Is there any best practise to get familar with these classes I want to know where can i get all the sample programs to be familar with the .net class library. I appreciate your help. use the following site: http://www.codeproject.com they have a lot of artclise from beginners to experts and you can browse them by technology, language, and so on. ...Show All

  • Visual Studio 2008 (Pre-release) will LINQ/vNext support database driven enums?

    I was at Pablo's awesome presentation for vNext at TechEd, and am really looking forward to getting my hands on this stuff! One question I had, is there any support in LINQ/vNext for database sourced enumerations IE, if the database is populated at compile time, generate an enum based off of the values in the database for say status codes. Then optimally at runtime, re-emit a new enum with the values that are currently in the database. This would allow for great intellisense and range checking for the developer for "well-known" status code values, but still allow for expansion for dynamic values out of the database for display in say a combo box. Also, all of those areas could use Enum syntax, rather than just random consta ...Show All

  • SQL Server Storing query results in SQL table

    Hey guys/girls, I was wondering if there is a way to store the report query results into a SQL database for use within an application. I would like to have the query information used in the report updated to a SQL table for later use. The other catch would be to deploy the information to a separate datasource location than the report is using (because the information will be stored in a different location than where the report is gathering information. Thanks! BJ Thats like Instant Messaging here :-) YOu will have to specify the owner of the object, that SQL Server can find it. You can also use the name without using a owner like: Select * from DatabaseName..ObjectName whereas SQL Server will look ...Show All

  • Visual J# setup program +NET 2 +Microsoft Visual J# Version 2.0 Redistributable Package

    Hi, I am having a small problem, when creating a setup you can specify that setup program will actually download and install.NET framework and J# redistributable prior to installing an application. However, while installing .NET 2 Framework it fails to install redist. for J#. I believe it says it is unavailable or something like that and redirects IE to J# page. Any suggestions I created a dummy project and its working fine for me. Could you please give me some more details of it. 1) Which VS product are you using - Developer Studio 2005 or VS.Net 2005 2) On which OS you have created Setup project 3) On which OS you have implemented/consumed Setup.msi 4) Are y ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Correct usage of Game.GameServices.GetService(<T>) method

    Hi there, This is my first post on these boards so I'd like to say hello in the first place. Few days ago I started to look into XNA. I have some expierence with MDX1.1. Now I started working on a Tetris clone. To get a grasp of how the XNA teams considers that we develop games, I decided to split the game into 2 projects. The game itself and a Framework kind of Project. The framework includes classes for GameState, GameStateManagement, InputHandler etc... The Tetris Blocks in the game are currently GameComponents. My BaseGameState class inherits XNA.Game. Every GameState currently has its own collection of GameComponents which gets Drawn in the currently active GameState's Draw function. Also, my Entry point for the game in ...Show All

  • SQL Server Aggregate Function is not allowed in Standard Server Edition

    I'm trying to use None as an aggregate function on a measure but I get an error saying "Aggregate Function None is not allowed in the Standard server edition". The funny thing is that I'm running the Developer Edition. Is the Developer Edition the same as the Standard edition Has anyone else run into this ...Show All

  • Visual Studio 2008 (Pre-release) Sending Attachments in WCF

    Hi i am trying to send attachments from my client app to my service app in WCF with the help of the samle provided at " http://weblogs.asp.net/cibrax/archive/2006/03/29/441398.aspx " I am using Beta2. But when i try to add service reference to the client in that sample i am getting an exception stating "Compression Header is missing". I am not sure which CTP the sample is. Need help regarding this. let me know is there any other sample available for sending the attachments . TIA Cheers Jithendrian. R Here are some general guidelines for large messages (I'm assuming that you aren't streaming): Create a separate contract for operations with large uploads, make al ...Show All

  • Visual Studio Express Editions canot debug is this VB?

    Dear all, I am an upsolute beginner in programming - somebody was so nice to write a part of the program I would like to use. And this part does what I expect when I do run it. However since i have more to accomplish I need to use this start and amment it / edit it. For this purpose i did not only import it into VB express but also tryed to debug it to unserstand each line of code. However i does not work. is this code VB to begin with regards and thanks still Hoosier IsDebug = False Set Maps = CreateObject("MSXML2.DOMDocument") Maps.load("Maps.xml") Set FSO = CreateObject("Scripting.FileSystemObject") CurrentPath = FSO.GetAbsolutePathName(".") & "\" ...Show All

  • Windows Live Developer Forums How to turn on a behavior of toggle button in dashboard?

    In the dashboard on the http://local.live.com there is a toggle arrow button which allows to hide/show dashboard container. When I'm using http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js script this button is hidden. I’m able to show it (code: map.vemapcontrol.GetDashboard().ShowToggleGlyph(); ), but toggling doesn’t work. What should I do to get the same behavior as on the local live site with this dashboard toggling button Thanks for help! We don't expose that behavior in the APIs, but you could wire up your own. I would probably create my own map control, add the toggle icon, and in the onclick you just change the size/shape of the control. (You notice there are a lot of things built into WLL that ...Show All

  • .NET Development Quick way of determining a date from a string?

    Hi all, I have a .NET 1.1 application that needs to be able to very quickly determine if a string is a date. I can not use Exception handling here (i.e. as you would using DateTime.Parse) as it is expensive and there is only a 1% chance that the string will be a date with potentially tens of thousands of strings being checked. Do you guys have any suggestions Regards, Stephen. And the .NET 2.0 version uses DateTime.TryParse(). Watch out for regular expressions, you're not dealing with the current culture, nor with local overrides of the short date/time format. The latter is a breaking issue I'd say. Either upgrade or do it the .NET 1.1 way. Catching Exception is correct by the way, IsDate() shoul ...Show All

  • .NET Development Bit confused about CTS ...

    Hi, After I have read several articles on msdn and other tech sites, I am now bogged now with a doubt. Is CTS a specification checked by CLR or a component in CLR I read all about the goals of CTS. But inside the .NET framework how it is placed Is it defined as a set of rules inside CLR, hence can I take it is a component Or is the CLR programmed to check the some specifications( which we call CTS) while executing a CLR compliant language Please explain me to get more insight in to this. Thanks, mani The CTS is a set of rules more than anything. The CTS states that all types must ultimately derive from Object . It also distinguishes between value and reference types. The CLR doesn't ...Show All

©2008 Software Development Network