noszedres's Q&A profile
Visual C# Tcp Chat
hello , i have a problem. im developing a client / server tcp chat. the problem is that it works perfectly when i run de server and the client in loalhost, i can work with several insances of the client if the server is local,.,, the problem is that when i tr to work on lan or internet... (lan with same workspace) it dont work... i do the next on server static void Main(string[] args) { Program pr = new Program(); IPAddress loca ...Show All
Microsoft ISV Community Center Forums Vba commands used to connect to sql
HI, Use the FileSystemObject... Sub OpenTextFileTest Const ForReading = 1, ForWriting = 2, ForAppending = 3 Dim fs, f Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.OpenTextFile( "c:\testfile.txt" , ForAppending , TristateFalse ) f.Write "Hello world!" f.Close End Sub ...Show All
Visual Studio Help still broken
Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use onlin ...Show All
Visual C# Getting a list of computers on a network
I'm writing an application that needs to get a list of computers (their names) on a network. The examples I've found all seem to query an ActiveDirectory on a server, which is not what I need. Is there a way to get a list of computers on a server-less network using the .net 2.0 classes I've done this before in VB6 using API's, so would I have to do that in C# 2005 using System.Runtime.InteropServices, or can it be done with System.DirectoryS ...Show All
Microsoft ISV Community Center Forums Windows known applications web service
Windows known applications web service In Windows XP, when you try to open a file that is unknown to the operating system, you are given two options 1> Use a web service to look up the application 2> Select the application from a list How do I register my application with the Windows Web Service so that when a user opts to look up the application using the web service, they are able to do so ...Show All
Visual Studio Is it possible to invoke the class designer in your own project?
Hi, I need to do something similar to what the class designer does.Rather then spending lots of time in doing something that looks similar. Hyreachical datagridview (not available) Can I reuse the one that vs.net 2005 uses thanks a lot Hello Please see the following post from a previous question on reuse of the class designer: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=207100&SiteID=1 Thanks Brian [ ...Show All
.NET Development Creating our own datasource
Could We create a structure so that it could be binded as a datasource to control who supports databinding. If yes Could any body provide me a sample (with code) of creating our own datasource in C#.That is i don't wan't to bind to dataset ,xml etc I wan't to create my own datastructure.What I have to do. Hi! Create any class (structure is bad solution) and declare there public properties (they will be bindable). Like this: public ...Show All
.NET Development Is there an easy way to get the name of the style sheet out of an XMLDocument?
I want to get the name of a style sheet that is defined in some xml code. I have come up with the following solution in Visual Basic 2005, but I guess there should be a much easier and cleaner way to do this. Does anyone know how My xml file starts with the following code: < xml version="1.0" encoding="iso-8859-1" > < xml-stylesheet type="text/xsl" href="sheet.xsl" > Below is the function that I created. It works b ...Show All
Microsoft ISV Community Center Forums Windows media files have changes to Nero
Hi just wondering how I change my music files back to windows media player, they changed to nero flies last week after burning a CD. Hate the nero player, but love windows media player. Hope someone can help me Thanks Shihad P.S check out Shihad single ALIVE I'm sure that there's a more elegant way of doing this, but I believe that you can right-click on one of your music files and choose Properties. Next ...Show All
Visual Studio 2008 (Pre-release) December CTP Namespace Mapping problem
I have a scenario where I'm binding to a data object. Worked fine in the Nov release, but in the december release, It's telling me the mapping statement is missing the assembly attribuite. As such, the xaml won't complie. I tried creating a new window and trying a basic mapping statemenet as the only modification, and that fails too. Any feedback my mapping statement is something like < Mapping xmlnamespace="blah" clrnamespace ...Show All
SQL Server Microsoft decision tree
I have an example case below : Customer Id Debt Level Income Level Employment Type Credit Risk 1 High High Self-Employed Bad 2 High High Salaried Bad 3 High Low Salaried Bad 4 Low Low Salaried Good 5 Low Low Self-Emplyed ...Show All
Microsoft ISV Community Center Forums Reading data dll into excel
I have recompiled a Visual Foxpro table into a DLL using VFP9. It is registered and VFP reads the DLL correctly. The DLL is just a table with code that performs a lookup based on two values and returns a value for use. In Excel, the following code is in a module: Declare Function spec_Field_Value_Function Lib "spec_search" (cThisSize As String, cThisValue As String) Public Function spec(Shape As String, Property As String) As Variant ...Show All
Smart Device Development Can't ActiveSync my Device after Cradling my Emulator
I'm a SmartPhone owner and developer. As such, I have occasion to cradle my Emulator and my actual Device (Audiovox SmartPhone) with the same ActiveSync (v4.1.0). I'm finding that after cradling the emulator (as a Guest) I can no longer Sync my SmartPhone. I can cradle the SmartPhone and I can Explore it via ActiveSync, but I get this very vague message when it tries to sync: Synchronization error The only way I ca ...Show All
SQL Server SQL Srver xpress insallation ailure
I do have a SQL Server installed on another partition with WinSer2003 OS. it is not that I need a different incarnation. What I tried to do was to install Microsoft .NET Framework SDK QuickStart Tutorials and samples. In short it is in the directory C:\Program files\Microsoft Visual Sudio 8\SDK\Samples\StartSamples.htm. You click on "set up quick start" linkLabel and it starts installing SQL Server as a rerequisite. The installation fail ...Show All
Visual C++ Where are "edit and continue" and refactoring options in Beta 2?
Hi all. C# has edit and continue and refactoring VB has edit and continue and refactoring Classic C++ has edit and continue. Where are edit and continue and refactoring in Beta 2 for managed C++ I cannot find. Thanks in advance. I can understand the frustration. We made a sincere effort to support C++ in the classdesigner. If C++ weren't a priorirty we wouldn't have even spent the resourc ...Show All
