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

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

RAmber

Member List

Surfsune
Robert Franks
jhusain
october
Michal Laskowski
ipfeifer
nga96
N. Farr
GKRaj
Yitzhak Khabinsky
Dexter
MarkusEilers
JBHP
Holo
Chris_Wilson
Cornelius Wolf
ÐΣ?Þ??-?
Ming Tsung Lin
Marnik Van Hileghem
JimBarry
Only Title

RAmber's Q&A profile

  • Software Development for Windows Vista Overlapping UI bug

    I've got a problem with a set of UI widgets that no longer work properly in Vista. I've got a ComboBox control...a pulldown arrow on the right and a region to display the setting on the left. Overlapping the left of this control is an Edit into which the user can type. Our software uses the combination of the ComboBox with an Edit on top of it for a very specific purpose. A ComboBox alone will not do the job. In Vista, I see that whenever I mouse over the Edit control, the control appears to fade away to the background color. I think it's the ComboBox control underneath this Edit control that is causing the problem. However, ...Show All

  • Visual C++ System::String -> OLECHAR*

    Hi, how can I convert String from NET forms to OLECHAR* for passing it to Invoke() function as a DISPPARAMS structure member Thanks. But it returns _wchar_t __gc*, and I need BSTR :) I'm in doubt. BSTR() wants LPWSTR PtrToStringChars() returns _wchar_t __gc* I have a System::String. :) Maybe someone can recommend me a good book or manual about Win32 string types and it's conversions All those books I've seen have no any word about it :( I have MSDN but I cannot find useful methods... ...Show All

  • Software Development for Windows Vista Using SQL Database activity inside composite activity

    I want to use the SQL database activity inside a custom composite activity and pass the connection string and other parameters from the parent. The SQL activity designer class defines a PreFilterProperties method, which is evaluated at design time, and which tests for the existance of the ConnectionString. If the ConnectionString is hard coded in the SQL activity, everything works as expected. If the connectionstring is defined as a reference to a property on the parent activity, it is null when the PreFilterProperties is invoked, so the dynamically generated sql properties cannot be defined. How can I pass the connectionstring in from th ...Show All

  • .NET Development connection string

    In a windows application there is a App.Config In it I have included the following line. <configuration>    <appSettings>     <add key="ConnectionString" value="Server=localhost;DataBase=Northwind;Integrated Security=SSPI;Connect Timeout=5"/>     </appSettings> </configuration> in a class module this is how I am trying to access this connection string: return System.Configuration.ConfigurationSettings.AppSettings("ConnectionString") The problem is that it returns null. Any thoughts please Thanks ...Show All

  • Visual C# Error running project on Windows 2000

    I create application under Windows XP and when i run it on Windows 2000 i have a dll error. How can I build my project with all required dlls Does the Windows 2000 machine have the required version of the .NET Framework on it (e.g. if you developed your app in Visual Studio 2005 or C# Express Edition then it would need .NET Framework 2.0) If it doesn't it might be easier to download the required .NET Framework redistributable from the MS site and install it on the Windows 2000 machine. Hope that helps a bit, but sorry if it doesn't ...Show All

  • Windows Forms Shadow effect

    I am trying to develop a shadow effect for a form which is acting as a splash screen. The form has no border style and is simply a graphic. I have tried several different approaches including multiple child forms with varing offsets and opacity as well as some GDI stuff.  Nothing seems to give satisfactory results. The shadow must look like a  ...Show All

  • Windows Forms ToolTips on ListView and TreeView controls

    I want to create my own tooltips for nodes in a treeview, but when I create my own tooltip and use it I still get the treeviews default tooltip. Is there any way to turn off the treeview's default tooltips  I have actually tried this on the ListView as well, getting the same results. Most of what has been posted is correct. ...Show All

  • .NET Development Why must a type be marked as Serializable to be serializable???

    I think when we want to serialize a type, we mean it. Why the Framework forces us to attribute it as Serializable In this way I have to add [Serializable] to the following simple class that contain ONLY simple privimite types, just to let it be serializable. class person {     public string name;     public uint age; }   And more worse, if this class comes from a third party class library, I don't have a direct way to serialize its instances - I have to write custom converters or wrapper/mapper classes. Can someone wise enough to explain the reasons behind this design Thanks. Yes, it depe ...Show All

  • Visual Basic still handling events after dispose

    Hi, Say I have three forms: Main, Dialog1, and Dialog2. An object is declared in Main, and passed to both Dialog1 and Dialog2. Both Dialogs handle the same event on that object, but they are never running at the same time. Say I call ShowDialog() on Dialog1, then call Dispose(). Now I call ShowDialog() on Dialog2. The event is now being handled by both Dialog1 and Dialog2, even though I disposed Dialog1. Why is this What else can I do to unregister Dialog1 as handling this event Thank you. -Luke Try RemoveHandler Control.Event, AddressOf EventProcedure in your form closing event of dialog1 / 2, then i ...Show All

  • Software Development for Windows Vista Problem Downloading and Burning Windows Vista Beta 2 (64-bit)

    Note* this only happens when I try to download the 64-bit version. I attempt to download the ISO file, but end up downloading a 14mb ISO that contains nothing except a README.TXT file, and when I burn it to a cd (nero won't let me burn to a dvd for some strange reason) it says that 4.01 gigabytes are used on the cd. When I try to boot from it, it seems to load fine but gives an error: ---------------------------------------------------------------------------------- Windows did not start correctly. A recent hardware or software change might be the cause. If you have a Windows installation disc, insert the disc and restar ...Show All

  • Visual Studio Team System First impressions....

    ...In case anyone is bothered!!! http://blogs.conchango.com/jamiethomson/archive/2006/06/13/4072.aspx Anyone else got stuff to say -Jamie Thanks for taking a look. I noticed when you created the project you choose "Other Projects>Database Projects" not just the Projects Node (notice on your screen shot ) just above Other Project Types. Our product project is that one. The one you used is the existing VS project type and doesn't work the same way our project does. ...Show All

  • SQL Server Getting User name in a Derived Column

    Hi there, is there a way that I can set the value of a column to the currrent user in a derived shape For instance if I want to set the value of a column to the current data I can merely use GETDATE(). What is the current user equivilent Thanks I would check SQL Books On Line (BOL) lookup either CURRENT_USER, SYSTEM_USER or SESSION_USER to see which user you want to store, however, I don't know if it would work in SSIS ...Show All

  • SQL Server Another Stored Procedure Question...

    Hi, Is it possible whithin a Stored Procedure send the table name as a parameter And some Columns to Ex.: CREATE Procedure Xpto @TableName as @ColumnName as @SomeValue as nvarchar(10) AS SELECT * FROM @TableName WHERE @ColumnName = @SomeValue Thanks JPP Hello... I would not use a table to hold values like this... Those information is already in the DB and there is no need to denormalize it. If there are propper indexes on those fields you want to evaluate you can wrtite a small view that extracts the data you need... By the way... Why is there no SQL Code button on the form ;) create view DocCount ...Show All

  • Software Development for Windows Vista How to change input sample size in Direct Show ?

    Hi everybody, I need to create a Transform filter and I need that the sample size that is delivered in the following method to be a power of 2. HRESULT CMyFilter::Transform(IMediaSample *pIn, IMediaSample *pOut){ BYTE *pSampleBuffer; int iSize = pIn->GetActualDataLength(); // the size to be a power of 2 pIn->GetPointer(&pSampleBuffer); BYTE *pSampleBufferO; int iSizeO = pOut->GetActualDataLength(); pOut->GetPointer(&pSampleBufferO); ... I need that the data length on the InputPin contained in the variable iSize to be a power of 2. For the Output Pin I have no problem setting it to a length to be a multiple ...Show All

  • .NET Development Object Persistence and transaction

    I'm planning to redesign my application in N-Tier and create an object persistence objects (DAL) for each object in my project. For example, I've salesOrder and salesOrderItems objects. I'm trying to create corresponding data persistence object for both of them. My problem is how can I include the objects in the same transaction So that the business layer can start a transaction and the DAL can involve in the same transaction. Example: When I create an sales order, the related sales order items must be added as well. I found that .NET 2 provided a TransactionScope class. However, all the samples seem working in a single function block ...Show All

©2008 Software Development Network