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

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

Souri

Member List

DannyRC
MarkJC
Tom Morris
B.M.K
Ali Pasha
wgreer
Chris Vance
Vyanki
Son
Tim Haughton
lushdog
Jing
Question_Answer
stic
GMann
coolbanget
Denispiow
jskim
YN
cambomj
Only Title

Souri's Q&A profile

  • .NET Development Parse Error in Page directive

    While trying to programmaticly navigate to a page the following error occurs. Any ideas The page was developed and tested on a local machine then moved to a server.   Server Error in '/' Application. First of all....code behind attribute is only accepted on .NET designer. Which means the actual remote server does not recognize the codebehind attribute. You might use 'Src' instead of codebehind. Secondly the inherits part, you have to do something about it. I hope it helps ...Show All

  • Visual C++ Linker Error in MFC App ported to VC++ 2005

    When I try to build an MFC project that has been ported to the VC++ 2005 compiler I get the following linker error: ProgramName error LNK2019: unresolved external symbol __imp__FtpCommandA@24 referenced in function "public: class CInternetFile * __thiscall CFtpConnection::Command(char const *,enum CFtpConnection::CmdResponseType,unsigned long,unsigned long)" ( Command@CFtpConnection@@QAEPAVCInternetFile@@PBDW4CmdResponseType@1@KK@Z ) Could you please a small sample reproducing the issue so that the folks on the fourms can take a look Thanks,   Ayman Shoukry   VC++ Team ...Show All

  • Windows Forms Try catch End Try block inside a loop in vb.net

    I have a code block that has the following structure: FileOpen(1, txtFileName.Text, OpenMode.Input) Do While Not EOF(1)        xxxxx Try        xxx        xxx        xxx Catch ex as Exception        msgbox (xxx)        Exit Try End Try Loop So the loop is supposed to be reading a line at  ...Show All

  • Windows Forms Ado.Net Concurrency Issues

    I need sample code for handling database concurrency in Vb.net. If anyone want to share your knowledge in this subject...Help to me. Thanks.. ADO.NET maintains two copies of the table it extracts. Once you make changes to the dataset (or datatable) and hit update, it will have 2 versions, the first version was the snapshot of the data that ...Show All

  • SQL Server SP1 failure - incorrect platform

    When I try to run the x86 version of SP1 on my development desktop (for tools only), I get an 'Incorrect Platform' error: Setup cannot update x86 products on this computer To proceed, run the Service Pack Setup program for the x86 platform. The filename I downloaded is SQLServer2005SP1-KB913090-x86-ENU.exe and it successfully installed on my Wk2003 server (dual PIII). My desktop is a single P4 2.8Ghz running WinXP Pro. brian smith This may be a stupid question, but did you install the tools from the same retail SQL Server disk that you installed on the server I seen many posts from people who have the original CTP version or a Trial v ...Show All

  • Visual C++ C++/CLI byte array

    I am running into some confusion with the new C++/CLI syntax. Basically I need as a parameter set for two functions the equal to: void somefunc(unsigned char *pBuffer); void someotherfunc(unsigned char **pBufferPtr); Would the equal be System::Void somefunc( array < unsigned char > ^pBuffer); System::Void somefunc( array < unsigned char ^ > ^pBuffer ); Thanx, Brian Hi Brian, The first step is to move from C to C++ by using a reference to a C-style array instead of a pointer to an array where an array in this case is represented by a pointer to the first element. void f1(unsigned char*) ...Show All

  • Visual Studio 'Catch' visual studio's menu/toolbar action (like save)

    I'm lost. I've been trying to find something I actually understand but without success. So I'm going this one last go via this post before throwing in the towel. Maybe someone here can show me the light, or at least give me a somewhat better idea what I'm looking for. Our application is now running inside visual studio (using vsip), complete with a tool-, and editorwindow. I would really like to have our stuff react to the menu/buttons of visual studio itself. People keep pushing visual studio's save toolbar button and expect our changes to be saved.. Hi, Check http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=380414&Sit ...Show All

  • .NET Development ConfigurationElementCollection Remove Problems

    I am implementing a custom configuration section and one of the sections is a collection of elements. I have my collection setup to inherit from ConfigurationElementCollection like we are supposed to, and most of it is working. During my test though, I run into a problem when I try to remove an item from the collection. The remove and save occur with no errors and when I examine the collection the count on the collection is correct. When I shut down the app and restart it, the collection is always empty. I see the user.config file down in the local settings folder and everything appears to be okay and I can't figure out what is causing this. ...Show All

  • Visual C++ Microsoft Visual C++ Runtime Library error question

    I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2.  Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information. I am not certain where to post this question and problem.  Your assistance is greatly appreciated.  Currently, I am using Firefox as my back-up web browser.  had the problem with runtime error, removed google tool bar, ...Show All

  • Visual Studio Word shared add-in not loading (deployed using Setup Project)

    Hi, I try to deploy a very simple shared add-in (message box popup) for Word 2003 to a test machine that is not my development machine. I am using the automatically generated Setup Project with absolutely nothing changed to it. - On the dev machine (VS2005) : the popup shows up correctly. - On the text machine : I have installed the add-in using the automatically generated Setup Project, but nothing happens in Word. The add-in is not in the disabled items of Word not in the Comm add-ins. All required registry keys are present. Office 2003 SP2, Framework .NET 2.0, Office 2003 PIA, VSTO redist libs are installed. Please help ! ...Show All

  • Visual C++ Could not add a new Class Diagram to the project

    In Beta2, in class view, right click on a class name and select "View Class Diagram", but there is a error: "Unable to create file e:\some dir\ClassDiagram1.cd. Make sure you have file system permission to create the file, and have disk space available" I don't know how to fix it. Hi, The fact that there is still a menu item is a bug. Thanks for reporting this. Ronald Laeremans Visual C++ team ...Show All

  • .NET Development DataView reporting incorrect view of datatable: KB831013

    I have a datatable that is cached on a sliding timeout of 20 minutes. I have created a Find method that queries that datatable in memory utilizing a DataView and returns that newly constructed DataView. The find method gabs the datatable out of cache everytime and constructs a new dataview and then applies the appropriate row filters to it before returning that dataview. Dim dv as DataView = new DataView(dtFromCache) dv.RowFilter = "somefiltercriteria" return dv I am running into a problem where occasionally this find method is executed in a loop many times (>100). After the loop has executed, and I call it one fi ...Show All

  • Visual C# how to check overflow

    how can i check if a sum of 2 numbers are causing an overflow (but i want to use a custom exception, not the regular one). thanks I guess the obvious way is to catch the exception that gets thrown when bounds checking is turned on, and then rethrow whatever you like. If I was going to do something like that, I'd make it a static method on a class, so I only had to write it once. Of course, any place you just plain add two numbers instead of calling this method, the behaviour you want will not occur. I don't think there's any way to change the exception that's defined for this. ...Show All

  • SQL Server SQL Server 2005 Beta 2 vs. SQL Server 2005 CTP June?

    Do you recommend to update from SQL Server Beta 2 ("first release") to the June CTP Yes. The June CTP is feature complete and therefore closer to what will be in RTM. For that reason alone you should be using it. -Jamie ...Show All

  • Visual C# How to add folders into my install shield project?

    Hi friends, I have around 200 folders in my application. Is there any way to add these folders hierarchy into my .net2005 installation project by giving the parent folder name\\*.* Please its urgent..... regards, ...Show All

©2008 Software Development Network