Software Development Network Logo
  • Audio and Video
  • IE Development
  • Windows Forms
  • SharePoint Products
  • Windows Vista
  • Visual C#
  • Visual FoxPro
  • Visual Studio
  • Visual C++
  • Smart Devicet
  • VS Team System
  • Microsoft ISV
  • .NET Development
  • SQL Server
  • Game Technologies

Software Development Network >> Dennis van.der Stelt's Q&A profile

Dennis van.der Stelt

Member List

Barry Kwok
Francis Shanahan
RDH123
http200
DigitalPenguin
Vladimir Pilich
Bolugbe
AlpanaDhole
GeorgeOu
spree
Broomandan
Chandler Chao
Ed Abshire
MaggieChan
gregg100
AdrianGodong
Thomas2054
dork
Nguyen Duy Linh
Preeteesh
Only Title

Dennis van.der Stelt's Q&A profile

  • Visual Basic Noob Database question

    Hello, please excuse this question from a total Noob! Im quite happy programmign away in the VB.net 2005 application that im developing, and i am displaying fields from my sql 2000 database, in data grids, in text boxes and all is well. But my question is this. how can i manipulate data fromt he database that isnt shown in test boxes on the screen, i.e id love to load some variables with values from the database is this possible the syntax is elluding me at this stage. many thanks and i look forward to some advice on an article that may help, Google just gives me back so many misleading articles! Ok im still stuck it seems. Ive got an undertsanding of how to Bind d ...Show All

  • Visual Basic How event method is written for dynamically created controls

    In my application controls are created dynamically. I want to know how to write code for an event, for eg. KeyPress event Also how to a call parent form event, for eg. KeyPress event instead of its child control(dynamically created control) KeyPress event (VB 2005) You have two ways to do this. 1. Declare the control WithEvents and then you can use a Handles clause on your event handler. However you can't do this if you are declaring the control in a sub routine. Dim WithEvents T As TextBox Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load T = New TextBox Me.Controls.Add(T) T.SetBounds(50, 50, 200, 20) End Sub Private Sub T_KeyPress(ByVal s ...Show All

  • Visual Studio Tools for Office Features or Bugs in VSTO.

    Are these features or bugs I've found two things that there may be a reason for but I can think of none. 1. If you have a form field in a word document project that has a default value in it. You cannot populate that bookmark in code with a bookmarkname.Text = "AAA" line of code. It gives you an error along the lines of "Out of Range" or something like that. 2. If I am trying to populate a data island from code on a web server. I open the the document file with a file stream and then assign it to a "ServerDocument" class as shown below If File.Exists(BlankDocumentPath) = False Then Return ("File " & BlankDocumentPath & " Does not exist") Exit Function ...Show All

  • Visual Studio Team System Can't access TFS through proxy server

    I've been having major problems connecting to TFS through a proxy server. I've enabled the ISAPI filter and configured the site for SSL, and that all works great - until I try to connect from behind a proxy. The error I get in DevStudio is: TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server on domain.net. The Team Foundation Server returned the following error: The remote server returned an error: (407) Proxy Authentication Required.. When I saw this error, the first thing I tried was connecting to https://domain.net/services/v1.0/serverstatus.asmx using the browser that is built into DevStudio. I am able to connect with no problems at all, so I know the connection isn't being blocked. T ...Show All

  • Visual C# Code generation for property 'cursor' failed error in VS?

    Hi, I'm getting the following error in VS2005 pro on xp sp2; 'Code generation for property 'Cursor' failed. Error was 'CursorConverter' is unable to convert 'System.Windows.Forms.Cursor' to 'System.ComponentModel.Design.Serialization.InstanceDescriptor'.' Anyone know what this is about Hi Anson Horton MSFT You are right, when we have multiple versions of same then we can have such error.... I am also facing the same problem but . . .. After facing such problem (in vb.net) I have created Project from scrach. . . . say, myUserControl Then i have started new instance of VS 2k5 and created new project ...say, TestMyUserControl , and i am refrencing MyUserControl in this project... but still I am facing same ...Show All

  • Visual Studio Express Editions How to get selected item from ListView?

    Hello.How I can get the selected item from a listview.for example if I wan't to delete it..... 2 - I have a Folder Browsing Dialog.How I can search file (.txt or .mp3) in the selected path is not working Error:Error 1 'System.Windows.Forms.ListView.SelectedItems' is a 'property' but is used like a 'method' ...Show All

  • SQL Server How to use variables for server connections

    Hello, Today is day two of using SSIS and having some issues adjusting. In DTS I would simply populate my global variables via an Active X step or pass them in at the job line. I am having a hard time being able to do either or in SSIS. Really all I want to be able to do is pass in a server name to the Connection of an execute SQL task from a scheduled job line. Same goes for any variable really ... how do I pass them in, and how do I assign them to specific areas of a task Thanks! By the way, if you're finding the transition from DTS difficult I've got some documentation that may help: The mind-shift from DTS ( http://blogs.conchango.com/jamiethomson/archive/2005/05/09/1396.aspx ) But i ...Show All

  • Visual Studio 2008 (Pre-release) Can securityToken.Id be used as a unique client identifier

    Hi, I’m writing a WCF service and I would like to be able to uniquely identify the client upon receiving a message. For performance reasons I don’t want to use WCF sessions, but what I’m looking for is something similar to SessionID. While looking for such unique id I noticed that security tokens have a uuid that seems to uniquely identify the client, and not to change during the client life time. My question is - does the security token uuid really constitute a unique identifier of the client To be more specific – When message security is applied the relevant uuid is: OperationContext .Current.IncomingMessageProperties.Security.ProtectionToken.SecurityToken.Id; When transport security is a ...Show All

  • Visual Studio Express Editions Best Data Source

    I have been learing a lot over the last couple of months, although I ran into a major problem with my current project that I have been working on, which happens to be my First project that I want to do, and is not a tutorial. The problem I have is I need to use some type of data source, other than SQL, or Access, to store about 1000 rows of data with about 30 columns of information. I would like it if the end user doesn't have to install any other program (SQL, Access, ect.) to be able to use my program. I thought that I could use a CSV or delimited text file of some sort, to store the data, but I can't seem to use the data once I get it into the application. I have gotten the data in to a DataTable, a DataGrid, and a DataGridView, wi ...Show All

  • Visual Studio 2008 (Pre-release) Insert a column in a table

    How to insert a column to an existing table in a richtextbox table.Columns.Add(new TableColumn()) or table.Columns.Insert(index,new TableColumn()) doesn't seem working !! Thanks Ok thanks, i forgot to create the cells after the column. I implemented this function to create a column at a specific position public void InsertColumn(Table tbl, int index) { tbl.Columns.Insert(index,new TableColumn()); foreach(TableRowGroup trg in tbl.RowGroups) { foreach(TableRow tr in trg.Rows) { tr.Cells.Insert(index,new TableCell()); } } } ...Show All

  • SQL Server S

    Hi, I am using Sql Server 2005 64bit on a quad processor server with 6GB memory. When I run a some TSQL that uses a cusor the average processor never goes too much above 25%. Memory using is about 300-400K for sql server. Using perfmon it appears the disk queue length is 0 (or very close to it), can anyone suggest some perfcounters that would help me identify why my sql box isn't flying Thanks for your help Graham ...Show All

  • Visual C# basic question

    I'd like to know the answer of this question. When new instance of type is created, what is type of method implicitly called Thank you for help. Well, there is no method 'implicitly' called, to create an instance of a type you 'explicitly' call the constructor, a method with the same name as the class. Sorry but perhaps I don't really understand your question. ...Show All

  • Visual Studio Express Editions Problem Adding DLL to C# Project

    Hi, I wrote a simple dll in C++. I am trying to add it to a new C# project but I get this: "A reference to... could no be added. This is a not valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure that the file is accessible , and that it is a valid assembly or COM component" The file I'm trying to add called: Worker_Class.dll Please help, what could be the problem Iram Ah sure, that's just IntelliSense. The brackets [] tell the compiler to look for DllImportAttribute instead of DllImport. So just paste the code like I posted it, and see if it works (after changing the DLL and method name to yours). ...Show All

  • Windows Forms SendKeys.Send("+?") doesnt work ?

    Hi, I wrote a transliteration conversion program with Keyboard Hook, works like a charm, except of one thing - combination SendKeys.Send("+ ") doesn't work ("A" here is a russian "A", and "+" means SHIFT). All other letters work fine: SendKeys.Send("+ ") SendKeys.Send("+ ") SendKeys.Send("+ ") ........................ No problem, except SendKeys.Send("+ "). It is the same as SHIFT+SendKeys.Send(" ") - doesnt work either. In two words, I can't print a capital russian A, by pressing SHIFT-a. Any ideas why SendKeys.Send doesn't work with only this letter hi, Please go through the below link. Hope this gives you some idea. http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys.send(VS.80). ...Show All

  • Community Chat Question with Vista

    Sorry this might be misplaced Will Vista be able to run Xp programs such as games and files Another thing is would you suggest having 2 opperating systems and if yes should I have a seperate drive Will this affect my computer by slowing it down having 2 OS's thanks the current vista (rc1) is compatable with most applications. however, because it isn't in retail or even rtm yet we can't say for sure.because 2 os's cannot run simultaneously (unless one is emulated in the other) your computer would experience no negative affects from dual-booting.A tip for dual-booting xp and vista: take a long time to think about which os you will use most. allocate more drive space to this os. like right now, i'd give vi ...Show All

©2008 Software Development Network