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

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

lock

Member List

keeper32
Linda
Zhou Justin
mAuo
Sundar R
Saurav Kr. Basu
Marcos Neves
wayne77
Lokesh Jain
soundman32
Tom Phillips
paul one
BauerK
Gold333
csillagyitzik
Jose Bonilla
usagimys
timlshu
Ragz
Eric Cosky
Only Title

lock's Q&A profile

  • .NET Development BinaryReader.PeekChar fails when checking for end of file

    VB.NET 2005 - Beta 2 I create a new filestream and then a binaryreader from that filestream.  I then loop doing a ReadByte until PeekChar = -1.  On one file in particular that I am reading, somewhere while reading the file (it may be at the end of file, but I am not sure) I get the exception message: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderRepla ...Show All

  • .NET Development Just two true

    I noticed that true.ToString() Convert.ToString(true) Both return "True" rather than "true". Seems wrong to me somehow..... They both return (well Convert.ToString, simply calls Boolean.ToString()), either Boolean.TrueString or Boolean.FalseString depending on the value. I imagine if it returned 'false' or 'true', the Visual Basic programmers would probably say the same thing. ...Show All

  • Visual C++ why does Visual Studio2005 crash on only cleaning a solution?

    Hello, I have a problem to build one dll project. The ide crashes whenever I try to compile it, in fact it crashes before that, it happens when I only  try to clean the project  before rebuild it, Here is the picture of the problem: the Visual Studio Just-in-time debugger popped up again with "An unhandled win32 exception occurred in devenv.exe[1728]". here below is found in the output window before the crash: "------ Rebuild All ...Show All

  • Windows Forms custom control for what

    Dear all,  i have some concepts that i haven't clearly, what is the different and function between user control and custom control Is it user control can have more than one controls on it  and custom control can have only one control on it moreover& ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Ways of Rendering mouse cursor in directx9

    I'm trying to build a GUI using directx 9. I find that rendering mouse cursor is something different from the main rendering process. It needs to have higher priority to make cursor looks "smooth" even when main rendering process's frame rate is low. Others give me some advice, but I'm not sure which is better. The following are the ways I figure out. 1. Using windows mouse cursor.  It's fast but in full screen mode it failed. 2. Draw ...Show All

  • Visual Studio 2008 (Pre-release) use xaml pages in asp.net project

    hi folks I created asp.net project and want to navigate through it to xaml page by using hyperlink when I did  it, I got exception "System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."     used VS2005 and MS windows SDK beta2.0 how I can fix this problem   ...Show All

  • Software Development for Windows Vista Context menu registration refused for lnkfile

    I have an app that acts as a CMH for shortcuts (not their targets).  I'm using the same procedure as in earlier Windows and register as a context menu handler by adding this key to the registry: HKLM > Software > Classes > lnkfile > shellex > ContextMenuHandlers > GUID Trying to add the key with REGEDIT displays a message that says I have insufficient privileges to add a key under Context ...Show All

  • Visual Basic Creating Office COM Add-Ins with Visual Basic .NET article - need help

    Hello, I'm new to this type of programming and have found myself put in charge of a couple of applications that were created by a previous employee. So now I'm learning how to do this. I found the article listed in the subject on the msdn site and found it very informative and easy to read. I thought that the instructions were very much to the point and that there wasn't any confusing jargan put in. Unfortunately, after following through the ...Show All

  • Visual C# AccessViolationException when calling an already made dll file

    Hi, I have an already made .dll file that I have referenced in my C# program ,i.e., I don't know the details inside its code. when I use it in loop it works well many times , but thereafter it produces the 'AccessViolationException', it says: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' Please Help me ,how can I handle that exception Thanks, Aya. ...Show All

  • SQL Server Passing a variable between a parent and child package doesn't work

    Has someone managed to pass successfully a variable from a parent package to a child package I’ve tried a zillion permutations and I can’t get it to work. The strange thing was that I was able to successfully do this with pre-RTM builds. Basically, what I am trying to do is: The parent package has a variable, e.g. ExecutionID which I set using a script to System::ExecutionInstanceGUID . I verified that the variable is set correctly ...Show All

  • Visual Studio Team System Sercuirty errors after installation

    All seemed to installed ok but when I restart the server I get erros in the Application log like: Failed to update cache entry for S-1-401977462-46866157-3208048606-1100053607-523015102-1955007240 with 10 retries. System.Security.Authentication.AuthenticationException: Logon failure: unknown user name or bad password. ---> System.DirectoryServices.DirectoryServicesCOMException (0x8007052E): Logon failure: unknown user name or bad password. ...Show All

  • SQL Server Textbox rotation or display horizontal vs vertical

    Is it possible to align a text box to display text with rotation For example can I display it rotated 90 degrees left so that it reads from the bottom towards the top of the page All I can find is left/right alignment and top/middle/bottom alignment. I want to rotate the text. Thanks. You can use the WritingMode property (sometimes just labeled Mode) of a textbox to determine whether it is written vertical ...Show All

  • .NET Development Web Services not responding over Dial-Up Connection (Error on receive, time-outs)

    Hi! I really hope someone can help me with this, its been causing headaches. I am running Web Services on a Windows Server 2003 machine with Framework 2.0 loaded and IIS 6.0. I am using VS 2005 with VB.NET. The client connects perfectly to the Web Services over broadband connections, but with a dial-up connection it gives errors and times out. The Errors: The underlying connection was closed: An unexpected error occurred on a receive. The operat ...Show All

  • Visual C++ timer is not panctual

    hi! i have a problem with timer because it is not panctual :S i have set interval to 10ms. that is the code in timer_tick ---------------------------------------------------------------------------------------------- private : System::Void CelotenCas_Tick(System::Object^  sender, System::EventArgs^  e) {               this ->PreverjanjeZacetka->Stop();     &nb ...Show All

  • Visual Studio Tools for Office Unable to retrieve the manifest from the document

    I'm getting "Unable to retrieve the manifest from the document" error on my VS2005 development machine as soon as I hit this line ServerDocument sd = new ServerDocument ("D:\\Inetpub\\wwwroot\\Doc1.doc"); The code is from an ASP.NET page attempting to dynamically generate a XLS file. Hi Andrew, The ServerDocument class will not work with a non-VSTO Office doc. The document that you pass to the Serv ...Show All

©2008 Software Development Network

powered by phorum