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

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

wadleys

Member List

kadonk
David OShaughnessy
Junaid
FATSO
Ravikant
petemod
macer
danoliv
dbae
Sumit2006
garyf
Arto
higgins427
AngryTree
Adam Lofts
Ankith
newDBA02131
NatalieE
sharc
GregVance
Only Title

wadleys's Q&A profile

  • Windows Forms SqlClientPermission

    OK.....I have been searching and haven't found much helpful info on this topic.  I am hosting a winform (user control) on a website.  The form makes a call to a stored procedure...:     Public Function getxxxxx() as dataset         Dim sqlCmd As New SqlCommand         Dim da As New SqlDataAdapter       ...Show All

  • Visual Basic output strings

    In the past, whenever I had to generate a string containing a mix of standard characters and variables I just concatenated them with the ampersand symbol. For example: Console.WriteLine("My name is " & strName & ", and my address is " & strAddress) However, now, whenever I see an example in a book or elsewhere, I see them using a different style, such as this one: Console.WriteLine("My name is {0}, and my address is {1}", strName, strAddress) Is there a reason for this or some benefit I'm not realizing Personally, I find this style way more confusing, since you have to jump back and forth to see ...Show All

  • SQL Server A transport-level error has occurred when sending the request to the server

    Hi all, I am new to SQL 2005. I have one issue and it is as follows: I write a simple query and run it; it works fine. Now I break the network connection and run the query; in this case it runs fine. But when I reconnect the network and run the query, then I get an error as follows: "A transport-level error has occurred when sending the request to the server. (provider: Named Pipes Provider, error: 0 - An unexpected network error occurred.) " Every thing is local here. So how the network issue comes here For some reason the connection was made through Named Pi ...Show All

  • Windows Forms Monitoring arrow keys events

    I'm building an texteditor and i want to now how i can monitor if a user changes the position of the cursor with the arrow keys. How can i solve this. I'm using Visual c++ express edition 2005 and created the project as a CLR form project Setting e.Handled to true will work UNLESS you are subclassing TextBox, in which case it will not work. So you would have to intercept the message sooner, for example by overriding ProcessDialogKey, and returning true. ...Show All

  • .NET Development WSE3 doesn't work in VS2005 (add-in not installed and proxy not generated correctly)

    Hi all, I've got a lot of problem using WSE3 with my installation of VS2005 Team Suite. I installed the WSE3 with the "visual studio developer" option but I don't have the add-in for the configuration. I can bypass the problem using manually the Configuration tool to edit the configuration files. But I've also another problem: this happens both with my application and with the quickstart examples: when I add a web reference, the generated proxy is still the old one (which inerhits from SoapHttpClientProtocol) and not the "new one" that should inherits from Microsoft.Web.Services3.WebServicesClientProtocol and should have ...Show All

  • Visual C++ Capturing /showIncludes output

    Hi. I'm trying to capture the output of cl /showincludes . The docs say that this goes to stderr , but that seems not to be the case. In a 'normal' console window, the output goes to stdout and I can use cl -c -showIncludes f.cpp >includes When run from VisualC++ (visual c++ 2005 express edition), cl insists on sending its output to the Output window, and no amount of redirection seems to be able to pursuade it to do otherwise. Thanks, Bob. [ C:> cl -nologo -Bv Compiler Passes: C:\_1\VC\BIN\cl.exe: Version 14.00.50727.42 C: \_1 \VC\BIN\c1.dll: Version 14.00.50727.42 C: \_1 \VC\BIN\c1xx.dll: ...Show All

  • SQL Server Uninstall .Net Framework

    Hi All, I'm trying to uninstall previous version of .Net Framework before doing a clean install of SQL Server 2005.  When I tried to uninstall in Add/Remove, the following file it asked for, and I don't think it is on my harddrive - tmp1DD.tmp - any help that I could manually remove .Net Framework, I would appreciate it!!!  or a tool that I can manually run to uninstall all files associated with previous CTP SQL Server 2005 bits, so I could have a clean install. Sincerely, -Lawrence I'd try reinstalling the old version of the framework again and then uninstalling it ...Show All

  • Visual Studio Tools for Office how to export

    I need to create a new word document from vsto word custmomized application. Application has some dynamically created datagridviews that serve as reports and are based on some paramteres stored in xml files. Now when users are done with the document, I need to create a 'normal' word document, rendering all of the content. I know that just saving a document will not do it as dynamically created controls will not be save with doc (currently I need to put marker and inject content every time user opens a doc.), so I need a way to render a content of a finished document to a new non customized word document. What is the easiest way to do it Usin ...Show All

  • Windows Forms Design patterns and best practices for rich clients

    Hello All - I have been developing an n-tier application with a .net windows based rich client (rather large MDI app) sitting on the front end for about 8 months.  Hindsight once again being the case, I wish we would have spent more time up front investigating patterns and best practices to apply when developing this rich client. We have gone through phases where we thought it best to keep ALL logic out GUI components (user controls, etc) and therefore found ourselves creating a slew of controllers and helper classes, and other phases yet where we decided to include logic within the controls and components. When using controllers, we we ...Show All

  • Windows Forms TRACK A THREAD WITH A PROGRESSBAR

    Is it possible to track a threads progress using a progressbar  If so can someone give me an example, or at least tell me where to start looking. I have a thread that performs a rather lengthy SQL insertcommand. I would like to be able to display its progress. I don't remember exactly how was it in VS2003 but in VS2005Beta you&n ...Show All

  • Visual Basic search folder with speed

    Hi everybody, Well I need to find some files on the harddisk, but the problem is its kind of slow. Well there are some good functions like My.Computer.FileSystem.GetFiles() but I need some speed. Is there a function like find quick allfiles() Thanks for your help. Hello. No, sorry. GetFiles() is the quick version. - There is the Index Service to which you might speek OLEDB. - MSN search should have some API. The problem with these is that they need to build/update an index for all your files. So they are not to be trusted to be complete (or activated, even). You might consider to use a BackgroundWorker comp ...Show All

  • Visual Studio Tools for Office "Office document customization is not available" error

    This error happens very frequently when an Excel VSTO project is built and run within VS. The Excel file will open, but this error will occur. The way I deal with it is to close the Excel file and restart it within VS again, or and again, or and again, or and again, .... The error usually will disappear after rerunning the application once, or twice, or thrice, ... Sometimes, I do have to close VS and restart the whole thing. Could anyone offer a better remedy I am using the latest versions of VS and VSTO. The details of the eroor are copied as following: Could not load file or assembly 'AB5000Trend, Version=1.0.2309.22694, Cu ...Show All

  • Visual Studio Express Editions Q: about StreamReader

    hi, i want to know the total number of lines in the document because i will use it as iteration statment like or example for(i=0, i < totallinenumber, i++) myarray = mystreamreader; is there any way to do that or at least to get the lines to my array also i want to know if the streamreader riched to the end of document or not thx You can simply read line with a StreamReader.ReadLine, this will give you a string when available; otherwise null. When you get a null value back, you know the end of the file it reached. using (StreamReader reader = new StreamReader(@"c:\myfile.txt")) { string li ...Show All

  • Visual Studio Express Editions Error: undeclared identifier

    Hi. I'am developing a solution called LIB with 2 projects inside: (i) SIG (ii) PROCSIG I've writen a class called Signal inside SIG. The SIG project wich has the following files: - Signal.h, Signal.cpp, TestSignal.cpp The second project in the LIB solution must use the already developed and tested class Signal. So i have included in PROCSIG the following files: - Signal.h, Signal.cpp; - Stat.h, Stat.cpp, TestStat.cpp As you can see, i'm using each project in the solution to write and test classes individually. After this i include them in a second project that uses them. The problem is, in the TestStat.cpp file ...Show All

  • Visual Studio Team System TFS Build: Building multiple solutions

    Hi everyone, when building all solutions in my team project the output from each solution ends up in the same directory in the drop location. Is there anyway to modify my TFSBuild.proj so that the output from each solution is dropped in a subdirectory in the drop location of the build type Any response will be much appreciated! :) Inside tfsbuild.proj -add the blue line after <DropLocation>_share_you specified_in_wizard_ </DropLocation> property inside <PropertyGroup> block <DropLocation> $(DropLocation)\$(BuildType) </DropLocation> ...Show All

©2008 Software Development Network