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

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

Vince15

Member List

nigeljsy
Fantasio
Jason Chan
DOCMAN
LucasM
Herald Smit
DebsPink
Smurfy
igorbaITALY
HypeH
vinay dubey
billlocke
Phil Borg
Krishna Murthy
Draggi
mstrate
jhance_MS
Shirly Baruch
zuo lan
Peter Sarrett
Only Title

Vince15's Q&A profile

  • Visual Basic Using the state of a button

    I've now got my serial communication program working. My thanks to those who assisted. What I now want to do is monitor the state of a button so that I can "listen" to the port continuously but "talk" to the port when the button is pressed. I'd like to do something like the following: Private sub Button1_Click ( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim buffer As New StringBuilder() Using comPort As SerialPort = My .Computer.Port.OpenSerialPort ( "COM1" , 9600) Do If button1.Click = true [ie. button pressed] th ...Show All

  • Visual Studio Team System Load test needs database

    I tried to run a load test consisting of a single web test, and at the end of the run it said I needed to create a database for my test results, or needed to set a connection string.  The error message had links to the help file, but they came up w/ "Item not found" in MSDN.  How can I set this up Here's the error I get: --------------------------- Microsoft Visual Studio --------------------------- Error occurred running test. (Computer FOO) Could not access the load test results repository: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. -------------------- ...Show All

  • SQL Server uniqueidentifier update question

    Hi all I am written a script to update the customer db, it is 99% done apart from this. The information is sorted in a temporary table where I then update two tables, customers and contacts. The uniqueidentifier field is an nvarchar in my temp table as I am extracting it from a txt file, when I go to update the customer table all ok apart from the fact I can’t update this field: Server: Msg 8169, Level 16, State 2, Line 1 Syntax error converting from a character string to uniqueidentifier. There must be a way of forcing this column to update or in some causes insert. Thanks in advance Rich ...Show All

  • Visual Studio Express Editions Date within a cell: which month is it?

    If I am supposed to be asking this question in a different forum, please give me directions, otherwise: In VBA I'm trying to determine if a date in a given cell is within a certain month, e.g., if a cell contains 1/8/2006, I want to be able to print Jan '06 in another cell. Below is what I have tried so far that doesn't work: rowctr = 8 If Cells(rowctr, 10) >= "1/1/2006" And Cells(rowctr, 10) <= "1/31/2006" Then Range("AA" & rowctr).Select ActiveCell = "Jan 06" End If Strange to me, but the above works for double digit days, i.e., 1/10 thru 1/31, but not single digit days, 1/1 t ...Show All

  • Visual Studio Unable to attach to application 'WebDev.WebServer.EXE'

    Unable to debug client side code (Javascript) nor able to attach debugger thanks in advance From the limited information that you've given, it seems that you're trying to debug client code (Javascript) using the server code (WebDev.WebServer.EXE is the local file web server) engine. I suggest trying to attach to your browser process (eg. IEXPLORE.exe or firefox.exe) to debug client script code. ...Show All

  • Visual C++ VC++ 2005 Toolbars

    Is there a way of getting the office 2003 style toolbars in VC++ 2005 I know they are available in C# and VB 2005,  but VC++ has the old style office 2000 toolbars. Any suggestions Thanks, Paul Well first of all, make sure you're creating a CLR Windows Form (and not a native/MFC form). Next, make sure in the Menus & Toolbars Toolbox, that you've added a System::Windows::Forms::ToolStrip control. If the ToolStrip control doesn't appear, right click it and select Choose Items. In the dialog box that appears, make sure ToolStrip is checked, then press O ...Show All

  • .NET Development Calling a C# executable from windows explorer shell context menu

    I have written a simple application in C# (2005 Express Edition) / Windows Forms that displays diskspace usage for a given file/folder as a pie chart that I wish to access from the windows explorer context menu. I have managed to add an item to the context menu for all folders using the file types tab in the folder options dialog within windows. This is sufficient for me as I don't intend to distribute this application, it is only for my own personal use, so adding it manually is OK. My problem is that I don't know how to find out which folder was right-clicked from within my application. Is the folder name simply passed as a parameter ...Show All

  • SQL Server Copy Database with Microsoft.SqlServer.Management.Smo.Transfer breaks identity columns

     Hello I have a task to copy at runtime "etalon" database inside one same SQL 2005 server. Everythings ok except identity fields: identity breaks in new database. I use such code:                     Transfer xfr = new Transfer(db);                     xfr.CopyAllObjects = true;                     xfr.Options.ContinueScriptingOnError = true;   &n ...Show All

  • .NET Development Strange behaviour with STOU (.UploadFileWithUniqueName).

    Hi i'm uploading a file with FTPWEBREQUEST using the STOU command. When i check the ftp server logs there is some strange behaviour. For some reason it is doing a CWD with the filename passed instead of uploading the file with a unique name. This of course throws an exception as there is not directory on the server for the CWD command. Here is the server log highlighted for ease of reading. I'm trying to upload australia_anthem.mid into the home directory. This process works if the method is set to STOR or APPE. 5] Wed 24May06 17:03:15 - (000305) Connected to xxx (Local address xxx) Wed 24May06 17:03:15 - (000305) 220 Serv-U ...Show All

  • Visual Basic Reading an external "Treegrid" control text

    Hi all, There is a control on another form. I have used the following code to determine that the control is a "TreeGrid": wndHandle = WindowFromPoint(x, y) ' get the caption/text of the window wndCaption = Space$(256) length = GetWindowText(wndHandle, wndCaption, Len(wndCaption)) wndCaption = Left$(wndCaption, length) ' get the window's class wndClass = Space$(256) length = GetClassName(wndHandle, wndClass, Len(wndClass)) wndClass = Left$(wndClass, length) ' display the result in the label s1 = WindowText(wndHandle) The winclass variable above returns the class as a "TreeGrid", what ever that is. ...Show All

  • Visual C++ No Symbols Loaded

    Hey everyone, This is most likely a dumb question but I am really stumped. I am in school for programming and when i write in c++.net 2003 I have some problems with error codes. Although when i write in c++ ver.6 it works fine. I am copying the program with the messages. If anyone can help me figure this out I would be grateful. #include <iostream> using namespace std; //This is my main function void main() { // Variables page 40 of text book int var, var2; cout << "Hello World!" << endl; cout << "\n\nHello Class!\n"; cout <<endl; cout &l ...Show All

  • Visual Studio Team System Team Foundation Virtual Server (TFS VPC)

    Hi All,    I've read complaints about how to set up and configure TFS on a VPC, so I am posting a series of articles describing how to build a Team Foundation Virtual Server from the December CTP release of Team Foundation Server - similar to the VPCs Microsoft released with beta versions of Visual Studio 2005 - at VSTeamSystemCentral.com.      Registration is required to view the content:  http://www.vsteamsystemcentral .com/dnn/LinkClick.aspx link =55&tabid=36&mid=364   Hope this helps! :{> Andy andy@vsteamsystemcentral.com       ...Show All

  • Visual Basic Sql Server 2005 DataBase Create

    How to create a DataBase using Microsoft.SqlServer.Management.Smo or another Thanks, ...Show All

  • Software Development for Windows Vista WinFX RTC December 2005 Not working with December Vista SDK

    There's a problem with the WinFx RTC download for December 2005.   The links on the page http://www.microsoft.com/downloads/details.aspx familyid=BD3BA2D5-6ADB-4FB2-A3AA-E16A9EA5603F&displaylang=en There's a link to download the entire WinFx RTC package instead of the "smart" installer. http://download.microsoft.com/download/9/4/9/949EEA41-364A-45DC-8F4E-47E7AC147D25/winfxrc.exe I checked the time/date stamp in the downloaded files from the WinFX RTC and the Dll's are all from 11/18/05. this is for the WinFX RTC that is linked on the downloads page indicating it was December 2005 WinFX RTC.   This happens wi ...Show All

  • .NET Development How to send E-mail to multiple users but only 1 email visible to reciever

    Hi,   I'm trying to send an e-mail using smtp. I only want to create one mail  object and I want to send to multiple Users. I do not want the user's to be able to see who else is receiving th mail. Currently I'm only sending to one person at the moment. Here is what I have so far. btw, I'm using 2.0   protected void SendMail( string To, string Subject, string Body) { MailMessage message = new MailMessage (); message.From = new MailAddress (System.Configuration. ConfigurationSettings .AppSettings[ "MailSender" ], System.Configuration. ConfigurationSettings .AppSettings[ "MailSenderName" ] ...Show All

©2008 Software Development Network