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

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

DSimmons

Member List

hansifer
Fabio Casadei
sparkymark75
museicon
cconrad
bijie85
Shivi
tr-1
Gerry Whitworth
zx225
futelihut
Dhaval-Patel
Kosmosniks
Addy
imbat
Urue
DianaChia
CommonGenius
lg2578
desny
Only Title

DSimmons's Q&A profile

  • Windows Forms 121 PictureBoxes slow my app. Help me optimize?

    I'm developing a program that uses 121 pictureboxes on one form and when I run the program, it is rather slow.  I haven't even coded yet!  If I try to move the window, the contents get especially choppy.  It's even worse if I'm moving the app and it hits the edge of the screen.  Plus, my pictureboxes all need to have transparent backgrounds.  That slows my app even more. I know that the alternative is having one big picturebox and using the Paint event.  I've tried that back in Visual Basic 2003 and it was a total nightmare. Can anyone help me optimize my app so that all the pictureboxes don't slow it ...Show All

  • Visual Basic WriteAllText Method

    Hi guys, I'm a new VB6 user. I'm trying to write text to a file using the reference provided on MSDN ( http://winfx.msdn.microsoft.com/library/en-us/dv_vbalr/html/f507460c-87d9-4504-b74f-3ff825c7d5c4.asp frame=true ) I'm using this code: Private Sub Command1_Click() ' Declaration Public Sub WriteAllText(ByVal file As String, ByVal text As String, ByVal append As Boolean) End Sub My.Computer.FileSystem.WriteAllText("C:\TestFolder1\test.txt", "This is new text to be added.", True) End Sub When I run it, I'm getting the message "Expected End Sub", I tried adding another End Sub down at the end but nothing changed. There seems to be a problem wi ...Show All

  • .NET Development File IO Behaviour

    I have a windows Service that writes an XML file to a specific location. The details are as follows: I am using VS 2005 Beta 2 I am running on XP SP2 The service runs using the local system account I am writing to a mapped drive which is actually a UNIX server (using Samba). The xml is created with the XmlTextWriter class. The problem is I get the following exception every time  I try to write to the mapped drive: Exception thrown:System.IO.DirectoryNotFoundException: Could not find a part of the path 'm:\00000001.xml'.    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)    at System.IO.Fil ...Show All

  • .NET Development exception in socket .ctor()

    Hello, Sometimes, just sometimes, my socket code throws an exception with following message: "Socket operation on nonsocket" ...or something like that, I work on the polish language pack, so this is just a translation. Wierd thing is that this exception is thrown in the socket's constructor! A bit of code: using (Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.Icmp)) { // the exception is thrown in constructor! s.WhateverFunc1(); s.WhateverFunc2(); } What may cause such behaviour Some, perhaps helpful, information: - application runs on WinXPSP2 NET1.1SP1 Intel4HT (pseudo ...Show All

  • Visual C++ About DLL entry points

    Hi! I recently had to write a simple C++ DLL (I had only been familiar with normal Windows applications and .NET DLLs). There is something, which caught my interest: Is every DLL required to have an entry point, like DllMain or are there some exceptions You are correct: DllMain exists primarily to initialize any global data in the DLL - if there is no global data in the DLL and you do not need to perform any other operations on DLL load or DLL unload then you can do without a DllMain function. ...Show All

  • SQL Server Permissions

    The Report Manager will not show on a client machine unless I logon with the local machine administrator account of the report server. The logon credentials that I am using, on the client, is in the administrators group of the local machine of the server. I am only able to author and view reports when physically logged on to the machine with the report server. The same credentials that were used on client machine are used when logging on to the server machine. I have granted as much permission to the user account as possible unless I am missing something in the report server. It seems like a related permission issue happens when tryin ...Show All

  • Smart Device Development error C3861: 'wcsftime': identifier not found

    I am converting a project from EC4 to VS 2005 and I am gettign this error right off the bat. The actual line : C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(402) : error C3861: 'wcsftime': identifier not found This is coming up right on the StdAfx.cpp file which looks like this: #include "stdafx.h" #ifndef UNDER_CE #ifdef _ATL_STATIC_REGISTRY #include <statreg.h> #include <statreg.cpp> #endif #include <atlimpl.cpp> #endif     Stdafx.h looks like this: #if ! defined (AFX_STDAFX_H__4590750F_B1AD_470C_B322_498034EEED18__INCLUDED_) #define AFX_STDAFX_H__4590750F_ ...Show All

  • Visual C++ CRecordSet ReadOnly in C++ Dll called from .NET

    We are moving our existing VC++ V6 app to .NET using Visual Studio 2005 beta. To save on time we have been able to wrap up a lot of our existing base code into a separate C++ project within the .NET application. The main .NET application uses ADO.NET to connect to our SQL Server DB, the old C++ code uses ODBC via classes derived from the MFC classes, CDatabase and CRecordSet. We have completed some initial coding of the application and have been able to execute our old C++ dialogs from within the .NET application and can view the correct data in them (returned via CDatabase/CRecordset). However, we have been unable to update any data using ...Show All

  • SQL Server Very Lost while trying to Configure “Web Service Identity”

    Very Lost and very Frustrated Hello all, I am going to try to keep it short. Been banging my head with this SQL 2005 Reporting System. My system configuration is as follow: Windows 2000 server – (all services packs install) Microsoft SQL Server Management Studio 9.00.1399.00 Microsoft Analysis Services Client Tools 2005.090.1399.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 built by: (_sqlbld) Microsoft MSXML 3.0 5.0 6.0 Microsoft Internet Explorer 6.0.2800.1106 Microsoft .NET Framework 2.0.50727 ...Show All

  • Visual Basic Relase the Fix for Visual Basic Compiler Error &H8013141e&

    Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e&   this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 ..   JSB PS: this error pisses me of, i need to restart VS.IDE every 5 minutes. i think this is too bad for a recent relesase product ( its full of Bugs ).   Hi, João, This is a good opportunity (in the ...Show All

  • Visual Basic How use proxy for WEBBrowser control in VB2005

    How use proxy servers and change its programmatically with WEBBrowser control in VB2005 for navigating websites ...Show All

  • Visual Studio 2008 (Pre-release) Export DrawingVisual's Graphical Content

    As the WINFX documentation says that DrawingVisual is a visual object that can be used to render vector graphics on the screen. The content is persisted by the system. my question is that if I want to export DrawingVisual's vector graphical content into some external persistence media(say disk) as png or any other available image file format, how can I do it , if it's impossible to do so, is there any workaround to it Sheva You can use BitmapFrame.Create(renderTargetBitmap) and pass that into the Frames collection of the encoder. Hope that helps. ...Show All

  • .NET Development Exception for GetUserStoreForApplication

    When I call IsolatedStorageFile .GetUserStoreForApplication I get an IsolatedStoreException with "Unable to determine application identity of the caller." message. The application is deployed using ClickOnce requiring full trust, and the assemblies are signed  with a strong name using a self-generated key file . This error started occurring for some of our development team after we created a new branch in Team Foundation Server. We had been working for months without any issue until developers got latest from the new branch and attempted to run the application in debug. We found the error was occurr ...Show All

  • Smart Device Development CTP of SQL Server 2005 Everywhere Edition Now Available

    SQL Server 2005 Everywhere Edition is the followup to SQL Server 2005 Mobile Edition (SQL Mobile). Everywhere Edition adds to the great data replication and synchronization capabilities available in SQL Mobile. With Everywhere Edition, you can use the same client-side database for your Windows Mobile and Windows desktop applications--making it easier for you to share code and resources across both platforms. Download the CTP today to get a preview and provide the team with feedback. You can download the CTP from http://www.microsoft.com/sql/ctp_sqleverywhere.mspx Thanks, Visual Studio Devices Team ...Show All

  • Windows Forms One or more errors encountered while loading the designer

    Hi, I was working on a simple Winforms C# project. I created a few of TableAdapters using the designer and attached them to datagridviews on my form. After realizing that i did not want one of the tables I went to the XSD designer and deleted it. After that the project still excutes ok but the form designer is unable to display the form in design view I get the following error: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take you to the line of code that caus ...Show All

©2008 Software Development Network