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

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

RickInBoston

Member List

Octurus
Mif Wright
Ben Post
R.W. Stewart
Nichole158860
once4ever
PioM
Dennis Mayores
MahroofNM
evoltix
Reuomi
jackzar
mobile-fedot
Mike2006
Thiago Holanda
geeky
knightmare
Grouchyfd
kjaghblb
Felix A
Only Title

RickInBoston's Q&A profile

  • .NET Development ERR - WebClient.DownloadData returns "protocol violation"

    I'm getting a "protocol violation" from a site that is working perfectly fine when I issue WebClient.DownloadData as such: WebClient WebClient_Temp = new WebClient(); byte[] zbyteTemp = WebClient_Temp.DownloadData ( "http://MySite/MyWebPage.htm" ); I have heard of the app.config file fix, but my app is a UserControl, and as such, I can not keep the "MyApp.dll.config" in the same directory as such: <configuration> <system.net> <settings> <httpWebRequest useUnsafeHeaderParsing = "true" /> </settings> </system.net> </configuration> I've also tried putting a <link> element into m ...Show All

  • Visual C# How to determine file reading progress

    I am using streamreader to read lines of text from a file. I would like to indicate on a progress bar the status of the reading process. What would be the best way to determine where I am within the file so that I could divide this number by the filename.Length member to display in my statusBar I'm having trouble finding the right method for indicating where the file pointer is... You can try checking yourStreamReader.BaseStream.Position. I guess it could be a bit off though due to buffering done by the StreamReader.     ...Show All

  • Visual Studio How to add parsing errors to ErrorList window?

    I am working on a project to create a language service using Managed Package Framework. I want to show the parser errors in the error list window. Using DTE2, I can get a handle of ErrorList Window. EnvDTE80. Window2 window = dte2.Windows.Item(EnvDTE80. WindowKinds .vsWindowKindErrorList); ErrorList myErrorList = CType(window.Object, EnvDTE80. ErrorList ); However myErrorList does not expose Add method on ErrorItems collection. What is the way to add the error items programatically Can anyone help Thanks in advance. Vinay Ahuja I am having trouble implementing this. I'm using GetGlobalServ ...Show All

  • .NET Development VS 2005 OLEDB Update Parameter question.

    We have just upgraded from Visual Studio 2003 to 2005. In VS 2003, I had been working on some web pages that had datagrids populated from an Oracle database and had figured out how to update and insert records. I am now relearning everything for VS 2005. I have been able to get a grid populated, sorted, and updated. All of this with just the "visual" side of the IDE (no hand written code.) The current problem is updating a CHAR(25) field. If I replace a letter or space with something, it updates. But if I click at the end of the current text and add characters without deleting a corresponding number of padding spaces I ...Show All

  • Windows Forms Dynamic Connection String

    I am writing a database application that is using an .mdb file on the back end.  I want the connectionstring property to be dynamic and not hardcoded, so what I have done is binded that property to the .config file and default the key to a "" string.   What I am currently doing is reading the .config file when my splash screen& ...Show All

  • Visual Studio Express Editions Visual studio 2005 express instalation error

    hi guys i installed VS.net 2005 before and i uninstall it again in a random way so i think that there is some files not removed from my computer although i uninstalled all of them when i try to install again i got an error that i need to uninstall specific stuff although i uninstall them so how could i resolve this error do i need to format my computer againnnnnnnnnnnnnnnnnn !!!!!!!!!  check this pic http://i1.tinypic.com/s45014.jpg   http://msdn.microsoft.com/vstudio/support/uninstall/default.aspx http://blogs.msdn.com/astebner/archive/2005/04/19/409555.aspx http://www.robzelt.com/blog/PermaLink.aspx guid=56f30 ...Show All

  • Visual C++ VC2005 %50 Slower then VC2003

    I just migrated a graphics application from VC2003 to VC2005.  After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations.  It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch:SSE2 /c /EHa /FD /GF /GL /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Ow /Oy /TP /W3 /WX /Zi (vc2005)/arch:SSE2 /c /EHa /FD /G7 /GF /GL /GS- /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Oy /TP ...Show All

  • Visual C# please microsoft or anyone tell me why !!!????

    when i debug this code Process p=process.getAllprocessbyName(processName, Remote MachineName); p.Kill(); i have this exeption this feature is not supported in remote machine what i want to say is why microsoft make this function and told us that we can use it for remote machinr in msdn help i found: C# public static Process [] GetProcessesByName ( string processName , string machineName ) Parameters processName The friendly name of the process. machineName The name of a computer on the network . wow I apologize. http://www.codeproject.com/csharp/WMI.asp contains ...Show All

  • Visual C++ Automation detection

    I have an application that you can run through automation and that you can also run doing the standard double-click and it loads thing. well is there a variable or method i can query at any point during my application that will tell me whether or not the application is being run through automation or otherwise Thanks   Will   If you use the standard MFC way you have a command line with the /automatin option when started from OLE-automation The CCommandLineInfo class parses this parameter and setsthe flag m_bRunAutomated. ...Show All

  • .NET Development How do you fix the error "Syntax error in UPDATE statement"?

    Guys, I need your help to fix this error since it's been bugging me for 2 weeks already to find a solution in the internet or book that won't work properly.  I tried fixing the update statement command but still shows the same error. Below is the source code: Public Sub changePassword( ByVal uName As String , ByVal pWord As String ) Try 'change the user's password Dim conn As System.Data.OleDb.OleDbDataAdapter = New System.Data.OleDb.OleDbDataAdapter Dim cmd As System.Data.OleDb.OleDbCommand = New System.Data.OleDb.OleDbCommand changeUserPasswordDataSet = New System.Data.DataSet con ...Show All

  • Windows Forms Loading application efficiently

    Is there a better way to improve startup performance of my application I had a form wherein it had 2 comboboxes and 2 datagridviews, each and everyone bounded to their respective tables in my databse.The tables happens to be of large data so evidently it takes so much time before my applications starts up.I am using the tableadapter.fill method of loading data on form load event and its such a big drawback on my part.Thanks in advance. I have no idea why loading a dataGridView could take much time. How much time is it, and do you have special columns (images, ...). Maybe someone else has more experien ...Show All

  • Windows Forms Is there an easy way to display 2 possible values in the property grid?

    I am writing my first control and have a property which has two possible valid values: 72 and 128. I would like to make these the only two options in the property editor, from a dropdown displaying only "72" or "128", however using enums it will display whatever the enum name is, which can't be a number (or start with a number) ...Show All

  • .NET Development access permission probelms. HELP ME!!!

    I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connect using RUN and the IP address. Whenever I try to connect the laptop to the desktop I get the same message; \\... is not accessible. You might not have permission to use this network resource. Cont ...Show All

  • Visual Studio Team System enable the rules only for the derived classes

    Is there way to enable the rules only for the derived classes and not for the base class. I tried public override TargetVisibilities TargetVisibility { get { return TargetVisibilities .ExternallyVisible; } } is there any other approch thanks in advance RamV Hi RamV, Are you looking for classes that derive a specific base class or are you looking for all the 'leaf' classes (the classes that derive from other classes but nobody derives from them) If you're looking for the first, you can just check if their BaseClass property is set to the base class you're looking ...Show All

  • Visual FoxPro Source is out of date

    This is what I see when I open the debugger' Trace window . Right before I begin any execution but after the form with all the controls and all associated prg files is brought up. I want to know what source it is talking about. Is it source code In which sense is it out of date Is it my source code or FoxPro's in some way I may believe that I perhaps use some operators that have been deprecated but there is no indication where to look. I do not use the trace option. As the worst case scenario I would use breakpoints so I do not have much observation as to how it changes if at all during debugging but it seems the message stays put. ...Show All

©2008 Software Development Network