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

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

Zach7

Member List

Mr. Rich
prad_kav
Michael_P2234
sun919
PeterVrenken
rucky
mognog
Mory0Tiki
Bernd Wechner
jms04081974
Evan Mulawski
g33kspeak
AlexanderJ
MatteusX
fddsfsdf
PushkarK
Mark Macumber
eligh_ll
Kmbhat
yaakov
Only Title

Zach7's Q&A profile

  • Windows Forms ListBox drag and drop

    Hi, I'm trying to implement the drag and drop event on a ListBox. What I want to do is to drag an item to another location within the same ListBox and drop it there. I'm wondering if there is a way to display a dotted line at the index the item is dragged into at DragEnter, like many windows applications do. Thanks. If you over-ride DrawItem for the list box you can make the list box items basically look however you want... This should get you started: http://samples.gotdotnet.com/quickstart/howto/doc/WinForms/WinFormsOwnerDrawListBox.aspx HTH ...Show All

  • SQL Server SQL Server 2005 Installation Failure on Vista - Hangs at IIS

    I just bought a new laptop with Vista pre-installed and was able to install Visual Studio 2005 Pro, but when attempting to install SQL Server 2005 it just hangs at the IIS detection step. I was using the administrative account. I was able to install the Developer Edition of SQL Server 2000, but I need 2005. Some posts mention IIS version issues and 32 vs 64 bit version issues. Can anyone ellaborate on what is happening and why What is the work around By default, IIS is not turned on in Vista. If you want to install the component Reporting Services (RS) in SQL Server 2005, you need to turn on IIS on Vista first. Please make sure you check IIS Backward Compatibility. Otherwise, you still ca ...Show All

  • SQL Server Emailing long messages from SQL2000

    Hello! The problem is this. I have many short messages in a table. I need to tigh them together in one long email message and email to the users. But xp_sendmail is limited to 7,790. How could I send longer messages Or how could I devide the long message and send it in parts (i.e. separate consequtive emails) This doesn't work, it still cuts the messages off at around 7,790: E. Send messages longer than 7,990 characters This example shows how to send a message longer than 7,990 characters. Because message is limited to the length of a varchar (less row overhead, as are all stored procedure parameters), this example writes the long message into a global temporary table consisting of a single text column. The contents of this tem ...Show All

  • SQL Server Add connction Fails in VS.NET with SQL Server Everywhere

    When I try to use the "Data Source Configuration Wizard" (Menu: Data\Add New Data Source...) and I try to add a new Connection to the "Northwind.sdf" database using Microsoft SQL Server Mobile Edition it fails with "Unable to find the requested .Net Framework Data Provider. It may not be installed." What's really strange about this is that if I click the Test Connection" button it states "Test Connection Succeeded." I've looked everywhere and I see that other have had the same problem but no one seem to know the solution. jc3 this didn't work for me... no matter what I try, I cannot get the database to connect from the designer!! I've installed the RC1 but when I go to add a ne ...Show All

  • Visual Studio Team System Profiling C# Apps on Windows Mobile Devices

    Does the VSTS (Visual Studio Team System) profiling capability allow me to profile apps running on attached mobile devices I need to profile a C# app on an HP iPAQ running Windows Mobile 5. If I can't profile running on the actual device, will the profiler work if running the app in emulation mode for the device Thanks, Mike. Hi Microsoft Team, I am working on Windows Mobile 6.0. If there is a profiler support, it would have helped me alot in achieving good performance of my code in a efficient way. Hope u ppl ll come with new version of VS which supports this feature........ Thanks & Regards, satish ...Show All

  • Visual Studio 2008 (Pre-release) WCF PeerChannel vs Vista's "People Near Me"

    So I'm sitting at home playing with Vista preRC1 (5536). I notice that "People Near Me" is still there, so I sign in and then go take a look at the API for it. Its completely unmanaged, low-level, Windows API type stuff, but the methods are pretty high level. You can sign in, you can enumerate who is logged into the network, and so on. Windows Meeting Space (Vista) runs on the "People Near Me" (Windows Collaboration API) functionality, and its pretty similar to something I want to accomplish. My question is this: Am I better off using default PNRP on Vista using WCF (what I'm familiar with) , or should I be using the "People Near Me" functionality If the People Near Me functionality is using PNRP, then should ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Saving model to .x file

    Because XNA doesn't yet support mesh saving functionality, I'm using MDX to save a model to a .x file. This is the code I'm using:             meshTerrain = new Mesh((WIDTH - 1) * (HEIGHT - 1) * 2, WIDTH * HEIGHT, MeshFlags.Managed, CustomVertex.PositionTextured.Format, device);             meshTerrain.SetVertexBufferData(vertices, LockFlags.None);             meshTerrain.SetIndexBufferData(indices, LockFlags.None);             int[] adjac = new int[meshTerrain.NumberFaces * 3];        ...Show All

  • Visual Studio Restrict property value depending on one property

    Hi, I have one Entity with Properties. Each Property has a Type property (which can be numeric, string, boolean, date or memo) and a size property (which is a numeric). The size property is only interesting when type is String. Therefore, I'd like to disable the size property when type is other than string (ideally, it would be great if value is kept, but not shown). Thanks for your help. That seems to work fine. However, I can not change PropertyDescriptor Property Value. It is marked as ReadOnly (for example, the IsReadOnly Property) Did I miss something ...Show All

  • .NET Development How to call a web service without adding a web reference...

    Hi Guys, Hopefully this is a fairly simple one... I need to call a web service from a c# class without actually added a web reference to the project. Obviously I need to handcraft some HttpRequests and interpret the responses manually, just want to know the best way to achieve this. Is there any base class in the framework that'll have a URL property and a method such as CallWebMethod(methodName, param object[] parameters) Did do a search, but couldn't find anything that was quite what I wanted to achieve. Thanks in advance, Simon. Hi simonl1980, I also face similiar situation where i need to create the web reference on run time. Can you explain how you acchive this.. I creating a class/ ...Show All

  • Visual C# convert double[] to byte??

    is this possible i need to convert an array of double to byte so that i can put it in a database.. thank you! See, what I'm trying to do is to put double[] val in a database, a friend told me to convert it to bytes and then store it in the database, but I don't know how. Anyway, what is the memo type would it be easier if i used that Thanks so much. ...Show All

  • Visual Studio Express Editions HELP Needed in retrieving the ORACLE_HOME location-VC++

    hello all, How to retrieve the ORACLE_HOME location from Registry Editor through VC++ i am having both Oracle 9i and Oracle 10G in my desktop,ORACLE_HOME key resides in different folders under Software folder of HKEY_LOCAL_MACHINE. How would i retrieve the ORACLE_HOME Location from Registry Editor according to the Oracle version selected in the Home Selector through VC++ Is there any MFC functions to do this kindly advise   thanks Athish hello Hopefully one of these APIs: http://msdn2.microsoft.com/en-us/library/ms724875.aspx regards, rico ...Show All

  • Windows Forms OnSizeChanged called twice when changing the property Size on a UserControl

    Hello! I have created a UserControl and load it in the constructor of a Form. UserControl c; public Form1() { System.Reflection. Assembly assembly; assembly = System.Reflection. Assembly .LoadFrom( "File with UserControl" ); Type t = assembly.GetType( "The type of the Control" ); c = ( UserControl ) Activator .CreateInstance(t); c.Location = new Point (0, 0); Controls.Add(c); } I then set the Size of the control doing something like this: int NewHeight = System. Convert .ToInt32(textBoxHeight.Text); int NewWidth = System. Convert .ToInt32(textBoxWidth.Text); c.Size = new Size (NewWidth, NewHeight); In my UserControl I have the eventhandler ...Show All

  • SQL Server Error using UnaryOperatorColumn on a Many-to-Many linked dimension

    Hi, i made a small debugging environment for a problem i am getting, it has 2 fact and 2 dimension tables: FactAccount - fact - (AccountKey,Balance) DimAccount - dimension - (AccountKey,Code,Name) BridgeAccountReport - fact - (AccountKey,ReportKey) DimReport - dimension - (ReportKey,ParentReportKey,Code,Name,UnaryOperator) the dimension usage is as follows: for BridgeAccountReport DimAccount - Regular DimReport - Regular for FactAccount DimAccount - Regular DimReport - Many-to-Many using BridgeAccountReport as intermediate fact table DimReport has a self-referencing hierarchy using ParentReportKey. The idea is to be able to use the same facts recorded at the DimAccount level under different analysis structures recorded in DimReport. The p ...Show All

  • SQL Server SP_Help

    I need to write dynamic SQL statment that will delete a code from a table but before you can delete that code...I need to find all the foreign key constraints (all the tables that references this table to either update or delete from them and then delete from this table last) I know how to get this information from SP_Help but i dont know how I can do this dynamically. Please help. Emadkb The following query will return all foreign key related tables for a given table (2005 syntax...for 2000 replace sys.sysforeignkeys with sysforeignkeys) : select object_name ( rkeyid ) parenttable , object_name ( fkeyid ) childtable from sys.sysforeignkeys fk inner join sys.sysconstraints c on ...Show All

  • Smart Device Development .NETCF 3.0 ETA?

    Hi, I am looking forward for the .NET CF to support WCF. I read a recent post from Roman Batoukov knowing that it's coming. Any rough guess when will it be available Thanks in advance. W Wong ...Show All

©2008 Software Development Network