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

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

Spikey00

Member List

Snuggs
oxfordSteve
Cimares
JayUrb
Rahmat Faisal
Michael Weinhardt
MrWilliam
CCOLDUDE
Markish
Maksim Fralou
will rpberts
JooK
Pheredia
Lulu01
Daniel Hernán Pallarez
Dave Yasko
Juan Gabardini
Laurence Starks MSFT
BobCa
Sushil Chordia
Only Title

Spikey00's Q&A profile

  • Windows Forms Combobox Usage VS2003 -> VS2005

    I need to populate a C# Combobox with potentially several thousand items. I know this is not recommended but this is after horiz data splitting so it's the best I can do. In VS2003, I tried binding to a dataset but this was way too slow so I started loading the Itemlist from a datareader and it worked great. No more than 2 seconds to load several thousand items and memory usage stayed well within reasonable limits. I tried the same code compiled under VS2005 hoping to use Autocomplete and it worked well for very small lists but was many times slower for the normal lists I use. Several minutes compared to a couple of seconds. Additionally, th ...Show All

  • Smart Device Development using in evc4?

    Hi can i use evc4 for debuging and running applications on device emulator as i cannot connect through it... regards The device emulator can act as a "real" device by connecting it through ActiveSync. I n ActiveSync, make sure that "DMA" is selected in the "Connection Settings".  Then, using the Device Emulator Manager, connect to and cradle a device emulator.  You can find the Device Emulator Manager in \program files\microsoft device emulator\1.0\dvcemumanager.exe.  This will create an ActiveSync connection with the emulator.  If the connection is not created, you can use the "Get ...Show All

  • Visual C# Write strings into a richTextBox

    Im looking for a way to write strings from an array into a richTextBox. Im fairly new to c# and im trying to make a windows version of an app i did in php. lets say for instance i had an array of 10 strings array[] letters {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j"}; I want to add the letters inside the text box, one by one (so not all at once), in a loop (while). in PHP i would just echo from the array in between the textarea tags for instance(PHP): $lettersArray = array("a", "b", "c", " ...Show All

  • .NET Development how to prevent modification(deletion, rename) to an assembly?

    hi , suppose i have an application which uses a assembly "***.dll" and it loads the assembly using reflection and creates a object of it that too using refelection. now i want that if the assembly is loaded nobody should be able to delete it or rename it.how can that be done.more specifically how to lock that particular assembly dll. thanks and regards ramneek .NET does not provide that type of security. You must rely on the normal operating system permissions for files and folders. In other words, it must be installed by a different user (perhaps administrator), the user must not have the same permissions ...Show All

  • Visual C# How do I access the application Form Name?

    Please excuse this question.  I'm currently learning C# "on my own".  My application is an MDI with several child forms and I want to enable/disable the buttons on the active form by calling a method that will accomplish this for each form that calls it.  I created a test app and thought I had the solution; however, I am at a stopping point and can not figure out how to solve this.  Can someone please show me what I am not doing  or doing wrong   I've included the code from the Class and from one of the calling methods below (the code is C# 2005): Code in ClassMain.cs:     public vo ...Show All

  • Visual Basic strange bracket problem

    Hi, I've been finding that randomly, after building my project, the editor will start inserting brackets as I type. For example: I type "a" - it changes to "a()" I type "try" - it changes to "t(r)y" I type "ng.Save" - "n(g).s(a)ve" I've disabled Edit and Continue, but still have the problem. The only way to get round it is to restart visual studio. I've had the problem on two computers, and another programmer here has the same thing happen too. I can't find any information about this on the web, and I'm not really sure what to search for in any case. Hi, thanks for your answer ...Show All

  • Visual Studio launch a popup window during a POST BACK?

    Hello All, I have a SSRS 2005 web application that utilizes the ReportViewer control for ASP.NET.  I have my Report Display page as a separate page in my application.  Whenever a user wants to view a report, this page is to be launched in a new browser window and displayed to the user. In certain parts of my application I need to display a report during a postback (as I have some data that needs to be stored in a Session variable that the Report Display page uses to display the report correctly). I have code that registers some client java script in the control's (a button) click event handler.  The pro ...Show All

  • Visual C# Network traffic monitor

    Hi! I want to create an application that would count the total data downloaded and uploaded per day. For this I would have to monitor the network traffic and keep a count on the upload and download. How can I do it in c#. IPGlobalProperties ipGlobalProp = IPGlobalProperties .GetIPGlobalProperties(); TcpStatistics TcpStats = ipGlobalProp.GetTcpIPv4Statistics(); IPGlobalStatistics IPStats = ipGlobalProp.GetIPv4GlobalStatistics(); Have a look at TcpStatistics or IPGlobalStatistics they contain the required methods/fields that you can use to see how much data has been transmitted. If you ...Show All

  • Smart Device Development Picturebox with transparency?

    Hi, I have a picturebox object containing a circle .gif picture. This .gif picture itself has the transparent property set. In VS2005, when I choose the backcolor property to transparent, the portion that is out of the circle turned black. How can I make it real transparent Thanks! Hi Drudkh, You can see the previous post for some help on this issue: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=183889&SiteID=1 Also if you look through our news group archives microsoft.public.dotnet.framework.compactframework you will find a lot of helpful information on this. One of which pro ...Show All

  • Windows Forms memory usage...

    Hi, When you click Ctrl+Alt+Del on a windows system you can see the Memory a certain program is using. I made an app, that loads a simple ole database and the memory usage increases a lot! Is there anything I can do to make this increase not so big Thanks I ran a small sample app to test your memory usage.  I found tha ...Show All

  • Visual FoxPro Inicializar porta COM

    Tenho uma aplicacao desenvolvida em Foxpro(Dos) que usa um visor de clientes para mostrar informacao. Em Win98 funciona tudo bem, basta para isso inicializar a porta COM com o mode com1,9600,n,8,1. Agora esse programa foi instalado em Windows XP e nao consegue comunicar com a porta. Quando faco um dir >com1 funciona, mas na aplicacao nao. O que poderei fazer Obrigado. Dundee, Este e um foro em ingles. Si vc quer respostas vc deve perguntar em ingles. Para ajuda do VFP em portugues, vc tem o FoxBrasil http://www.foxbrasil.com.br/portal/pdcc/portal.asp  e a http://UniversalThread.com (secao e ...Show All

  • Visual Studio Team System Verifying an image on the page

    Hi, I need to verify that when the page is displayed there's a certain image present on it. It sounds like this should be easy, but I am having problems with it. I tried using a Required Attribute Value and Required Tag validation rules, but they were not working right for me. I searched this forum, but can't find information about it or previous posts dealing with the same issue (not sure if I'm just not searching for the right terms or if this is the first time this issue came up). Does anybody have an example or can point me to more information about how I can verify that a specific image is present on the page Any suggestions w ...Show All

  • Visual J# classcastexception happens when objects are passed to the thread and when trying to call the method

    classcastexception happens when objects are passed to the thread and when trying to call the method ... exception in thread::(0x80004002) Unable to casr COM object of type 'mhtml.HTMLWindow2Class' to interface type 'MSHTML.IHTMLWindow2'. This operation failed beucase the QueryInterface call on the COM component for ther interace with IID '{332c4427-26cb-11d0-b483-00c04fd90119}' failed with HRESULT:0x80004005 (Unspecified Error (Exception from HRESULT: 0x80004005(E_FAIL)))) we have simple code which spawns a thread and passes class1 object as below , Class1.java mport com.ms.wfc.html.*; import com.ms.wfc.core.*; import com.ms ...Show All

  • SQL Server Import data from Excel?

    Hello, I have an Excel spreadsheet that I am loading data from and I want to prevent SSIS from making assumptions about the data contained within the spreadsheed and to just treat every column as a string (i.e. Unicode string [DT_WSTR]). How is this done I know I could do a conversion once the data is loaded, but I am wondering if there is a way to specify this in the Excel Source settings without having to add a Data Conversion task to the Data Flow. TIA... As far as I know, this cannot be done. You are allowed to set data types in Flat File Sources and delimit them by a comma, though. Maybe you could export the excel file ...Show All

  • Visual C++ std::exception dtor linker error

    I have an error when I'm linking my project, ported from VS7.1 to VS8.0 beta 2: LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" ( 1exception@std@@UAE@XZ) already defined in TestStdCpp.obj LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " ( what@exception@std@@UBEPBDXZ) already defined in TestStdCpp.obj Here is my repro solution (350 kb zipped) http://loyso.m6.net/vs8_link_bug.zip Anyone - could you tell me, how to fix this Thanks, we are looking into it. I am also trying to understand who is using this #de ...Show All

©2008 Software Development Network