MurrayGordon'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
.NET Development Arrays/Trees In the Registry
Hey, I tried searching to little avail. I'm relatively new to GUI programming, and the registry is therefore still a little new to me. I want to know how to store arrays and trees (i.e. a heirarchy styled thing) in the registry. Is there a better way other than storing 'key0', 'key1', 'key2', 'key3', etc. Because with multi-dimnsional arrays, this can get messy quickly. Is my best bet to serialise the object, and store it in there as ...Show All
Visual Studio 2008 (Pre-release) Starting one storyboard after another one finishes
I'm sure this has been answered before, but many searches of this forum did not turn up the answer, so apologies in advance if the is redundant: I want to kick off a storyboard when another one ends. I have tinkered around with triggers on the Storyboard's routed events but can't seem to quite get the right syntax. Any ideas D. Well, you could try to put all your animations in the same StoryBoard but w ...Show All
Visual C# Dynamically moving controls
I have six panels, each panel contains a textbox and its label. Each panel has a checkbox associated with it on the form, but outside of its respective panel. I only want the panels whos checkboxes are checked to be visible. If another checkbox is checked, I want that respective panel to be displayed directly under the last panel displayed. Once that checkbox is unchecked, I want the panel to disapear, and all the other panels that come after, t ...Show All
Visual Studio Express Editions VB Newbie - Database Application
I'm a beginner with VB alltogether, and I'm in need of some direction please. I've worked the VB Data Access samples, but they don't provide me with the information I'm needing. I have a MDB with two tables. The City Table contains the following columns: ZipCode, CityName, State, Latitude, Longitude The FCC table contains a list of FM Antennas across the United States along with the Latitude and Longitude of each. I want ...Show All
SQL Server Can't find SSIS ???
I have VS2005 and have been using SQL 2000. I installed SQL 2005 Developer but I can't find SSIS anywhere. It is hard to start even the first tutorial if I can't find the program. Was it supposed to be installed with 2005 Developer Help! Thanks in advance. Chuck Did you select to install Integration Services and the development environment. If you did, the best way to Start to is to open the Business Intelligence Development Studio ( ...Show All
Visual Studio 2008 (Pre-release) WPF, Refactoring, Projects and Solutions.
I've just spent a good 2 hours refactoring my code and then putting it back to how it was before Are there any known issues with having stuff spread across different projects A bit more context If you have resources (like styles/templates/etc) you need to mark your assemblies a certain way. What are you trying to refactor ...Show All
Visual Basic stoping winform instance - timer with synlock
How can I kill one specific instance of a timer I have this application that works similar to msn messenger a message is sent and a window display it in a viewlist and raise a warning window there is 1 form with the listview and another with the warning window ' AlertWindow(messages) ' the one with the listview instantiate the warning form Dim aFrmAlertPopUp As New AlertWindow(messages, altSysOrigin, alertId, BgColor, us ...Show All
Visual Basic Capitalization and Variables in code window
I'm moving from VB6 to VB 2005. One minor problem, maybe someone has an answer. In VB6, the capitalization of variable names would stay consistent everywhere that variable was used, for example Dim FileCount% now if you typed... filecount% = 5 if would change the line to... FileCount% = 5 In Vb.net 2005 this no longer seems to happen. I use option explicit off and really love when the variable name changes, because A: I know ...Show All
SQL Server Creating reports in MS SQL Server Report Server
Hi... Need some help with creating reports in MS SQL Server Report Server and column name "Profit / Loss (%)". Got an error when I try to run the code below. The purpose is to avoid a division by zero... or do anyone know a better way solve this =IIF(SUM(Fields!RECOGNITION_REVENUE_RECOGNIZED.Value)=0 AND SUM(Fields!PROFIT_AND_LOSS_AMOUNT.Value)=0, 0, IIF(SUM(Fields!RECOGNITION_REVENUE_RECOGNIZED.Value)=0 AND SUM(Fields!PROFIT_AN ...Show All
.NET Development ADO.Net-Insert, Update, and Deleting Records
Everyone, I'm having a crisis inserting, updating, and deleting records in my DB using ADO.NET. I'm sincerely hoping someone, anyone, can help me with a solution. I've searched the forums and related resources and have not been able to come up with a fix. Here's the problem: I have a form with five text boxes and one combo box. The data set (DataSet1) and corresponding table adapter (TableAdapter1) were automoatically generated ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where to go?
Hello everyone, This is my first post. A week a go I didn’t know C# existed and only had heard the term “Direct X”, but never knew anything about it. 5-6 days a go I accidentally stumbled upon the 8 part C# RSS reader video tutorial (Done by learnvisualstudio.net, but hosted at Microsoft). I watched most of that and became quite interested in trying C#, so I downloaded C# express edition. Later I read a bit about DirectX, which ma ...Show All
Visual Studio Express Editions Use DLL from C#
Could some one can point me to where can I see and learn how to use a DLL (not an automation object) written in some other language (such C or Delphi) from C# Regards. To use API functions in C#, you must import files .dll from Windows. Use structure: 1/ Add namespace : using System.Runtime.Interopservices 2/ Import dll [DllImport(file dll)] . For example :[DllImport("user32.dll")] 3/ Declare functio ...Show All
Visual Basic uint64 to date conversion
I created a class that returns the system up time. However the number it returns is a uint64 as thats what its base class returns. When i run the program it returns a value like this System Uptime = 94118 What want to do is convert this to a time and have it say something like 1 Day 22 hours 5mins and 30 seconds. However I a not sure how to do this, what does this number represent the number of seconds mins and what is a uint64 is t ...Show All
Visual C++ Chinese resources
Hi I have to create chinese resources for my application. To check a bit how all is working I created a chinese mfc application. If I run the application, all is shown correct in chinese. If I check the resources for example the menu in visualstudio I dont see chinese signes. Do I have to change any settings in visualstudio to see the correct chinese signes in the resource editor Thanks Peter Hi, your proble ...Show All
