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

Software Development Network >> 1Dave's Q&A profile

1Dave

Member List

Zero_
chiquiman
Hassan Ayoub
Cammyr
JohnCronin
Serend
Magic PC
Henry Chan
Dannyboy13
aragon127
samonwang
Pavan Apuroop
vdv_phuong
Beast Forever
MaggieChan
Pintoo Khaira
kats
John Dunn
SP534
michael aird
Only Title

1Dave's Q&A profile

  • Visual C# Exception Breakpoint on Application Termination

    I am using C# 2005 Express edition. My application runs fine but on closing I get the following message (for some reason I can't take a screenshot of the dialog) The exception breakpoint A breakpoint has been reached (0x80000003) occurred in the application at location 0x7c90130 This happens in the debug version and release version. My first reaction was that I had left a breakpoint in the program, my second that it is related to the debug version. I am new to C#2005 and could not find any swicth to change the build type from debug to release so don't know if calling for a Build automatically created a Build version. I would like to get rid of it since it would be annoying for my users Thanks in ad ...Show All

  • SQL Server Team development issue when debugging applications

    Hi, At the moment I am working on an asp.net 2.0 application where we use sql server 2005 as database server. We are building this web application with 5 developers in paralel and we noticed that when one developer is debugging the application (hanging in a breakpoint), other developers get a sql time-out exception. Yes we are using Transactions (System.Transactions namespace) but we have totally no idea why this side-effect is occuring. Any suggestions or tip is more than welcome ! Grtz If I understood you have locking problem. Try use snapshot isolation on statement level. Run: alter database  <your database> SET READ_COMMITTED_SNAPSHOT ON More info about snapshot isolation: http://msdn2.mic ...Show All

  • Visual C++ Analyzing a string with spaces using sscanf

    I have a configuration file that has IP addresses (space separated). I have to read the config file and gather all the IPs into a single string. IP = IP1 IP2 IP3 I havent been able to use sscanf to read strings with whitespace characters. How can I do this Thanks for your help!! It's not really clear to me what you want to do. What are you working with What does the string you're trying to extract information from look like What information would you like to extract What do you want to have in the end From what you've said so far, I can't figure out why you're trying to use sscanf. ...Show All

  • Windows Forms How to make a ToolStrip Calender Item?

    How to make a ToolStrip Calender Item which use a datetimepicker as its content Thanks You could put a DTP on your form, close to the ToolStripButton and set it's Visible property to False. Let the button's Click event set it to True... ...Show All

  • SQL Server Conversion failed when converting character string to smalldatetime data type

    I am newbie in asp and sql, and I am using VS & SQL express when I try to submit I get following error " Conversion failed when converting character string to smalldatetime data type" Following is my insert statement < asp : SqlDataSource ID ="SqlDataSource1" runat ="server" ConnectionString =" <%$ ConnectionStrings:oncallConnectionString %> " SelectCommand ="SELECT data.* FROM data" InsertCommand ="INSERT INTO data(Apps, Location, Impact, System, Date, Start_Time, End_Time, Duration, Problem, Cause, Solution, Case, Comments) VALUES ('@DropDownList1','@DropDownList2','@DropDownList3','@TextBox6','@DropDownCalendar1','@DropDownCalendar2','@DropDow ...Show All

  • Visual Basic Multiple selection on DataGridView

    Hello. A question please. If the user select more than 1 rows (blue color) on a datagridview, how can I recover the data of each row of the datagridview Thanks... NetPochi, When you choose two rows, I guess the one that has triangle is the last one but not the previous. Try to keep on pressing "Ctrl" button, that is the way to multiple select items in windows form. I think it is the same with DataGridView. In that case, I don't think you need to set anything on the triangle after you keep press the button. ...Show All

  • Visual C# Load CD Files

    How can i read the contents of a CD and load them in a control is the same with the DVD's ...i assume Not, because the protection code, but if somebody could tell me how to do it i'd really appreciate it Thanks. ok, thanks . Does that mean i have to use the Stream Class, right for streaming each file and pass them in a control ...Show All

  • Visual Studio Express Editions Ejecting removable media and activating a program from an outside operation

    Hi everyone, I was wondering if there's any way you can eject removable media (i.e. CD/DVD drives) at the click of a button in a program, like in windows explorer. And to activate a feature because of an outside operation (i.e. the opening of another program). Thnx in advance Thanks ReneeC, I pasted the link in a hurry and hadn't checked it. (I was really referring to my own code in that thread) That example only ejects the first drive too. Here's how to use MCISendString to open/close a specific drive, and tidy up after yourself. Imports System.Runtime.InteropServices Imports System.Text   Public Class CDTray       Private Declare Function mciSendString Lib "winmm.dll" Alias ...Show All

  • Visual C# Event handlers not working as intended

    I arrive at my current C# ASP.Net page through Server.Transfer from a previous page. This current page has (among other things), two buttons. I initialize my event handlers as follows: private void InitializeComponent() { this.cmdChange.ServerClick += new System.EventHandler(this.cmdChange_ServerClick); this.cmdSubmit.ServerClick += new System.EventHandler(this.cmdSubmit_ServerClick); this.Load += new System.EventHandler(this.Page_Load); } And my event handlers look like this: public void cmdChange_ServerClick(object sender, System.EventArgs e) { Do stuff here .......... .......... } public void cmdSubmit_ServerClick(object sender, System.EventArgs e) { Do stuff here .......... .......... } The problem is, I ...Show All

  • Visual Basic String problem

    Here's a newbie question: I'm trying to concatenate several strings into one long insert statement string. That works fine until the string reaches 250 characters. After that only one character is added and that is not the next character I want to add. I didn't think the string datatype in Visual Basic was restricted to 250 characters. My code goes something like this: sqlstmt = "INSERT INTO " & TableName() & ".KLV32001 VALUES (" sqlstmt = sqlstmt & ToDBText(C_BRUKER_ID) & ", " sqlstmt = sqlstmt & CLng(cIUS.Til_avtale) & ", " sqlstmt = sqlstmt & ToDBText(aDate) & ", " sqlstmt = sqlstmt & ToDBText(atime) & ", " sqlst ...Show All

  • Visual Studio Express Editions Making A Media Player

    Hi. I am making a media player. If sombody could answer these questions, it would be very helpful! 1) Is it possible in VBE 2) What code would I use to... a) Show a dialog to open an MP3 b) Begin to play the selected MP3 c) Stop the MP3 3) Can i show visualations (Spelling wrong, sorry) a) What code can I use Thank you! there was a series of elaborate dialogues on this. Use Search, Look up Cheyenne. Also there is a tutotial based around an MP3 player called How to use the debugger. Those should be very rich resources for you. ...Show All

  • Visual Studio Team System Use filter for BuildCompletionEvent in Bissubscribe

    Hello all, I want to add a filter to the BuildCompletionEvent in the Bissubscribe command to be able to send mail when the build is a Failure. I tried doing this: BisSubscribe.exe /eventType BuildCompletionEvent /address myemail @domain.com /deliveryType EmailPlaintext /server myserver1 /filter "TeamProject = 'MailTestProj' AND Build='Failure' but this did not help. Can someone suggest how to apply the filter I appreciate a response in this regard. Thanks, Intern What is the error you are getting I tried this and it created a subscription with no error. I do not see the field named "Build" you use in the filter though, so you will not get mails.Probably you are l ...Show All

  • SQL Server Query on dataset

    I have a dataset filled with data. I want to get a particular (row,column) value from the dataset. How do I query on the dataset if the query is firstname, lastname where employeeid='1234' Krutika: "Dataset.Select ()" looks to me like a member function; if that is the case this post probably ought to be place in another location to get a better response. Dave ...Show All

  • .NET Development where to send queued email from SQL Server or web app???

    We have a ASP.Net 2.0 web application and need to send out emails. We have an EmailQueue table in our database where email gets stored before it is send out. We are looking at the pros and cons of using Database Mail in SQL Server 2005 to send out our emails. Should we use SQL or our web app to send email Tips, tricks, articles, experiences, opinions are greatly appreciated. Newbie ...Show All

  • SQL Server SQL Select query need for following criteria. Please help, Retrieve records with independent price and its total volume per min

    Time        Price     Volume 090048         510       6749 090122         510       2101 090135         510       1000 090204         505       2840 090213         505       220 090222         505       1260 090232        505       850 090242        505    &n ...Show All

©2008 Software Development Network