Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
F

Feng Qin

@Feng Qin
About
Posts
92
Topics
34
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MS Officeto XML
    F Feng Qin

    Hi, I guess the application you mentioned is using MSOffice Automation Object, it means the doc format analysis is done by MS. That's just my personal point. On the other hand, maybe you could also use this way. I'm amumu, and you?

    C# csharp help asp-net xml

  • MS Officeto XML
    F Feng Qin

    From my known, the format of doc is not public, otherwise many other Office products would be compliant with MS Office documents well and then rob its market. I'm amumu, and you?

    C# csharp help asp-net xml

  • downcasting Object types
    F Feng Qin

    The following is more safer: Object obj = someAssembly.CreateInstance("MyClass"); if( obj is MyAbstractClass ) { MyAbstractClass x = (MyAbstractClass) obj; //downcasting allowed?? x.doCoolStuff(); //exploit polymorphism } and the precondition is you have added reference library, which has a definition of MyAbstractClass.:cool: I'm amumu, and you?

    C# oop question

  • Password in a Propertygrid
    F Feng Qin

    Well, in the normal way, the property can be edited in a textbox, right? So, we can change its default UITypeEditor to a TextBox which PasswordChar is * or any char you like, by setting some attributes like EditorAttribute on the property you have. Hope helps to you.:cool: I'm amumu, and you?

    C# question

  • Interoperatioin with Shell32.dll COMObject...
    F Feng Qin

    But I think ShellLinkObjectClass should be created.:( I'm amumu, and you?

    C# csharp visual-studio help question

  • Interoperatioin with Shell32.dll COMObject...
    F Feng Qin

    I want to use COMObject in Shell32.dll, and I have ran "Regsvr32 -i shell32.dll", but when I create the object, vs.net tell me "ComObject is not valid or registered." Following is my code: try { Shell32.ShellLinkObjectClass link = new Shell32.ShellLinkObjectClass(); link.Path = "C:\\boot.ini"; link.Save("D:\\Mylink.lnk"); } catch( System.Runtime.InteropServices.COMException ex ) { MessageBox.Show( ex.Message ); } Thanks for your help!:rose: I'm amumu, and you?

    C# csharp visual-studio help question

  • CodeCollector - Addin of Visual Studio.net, Beta released.
    F Feng Qin

    CodeCollector: That's my first add-in for Visual Studio.net, the main point is study try the way of developing the add-in for vs.net.Its main feather is collecting useful and repearable source code for you, you can select the code you want to collect and then drag or use popup menu to add them to "CodeCollector", when you want to use them, you can insert the content of file into your current document. History v1.0.0.0 2002.8.12 Released. 2002.8.12 Locate the xml configuration file by satellite path instead current application path. 2002.8.12 Fixed the bug that when user change a propery of folder or file, the name will be changed. 2002.8.13 Fixed the bug that when user double click a folder. 2002.8.13 Fixed the bug when deleteing the popupmenu which is build-in. 2002.8.14 Add "Search" command which can search a word in CodeCollector. 2002.8.14 Add "Insert" command which can insert the file of CodeCollector to current document. 2002.8.15 Add "About" information.:) Thanks: Thank , for testing beta version. Contact: Author: Qin feng EMail: qf0421@hotmail.com, Feng.Qin@alcatel-sbell.com.cn Any advice are welcomed!:) SnapShot Click here to download I'm amumu, and you?

    Collaboration / Beta Testing csharp visual-studio beta-testing com testing

  • .NET Framework Version
    F Feng Qin

    :)System.Version I'm amumu, and you?

    C# question csharp dotnet announcement

  • Is there some body who is familiar with .vsz file?
    F Feng Qin

    I try to write a .vsz file, but when I use it in vs.net, vs.net always told me "Could not run xxx.vsz file"! I'm amumu, and you?

    C# csharp visual-studio question

  • Web Service Deployment
    F Feng Qin

    try "aspnet_iisreg -i" I'm amumu, and you?

    C# csharp dotnet sysadmin windows-admin question

  • Problem at creating a vs.net wizard
    F Feng Qin

    Hi, all I try to create a wizard for vs.net when new project or file, when I test my wizard, vs.net always pops up a dialog "Could not run the xxx wizard". firt part is my dll source: using System; using System.Windows.Forms; using EnvDTE; namespace MyVSWizard { /// /// Summary description for Wizard. /// public class Wizard : Object, IDTWizard { public Wizard() { // // TODO: Add constructor logic here // } public void Execute( object Application, int hwndOwner, ref object[] ContextParams, ref object[] CustomParams, ref wizardResult retval ) { MessageBox.Show("Hello world"); } } } then I use "regasm /codebase" to register the dll as a com and get the clsid ={34470340-B2D6-39A4-AFDA-A53A13D04DF7}. then my .vsz file VSWizard 7.0 Wizard={34470340-B2D6-39A4-AFDA-A53A13D04DF7} then my clause in .vsdir file MyWizard.vsz|{34470340-B2D6-39A4-AFDA-A53A13D04DF7}|0|270|My First Wizard|{34470340-B2D6-39A4-AFDA-A53A13D04DF7}|0|0|MyClass.cs Thank you for your help!:rose: I'm amumu, and you?

    C# help csharp visual-studio com question

  • About shared assembly.
    F Feng Qin

    Thank you, James, but how about 2nd question? I'm amumu, and you?

    C# question csharp help discussion announcement

  • About shared assembly.
    F Feng Qin

    1.I can add an assembly to cache, but I cannot find it in dialog when you click "Add reference", how can I let my assembly to the dialog's .net assembly list? 2.I built two version assembly(v1.0.0.0 and v1.0.0.1) that included the same sn, also added them to cache, now I want to refer the certain version of them in my application, how can I do? I have tried "Add reference", but I cannot find it because the problem 1, then, I used "Browse" to select a certain version dll(ie: v1.0.0.0) file because of using the namespace of the shared assembly, then I wrote a config file of application: bindingRedirect oldVersion="1.0.0.0" newVersion="1.0.0.1" But when I run the program, the application still link to v1.0.0.0. Any thoughts? Thank you! I'm amumu, and you?

    C# question csharp help discussion announcement

  • Session_End doesn't work...:(
    F Feng Qin

    I want to do some job on Session_End in global.asmx, but when I close the IE, it cannot be occured.:( I'm amumu, and you?

    C# question career

  • C# and Web Services
    F Feng Qin

    Use command: aspnet_iisreg -i to install .net framework to your iis server. I'm amumu, and you?

    C# csharp wcf beta-testing help code-review

  • C# .NET question
    F Feng Qin

    If you installed vs.net, you can find C# language sepecification document on VC# folder, and also you can find many resource on msdn online. I'm amumu, and you?

    C# csharp c++ question java visual-studio

  • Data Link Dialog Box???
    F Feng Qin

    I think all dlls you refered are running at local machine, and two support remoting: web service and system.remoting, right? I'm not sure about it.:| And also you can notice if you add a reference, vs.net will copy the file to your bin directory, does it means dll will be invoked local? I'm amumu, and you?

    C# tutorial question

  • Data Link Dialog Box???
    F Feng Qin

    MSDASC.DataLinks dl = new MSDASC.DataLinks(); ADODB.Connection connection = dl.PromptNew() as ADODB.Connection; if( null != connection ) MessageBox.Show( connection.ConnectionString ); You should add reference "Microsoft OLE DB Service Component 1.0 Type Library" and the "Microsoft ActiveX Data Objects 2.5 Library" to your project's reference.:rolleyes: I'm amumu, and you?

    C# tutorial question

  • Data Link Dialog Box???
    F Feng Qin

    Code: MSDASC.DataLinks dl = new MSDASC.DataLinks(); dl.PromptNew(); You can find the whole information on msdn : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsqlmag2k/html/LinkAPI.asp In C# project, you should add a com reference named : Microsoft OLE DB Service Component 1.0 Type Library Good luck! :rolleyes: I'm amumu, and you?

    C# tutorial question

  • Recommendations for container and algorithm library.
    F Feng Qin

    If the object you stored in Array implements the IComparable interface, you can use Array.Sort to sort the elements by your own algorithms. I'm amumu, and you?

    C# csharp dotnet docker algorithms question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups