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

Software Development Network >> Roeland Jimenez's Q&A profile

Roeland Jimenez

Member List

netnovice
darkmsn
Hassano21436
Jimmy7777
Samuel_Schoenberg
Grendizer
Alakya
acousticStrike
Daniel Germanus
Seven Alive
Marcel Lattmann
talin
Romuel
ZapNight
Panos889
zahidumar
Crasch
congratulations
NickDaGreek
Samuel.Suarez
Only Title

Roeland Jimenez's Q&A profile

  • Visual C# How to destroy an object in C#?

    I created an object using "new" method from a class. After some operation, I need to explicitly destroy this object. In vb the code is simply "object=nothing". But in C#, i don't know how to do that. Thks. Actually, object = nothing does not delete it at all. object = null; will do what object = nothing does in VB.NET, which is to discard the reference to it, which will speed up when it will be cleaned up by the garbage collector, but you can't know when that will be. If an object has a Dispose() method, you need to call it before it goes out of scope. You can use the using keyword to do this for you autom ...Show All

  • Visual Basic KEYBOARD INPUT IN RICHTEXTBOX_CONTROL

    I HAVE AN APPLICATION WHERE I WILL BE ENTERING ONLY NUMERIC INPUT TO A RICHTEXTBOX_CONTROL. THE ATTACHED CODE SHOWS HOW I TEST THE INPUT TO CHECK ITS TYPE (ALPHABETIC,NUMERIC OR OTHER) .IF I GET A ALPHABETIC CHARACTER I WANT TO TELL THE THE CONTROL THAT I DO NOT WISH TO PROCESS THE CHARACTER,i.e I DON'T WANT TO PRINT THE CHARACTER OR ADVANCE THE CURSOR. IS THERE A METHOD IN THE CONTROL THAT WILL DO THIS PLEASE DON'T SHOUT With a textbox, you can handle the KeyPressed event and set Handled to true on the event args to reject a key. I would suspect that a rich text box would do the same. ...Show All

  • Visual Studio Express Editions A small complaint from nobody

    I have long been a Visual Basic coder. I read C++ quite well but really struggle to write it. Primarily because nearly every "example" I try to compile, will not. This makes it nearly impossible to understand how things are put together. Most of the time I can't figure out if I am formating my code the wrong way or just don't have one of the many compiler or references set correctly. So if anyone at Microsoft is paying attention, or cares. Would you please figure out how to make an entry level IDE for VC++, that has examples that compile right out of the box. I don't understand why this has to be so complicated. As near as I can ...Show All

  • Visual Studio Express Editions afxdump

    I have a project in Visual Studio Express 2005 and have a mistake on having used afxdump, the code is the following one: #ifdef _DEBUG AfxDump < < _T ("Message"); #endif And the mistake is: .\prueba4Dlg.cpp (54): mistake C2065: 'afxDump': undeclared identifier I was using this in evc ++ 4.0 and was not generating mistake. Which it is the problem ...Show All

  • SQL Server Need general advice on financal reporting (P&L statement)

    Hi! We are implementing a cube that should support our P&L statement. We have come accross the following issues so far, any input on these would be appreciated. 1) Our P&L statement combines different types of values: Monetary values, percentages, key figures (like average production / day) and other non aggregatable measures such as headcounts. These are intermixed in our reports like: Total income x$ Income from A customers y$ Number of A customers 32 Income from B customer z$ Any thoughts on how to handle this 2) We need to sum random accounts and subsums, some of these sums are pure aggregations and other ...Show All

  • .NET Development Connection Pool Error

    Hi Everyone! I'm having a problem with my ADO.NET Connection When runing this code about a 100 time the connection pool raise a error Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Here what my code look like. Dim dr As SqlClient . SqlDataReader Dim conn As New SqlClient . SqlConnection ( gcAccessBD . ConnectionString ) Dim cmd As New SqlClient . SqlCommand ("SELECT * FROM tblDomainValue WHERE IdDomaine = " & FmtObjSQL ( pDomainType ) & &qu ...Show All

  • Windows Forms Unable to paste CSV format into Excel

    Hi, I am trying to put data onto the clipboard which can be pasted into Excel.  I have successfully implemented HTML, Text and XML Spreadsheet but cannot get the CSV format to work.  Even the example provided by MSDN won't work: string comma = System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator; String csv = "1" + comma + "2" + comma + "3" + Environment.NewLine + "6" + comma + "8" + comma + "3"; byte [] blob = System.Text.Encoding.UTF8.GetBytes(csv); MemoryStream s = new MemoryStream(blob); DataObject data = new DataObject(); data.SetData("Csv", s); Clipboard.SetDataObject(data, true ); When I 'Pa ...Show All

  • Visual Studio 2008 (Pre-release) Web hosted service not working - svcutil filenotfoundexception

    Please go gentle on me, this is all new to me, including the c# (c++ here) I am using vista build 5270, the feb windows sdk and feb ctp fx runtime. I have successfuly compiled the webhost example (not hard) and copied the dll, web.config and service.svc to my virtual directory. Wen i browse to it with ie, i get a 'Service unavailable - service unavailable.Micorsoft-HTTPAPI/2.0' error Now based on this, i figured svcutil would not work either, but i tried it anyway, and i get the following when logging is switched on Unhandled Exception: System.IO.FileNotFoundException: Could not load file or *** embly 'System.Runtime.Serializatio ...Show All

  • Visual C++ Mixing Templates and Generics

    I think I've raised this questions a couple of times and the first time some three years ago - and have never got a real answer. Why does the language disallow mixing templates and generics. What's wrong with: template < typename T > value struct outer {   generic < typename U > void foo(); };   or generic < typename T > ref struct outer {   template < typename U > void foo(); };   And in case you wonder, yes I really wrote some code which exactly does that and I don't think it's hard to think of examples. -hg What would the IL representation ...Show All

  • Smart Device Development Printing from SmartPhone

    Hi, I am planning to prepare an application for pocket pc  with print feature. I have seen many third party SDKs for printing but can anyone help me out with some other way. Any help will be appreciated. regards, Chintan There is no printer support built into the .NET Compact Framework.  If you want printer support, you will need to use a 3rd party solution or write software to talk to the printer yourself. You might want to check out the HP Mobile Printing solutions at http://www.hpdevelopersolutions.com/mobile/index.cfm  , you may find these useful. There is also an excellent chapter on how t ...Show All

  • .NET Development Remoting between 1.1 and 2.0 - Index outside bounds of array!

    Hi We have a system written in .net v1.1. We have converted the ASP.NET interface to 2.0 ( not beta 2 , but the version that was released with the release candidate of Visual Studios 2005) The Data Access Layer is a .net v1.1 project containing a  number of MarshallByObjectRef classes running as a Windows Service. Now when the ASP.NET interface attempts to invoke a method in one of these classes we get the following error, (though we can successfully create an instance of these objects): System.IndexOutOfRangeException: Index was outside the bounds of the array.    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMess ...Show All

  • SQL Server SSIS and Insert Triggers

    I have created a simple data import package using the SSIS Import and Export Wizard in Visual Studio 2005. All done in a bout 2 min. great stuff. But the table I am importing into has an insert trigger which is not get fired by the package. The wizard created a Data Flow task which doesn't seem to have any properties to turn triggers on. Do I have to export to a flat file and then re-import using a Bulk Insert Task TIA Steve In the data flow task, I am assuming the Destination is an OLEDB Destination. Go to the Advanced Editor, and there should be a property "FastLoadOptions". Specify FIRE_TRIGGERS as an add ...Show All

  • Smart Device Development Windows CE device driver

    We are developing an SDIO card for windows mobile for smartphone,PocketPC phone devices. The communication protocol used is SPI (seris peripheral interface) and not the SD or MMC protocol. SPI is a mandatory protocol within the SD and MMC protocol. Does Windows CE device driver support SPI protocol also This forum is for programming issues with the .NET Compact Framework. It sounds lik you need a more "native code" specific forum. Perhaps http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=35&SiteID=1   ...Show All

  • .NET Development Ouch! Soap serialization for Nullable types is missing?!

    Ouch! System.Runtime.Serialization.SerializationException: Soap Serializer does not support serializing Generic Types : System.Nullable`1[System.Int32]. Can we have this basic type added Thanks Chavdar Angelov I find this rather shocking that this made it into the final release of the product.  Indigo/WCF is a long ways off. Only thing left is XmlSerializer which is not a good option. It basically cannot serialize private members (public properties are pretty limiting), which is an important part of the state of an object (obviously). ...Show All

  • Smart Device Development The project consists entirely of configurations that require support for platforms which are not installed on this machine

    I get this error when converting all of my EVC 4.2 vcp files to Visual Studio 2005 projects: The project consists entirely of configurations that require support for platforms which are not installed on this machine. An example EVC 4.2 project is here and was created using bakefile 0.1.8. # Microsoft eMbedded Visual Tools Project File - Name="softgps_user_input" - Package Owner=<4> # Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 # ** DO NOT EDIT ** # TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 # TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 # TARGTYPE "Win32 (WCE ARM) Static Library" 0 ...Show All

©2008 Software Development Network