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

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

Ofir Epstein

Member List

NoSTaBoNN
erick_the_redd
pfear
Rischa
arogan
prasannakumar63529
dragoncells
braz
Rod at Work
Ica
CraigT
Kris Nye
C. Wells
GMan5309
IntMain
jhurliman
Wolf359
Virdee
Kamii47
Toan
Only Title

Ofir Epstein's Q&A profile

  • Windows Forms how to increase row height of listview

    hi, In a listview can we change the height of row Actually i am having a listview having 2 column.. if the data in database is larger then the width specified then that data should appear on the another line... so can we manage row height dynamically... all helps will be appreciated... thnx in advance... The height of a listview item is entirely controlled by the listview's Font property. You can't have multiple lines in an item unless you use custom drawing with OwnerDraw/DrawItem. Using a font half the size of the listview's Font in DrawItem gives you enough space for two lines. You can't adjust the height for each individual item. Consider a commercial grid control if you can't li ...Show All

  • SQL Server Can I Debug Remote SQL Server 2000 Stored Procedure in Visual Studio 2005

    I can debug an SQL Server 2005 stored procedure in Visual Studio 2005 from a local database (e.g. AdventureWorks). However, when I try to debug a stored procedure on a remote server running SQL Server 2000 the debug process is not accessible (i.e. I can choose 'Step Into Stored Procedure' and it seems to run but I cannot debug it). Am I trying to do something that just can't be done Is this a compatibility issue between Visual Studio 2005 and SQL Server 2000 Or am I missing something Thanks for any advice on this. Richard As far as I can see, Server Explorer in Visual Studio does not give me a 'Modify' option. It gives me a 'Step into Stored Procedure' option that does not seem work fo ...Show All

  • Visual Studio Express Editions VB express guided tour class example

    I recently downloaded vb express and began going thru the guided tour. I got to the part about creating a class and followed the instructions exactly. Then I come to the part about testing your class and the instructions don't correspond to what I'm seeing. For example, on the project menu there is no "Set as Startup Project". Also, when I choose Add References there are no projects listed on the project tab. Its probably something simple that I'm doing wrong but I'm stuck. Any help would be greatly appreciated. Thanks. I was doing File-> Open-> New Project instead of File-> Add-> New Project. I knew it was something simple. ...Show All

  • SQL Server SQL Server 2005 Express - UI Questions

    I apparently overwrote the content of this question when I edited it, so I'm reentering it. Question: What UI is provided with SQL Server 2005 Express, in terms of building tables and relationships, and other basic DB construction functions _______________________________________________ My own answer: MS's page on SQL 2005 Express http://msdn.microsoft.com/vstudio/express/sql/ describes a "download free management tool"  and has a brief description, which indicates it has a basic UI interface.   So it looks like a separate download...and not dependent on edition (std, pro, etc) of VS 2005. ...Show All

  • Visual Studio Team System Web test Request Plugin - Error

    Hi, I am trying to create webtest request plugin and i ended up with this error "Error 3 Metadata file 'C:\Inetpub\wwwroot\For_Internal\ClassLibrary1\bin\Debug\ClassLibrary1.dll' could not be found For_Internal" Error 1 The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference ) C:\Inetpub\wwwroot\For_Internal\ClassLibrary1\Class1.cs 3 14 ClassLibrary1 The code in class file is below. using System; using System.Collections.Generic; using System.Windows.Forms; using Microsoft.VisualStudio.TestTools.WebTesting; namespace RequestPluginNamespace { public class MyWebRequestPlugin : WebTestRequestPlugin { public override void PostRequest(object sender, Po ...Show All

  • Visual Studio Tools for Office MS Word Automation (2000, XP, 2003 & 2007) in C# ?

    Hi We need to write an app that can automate the mail merge process in MS Word. The trouble is our clients have a range of different versions installed. What is the most reliable method for automating versions 2000 through 2007 Can a single approach be taken or do we need to write code for each (gulp) I assume it would be better using COM automation than interop or am I talking rubbish Any advice would be appreciated. Best wishes, Sigol. Choose the automation method that best suits your requirements :-) Office apps are COM, so execution will generally be faster if you use COM. Automation using managed code requires an additional interface, so will tend to be slower. If all you'll be do ...Show All

  • Smart Device Development [Pocket PC] Screenshot to png.

    I've tried for the last 4 hours and someone in the irc said when all else fails go to MSDN forums. How do I click the: If (e.KeyCode = System.Windows.Forms.Keys.Enter) Then And have it save a screenshot to a .png. Seems simple but everything i find isn't supported function wise by compact framework. Right now all the things i do just create 320x240 black boxs. Thanks guys. (I would type more but gtg to work now). Back From work now. Okay so the program I'm dev doesn't use the clipboard at all so I have found some code that will save images in the clipboard. Only problem is there is no PrintScreen button that i can find on my pocket pc that will put it in the clipboard. So heres the code I just need help filling in the blank. Code: 'Code to ...Show All

  • .NET Development FileLoadException error

    FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) We are randomly getting the above exception thrown in our processes while they are running. This started after we migrated our application to the 2.0 framework. The error goes away if the process (dllhost.exe or w3wp.exe). Somewhat related, fuslogvw doesn't work unless I specify a custom directory for the log locations. It doesn't log anything for COM+ applications also. Any thoughts How do I make fuslogvw work Even when I have a custom directory it doesn't log anything for dllhost. The more interesting issue is that the application works when rest ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scorched Tanks for Windows (and 360)

    Hey, Continuing my habit of starting more games/projects than I can ever hope to finish, I decided on Thursday I'd write my own version of Scorched Tanks in XNA. What I've got so far is by no means close to being a game, yet, you could probably "play" around with it for 5 minutes or so, so call it what you will. It's working on 360 and Windows (without code changes of course) which is good news. What I've zipped is really just a work in progress for people to play around with and ask any questions (should there be any). The code is, as with all works in progress, fairly atrocious, so I'll keep it to myself for a bit but if by a miracle I've done something and you want to know how I'll happily tidy up the relevant bits and post it. ...Show All

  • Windows Forms Resize a selected item in a custom MultiLineListBox

    In my custom MultiLineListBox i need to resize dynamically the currently selected item. So when i click on it - it becomes say 20 pixels higher. And the same with deselect - it becomes 20 pixels smaller. I am using OwnerDrawVariable draw mode in my custom control (it is inherited from ListBox). I have overridden my own OnDrawItem() method and my own OnMeasureItem(). The problem is that when the select event fires the OnMeasureItem() method is not called, it is only called when the whole control is being redrawn. Does there exist a way to solve this problem ...Show All

  • Windows Forms PropertyGrid Update

    I have a custom designer based on the DesignSurface class and several custom controls in my toolbox. These custom controls mostly inherit the label control. They also have their own ControlDesigner class. I am having difficulty updating the propertygrid as items change with the control on the designsurface. For instance, I can drag the control but the location in the property grid wont update until I click somewhere else and then back on the control. Also, I have a verb that changes my overridden Text property. It will change the text displayed in the control but the property grid wont update until I click on the control again. I tried firing the ComponentChanged event when the Text property changed but this does not force an update ...Show All

  • SQL Server Copy database from SQL Server Standard to SQL Server Express

    Hello, I am currently faced with a problem of copying a database from SQL Server 2000 to SQL Server 2005 Express using the SMO classes. I am using VB.NET and i'm just trying to take an exact copy from the server. Any ideas on how I would do this in code Any links would be great. Thanks. Rob Try this code, it should solve your problem: Dim srv As Server Dim srvConn As ServerConnection srv = New Server("MyServer") srvConn = srv.ConnectionContext srvConn.LoginSecure = True Dim db As Database db = srv.Databases("AdventureWorks") Dim strDBName As String strDBName = "TestDatabase" 'Define a Transfer object and set the required options and properti ...Show All

  • Visual Studio Express Editions datagridview selected row

    hi all..... how can i get the selected row when the user double click on any column of that row....for example there is an item list which display in datagridview......and each record contain multiple atrributes or column......and what i want is when the user double click on one of the attributes, it will return me that selected record... does anyone have a solution in solving this problem thanks ya u are able to do this... select the value of the datagrid first column.... or u can select the unique key in ur database. for it.. and check out all the detail related to it.. where u want ...Show All

  • SQL Server Grant Database Access

    I am setting up report services after I installed the report server add-ins on sharepoint 2007. at first step, Reporting services integration, I put report server web service URL -- http://ssrsdev1/reportserver authentication mode -- windows authentication it went OK. at second step, Grant Database Access, I put ssrsdev1 for server name (default instance) and then click OK and then I put the user name (a member of local admin group on ssrsdev1) and password, but I always got errors says: Unable to log on with the given username and password. what wrong here what should I check I am sure the user and password is right and I can log on to ssrsdev1 physically with admin right without any problem. thanks for any thought on this. zwp ...Show All

  • SQL Server Scheduled SQL Server Agent SSIS Package Job Problem

    HELP! I have been banging my head against a brick wall on this one all this morning AAAAAAGGGHHH! 1. I have an SSIS package that runs a simple SQL script and then updates a few tables by downloading some XML of the web. It runs fine when I kick it off manually under SSMS. 2. I created a SQL Server Agent job to run it every day. This always fails. The error information in the log is useless ("Executed as user: domain\user. The package execution failed. The step failed." - I had already figured that out!). It fails almost straight away, and when I enable logging for the SSIS package, no info is ever logged (text file, windows event log, whatever). 3. Out of desperation I have changed Agent to run under the same domain user ...Show All

©2008 Software Development Network