Eric Wellnitz's Q&A profile
.NET Development The remote server returned an error: (407) Proxy Authentication Required
I passed a MBR object to remoting server.When I call a method of this MBR object in server side,this error occurs. I tried to use the following application to solve it ,but it failed . Because the MBR object is passed from client to server like a method parameter,so I can't get it's address. WebProxy p =new WebProxy("address", port); p.Credentials = new NetworkCredential("username", "password","domain"); GlobalProxySelection.Select = p; I even don't konw whether this problem can be solved with a correct address or not . Any attention and help will be appreciated. You can simply use the following code to resolve the 407 proxy authentication error. ...Show All
Software Development for Windows Vista Rehosted designer Rule Condition error with June CTP and XOML only workflow
If I attempt to create a rule condition in my rehosted designer for a XOML only workflow I get the following error displayed in a Properties Window dialog as soon as I type in the Rule Condition dialog index was outside the bounds of the array This is something that has been broken by moving to the June CTP, unfortunately. Any suggestions To reproduce: download the rehosting example from here comment out this line in ShowDefaultWorkflow() in WorkflowDesignerControl.cs workflow.SetValue(WorkflowMarkupSerializer.XClassProperty, "foo.Workflow1"); add this after setting activityFullClassName in GenerateCodeFromXomlDocument() in Helpers.cs if ( string .IsNullOrEmpty(activityFullClassName)) { activi ...Show All
.NET Development web services
Hi all, i want to create a web service in vb.net which would communicate with another web service developed in java. The java developed web service will be running on jboss server. my main idea is to create a web service which would communicate with the jboss server ... please help me in this... thanks in advance srichand hi, Nathan Anderson i hope this works .. i will try to do this first and then inform you. any how thanks for your help... bye srichand ...Show All
Windows Forms Sound Record Computer Volume
Hi, I'm having a harder time figuring this out on my own than I thought, I want to use sound recorder to record the aduio output. (i.e. play music on wmp and record it on sound recorder). I thought you had to go in to volume controll properties, then recording, and then click a check box that said wav, but its not there. I don't know, Im kinda confused, can anyone help I believe your question is not a development related question, therefore it is best if you ask in the appropriate communities for your Operating System, or perhaps the WMP newsgroups: www.microsoft.com/communities you would do as you stated then check the "Stereo mix" box, set the volume and select it to be chosen as ...Show All
Windows Forms Microsoft Forms Application 2003 .NET how to 'read only' view a text file?
I am new to this development environment, though not new to C++ or the Windows IDE. My task is to develop an ASCII file viewer. I am having difficulty finding an object that allows me to display the contents of an ascii file in 'read only' format in a Window. These files can be very large. I need to be able to scroll through the lines, and have a Mouse Click event tell me which line a user wants to see more information about. Thanks for your assistance. Steve The richtextbox allows you to load a text file or an rtf file directly... Me . RichTextBox1 . LoadFile ( ThePath , RichTextBoxStreamType . UnicodePlainText ) The second argument allows you to specify text, rtf, ...Show All
Visual Basic File Format for Microsoft Access
I would like to be able to tell if a file is Access, Excel, dBase or ASCII by looking at the records. www.wosit.org has an excellent collection of file formats but I could not find Microsoft Access there. Does anyone know the header format (or equivalent) where I can read the bytes and decide if it is Access or another format I can't trust the extension as some people change the default. Mr Yu, The website I mentioned shows identifying information from the header of the file. It does not use the extension. I am unfamiliar with the instance name and environment variables so will have to research that. Thanks for your helpful response. ...Show All
.NET Development XSLT sort problem
I have an XML file containing TV listings that I am trying to process with XSLT to produce a customized report of my favorite programs. The XML is much more sophisticated than the textbook examples and the examples I've found on the web. It contains a default namespace and is structured like a relational database. I am having trouble sorting the listings by their air date. To get the air date I must first follow the xtvd/program/program path to get the id attribute, then match that value to the program attribute in the xtvd/schedules/schedule path to get the air date. (There may be more than one air date for a single program.) The sort I coded sorts the air dates just fine for the same program that airs on more than one date, but w ...Show All
Visual FoxPro Memo field conversion
I am using a Microsoft ODBC Driver to connect to 4 DBF files . One of them has Memo Fields in it and I am not able to see this particular table when I try to import it in Access. All the others I am able to see and they do not have memo fields. Any idea guys How I can fix this The whole point was not to export them in any kind of file. The requirement was to directly acess from the DBF file :) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Resource Management And GC.Collect() in XNA
I've heard lots of people say that GC.Collect() should never be called, but I also know that having garbage lying around in generation 2 is a bad thing. I have a class that loads .X files, which can potentially be large. I found that preloading the file into a buffer and then converting the raw data to data structures, and not directly reading from the filestream, is the fastest way to load the files. So, I load the file into a string and then parse the string into an array of tokens, which are then used to create an instance of my model class. The problem is that the string, which turns into garbage right after being parsed, is immediately put into generation 2 when it's read from the file. Also, other data structures that may or may not ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Embedded Resources?
Hi guys, I have a quick question. For my project I am creating a game library to go along with my game. In this game library are going to be some components that will need shaders to be drawn. My question is, can I compile these shaders as an embedded resource in the game library project and still be able to use them on the XBox 360 Thanks! Xbox uses a different version of the shader compiler to Windows, so you will need to compile your shaders twice, once for each platform, and embed the appropriate one for each version of your DLL. The easiest way to do that will be using the content pipeline to build an effect, then embedding the pipeline output file as a resource. ...Show All
Visual Studio Express Editions help plz
i made a small program which load a sqlserver express 2005 database. it is fine running on my computer,but when it runs on another computer, it can not connect to the database. the two computers' hardware configuration are the same,celeron 2.4g(maybe), 256m ram, window xp professional sp2. and i install frame work 2.0 on both computers. can anybodoy tell me the reason part of the error message: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specif ...Show All
Smart Device Development How can I deploy latest service pack along with my application cab file
I am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I am using smart device cab application projectI am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. Trust me, the solution I gave works fine on Pocket PC 2003. The 2005 .Net environment is a tackon to operating systems and works fine with the 2003 and 2005 operating systems. I have a complex program (22K lines of ...Show All
Visual Studio Express Editions vb.net & ipsec
is there direct way to IPsec (like add new rules/policy) . currently I generate a file and import it using ipseccmd . thks A ground rule is that anything that is possible to do via an application is possible to do in your own application. I am not sure if these APIs are what you need but if you need to others they are just some searches away. http://msdn2.microsoft.com/en-us/library/aa364947.aspx You will need to use p/invoke to use the API from VB.NET. ...Show All
Visual C++ Arrays of structs don't display in debugger
When I have an array of structs, the Autos window, tooltip, and Quickwatch all display only the first element of the array. For example, struct Variable { char name[25]; enum VarTypes type; ... }; Variable var[10]; Now when var is displayed, there is a single-line format which shows the structure members for var[0] only. If in Quickwatch, you type "var,10", everything displays correctly; i e, you get a subtree with subscripts [0]. [1], etc, and each of these can be expanded to show the members of the struct. I can't reproduce this in VS2005, Locals shows the array with a '+' and lets me expand it, QuickWatch shows the entire array. ...Show All
SQL Server Books Online reply to Barry Andrew
I have registered to use SQL server 2005 Express Edition. I want to download relevant documentation for books online. The guidance for this is to download the 'SqlServer2k5_BOL_Jul2006.msi' software. When I initiate this download:- (1) I get a message from my ISP (I.e AOL) saying the publisher coud not be verified, and asking if I wanted to run this software. (2) when I press 'run' software is downloaded to a tmp file, and I get the option to install. (3) On clicking the install button, a Windiws Installer message appears - this states that ' the installation package cannot be opened and suggests contacting the application vendor to verify that this is a valid Windows Installer Package. How can I access the ...Show All
