Software Development Network Logo
  • Visual FoxPro
  • Game Technologies
  • Microsoft ISV
  • VS Team System
  • .NET Development
  • Visual Basic
  • Architecture
  • Visual Studio
  • Windows Forms
  • Windows Vista
  • SQL Server
  • VS Express Editions
  • Visual J#
  • Visual C#
  • Windows Live

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

nielsvdc1

Member List

Divya
Jay Gassette
R102oy
Chris Du
rmgjohnes
Gabrielle Erlingen
Gary McAllister
Rory_Anstruther84
Earlover
Miguel A. Nievas
OZ83
-=B3N=-
GeoMan001
rogerdubie
Dr. eX
Saqi-the-angel
longrujun
davidg12
peterxz
kalaria
Only Title

nielsvdc1's Q&A profile

  • Windows Forms form object not displaying

    Hi. I'm writing a chat program that involves sockets and windows forms. I have a socket object that connects to a server (TCP/IP), listens for any messages from the server, and instantiates a new windows form object (upon receiving a special message e.g.: BEGIN_CONVERSATION). The socket object continues to listen for more messages from the server. I have written a simple windows forms class ( public class ConversationGUI : System.Windows.Forms.Form, IGUI ) that I instantiate upon receiving the message. The constructor of this class contains the following 2 lines: InitializeComponent(); this .Show(); When the windows forms obj ...Show All

  • .NET Development How create nested namespace?

    Hi people! I want create nested namespace: I want have namespace hirierchicals. Sample: using EnsambladoMain; using EnsambladoMain.Ventas; using EnsambladoMain.Compras; I can make it, with one project of Library Class Hi, you could also do this: namespace node1 {    namespace node2 {       public class class2 {       };    };    public class class1 {    }; } And yes, you can do it in a single or multiple library class... cheers, Paul June A. Domag ...Show All

  • Windows Forms Please help, cant debug

    In unit testing our windows applicaiton, there is a circumstance where our application crashes with the " has encountered a problem and needs to close. We are sorry for the inconvenience." It does not stop at any of our code, it just crashes - so we cant debug to find the problem. Can anyone give us any suggestions to help us find the problem Here is the error signature: AppName: mainmdimenu.vshost.exe AppVer: 8.0.50727.42 ModName: browseui.dll ModVer: 6.0.2900.2802 Offset: 00002040 Any help at all is appreciated, Thank, Eric ...Show All

  • Visual Basic Any way to trim all these IF statements?

    Hi, I'm a VB6 hobby programmer and I'm just getting in to VB2005. I installed the VB Express ed. last night. I'm writing a simple game and have run into a coding issue. I have 15 buttons on a form. As part of the game, you click the buttons to essentially move them around. After each click, I run a subroutine to check if the user has "won" the game. In order to check for a win condition, I check to make sure each of the 15 buttons are in the right location on the form. This has caused me to have an "if statement" mess of code. The way I wrote it is like this: Private Sub CheckWin() If ESX = 114 And ESY = 139 Then   ...Show All

  • Visual Basic Determine which link label was clicked

    I have 10 linklabels and all have events connected to a sub. When a link is clicked, it will open a form whose controls are created based on which link was clicked. So instead of using a seperate sub event for each linklabel, I put them all to one sub. But, I cannot figure out how to tell which linklabel was clicked. Any ideas The first parameter passed into your event is the link that was clicked. You can check which one it is with =, or you can cast it and use properties such as Text or Tag to work out which one it was. ...Show All

  • SQL Server Question About Scalability of Reporting Services

    We use SQL Server 2000 Reporting Services to represent reports for our company. Our boss complained to me about the poor performance of Reporting Services when he viewed reports. He suspected that RS Server is a single-thread server and can not be scaled up by adding more CPUs or memories to increase the reports process speed. Is my boss correct And how can we increase the performance of Reporting Servces Traditional scale up can resolve the issue Appreciate your precious reply. Your boss is not correct :) We will scale up with more CPUs. Most of Reporting Services is managed code, so we are subject to whatever memory ...Show All

  • Visual Studio Express Editions Why can't I see all .NET library classes?

    I've downloaded VB Express Edition just one week ago and all seems right. Now i'm trying to program a simple application, an UDP_Client. It would be easy making use of the system.net.sockets namespace and the UdpClient Class. But when I try to add the "system.net" reference to the project (double-clicking "my project" in solution explorer, in the references tab), only a few "system.xxx" namespaces appears ready to be added (and system.net is not there). I follow the next steps: Open the IDE, select "New Projet", "Windows application", double-click on "my project" in the solution explorer, select the references tab, click "add..." ...Show All

  • Visual C++ Deprecated vsprintf

    I have the following code: char buf[1024]; va_list va; va_start(va, s); vsprintf(buf, s, va); va_end(va);   The Visual Studio 2005 Express Edition compiler gives the following error: Compiling... strgen.c .\strgen.c(87) : error C2220: warning treated as error - no 'object' file generated .\strgen.c(87) : warning C4996: 'vsprintf' was declared deprecated What do I do What do I replace it with Please help. Thank you. Thanks for the help, I've managed to solve the problem :) Glad to see such enthusiastic support. ...Show All

  • Visual Studio Team System WI Controls

    I've got a WorkItem I created that has a Summary and Workaround tab.  The summary field is displayed something like this: <Tab Label="Summary"> <Control Type="WorkItemLogControl" FieldName="System.History" Label="Detailed Description and History" LabelPosition="Top" Dock="Fill" /> While the Workaround is defined as: <Tab Label="Workaround"> <Control Type="WorkItemLogControl" FieldName="Sample.Workaround" Label="Workaround Description" LabelPosition="Top" Dock="Fill" /> If I use this setup, open a workitem and enter info and then save the info, the Workaround information will overwrite the Summary field inform ...Show All

  • .NET Development VS.NET 2003 and XP x64

    Is there any problem with using XP x64 and vs.net 2003 for developing 32Bit window applications Thanks When debugging an ASP.NET application using VS.NET 2003 on XP x64 I noticed that the w3wp.exe *32 process does not seem to end when selecting "Stop Debugging".  I can observe the process continuing to run in Windows Task Manager. To verify that the process is continuing to run the thread I initiated and then attempted to stop, I sent some output to the VS.NET "output" window using WriteLn.  After I start and then stopping the debugger  the w3wp.exe *32 process was still running, ...Show All

  • SQL Server Report Manager - Blank Reports Page

    Hi, I'm getting blank page when I open the Report Manager: I've got a header - "...Reporting... HOME", and then just empty space. I had it working fine a week ago. Any ideas The RS runs on Win2003 Std, SQL 2005 Std. Thanks Very likely the account that you use to connect to report manager no longer has permission. Connect as a admin and check your permissions. ...Show All

  • SQL Server Take Id-s From returned rows, and make a new SELECT

    Hello, I have a question on sql stored procedures. I have such a procedure, which returnes me rows with ID-s. Then in my asp.net page I make from that Id-s a string like SELECT * FROM [eai.Documents] WHERE CategoryId=11 OR CategoryId=16 OR CategoryId=18. My question is: Can I do the same in my stored procedure (without sending it to page) Here is it: Basically you would just put your ASP.NET side select statement ( SELECT * FROM [eai.Documents] WHERE CategoryId=11 OR CategoryId=16 OR CategoryId=18 ) into the stored procedure. Then change the WHERE clause to something like this (i left out the conditions): WHERE CategoryId In (Se ...Show All

  • Visual Studio Team System Can't instrument project targets for ASP.NET performance session?

    I create a new ASP.NET performance session and point it at my web application directory (i.e. not using IIS). Now, I can sucessfully get performance data for the web site itself, but I cannot seem to get performance data for any other project assemblies I've configured for instrumentation. At first I noticed that it was instrumenting the project assemblies in their respective project \bin directory as opposed to my web site's \bin directory. Then I tried using target binaries and selected my assemblies directly from the web site's \bin dir, but that didn't help either (and also doesn't seem like the right thing to do). So... any clues ...Show All

  • Visual Studio Tools for Office Wrap VSTO Projects in other Projects?

    I am looking for suggestions or direction on a project. I have come across a couple of samples that relate to Office Projects that I want to wrap inside of a large VS.Net project. My problem is this, from what I can see, Office Projects connect to one document each, but in my case I have one dataset that feeds and builds 8-12 different document templates. I am using the WordReadWriteadoVB Sample as my framework, but need to be able to use several document templates with the same codebase. Any Suggestions or other places I can look for docs Thanks; Daivd One thing that comes to my mind is that you could add the newly bu ...Show All

  • Smart Device Development Device Emulator connectivity problem

    Hi all! I can't connect to the Internet using the Device Emulator that is shipped with Visual Studio 2005 RTM. I have followed the instructions at the page http://blogs.msdn.com/akhune/archive/2005/11/16/493329.aspx , but when I start Pocket IE and try to go, for example, to www.google.com , after a few seconds a message appears saying "Cannot connect with current connection settings". Pheraps there is a problem because on this machine I had previously installed the Beta 2 of VS2005, then I removed it with the "clean-up tool" to install the RTM. In fact, on an other PC with a fresh installation of VS, with the instruct ...Show All

©2008 Software Development Network