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

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

shmulik_segal

Member List

search and deploy
radarman
scoobystuck
Yazici
DotNetGuy_03
Nidonocu
NisseHt
first_
polymorphicx
litewoheat
anderskj1
Sharp24597
TommyG73
David S. Anderson
rayden
moveit
dmb13
Sugan_Dave
Charles Allen
J. Ho
Only Title

shmulik_segal's Q&A profile

  • Visual Studio 2008 (Pre-release) Noob q : Creating a XAML player application. Is it possible?

    Hi. I a newbie in WPF technology. I wonder if it possible to build an application to play XAML interfaces (multiple XAML). Im thinking of an application that enable user to choose what type of interfaces they want to use. For example, a user choose what type of menu system they want to use(eg vertical sliding or horizontal sliding). Then the user choose how object is displayed after choosing item form the menu (rotation or translation). After that, the application loads the menu systems the user has selected. Is this kind of application possible If so, where do I start What are the recommended books What classes that are critical to know early in the developement process Thank you. Any help/tips is welcome. I find W ...Show All

  • SQL Server subscriptions are failing

    My data driven subscriptions are beginning to fail on a regular basis. I am using RS2000. Three types of errors are occurring - 1.) the Excel attachment is not sent or 2.) I get an invalid email error even though the email is correct or 3.) "The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database." In all cases these subscriptions have been running successfully for months previously. When the failure involves a missing attachment or invalid email address, the problem goes away when I create a new subscription using the same subscription table information. In the case of the missing user name and passwor ...Show All

  • Visual Basic calling an unmanaged C dll from VB.NET

    Hi, I am calling an unmanaged C dll from a VB.NET project by using the DllImport attribute: <DllImport(_dllName, ExactSpelling:=True, CallingConvention:=CallingConvention.Cdecl, CharSet:=CharSet.Ansi, BestfitMapping:=True, ThrowOnUnmappableChar:=True)> _ Friend Shared Sub score(ByRef indata As ParmData(), ByRef outdata As ParmData()) End Sub The outdata contains string-paramaters, and these cause an unhandled exception of type 'System.AccessViolationException' in the C dll. It seems I need to find a way to allocate memory when setting the outdata. Basically I need to do the following C-code in VB.NET: D_PURCHASE_ = (char *)malloc(32); memset(D_PURCHASE_,0,sizeof(char)*32); Any tips on how to accomplish this i ...Show All

  • Visual Studio 2008 (Pre-release) ListBox Items and keyboard events

    Hello In my xaml code I am displaying a ListBox with ItemsSource bounded to an xml. I am using a DataTemplate to display an Image and some other content for each item in the list box. My problem is with events – I need that the image will change its size when the item gets focus. So I am using “ < DataTemplate.Triggers >” With the mouse I have no problem (I am using Mouse.MouseEnter / FocusManager.GotFocus) but with the keyboard the Items are not getting the events!!! That is, I cannot get the keyboard to fire events in the list items. (I tried Keyboard.GotKeyboardFocus, with no luck) What can I do This is my XAML: <DataTemplate x:Key="DrillItem ...Show All

  • .NET Development How to set registry key permission in .NET Framework 1.1

    Hi, all I noticed that http://msdn2.microsoft.com/en-us/library/microsoft.win32.registrykey.setaccesscontrol.aspx was only supported .NET 2.0 So, how do I set registry key permission using .NET Framework 1.1 Thanks in advance! Ming. I think you are looking for the RegistryPermissions class ...Show All

  • Visual Studio Externalize strings

    Hello guys, I worked with JAVA/Eclipse before and there was a tool called "Externalize strings..." which proposed the developer strings found in code to externalize (storing strings in ResourceBundles and replacing them with ResourceBundle getString calls in the code). Is there something similar in Visual Studio 2005, or maybe an add-in Thx, fuddy Check: http://www.codeplex.com/ResourceRefactoring It will do what you want. Pablo ...Show All

  • SQL Server Inserting millions of rows into a table

    Hi, I have a DataTable in memory and I want to write a C# code to dump the data into a SQL database. Is there a faster way of dumping millions of rows into a SQL table besides running INSERT INTO row by row Thank you, Jina If you are using .NET 2.0 then you can use the new SqlBulkCopy Class. I am not sure though if it supports inserting into older versions of SQL Server but it will work against SQL Server 2005. Else it is best to dump the rows to a file and then use BCP/BULK INSERT/OPENROWSET(BULK)/DTS/SSIS. ...Show All

  • SQL Server Update with Inner join

    I have an MS Access query that needs to be converted ot SQL Server 2005 Access Query: UPDATE tblCheckNumber INNER JOIN tblHistory ON tblCheckNumber.Autonumber = tblHistory.AutoNumber SET tblHistory.CheckAmount = ([tblchecknumber].[amount1]), tblHistory.CheckNumber = [tblchecknumber].[checknumber], tblHistory.CheckDate = [tblchecknumber].[checkdate], tblHistory.AccountNumber = [tblchecknumber].[AccountNumber], tblCheckNumber.Updated = "YES" WHERE (((tblHistory.CheckAmount) Is Null Or (tblHistory.CheckAmount)= 0 ) AND ((tblHistory.CheckNumber) Is Null ) AND ((tblHistory.CheckDate) Is Null ) AND ((tblHistory.AccountNumber) Is Null )); SQL conversion: UPDATE tblC ...Show All

  • Smart Device Development monitor wince Os Messages

    Thanks v much I am Using Compact Framework 1.0 it doesn't support Dictionary Generic class. This article( http://blogs.msdn.com/netcfteam/archive/2005/05/20/420551.aspx )provides Subclassing controls in .NETCF 2.0. Is there a way to capture windows messages in Compact Framework 1.0 Thanks again Mahesh Kumara ...Show All

  • Visual Studio Tools for Office Help! 0x800a16c1 - Object has been deleted

    Hi I'm working with VSTO 2005, Word Document, C#. I've done a word document where you can add lists with items inside a table. So everytime i want to a add a new list,, the C# code gets the range of a bookmark where i want to work, then it insert a row in the table, then add the xmlnodes and then add the info written by the user in an Actions Pane. the document works fine when i build it from VSTO. so i created the installer and the security policies and all that stuff. When i open the document for the first time, it works great! i create new lists with the actions pane, and everything is ok. So i save the document with another name. Then i open the new document, and when i try to insert a new list through the actions ...Show All

  • Internet Explorer Development submit() inside onsubmit

    The problem that appears to me is that with IE 7.0 POST of form is sent twice and with Firefox 2.0 once. The problem is of engine of JScript of IE or of engine of Firefox When executing with IE two registries in data base are inserted. When executing with Firefox a single registry is inserted. Script: htmltest.html <html> <script language="JavaScript" src="jstest.js"></script> <form action="jsptest.jsp" method="post" name="prueba" onSubmit="return chequea();"> <input type="submit" value="Send" class="boton"/> </form> </html> jstest.js function chequea() { document.prueba.submit(); ...Show All

  • Architecture Objects with many child object relations - Need design help!

    Hello, First let me start by saying that I am just getting started with OOP and Domain driven design so please take it easy on me. I am designing a domain model that consists of PROJECT objects that can contain ISSUE objects that can contain other objects like NOTES and ATTACHMENTS. There will be times in which my application will need to populate each PROJECT object along with all related child objects. However, sometimes I just need to get a list of PROJECTS to fill a dropdown or list UI control. In this case I just need some basic PROJECT properties like name and ID. I think it would be too much overhead if I populated all child objects just to fill a list (especially if there are many PROJECTs). Shoud I create 2 separate PROJ ...Show All

  • SQL Server Invalid Dataset Referenced Field???

    here's my mdx code for my parameter (CrashVehicleVehicleType) WITH MEMBER [Measures].[ParameterCaption] AS '[Crash Vehicle].[Vehicle Type].CURRENTMEMBER.MEMBER_CAPTION' MEMBER [Measures].[ParameterValue] AS '[Crash Vehicle].[Vehicle Type].CURRENTMEMBER.UNIQUENAME' MEMBER [Measures].[ParameterLevel] AS '[Crash Vehicle].[Vehicle Type].CURRENTMEMBER.LEVEL.ORDINAL' SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS , [Crash Vehicle].[Vehicle Type]. ALLMEMBERS ON ROWS FROM [SDMTest] why do i keep getting this error if i have a parameter value and caption [ rsInvalidDataSetReferenceField] The report parameter ‘CrashVehicleVehic ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Texture requirements

    Hello, which texture requirements apply to 2D textures Max size Is it required that the size is a power of 2 For best performance I have read in a thread, that I have to minimize texture switch during a sprite batch. So should I combine all animations in a single texture or can I keep individual textures per animation Thx BerW On Xbox, the maximum size is 8096, and textures do not have to be powers of two. On Windows, this depends on your card. The largest size reliably supported by all cards is 2048. Some cards can go bigger than this, but not all. Very old cards only supported power of two textures, but those are now so rare you can probably just ignore them. A lot of cards, however, ...Show All

  • Architecture 2-Tier Problems Accessing Remote Data

    I have a 2-tier architecture question. What are the problems associated with accessing data remotely in a situation where a client application is directly accessing a SQL Server database over the internet There are obviously security issues related to preventing unwanted access to the database, but what about performance issues Are there connection reliability issues, network limitations, etc., related to the effectiveness of a direct remote connection to SQL Server An alternative architecture we are considering is a 3-tier model with a middle-tier application server (web service). Thanks. if u r developing a serious application, go for the 3 tier model, and her is why: - More secure, becau ...Show All

©2008 Software Development Network