Software Development Network Logo
  • IE Development
  • Audio and Video
  • SharePoint Products
  • VS Team System
  • Visual C#
  • Visual C++
  • SQL Server
  • Game Technologies
  • Windows Forms
  • Visual Studio
  • Microsoft ISV
  • Visual FoxPro
  • Visual Basic
  • Smart Devicet
  • .NET Development

Software Development Network >> Ofir Epstein's Q&A profile

Ofir Epstein

Member List

guyguy2003
chronozphere
Bravo_00
Dwight Kulkarni
KoenP
Evan Mulawski
Rudemusik
TAS-man
Alvin Kuiper
teqmem
Mohanraj_k
Madhuchhanda
edi.Y
RyanB88
Emil2000
jamesIEDOTNET
DaveSmith
AlainF
Stoj
C8
Only Title

Ofir Epstein's Q&A profile

  • Windows Forms Label with invisible background.

    I have a form with a label in it. I want to show the label, covering the whole form, with a number in it. The app is a multii screen image viewer, I'm trying to show which monitor is which. I've set the style to allow transparent background ( I'm interested to know what genius came up with that idea ), I've set the deprecated 'DrawTransparent' property, I've set the background color to Color.Transparent, but no matter what I do, including downloading several controls on the web for transparent labels, I cannot get a label that doesn't erase it's own background to the color of a general dialog box. Does anyone have any suggestions Thanks It works fine for me, but not with a ComboBox, which appears to redraw its text area over the ...Show All

  • Windows Forms design time

    Hi. I'm trying to skin an application and to make things easyer i want to ba able to assgin an image for each part (area) of a control in the designer. A certain control has up to 15 different areas and for each area i need 3 images (normal, MouseOver, MouseDown). One approach would be to have 15 ImageList properties for that control with an appropriate name so that it is clear which area the images are for. Another approach (which I consider a better one) would be to have one property of type System.Collection.Generic.Dictionary<TKey, TValue>, where I could set the TKey value to be of some enumeration type, which determines the area of the control and the type of image. e.g: public enum ImagePosition { area1_Normal, a ...Show All

  • Windows Forms dgv issue

    hi, i am programmatically adding a dgv to a tabpage,. i am having to click on the dgv so that my values are displayed. the tabpage is added at design time, the dgv at runtime. what should i try thanks Hi, It would be nice if you could give us more details like where you are getting the data from. For now, you could just refer to the walkthrough given here: http://msdn2.microsoft.com/en-us/library/zf3zx9fy.aspx Thanks and Regards, Mamta ...Show All

  • SQL Server Where to use SQLCLR ? Data access is not recommended?

    Just wondering which scenarios is suitable to use SQLCLR. Any kind of data access is not recommended I guess. Only things that cannot be easily done in TSQL should be done in SQLCLR but why Can't those things be done in app layer itself Scenarios recommended for SQL CLR: - External data access like filesystem, registry etc - Complex calculation - Recursion without data access (this can be implemented with CTE for data access) If data access with SQL CLR is not recommended why should CLR should be even used and logic reside in database layer.. it makes no sense to me. Any thoughts Hi HiTech2k, When you use SQLCLR to do data access, do you do the manipulation in .NET DataTables If so, isn't it slower than ...Show All

  • Visual Studio Express Editions saving file into excel problem

    hi there...... hi i have a problem regarding saving i saw some example here it seem's ok..... but i want is to gather the data from datagridview and save it into excel file... here's the example which we can save using richtextbox Private Sub SaveFile(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim x As New SaveFileDialog x.Title = "Save Rich Text File" x.Filter = "RTF Files|*.rtf" If x.ShowDialog = Windows.Forms.DialogResult.OK Then Me.RichTextBox1.SaveFile(x.FileName) End If End Sub End Class in this example only rtf file perfectly save but when i change it into excel there's a bunch of garbarge before my data/text..... can some one help me rega ...Show All

  • Windows Forms A Special Master Detail construction

    Hi, I need some special kind of master/detail construction : In the detail view all instances of a table needs to be shown and not only those of the selected master. The detail rows that belong to the selected master however need to be shown as selected. Is there an easy way to solve this problem with a kind of master/detail construction or do I need to react on selection changed events to programmatically select the rows in the detail Greetings Alain Private Sub PurchaseOrdersBindingSource_CurrentChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PurchaseOrdersBindingSource.CurrentChanged For Each r As DataGridViewRow In Me .Inv_Multipl ...Show All

  • .NET Development Fixed Length Text File

    In c# VC 2005 - How do I read in a fixed length text file - keeping the fields in an array Sample format "A 2222222 2007/01/01 5.55 " StreamReader sr = new StreamReader(filePathHere); string line = sr.ReadLine(); string[] words = sr.Split(' '); // or string[] words = sr.Split('\t'); sr.Close(); For this to work fine you need to have right Delimeter. Otherwise you'll not get the right results. If you need to read all lines then you need a Loop on sr.ReadLine() like while((string line = sr.ReadLine()) != null) { } I hope this will help. Best Regards, Rizwan aka RizwanSharp ...Show All

  • Visual Basic Irritating effect from combo

    I have got a form that I open, in the forms load event i do the following Me .EDF1TableAdapter.Fill( Me .DataSet1.EDF1) Me .ENameComboBox.Text = "" Me .ENameComboBox.DroppedDown = True Me .ENameComboBox.Focus() when the form loads, the combobox is dropdown and does have focus, but its got a mouse cursor showing wait it does go away after you click in the combobox if you dont dropdown the combo it does do it, why Davids Learning its working fine for now. didnt the first time I put it at the end Thanks for helping Davids Learning ...Show All

  • Visual Studio VS 2003 SP1 install error

    Hi, My repeated tries of installing the VS 2003 SP1 fail because the installer can't find the "vs_setup.msi" file. This file is not on any of my Microsoft Visual Studio .NET 2003 Enterprise Architect " CDs. (3 CDs total). I've tried looking on my computer's hard disk also and "vs_setup.msi" is not there either. Does anyone have any idea where I can get to this file "vs_setup.msi" in order to install the Service Pack 1 for VS 2003 This is pretty frustrating. Thanks for any ideas! Mark AuBuchon I'm having the same problem - though it may be because I.T. won't allow me to access the VS 2003 installation CD. Are you saying that you're getting this message even a ...Show All

  • Visual Studio 2008 (Pre-release) windows form controls

    Hi i found this article: http://msdn2.microsoft.com/en-us/library/ms750559.aspx Here is NotifyIcon between controls, there have no ekquivalent in wpf. I need know, did this control from System.Windows.Forms work in Vista Thx you can use notifyicon in WPF even though its a winforms control... Also mentioned on the linked page " You can always use interoperation to host Windows Forms controls that do not have equivalents in your WPF-based applications " ...Show All

  • Visual C# Unable to load dll HRESULT: 0x8007007E

    I have moved a C# project from Visual Studio 2003 to Visual Studio 2005 Express. I get the "unable to load dll HRESULT 0x8007007E" error when making a call to an unmanaged dll. This previously worked OK before. I have tried putting the dll into the bin\debug directory, the windows and system32 directories with no success. I have also added the debug directory to the environment path variable but still no success. I have investigated trying to put a dependancy in the project on the dll but can't find a method of achieving this. I have also tried running the application and the dll outside of the IDE in the same directory and it still can't find the dll. Is there a difference in the way Framework 2.0 loads unmange ...Show All

  • Visual Studio Missing key

    Hi everybody I've just wrote an interface and commented it well. Than, I derived some classes from that interface. All I want to do now is: How can I reference to the interface documentation within my single class comments. I really don't like to copy'n'paste the interface comments to my class documentations. My classes are supposed to do what the interface dictates. So extra comments aren't necessary. Is there a reasonable way to let insert the comments automatically. I tried something like this: /// <summary cref="IMammal" /> public class Deer : IMammal { ... } The result with Sandcastle is: [Missing <summary> documentation for T:animalpark.Deer] Does anybody know a good solution or workaround Thank you very ...Show All

  • SQL Server SQL Server 2005 Surface Configuration Tools

    After installing sql server 2005 Developer Edition on my Windows xp professional that has Service Pack 2, I am getting error whenever I click --> The sql server configuration tools --> surface area configuration tools: sqlsac.exe - Application error The application failed to initialze properly (0xc0000005). Samething happens if I click the Report Server Configuration tool . Anyone has encounter this type of problem and have a solution for it... Have you tried installing Service Pack 1 or Service Pack 2 November CTP Service Pack 1: http://www.microsoft.com/sql/SP1.mspx Service Pack 2 CTP: http://www.microsoft.com/sql/ctp.mspx Paul A. Mestemaker II Program Manager Microso ...Show All

  • Visual C++ Using C++/CLI to develop web apps

    Is it possible to develop web applications using VC++ (C++/CLI) in Visual Studio 2005 Standard/Professional Editions I would guess that the answer is 'yes', but I would like to confirm. I checked out the Web Developer Express Edition, but it only includes VC#/VB. I am looking for a way to develop web apps using VC++ (C++/CLI). Thanks, Kumar Initially, it is going to be a fairly simple application: Sort of a calculator, where users would enter certain parameters and then click a button to get an answer. There may be a need for accessing a database. The second application will be a more complicated modeling/analysis engine where users would input quite a lot of information and run some complicated ...Show All

  • Visual C++ StackOverflowException in Managed C++ wrapper

    Hello, I have some C++ code in a dll and I wrote a .NET wrapper for it with MC++. In the managed class I have a handle to the C++ code: public __gc class NInfoCmdClntCLR { private: ClsNInfoCmdClient *native; public: // ... } I also declared the ClsNInfoCmdClient class as follows: class ClsNInfoCmdClient : public NInfoCmdClient { public: // constructor and destructor ClsNInfoCmdClient() {} ~ClsNInfoCmdClient() {} // implementation of virtual methods in parent class void NiccCmdStateChanged( NiccCmdState eNiccCmdState ) { NInfoCmdClntDLL::RaiseStateChangedEvent( eNiccCmdState ); } void NiccNotifyError( string strErrMsg ) { NInfoCmdClntDLL::RaiseNotifyErrorEvent( strErrMsg ); } }; The problem is ...Show All

©2008 Software Development Network