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

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

VoiceOfExperience

Member List

Chris Honcoop
Barrios
McGeeky
Monte Chan
John Portnov
Montana Jones
snivek
5letters
killers
Jimmy.Lin
vtortola
Luislcm
Dave Fackler
j_o_h_a_n_n_e_s
Crazy68aseric
Secrets
SouDev
Anthony M
Mr_White
LaoZeng
Only Title

VoiceOfExperience's Q&A profile

  • .NET Development new TCPChannel() throws SocketException after several calls

    Hi, in my remoting server app, I have the following code: BinaryServerFormatterSinkProvider provider = new BinaryServerFormatterSinkProvider(); provider.TypeFilterLevel = TypeFilterLevel.Full; IDictionary props = new Hashtable(); try { props["port"] = remotingPort; TcpChannel channel = new TcpChannel(props, null, provider); ChannelServices.RegisterChannel(channel, false); channelName = channel.ChannelName; after this server having been closed and re-opened several times, and the client still running, I sometimes get a SocketException on the "new TcpChannel(props, null, provider)": An invalid argument was supplied StackTrace: at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at ...Show All

  • Visual C++ CString pointer compatibility with const char* in VS 2005

    Hi, I used a CString variable to instantiate a "const char* " argument of a C++ function. The VS 2005 IDE sent out an error C2664: 'xxx' : cannot convert parameter 1 from 'CString' to 'const char *' message. Does anybody know how to deal with the problem Thanks, Jason LPCTSTR et al are probably best treated as typedefs for Win32 APIs, and not used in your own code. This "hungarian notion" for typedefs doesn't buy one very much other than to introduce "two different ways to say the same thing" in your code. For the original poster, I was suggesting a general replacement of char with TCHAR (using * and const as usual), so that assignments from CString internal buffer ...Show All

  • Visual Studio Team System Retreival of Release versions

        hello, I need to retreive the release versions of a Team  Project  from TFS, can somebody give me the query. And  also, how to know the name the tables where this particulars are stored.I want to know where exactly these are stored in the backend.   thanks Ratna veer I dont have the access to TFSwarhouse, i connected to it remotely thru my C# application, so i cannot view the tables existing under it. can u please directly provide the sql query. eg: select releasename from <tablename> thanks ratz ...Show All

  • Visual Studio 2008 (Pre-release) Treeview styling question

    Hello, Is there a way to change or get rid of the + and - signs before each node How could I replace those symbols by an image for example or just get rid of them I have managed to get the display effect I wanted with the items inside the treeview, but can't seem to figure out that part. Any help would be appreciated. you can modify the togglebutton style in ExpandCollapseToggleStyle ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/wpf_conceptual/html/6bea1014-2555-425c-9f79-3f31a487bab3.htm ...Show All

  • SQL Server Deployment

    I'm working through Ch 3 of "SQL Server 2005 Reporting Services Step by Step" by Stacia Misner, published by Microsoft Press, but I can't get the example report in Ch3 to deploy. I get a long error message, which says this: TITLE: Microsoft Report Designer ------------------------------ A connection could not be made to the report server http://localhost/ReportServer . ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title> SQL Server Reporting Services </title><meta name="Generator" content="Microsoft SQL Server Repor ...Show All

  • Visual Studio Express Editions Accept-encoding : gzip

    How can I utilise the Accept-encoding : gzip in the following bit of code when i attempt to put it in the with loop it gives a "Operator '-' is not defined for type 'System.Text.ASCIIEncoding'. " error message Code Dim LoginReq As Net.HttpWebRequest = Net.WebRequest.Create(domain & "/gamex/DepositFundsPopup.do;jsessionid=56q4bge77qwj2" ) With LoginReq .Method = "POST" .Accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*" .ContentType = "application/x-www-form-urlencoded" .UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0 ...Show All

  • Visual C# Question regarding InitializeComponent() in ASP.NET application.

    Is InitializeComponent() moved to .designer.cs file if this is designer generated code, how come it is not there neither Do I have to manually create it (I am using Visual Studio 2005) In .Net 1.1, Visual Studio would look at your ASPX file and generated C# code for you. In .Net 2.0, with partial classes, there is no further reason for it to exist as C# source code. The ASP.Net runtime looks at the ASPX file and generates the IL code directly when the page is accessed. You do not have to write it manually (progress makes things easier...) ...Show All

  • Visual Studio 2008 (Pre-release) How to display different UIs according data-loading status in WPF?

    I use a webservice to provide data to wpf client application. when the data is loaded completely, I use a LixtBox to display it. But since it will take a while to load the data, I hope to show a progressbar during loading process. And if errors occur during loading, a label should be displayed instead of the ListBox. I know I can do this in code. But it should be a little complicated operation. So whether there is a shortcut is WPF application I just hope to do it use DataTemplate. Can your show me some advice   Thank you. maybe reading this will help: http://www.sitechno.com/Blog/HowToDatabindWhenYouAreFetchingAsynchronously.aspx (same principle). In your case I would create a dataloading class which sets ...Show All

  • Microsoft ISV Community Center Forums Making a MSSQL Query within Word?

    Hi, I am new to VBA. I am looking to make a query to MSSQL server for raw data, then I would apply format to the data. How would I make a query Is there any good tutorial sites on the web You might want to take a look at the following example: http://www.thescripts.com/forum/thread579469.html It will give you a general idea on how a connection with a MSSQL database works. (^_^ ) ...Show All

  • Smart Device Development What kind of server required?

    I am a newbie in WM5 application. I have a problem: My company needs me to setup an application so that the smartphone can constantly access the server and retrieve data... I have explored many about WM5, but it said little about the system archeticture... I may need to retrieve data from database and file... What kind of server do I need Is Microsoft Server 2003 suitable Do I need to install IIS Is Web Service the only method for the mobile to retrieve data from server What hardware / software I need to pay attention Pls advice... I have been hunting this for weeks but seldom found... Foor the smartphone data interaction the most appropriate solution indeed would be using web services (there are ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. End users shouldn't have to rewrite XNA math functions in order to improve performance.

    The overhead of passing a 64 byte Matrix by value is significant. Most especially when you are comparing two matrices for equivalency (==), or performing a Vector*Matrix multiplication (Vector3.Transform(Matrix)). The following matrix comparison function performs 5-10 times better than your built in == comparison. If the matrices are equal, then it is about 5 times faster. If they are unequal then it fails fast, and is about 10 times faster. public static bool Equals(ref Matrix a, ref Matrix b) { // i check the diagonal first for quick fails return a.M11 == b.M11 && a.M22 == b.M22 && a.M33 == b.M33 && a.M44 == b.M44 && a.M12 == b.M12 && a.M13 == b.M13 && a.M1 ...Show All

  • Windows Forms Filling a column with Null in VSC# 2005 (Windows Application)

    Hi, I'm trying to fill one of my columns with Null Value using the following code: MyDataSet.Tables[ "myTable" ].Rows[myTableBindingSource.Position][ "Column1" ] = DBNull .Value; this .Validate(); this .myTableBindingSource.EndEdit(); this .myTableTableAdapter.Update( this .MyDataSet. myTable ); But it doesn't work. Am I doing something wrong Thanks, Mathew No, it doesn't give me any errors. everything looks fine, but it doesn't change my column value to Null. Thanks, Mathew ...Show All

  • Smart Device Development StackOverFlow Exception

    Hi, I’m working on a Pocket PC application in VB.Net on Compact Framework. There are many modules in this project, including 5 games. This an Icon based project and these icons are displayed using PictureBoxes. The problem: There are 3 events (Mouse Move, Mouse Down and Mouse Up ) associated with the array of Picture Boxes(icons). We are facing a problem: Multiple clicks results in a “ StackOverFlow Exception ” and the application crashes! (This might be because each click triggers 3 events as mentioned above ) Is it possible to detect the status of the stack and if so, how can the contents be deleted to avoid this Exception Can anybody suggest how this can be solved ...Show All

  • SQL Server Using Array Variable in ForEach Loop Container

    Dear all, I have a problem using SSIS since I was a beginner, the problem is I have to do some data transform from flat files into database. These flat files come from many branches of my office with the file structure like this D:\SSIS\branch_nm\file_nm.txt, in folder SSIS there are many branch_nm folder and each branch_nm folder contains many flat files. My idea was grab the branch_nm folder into array variable using Script Task and then loop this array variable using ForEach Loop Container to get the file and using it for Flat File connection, but I don't know the way to do it. May this idea work out for sure How to use array variable, that we previously defined inside Script Task, in ForEach Loop Container Thanks in advance ...Show All

  • .NET Development Pending Messages in MSMQ Queue

    Hi all, Iam using MSMQ in Windows Mobile 5.0 Mobile Application is sending the Messages(MSMQ) to the server. At some point i want to check whether any pending message is in the Queue. I tried to Access it using the following but its not returing any pending messages. I tried the same code in a windows application and its displaying the messages pending. can anyone pl tell me whether there is any error in my code. // open the message queue MessageQueue MQueue = new MessageQueue (QueueName); //Initialize the MessageQueue Formatter so that the objects can serialized System. Type [] types = new Type [1]; types[0] = typeof ( ReceiptMsmq ); MQueue.Formatter = new XmlMessageFormatter (types); try { TreeView1.Nodes.Clear(); ...Show All

©2008 Software Development Network