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

Software Development Network >> Thijs Cobben's Q&A profile

Thijs Cobben

Member List

Lisa Ambler MSFT
Steve_H_USA
BillCondo
lmb
Chip1958
Christopher Fairbairn
Shane Stevens
B. Kumar
veigo18
deoxxx
Richard Moorhouse
Benny Pedersen
SaravanakumarS
tk18
benjcev
DOMcCrea
Jean-Jacques Borie
guotuofeng
CodeKracker
OldDino
Only Title

Thijs Cobben's Q&A profile

  • .NET Development Code sample for TCP/IP client/server for Studio 2005 C++ .net 2.0

    Consider that I'm new to everything. Is there a document that explains the steps (with complete code example) to have a TCP client and a TCP server for .net 2.0 with Visual studio 2005 C++. Sebastien Thanks Mike, I guess that in C++, this should be almost the same code. But is this really using ". net framework " , or is it instead going back to use win32 or MFC or winsock2 . As I said, I'm new on these things. But I heard that since I'm learning from scratch, I should avoid using all previous stuff and go straight to pure .net framework for internetworking. Sebastien ...Show All

  • Visual C# Sharing variables between classes

    Hi all I have the following project.  I would like to have a common property across all classes, i.e. such as skin color in the example below.  Is there a better way of constructing this object and assign the skin color Thanks for the advice, Steve using System; using System.Windows.Forms;   namespace WindowsApplication1 {   public class Class1  {    public static void Main()   {    Person myPerson = new Person();    myPerson.SkinColor = "Purple";      myPerson.myArm.description();    myPerson.myLeg.description();   ...Show All

  • SQL Server Schema and principals (Sql Server 2005)

    Hello Everyone, There is something we don't understand on SQL Server 2005. We want to grant acces to the login MyUser in the existing database MyDb. We want this login to be known as MyUser in MyDB and being the owner of a new schema named MyUser. Here are the commands we are using: use MyDb go create user MyUser for login MyUser with default_schema = MyUser go create schema MyUser go grant Take ownership on schema::MyUser to MyUser go After that we would have tought that Myuser is the owner of the MyUser schema. But it is not the case: Here is a select on sys.schemas: Select * from sys.schemas name     ...Show All

  • Windows Forms How to pass the data to datagrid cell of the parent form ?

    hi,all: I have a windows form with datagrid,and I captured the double-Click event of the datagrid row to pop up a chirden window to edit the row data and pass back to datagrid cell. I'm new to windows form programming,anyone can give me a idea or some sample code. thanks in advanced! Hi, When you pop up the child window, send it a DataTable that is obtained from the DataGrid. Eg: DataTable dt = (DataTable) this.dataGrid1.DataSource; DataTable dtable = showchild(dt); Before you close the child window, populate the DataTable with the modified data and return it to the parent window. . . return( ...Show All

  • Visual Studio Express Editions 10x

    I want to copy files from specified directory to another target directory, but only those files, that has been changed since specified date. If the first directory has subdirectories, I want to copy files from them too. Can anyone tell me how to achieve this goal.;o). Is it possible, the structure of directories and subdirectories in the target directory to be the same as this in source directory Ahh... I think I've figured out how to structure it. :) The key is that an arraylist is limited to 1 dimension. I was passing it an entire object (I think), and you can't really just "get" that object, because the properties ...Show All

  • Windows Forms Problem with C++ Forms in .net 2003

    I've recently started a project at work using forms, only some thing simple using a few controls. When i press F5 to run the program in the ide, my program takes about 10 seconds to appear, debugging is also very slow. Although when i run it as a standalone exe...double clicking the exe it appears straight away and runs fine. Regards. Jimmy. ...Show All

  • Windows Forms Using MDI menu strip and tool strip on a child form

    I have a simple MDI application.  Almost all of the child forms are similar, to a certain extent, therefore, the menu strip and tool strips are exactly the same.  I would like to only make one menu strip and tool strip, and use it on all child forms.  So, I created these two controls on my MDI form.  However, I can't figure out how to access the items on my child forms.  Is a merge the only way to do this, or do I have to have the exact same menu strip and tool strip on all child forms Thanks You'll need to cast the child form's MDIParent property to the explicit MDI parent class ...Show All

  • Visual Studio 2008 (Pre-release) Xml Literals in C#

    Hi, I dont know if someone already answered this question but, how come c#'s version of xlinq (, or c#3.0, or c# orcas, or whatever it's called now) does not include xml literals! I cant imagine a reason not to include thins functionality beyond being too hard to do in c# or something like than. The C# design team has prioritized language changes like XML literals down quite a bit, believing that the XLinq constructors offer an equivalent degree of functionality. However, we are generally open on these sorts of things. If we get a lot of feedback from the community like yours we may reconsider our positi ...Show All

  • Smart Device Development .Net V1.1 vs 2?

    Ok, should be a quick easy question.  Is .NET CF 2 out now   What does it run on... I understand it fills in alot of the holes in 1.1. Thanks Hi InquiringMinds, Yes, NETCF V2 provides many value-added features and performance improvements. The following is a partial list of the new features: - Generics - MD3DM - COM Interop - GUI Controls like DateTimePicker, MonthCalendar, LinkLabel and WebBrowser - SerialPort - IPv6 - MSMQ NETCF V2 is shipped together with VS 2005, which will be released soon. Tune in to http://lab.msdn.microsoft.com/vs2005/default.aspx  to obtain updates on the product release. NETCF V2 supports ...Show All

  • .NET Development SIZE (via WebRequestMethods.Ftp.GetFileSize) is always 0

    I am hoping someone can help me and that this is not a .NET 2.0 bug. I am writing an FTP client that does resumable uploads. To do this, I check the FTP server for the file that I am about to upload. If the file exists, I check the size (assume for a moment I KNOW that this is a partial upload.) If the size is < the size of the file I am uploading then I just do an append to complete the upload. The problem I have run into is that I always get a 0 for the file size. Here is a snip of the code. If the file does not exist then I get an exception, which is fine, I just have to upload the new file. If the file does exist, I always get bac ...Show All

  • Visual C# SendKeys error

    internal int i; private void timer1_Tick(object sender, EventArgs e) { i = this.textBox1.Text; SendKeys.Send(i); //send password i =i+1; //password +1 SendKeys.Send("{enter}"); SendKeys.Send("{enter}"); this.textBox2.Text = i; } ========================== //SendKeys.Send () function Must be string ,But I need to send (int) number ??? hi, first of all i variable is int type and textbox.text is string type so how can you do this i = this.textBox1.Text; doesn't this give you error , what you want to do exa ...Show All

  • Visual Basic VB 2005: How to Refresh a DataSet

    I have an application with more than one form to manage data. Some data shown in a form depend from an other. Example: in the first form I manage the Product Categories (adding, modifing) and in the second form I manage the Product Items showing them by Categories. If I open both the forms and I modify the Product categories, how can I refresh the second form in order to see the complete Categories updated So, how can I refresh the dataset and the tableadapters of the other forms after made changes on one form Regards, Dado ...Show All

  • Visual C++ Adding ActiveX support to a project that doesn't support it!!!

    Hello, I have a MFC dialog based project that I have been working on and I want to add some activeX controls to it. The problem is that I created the project with Project Wizard without ActiveX support. I'm using Visual Studio 6 and I suppose (hope) the solution is the same for newer version as I am going to port my work to VS2005 (but this is another problem ). So, the Million $ question is: How can I add ActiveX support to a project that doesn't have built in support for it! Thanks in advance ppl! adfm wrote: Hello, I have a MFC dialog based project that I have been working on and I want to add some activeX controls to it. ...Show All

  • Visual Studio Tools for Office Questions on VSTO "v3"

    Hello, I have started to play with the VSTO "v3" CTP, and I am wondering where I could post questions regarding this CTP. I have not found any information on the download page or the readme file concerning the correct feedback channel. Should I use the Office12 Beta channel Does anyone know something about it Thanks a lot Hi, You can find out more information about the VSTO V3 CTP from Eric's blog. http://blogs.msdn.com/eric_carter/archive/2006/03/21/556796.aspx You can post questions to this forum. Regards, Paul Stubbs Program Manager ...Show All

  • SQL Server Script Task debug error

    Good afternoon - Info: Microsoft SQL Server Management Studio 9.00.1399.00 Microsoft Analysis Services Client Tools 2005.090.1399.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158) Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 Microsoft Internet Explorer 6.0.2900.2180 Microsoft .NET Framework 2.0.50727.42 Operating System 5.1.2600 I am trying to debug a script task within a SSIS package by setting a breakpoint within the design window of teh script taks and I get the following error: EventType : clr20r3 P1 : dtattach.exe P2 : 9.0.242.0 P3 : 434f5e26 P4 : microsoft.sqlserver.scripttask ...Show All

©2008 Software Development Network