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

Software Development Network >> Willfin David's Q&A profile

Willfin David

Member List

jrett
todonnell69
Rajeev Mahadasu
ASMS
rduclos
Andrew MacNeil
feuerste
tistalker
Drakkaris
ITLionWoo
Kevin Schaefer
Lyle.Dodge
虫豸
cyberbob
Aicos
bruce2005
Lilian K
ZhangQing
David Dillard
Vallari Kamble - MSFT
Only Title

Willfin David's Q&A profile

  • .NET Development WebClient and ports other than 80

    How do i get WebClient functions to work with web pages that are not port 80 Nothing is even sent CheckFinalStatus() of WebClient throws the error, thus nothing is sent I checked with netmon and nothing was sent I already said in a previous message that CheckFinalStatus() was throwing the error have never tryed port 8080 but as one guy said 8080 seams to work, but none of the sites i want to scan are port 8080 I can setup an iis 6 web page on a port other than 80 and 8080, and webclient throws a error as to HttpWebRequest it throws the same error The setting mod seems to work, but i dont li ...Show All

  • Visual Studio Team System Can I undo / discard a checkout from source control explorer?

    Hello, This issue may have already been visited, but I haven't had any luck searching for a solution. Here's my problem: I had a contractor working on my project for quite some time in the early phases. When he left he left files checked out in his Workspace on his desktop. The effect of this is that Source Control Explorer listed a pending change for him dispite the fact that he has been gone for months. How can I discard his pending changes How do I delete his workspace Background: - TFS B3R on VMWare Server - Single server install Thanks as always, Graham I don't think you can do those thi ...Show All

  • Visual C++ Structure member definition not recognized

    Hi, I have the following structures: struct ObjCol { char szColName[64]; // column name ColType colType; // type of data ulong ulSize; // size }; typedef enum { TYPE_INTEGER, TYPE_STRING, TYPE_BOOL, TYPE_RAW, TYPE_EXT_TIME, TYPE_EXT_DATE, TYPE_EXT_TIMESTAMP, TYPE_CONV_UL_TIME, TYPE_CONV_UL_DATE, TYPE_CONV_UL_TIMESTAMP } ColType; and I call a method which initializes the ObjCol structure. I call it from MC++ project and from a C++ project. The problem, however, is that when calling it from MC++ the colType member is undefined, at least this is what the debug think, but I looked in memory where the pointer t ...Show All

  • Visual Basic help on Opening the Com port using Vb.net 2003

    hi i'm trying to open com2 . whene i clicked on Button Open_com2 the com 2 must be open i'm using Visual Studio 2003 the following code not working but same this code working whit Visual Studio 2005. how can i open com2 by clicked on Button Open_com2 in Visual Studio 2003,please ! Public Class Form1 Inherits System.Windows.Forms.Form Friend WithEvents open_com2 As System.Windows.Forms.Button #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'For ...Show All

  • .NET Development Query String

    How can I pass an argument from one Web Page to another I now how to do it in C#, but I want the equivalent in VB. VB uses parentheses for array indexing instead of square braces, so your line would be: Dim PartID as String = Request.Params("recordID") ...Show All

  • Windows Forms Resizing Custom Control at Design Time?

    I have created a custom control, which draws a circle on the form. Now resizing the circle at design is distorting it. When I resize it at run time, it appears fine. How can I fix this problem thanks i got it working fine, someone suggested me this: 'In order to have the control automatically repaint when it  'is resized, set the ResizeRedraw style bit when the control 'is created. SetStyle(ControlStyles.ResizeRedraw, True) ...Show All

  • Visual Studio VSIP/Visual Studio 2005 SDK and open source language services?

    In the near future I would like to attempt a language services plug-in using the Visual Studio 2005 SDK (formerly called VSIP I believe); the free version, to be specific. However, since I may or may not have much time in the future to work on it, I was wondering if a non-viral open source license - something like MIT or BSD that does not propogate up the chain - would be OK. I do not care much about the particulars of whatever licenses are acceptable; anything that lets me share the source so other people can hack on it is fine by me. Any-one know the answer to this C'mon now. There's no need to be afra ...Show All

  • Windows Forms Controlling elements in a seperate C# form

    Hi, I'm fairly new to C# and OO stuff, being an embedded C specialist. I'm trying to write an application that can talk serially to several units on a bus. That side of things I can handle, but the windows forms is harder for me! I have the main window form of the application where the user can setup the connection and so on, which will actually do the serial communication, however I need multiple extra windows that not only display information recieved (which one depending upon an ID), but also send data back to the master. IE: there will be one master, and multiple slaves (eg 4) that communicate only with the master. I'm struggling to ge ...Show All

  • .NET Development Customize the "error report" send by a crashing application

    When the .Net application crashes, a dialog box appears and proposes to send a report to Microsoft. Is it possible to customize the behavior of this dialog box to send the error report to an other server Thanks in advance, Joannes There is no way within your application to specify a different server for error reports. However, there are a couple of ways to obtain your error reports, depending on your scenario. If you're an ISV, you can obtain error reports for your application via http://winqual.microsoft.com (see the links under "Windows Error Reporting"). Currently that site has only partial support for ...Show All

  • Windows Forms Sorting CategoryAttributes for PropertyGrids

    This is my first post, and I just want to say that I am so excited that I found this dev forum.  It will come in very handy for development.  Thanks everyone for being a part of it. I wanted to talk about Sorting Categories in property grids.  I have failed to find anything that tells me how to do it.  I have made a properties sorting class, but not category.  I have come across a way to do it.  Pardon my stupidity if everyone already knows this, but for the new devs, it will help.   Lets take my example: This is property grid data to be shown in a windows form property grid. I'm not going to go into the wi ...Show All

  • .NET Development invoke Xml document as Web page

    Hi, As of now i am accessing excel documents from the Web application. The excel contains vb Macro code to connect to the database and color the cells based on the data retrieved from the database. Since the excel is opened, a separate excel.exe process runs in my task manager and there is a dependency that the client machine must contain the MS excel. to get rid of this dependency i would like to open the Excel by referencing it inside the application itself. I was given to understand that the Excel can be converted into XML and the XML can be referenced in a project. Could anyone Please help me out as i am quite new to programming. ...Show All

  • Windows Forms Toolbar Button Problems...

    Hi, my problem is that when I add images to my imagelist, then add an image to a toolbar button in VB.NET, the image looks ok. But when I have the button disabled, I lose all detail of the image on the button. There is no way to discern what the image is supposed to be. I am desperate. I have done a lot of reading and  ...Show All

  • SQL Server min/max of x minutes

    I am trying to develop a sql statement that will create a recordset of the min (or max) values in x minute increments over a period of time. e.g. over a period of 7 days, I have data that was collected in 1 minute intervals. I need to know the min (or max) value in each 10 minute interval over that same period of time. Is there an efficient way of doing this Try something like this: DECLARE @dt_from DATETIME, @dt_to DATETIME; SET @dt_from = '2006-03-21T00:00:00.000'; SET @dt_to = '2006-03-28T00:00:00.000'; SELECT MIN(dt) AS dt, MIN(val) AS min_val, MAX(val) AS max_val FROM tbl WHERE dt >= @dt ...Show All

  • Windows Forms Textbox event pbm

    HI, When i execute the sample codegiven below, no errors. but not popping up the Msg. ("Are You sure to proceed ). By default it's taking as "Yes" and gives the Msgbox stating "Y". what is wrong here Private Sub txtE_TextChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles txtE.TextChanged If ((txtE.Text.Length = 9) And (txtE.Text <> " ") And (txtE.Text <> "")) Then Example() End If End Sub Private Sub Example() If (MsgBox("Are You sure to proceed ", MsgBoxStyle.YesNo) = MsgBoxResult.Yes) Then ...Show All

  • .NET Development Anyone tried One Touch Deployment and connected to SQL Express with a MDF file?

    Hi, I have built a sample application that has a MDF file included in it. I am installing this application using one touch deployment in a blank XP SP2 box that is not part of any domain. The one touch installs me the .NET framework 2.0, SQL Express and the application. I am running as local administrator. When I try to connect to the the database, I am getting an exception that goes like below: Directory lookup for the file "C:\Documents and Settings\Administrator\Local Settings\Apps\2.0\CTTZV6Y6.5CN\55T3N9MD.NNB\ultr...exe_35637122109d783d_0001.0000_none_c7f5bcb16e100e47\Check.mdf" failed with the operating system error 5(Acces ...Show All

©2008 Software Development Network