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

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

pixielightning

Member List

David Robinson
Paul Farrell
AK111
Mike Carter MS
dRoseMirakel
Akd02
Mario barajas
mtbDad
mwiler
Sybs
ANeelima
dborgohain
jchan
Mani Swaminathan
AndyBTechune
JinMengcheng
BryanDOwen
Carrington2
vitalcc
John M 37373737
Only Title

pixielightning's Q&A profile

  • Visual C# How to wrap the capSetCallbackXXXXXX function

    I try the following code: public delegate Int32 capErrorCallback(IntPtr hWnd, Int32 nID, [MarshalAs(UnmanagedType.LPWStr)] String lpsz); public static Boolean capSetCallbackOnError(IntPtr hwnd, capErrorCallback errorCallback) { return AVICapSendMessage(hwnd, WM_CAP_SET_CALLBACK_ERRORW, 0, (Int32)errorCallback.Method.MethodHandle.Value) == 0 false : true; } but the code looks doesn't work, the error cause a NullReferenceException. I am not sure which cause the problem. Could anybody give any advice Maybe the usage of errorCallback.Method.MethodHandle.Value isn't correct or something else ...Show All

  • Software Development for Windows Vista How do you scale WWF Beta 2.2 Workflow Runtime service?

    Tom, If you suggest to start the Workflow runtime in Application_Start and stop it in Application_End in a website, what happens in a web server farm Where should you start and stop your workflow runtime service In order to scale, it would seem that the Workflow runtime service would have to service all web servers in a web server farm. How would WWF Beta 2.2 work with a web application Sincerely, John Portnov Using Application_Start should work fine in a web farm. Each server would have a separate application running with each runtime talking to the same persistence and tracking database(s). When multiple host are accessing ...Show All

  • Visual Studio Where'd DDEX go?

    I downloaded the VSIP September CTP verison, and all the DDEX samples and code seem to be missing.  Whar's the beef! Robert Hi Robert, The various (separate) SDKs are actually in the process of getting rolled into one big SDK. I don't have the Sept CTP VSIP SDK installation handy (and to make room for VS 2005 RTM), but the RTM version of the Visual Studio SDK does have this rolled into it. You'll find the samples under the c:\Program Files\Visual Studio SDK\2005.10\VisualStudioIntegration\Samples\Data\SqlServer directory, and the documentation is now merged in under the Visual Studio Integration node in ...Show All

  • Visual Studio Localizing reportviewer control

    I am in Italy so i need to localize the reportviewer control (eg. "Elaborazione in corso" instead of "Report is being generated", "Trova" instead of "Find" and so on). How can i do this But wasn't simplest to expose the texts as properties, so i can simply override them ...Show All

  • .NET Development dynamic server control used 100s of times on one page - question

    Hi all I am working on a server control that will be a basic "add to shopping cart" button.  This button will be used anywhere from 0 to 75 times on one page ie on a search results page, you would get one button for each result. The problem I am having is handling the events that the cart button raises.  The way I have it now, since the buttons are added dynamically to the page, I have to manually attach the handler using the addHandler method.  I do this by looping through the page controls and testing each controls type to see if it is one of my cart buttons.  When I find a match, I attach the handler and point it ...Show All

  • .NET Development [net2.0] FTP - GetFileSize

    Hi! I want to retrieve the Filesize of a file on  a ftp-server. I tried this listing :         Dim size As String         Dim reader As StreamReader = Nothing         Try             Dim request As FtpWebRequest = WebRequest.Create("ftp://server.com")             request.Credentials = New NetworkCredential("anonymous", "anonymous")             request.Method = WebReque ...Show All

  • SQL Server Which version is best for me ?

    Hi I want to install SQL Server 2005 on a dedicated server. I will be placing around 20-25 databases on this which will be access by same number of web-sites with under 1000 pages visits each per web-site. Can you please suggest which will be the best version of SQL Server for my needs. Thanks for you help. G, Hi, I know this is a very plain answer to your question, but see the limitations of the editions here: http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx Addition to the plain answer :-) --> Try to see if you can determine which version you need in order to fullfill your needs. In add ...Show All

  • Windows Forms Implementing editor for all props

    I`ve made a bunch of controls for colormixing, setting gradients, using hatchbrushes etc..etc.. I`ve also made some button controls and plan to make similar controls for other elements. My question is: How do I implement an editor that covers all the relevant properties in one go   (So, for example, I can have an editor for all props of a button, using othe ...Show All

  • Visual C++ byte array to char array

    this is probably to many steps to accomplish this and if there is a better way then i am all ears. anyway its not working as expected. I am reading 120 bytes starting from posistion x to x+120 to a Byte array. Then i am copying that Byte array to a Char array, at this step i am losing some of that data. I am then converting that Char array to a String*. What am i doing wrong here BinaryReader* FileReader = "new File to open" Byte bBuf[] = new Byte[120]; bBuf = FileReader->ReadBytes(120); Char cBuf[] = new Char[120]; bBuf->Copy(bBuf, cBuf, 120); String* sTemp = new String(cBuf); ...Show All

  • Visual C# Are strings any easier in the new C#?

    I stopped using C# about a year ago. I hated the complexity of using strings. Gone were the days of MyString = "Hello"; I had to now make an object. String manipulation, which was once easy using MID, RTRIM, REPLACE, etc., now is tedious. Anyway, I was wondering if the newest version of C# has made it any easier Um, you couldnt do - string s = "Hello"; what was so hard about - string s1 = s.Trim() string s1 = s.Substring(1,2); Its no different than in VB.Net. Unless you use the non CLR compilant VisualBasic assemblies; no different except that, in vb, dec ...Show All

  • Windows Forms Label Mnemonic Custom Handling

    Hi, I have a custom control derived from the Label class with a few extra features. I am having trouble implementing one of these: Currently, as I'm sure you are aware, when ALT + the Mnemonic character of a Label control is pressed, the control with the next highest TabIndex property is given focus. I wish write custom code to handle the this ALT + Mnemonic character keypress myself, without diverting focus to the next control at all. I have tried overriding the OnEnter / OnGotFocus methods, but with no success. I know it is possible because the LinkLabel class (which inherits from Label also) does it somehow! Any other ideas T ...Show All

  • .NET Development axWebBrowser control accepting security certificates problem

    Hi   I am using a axWebBrowser control to access HTML elements (from a https site) via a document model. I’ve got my head around the DOM side of things and I’m very happy with the way the elements are being presented to me. The problem is that I need to manually accept the security certificate via the security alert dialog.   Can I do this programmally Thanks in advance. If you have just one certificate, you can select form the internet options. Security - Custom Level – and look for “ Don't prompt for client certificate” and change it to enable ...Show All

  • Windows Forms XP themes are not being applied to my Form controls.

    In my application there are many forms and derived forms.  All of the controls are set to Flatstyle.Sandard by default.  Now the XP theme isn't being applied to the controls.  I see them drawn as plain 3D boxes.  I tried changing some of the control style's to System, but that had no effect.  What could I have set in the application, possibly globally, that would keep the XP theme being applied   (my main window is an MDI window, if that matters). I tried making a sample application on the side with two button controls, one with Standard flatstyle and the other with System.  When the application was run I ...Show All

  • Windows Forms VS 2005 Toolbox Refreshing

    Hi, I have noticed that the toolbox in VS 2005 contains a tab for every projects in my solution that contains a component derived class. During builds of the solutions each of these tabs are being refreshed / rebuild and it can take a little time. Is there anyway of stopping this refresh, or is it a matter of removing the tab from the toolbox Maybe this is a bug that has been fixed post Beta 2 Thanks for your help Graham Mike, I am going to check that out first thing in the morning.  If that does it, there will be a lot of happy people in our office.  I asked multiple developers on my team to ...Show All

  • SQL Server Disconnecting from engine does not closes database

    I connect Managment Studio to MSDE 2000SP4. Open database, open some object, then disconnect from engine (not simple collapse DB objects). In other programm try to drop database. Until you don't close MSSQL MStudio, database is in use. In older version collapsing DB objects in tree closes DB. Hi! I don't have access to MS from 2000SP4, but I can tell you that MS in SQL2005 have Disconnect command in context menu of the server node. I think this is what you need. ...Show All

©2008 Software Development Network