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

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

Digitalboy

Member List

kevin ranck
Schadix
Thornbottle
Jeff in Portland
WallyG
PsychoDarkStar
RizwanD
Bertus Botha
Felagund
Chandra111
Manurein
john.d
StevetTW
ramclain
YapEro
Ayman Farouk
sps12
cdbob
CyberJP
ArunSingh
Only Title

Digitalboy's Q&A profile

  • Visual Basic FAXCOMEXLib - Operation Failed

    I have an EXE that is scheduled every 10 minutes. It has been working successfully for over 6 months. Suddenly, it breaks. If I reboot it works for a couple faxes and then breaks again. Here is the block of code that it is failing at: FaxDocumentClass fd = new FaxDocumentClass(); fd.Recipients.Add(sFormattedFaxNumber, sRecipientName); fd.DocumentName = sDocumentNameTag + sRequestId; fd.Body = sFile; sContext = "12"; fd.ConnectedSubmit(fs); fs is a reference to the FaxServiceClass. The fs.Connect(sFaxServerName); which comes before the code above works fine every time. Why all of a sudden is the ConnectedSubmit not w ...Show All

  • Visual Studio Team System Incredibly (astronimically) slow performance on new RC of TFS

    We upgraded from beta3 to RC on TFS. Also ran the 2.0 hotfix. I uninstalled the client (had no instances of vs2k5 running) and installed the new RC team explorer client. I also installed the 2.0 hotfix on my local computer. Now the SQL server runs on 100% load.. 'TfsVersionControl.dbo.prc_QueryItemsExtendedLocal;1' is running It loads the solution fine to a certain point, but then freezes. Getting latest from team explorer goes fine. Branching is successful, opening the branch, however, was not successful. It resulted in the same kind of freeze / cosmic slowness. On 1 out of 10 times, I managed to load the solution. From there it was fa ...Show All

  • Windows Forms error message-this file does not have a program associated with it for preforming this action

    I was sent some jpg photos in outlook express, when I tried to open I got message This file does not have a program associated with it for preforming this action. Create an association in the Folder Options control panel. The photos were kodak, which I have on my pc, also the error was from c:\Documents and settings\ then my name. These forums are for programmers working with Windows Forms. I think you are most definately in the wrong place. Try search Google for the file extension of the files in question though, (ie: .jpg, .bmp or whatever) ...Show All

  • Visual Studio Team System tired about TFS ctp december 2005 and sharepoint services 2.0 with SP2

    I'm tired from installing and reinstalling and reimaging and retrying of different setup scenarios. Fact is: I've tried over 3 full days and I did not suceed :-((( My configuration corresponds to the given checklists. I have installed a virgin machine with all required software packages including sharepoint services 2.0 SP2. The only maybe special thing is that I do not want to use Active directory because this is a test and evaluation machine only. First I got the Error 32000: from  "...Microsoft Visual Studio 2005 Team Foundation Server\Tools\createds.exe" because I have forgotten to install Report Server while installing S ...Show All

  • SQL Server URGENT: Insert and Update in a transaction is getting blocked

    Hello, I have the following situation: -Package A begins a transaction (TransactionOption="Required") with IsolationLevel=Serializable -PackageA calls PackageB -PackageB has 2 data-flows. The first one inserts into TableA. The second one updates TableA. They run serially. They both have TransactionOption="Supported". The update is blocked in SQL Server by SPID=-2   (which I know is MSDTC). I tried setting RetainSameConnection=TRUE on the connection manager in PackageB. It failed with: "Incompatible transaction context was specified for a retained connection. This connection has been established under a different tran ...Show All

  • Visual C# Sockets

    Hi there. Sorry for posting this in the wrong forum, I apologise but hope someone can guide me in the right direction. I have googled for this endlessly however the examples are poor or they are ok but cannot seem to understand them or simply there is not enough in depth explaination. I want to be able to create a simple application that sends/recieves data. I will have a Server app which listens to a connection and acts to whatever it needs to do (read data from that conneciton and so on) Q is, how do I create a socket listener which will keep running until the client says "close connection" or until the application is terminated I have ma ...Show All

  • Visual Studio Express Editions VB 2005 Express/MS Access - row is not being added

    Has anyone had any success with adding a row to an (external) Access 2.0 database. My code is: ' *** create a new row by calling the NewRow method Dim thisRow As DataRow thisRow = dsACCIMAGE.AccImageTable.NewRow() ' *** manipulate newly added row using column name ' note: can alternatively replace column name with column index ' e.g. thisRow(3) = SelectedPathName ' Code for the 1st column goes here after auto-counter updating is resolved thisRow( "ImageDateTime" ) = somedate & sometime thisRow( "ImagePathName" ) = SelectedPathName thisRow( "ImageFilename" ) = SelectedFileName ' Code for the ...Show All

  • SQL Server Top 5 with Union.

    I want to know the top 5 patterns in sales, the report will like this: Month Top1 Top2 Top3 Top4 Top5 2005-06 A1 A2 A3 A4 A5 2005-07 B1 B2 B3 B4 B5 2005-08 C1 C2 C3 C4 C5 --- --- --- What I did is: declare @StartDate and @EndDate, set @StartDate and @EndDate Delete AAAA (AAAA is a table) Begin While (@EndDate< somedate ) Insert into AAAA(sales, Month, Pattern) Select TOP 5 sales, Month,pattern from sometables order by sales DESC increase @StartDate and @EndDate by a month End Select * from AAAA It works fine. My question is: Can I get rid of table AAAA ...Show All

  • Visual Studio Express Editions Just downloaded VBExpress Edition and have a question.

    I downloaded VBExpress Edition last night, registered it and this morning I recieved an email thanking me and giving me a link to download FREE photos, icons and stuff. email - " Registration Benefits We are pleased to provide the following registration benefits for registered customers: Stock photography — Download 250 royalty-free images from Corbis for inclusion in your applications Icons — Download a collection of professional, royalty-free icons for use within your applications Components — Download a selection of components for use in applications you build E-book — Download an electronic version of Microsof ...Show All

  • SQL Server Simple Database - What is Best Option?

    Hi, I am writing a simple program which runs on users xp machines and accesses a simple table on an NT Server. In otherwords, the database consists of just a single table with perhaps 4 fields and a maximum of 200 records, with low transaction activity (users periodically update their status or check on other users' statuses). Do I need to use SQL What is my best option for such a simple table / database. Your help would be appreciated. Hi, I'd need to learn about using XML first :) To see if it is worthwhile looking at this option (which sounds good because I presume there is no ...Show All

  • SQL Server Reports run under my credentials, not those stored on report

    I've created a report in SSRS 2005 that sources from a SSAS 2000 cube (on another server). In BIDS (running on the SSRS 2005 server) I'm using a shared data source with "generic" credentials to access the data. The generic credentials I'm using is an account that has datareader access. In BIDS the report runs, builds and deploys just fine. No problem so far! My problem has to do with running the report from the Report Server. The only way I can get the report to run from the Report Server web site is to modify the data source and pass my credentials in the report (thereby overriding the credentials stored in the report). Why wou ...Show All

  • .NET Development Locking and Async NetworkStream Operations

    Hey all I also postet this Question in the Newsgroup (dotnet.general) and I'm sorry if I shouldn't also post it here but I find the Problem/Bug somewhat interresting. Here's the Post: While working with Async Methods and Networking I found something very strange or better a bug To test it yourself create a new Windows Application with just a Button on the Form. Then modify the Code of the Form1 class until it looks like: /****** BeginCode ******/ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using S ...Show All

  • Visual Studio Team System vssscc file corrupt

    Somehow (not too sure how it has happened) the <solutionname>.vssscc file has become corrupt in the Team Foundation Source Control. Performing an h get * in the directory that is bound to the solution folder in source control give an error about nulls in the database on the vssscc item. h get * /force seems to ignore the error and proceed though. This is causing our Team Build to fail when getting the solution out of source control. Any ideas how to proceed Regards Stef Shoffren Okay, I understand then.  The file that was corrupted by beta 2 is still unrecoverable even in the converted beta 3 database.  By going thro ...Show All

  • Visual Basic LinearGradientBrush, too many arguments to public Sub New().

    Hello I am using this LinearGradientBrush to chnage the gradient color of my ToolStripButton which is on ToolStrip control.  I've the follwoing code Dim x As Integer = 20 Dim y As Integer = 20 Dim h As Integer = 100 Dim w As Integer = 200 Dim myRect As New Rectangle(x, y, w, h) Dim myLGBrush As New LinearGradientBrush(myRect, Color.Blue, Color.Aquamarine, 45.0F, True ) But I'm getting too many arguments to public Sub New(). Any help will be highly apprecieted. Thanks Khalid Mirza KhalidJalil@Hotmail.Com I tried the code that you used and it seems to work for me if I change the 4th a ...Show All

  • SQL Server Would like to know how could I delete a table using a Stored Procedure

    I need to delete a table using a stored procedure, I tried delete tblname, but didnt do anything It ran normally, but the table didnt desapeared. Thanks for any suggestion on how to delete a SQL table with all its contents from a Stored Procedure.  The table is not related to any other table. Thanks, As a general rule you should not do ddl in an sp that also runs regular DML statements, put the ddl in another proc, this will generally lead to better compilation behaviour. Not sure what is up with your code, the follow works for me. keep executing the exec line to see the existance of the table chang ...Show All

©2008 Software Development Network