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

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

JWFink

Member List

Steve Whitley
vpborza
mdev
chaminda perera
Super Techie
outtalimitz
A_Carina
Dmitriyy
RosieG
Reznick
Myron Marston
Steve McAlpin
MAdWizard
manzoorm70
MercJim
Jaxom
fpsoft
Derek Haskin
MartijnB
Majka
Only Title

JWFink's Q&A profile

  • Windows Forms TableLayoutPanel control losts Desgin-time features when attach a designer

    I made a custom control which derives from TableLayoutPanel, class Table :System.Windows.Forms. TableLayoutPanel { public Table() { } } Drop it into my custom form desiner, and it wokrs well. But when I attach a designer to it. [ Designer ( typeof ( TableDesigner ))] class Table :System.Windows.Forms. TableLayoutPanel { public Table() { } } public class TableDesigner : System.Windows.Forms.Design. ControlDesigner { public TableDesigner() { } public override SelectionRules SelectionRules { get { SelectionRules rules; rules = base ...Show All

  • Visual Studio Express Editions Speed of binary parsing

    Hi, I'm just getting started with c#, but the IDE and .net have made it quite easy so far. What I'm playing with right now is MPEG2 transport stream parsing. This is what I have:             FileStream fs = new FileStream("C:\\Documents and Settings\\Administrator\\Desktop\\New Folder\\nun.mpg", FileMode.Open, FileAccess.Read);             FileStream fsw = new FileStream("parsed.mpg", FileMode.OpenOrCreate, FileAccess.Write);             byte[] payload = new byte[184]; & ...Show All

  • Visual Basic WMI impersonation and an exclamation mark!

    I've seen many example scripts with lines such as: GetObject("winmgmts:"{impersonationLevel=impersonate}\\"...... cut I have also seen many with an exclamation mark after the impersonation part: GetObject("winmgmts:"{impersonationLevel=impersonate} ! \\" but I can't find out what this means, can anyone explain It's beginning to make sense now, that's been very useful Cathal. I can do some testing based on what you've said. This whole subject of monikers isn't covered too well - I need to spend a bit of time in the bookshop. Can anyone recommend a good book for beginners ...Show All

  • .NET Development Creating ASP.Net WebUserControl at RunTime and saving as a new .ascx file using CodeDom

    Can anyone please throw some light on creating ASP.Net WebUserControl at RunTime and saving as a new .ascx file using CodeDom Thanks in advance. Hi! That's a fantastic question! First off, you should be able to create the web user control in code by declaring a new instance of a webuser control, and then dynamically adding your controls to it, just like you would if you were adding controls to an existing page, or what have you. Saving it is the part that I'm not sure about. Try posting in the ASP.NET forums and someone over there should have a better idea. The best place for asking ASP.NET questions is on the ASP.NET commun ...Show All

  • SQL Server CREATE ASSEMBLY failed because method 'get_Count'...

    Hi All, I am trying to create and assembly which saves the results of a XML query. The dll, when called from a exe, works and saves the results to file as expected. However, when trying to create the assembly I get the error: " Msg 6215, Level 16, State 1, Line 2 CREATE ASSEMBLY failed because method 'get_Count' on type 'ADODB._Collection' in external_access assembly 'Interop.ADODB' has invalid attribute 0x1003." Any ideas Cheers, Crispin What permission set are you creating your assembly with Try and create it with UNSAFE, and see if it helps. Niels ...Show All

  • Visual C++ Array of pointers to Chars

    Anything wrong with these codes //begin question char * f(char *s, int i){ char **ptr=0; // what I wanna do is create array of pointers to chars here //... int j; for (j=0;j<i;++j) ptr[j]= new char[i+1]; //.... return str; } //end question // I want to do something like this (but errors at compile time, // *ptr[i+1] ) I could use a const to define i+1, but I don't know that ahead of //time. // expected constant expression // cannot allocate an array of constant size 0 // 'pttr' : unknown size // I know why I got these errors, but what would be the equivalent // for the codes below char * f(char *s, int i){ char *ptr[i+1]; //ar ...Show All

  • Visual C++ Image Color Management in VC++ 8 Platform SDK

    I'm converting a VC++ 6 MFC app to VC++ 8 using Visual Studio 2005 Standard. The existing app uses Image Color Management, so it #include's icm.h. In the VC++ 6 environment, it is included from the Platform SDK [$(ProgramFiles)Microsoft SDK\include] directory. A Visual Studio .Net installation delivers a version of the Platform SDK in a subdirectory of the VC directory [$(VCInstallDir)PlatformSDK] and this directory is setup to be used for includes upon install. However, icm.h is not included in this version of the Platform SDK delivered with Visual Studio 2005. The file does exist in both VS2002 and VS2003 installations. Was this ommi ...Show All

  • Windows Forms updata other MDIChild forms

    Hi, i have a mdi application, it contain "A" form and "B" form. how can i use "B" form to updata "A" form's control such as add new item to "Listbox" and trigger event. Erymuzuan was correct in that how you go about doing this depends very much on the design of your application.  The following is&nb ...Show All

  • Visual Basic Will the next framework release have code for decompressing zip files

    I know there is some C# code floating around but with compressed folders being an option in the right click menu I would think the framwork would have access to the function.     The is a Microsoft example that uses the java libraries to handle the zip files.  http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx I have been trying to convert the code to VB. I keep get an invalid cast exception on the following line.  Any help would be greatly appreceated. 'Reset to first object in collection.  Here is where I get the invalid cast exception m_Wrap ...Show All

  • Visual Studio IVsProject3->OpenItem is called for each document having a breakpoint before the debugging starts

    Hi, I have implemented my own debug engine, we are creating a virtual project to enable debugging. All my docs are non file based docs. My problem is that when I start a debugging session I see that OpenItem in IVsProject3 is called for each document that has a breakpoint in it. Iam not sure why it is happening but I observed the same behavior with the MY C sample provided with the sdk. The call comes from the Vsdebug.dll, Is there any way by which I can stop these calls coming as these calls are unnecessarily trying to open documents that may or may not be required, I would still like my breakpoints to be available as otherwise I wou ...Show All

  • Visual C# Another event handling question

    I have the same issue as this guy does: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=127763&SiteID=1 I have searched my local 2005 MSDN here: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_csref/html/804cecb7-62db-4f97-a99f-60975bd59fa1.htm but there was never any usable answer to the question of splitting event handlers into other classes. I have a default Windows App that has a button and text box. When I press the button, I want the text "Hello World!" to appear in the text box. Cheesy - yes I know. I am trying to understand partial classes in the exercise. I want to split my event ha ...Show All

  • Windows Forms EnableVisualStyles and NotifyIcon bug

    When Windows XP visual styles are enabled, if you use ShowDialog() on a form in response to an event raised by clicking on a NotifyIcon or a popup menu from a NotifyIcon, you get a SEHException when the form is closed. Has anyone else noticed this  If so, how do you work around it Ok, the images are now an embedded resource  ...Show All

  • Software Development for Windows Vista Dynamically changing rules definitions in .rules file without recompiling the WF

    Hi, I have developed a sample application for validating credit cards and as a part of implementation, i have used policy activity and defined some sample validation rules using rules editor. I expect my end user to edit these rules with valid actual rules and my WF has to execcute its policy activity against these newly created validation rules. Please suggest me a workaround to implement this scenario. Please note that, i don't want to use DB support for this as my implementation will be deployed as a class library and i want my WF goes along with the dll. So i'll prefer using .rules file. What i am expecting, is my user has ...Show All

  • SQL Server Snapshot Meta Data Problems

    Hi There I realize these question are not specifically for replication by anyway .... I am using snapshot replication from Server 1 to Server 2. I cannot use the drop table option for replication publication. The distribution agent keeps on failing if a colmn order is different or an index defined differently. Is there any script or sp i can run to check that table defintion, column order, idexes etc are identical between servers Also when the distribution agent fails, is there anyway to start from where it left off applying the snapshot instead of starting right from the beginning My main concern for not dropping the tables is loosing al ...Show All

  • Software Development for Windows Vista RSS failu The RSS feed is not including the replies to the original posting

    I run NewsGator in Outlook 2003 and the RSS feed for this forum is only including the original posting and none of the replies. Any plans to fix this You might want to report this on ' the site feedback ' > " suggestions for Forums website " (look at this thread) ...Show All

©2008 Software Development Network