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

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

KarlZheng

Member List

divya mittal
vandewst
Crazy Engineer Kid
coachdunlop
krhoover
Bodylojohn
DeeZa
DanBaumbach
Tmcginnis
Tyrael117
game-maniac
ChoKamir
sebahattingokce
NewbieDude
duck thing
Kidsauth
Nikal
Dr.Pepper
Peregrin
hhewson
Only Title

KarlZheng's Q&A profile

  • Windows Forms Drag and Drop between my application and windows explorer

    Hello Gurus, I have an application developed in C# ,drag and drop option implemented within the appication. In fact, I am able to drag the files from external windows explorer and drop em on my application. Now I want to drag the files from my application and drop em on external windows explorer or desktop and my application should be able to copy them. Could you please give me some suggestions or sample code that does similar thing BTW, I am using Visual Studio.NET 2003 version. Thanks, Sathish Kumar I would like to drag files from the external windoes explorer and drop them onto my application. I too am currently using visual studio 2003 and it seems the DataFormats class does not pr ...Show All

  • Smart Device Development Deploy CF 2.0 CAB using project

    I have the same problem. I've created a CAB project in VS 2005. After I add the project output to my File System on Target Machine, I see that it added mscorlib.dll, mscorlib.tlb, System.Data.Common, and System.dll. I tried to let those files in the Application directory and move them to the Windows directory, but my application won't run after it is installed. The other odd thing was that it added mscorlib.dll and System.dll for both version 1.0.5000.0 and 2.0.0.0. I tried to run the app with both versions and just the 2.0.0.0 version of the files. It runs fine from the debugger, but then I see that Microsoft .NET CF 2.0, Miscrosoft .NET Compact Framework, Microsoft .NET CF 1.0 ENU-String, Microsoft .NET CF 2.0 ENU-String and Microsoft ...Show All

  • Visual C# enumerate workgroups , mapped drives etc...?[VB6 to C#]

    Hie , i just moved from VB6 to C# .... i've got this project i planned to do in VB6 , but now i think i wanna do it in C# . .... but i'm having trouble trying to implement the stuff i did in VB6......i need to enumerate all workgroups connected to the users PC and the pcs in them....... also... i would need to have them in a treeview!..... and i would need to list all mapped drives..... in VB... or VC the API was WNetOpenEnum , WNetEnumResource and WNetEnumClose. Also....how difficult is it to use activeX (or they're called COM components ) .. in C#...i need to use the MSHFlexGrid with ADO(ADO.NET now..)... i know how to get one on the form..... anyone know of any good article. (apart from MSDN... ..i'm still learning here..i need so ...Show All

  • Windows Forms Link from 1 Form to another.

    Hi, i new to Visual Studio, basically I have 2 forms in my project, "Form1 & Form2". I want to know how to link from Form1 to Form2 at runtime. I need it to work as follows, Form1 has a button which when clicked closes Form1 & opens Form2, I tried googling it but cant find what Im looking for, any help would be much appreciated!!! Rgds David Im sure either of the 2 above would, I dont have access to VS rite now but tell me would the code below for the Form1 Button1 click event work. button1_click(object sender, EventArgs e) { Form2 frm = new Form2(); frm.show(); } Would the above piece of code make Form1 invisible & inactive, whilst making Form2 visible &am ...Show All

  • .NET Development Deserializing a String Array

    I have an xml file that contains a serialized object. I am trying to deserialize individual properties of the object from the file. For example: < xml version = " 1.0 " > < MySerializedObject xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = " http://www.w3.org/2001/XMLSchema " > < Foos > < Foo > < Prop1 > xxx </ Prop1 > < Prop2 > xxx </ Prop2 > < Prop3 > xxx </ Prop3 > </ Foo > < Foo > < Prop1 > xxx </ Prop1 > < Prop2 > xxx </ Prop2 > < Prop3 > xxx </ Prop3 > </ Foo > </ Foos > < Bars > & ...Show All

  • Visual Studio 2008 (Pre-release) Callback security question

    Hi, I have a service with message security that uses a callback to send events with important data to client. My question is : Is true or false that a callback methods called by a secured service(message security) use the same security of service In term of performance and security for internet services what's the better : Transport or Message security Regards, Alexnaldo Santos See my comments in this thread for some data on the second question.  As to the security aspect, transport security and message security offer different features and different tradeoffs.  Depending on your scenarios it might not matter which you choose or it might matter greatly.  You might start ...Show All

  • SQL Server Scrubbing data in a data flow task

    I can only assume that I either did something very stupid, the examples are completely wrong, or I don't have the slightest clue what it is that I'm doing. I'm trying to do one of those incredibly complicated things in SSIS that was a brain-dead, point click operation in DTS.  I want to strip characters out of an input stream from a flat file source before loading them into a table.  I've defined my data flow task.  I have my flat file source properly defined.  I have my SQL Server destination properly defined.  For the life of me, I can't figure out how to scrub the data that I want. My input is a csv file that has 22 columns of data.  Column 22 contains data and if data was not present, there is a - in ...Show All

  • Software Development for Windows Vista Throwing Exception From Policy Rules

    Hi , How can i throw Exception from the PolicyActivity Rules. As : if Discount = 20% then action Throw new MyException() Thanks & Regards sachin Thanks i got well, Well Now some more issues .. I have a class which is responsible for instantiating 3 workflows ..all sequential When one is executing it raising event which should be handled by HandleExternalEvent by another workflow but in my case Workflow seems to be terminating before it can deliver the messages to Workflow .. I have included my handleExternalEvent of second Workflow in WhileActivity so that Workflow don't terminate ..In the mean time my First Workflow losses its persistence store ... ...Show All

  • Visual C++ MSDN Forum Problems

    Last week i had some problems in posting my replies to MSDN forums. Yesterday one of my post were automatically posted and even I could not edit or delete it :( What could be wrong I tried with both Firefox and internet explorer to post my answers. I believe this not the problem at my end. Even if error page displayed. some of my answers were already posted to the forums Is there any problem with Forum Servers The error page had the following error message We apologize, but an unknown error has occured in the forums. This error has been logged. I had a similar issue, but didn't even get an error message. I was unable to post, reply, or edit my posts. The posting page just kept reloading. Tried ...Show All

  • SharePoint Products and Technologies Problem with Javascript/Activex (like embedded Media) in Post list in blog template of WSS 3.0

    Hi, When I try to add javascript (or activex) in posts in WSS 3.0 blog module, sharepoint delete js code. Do you know if a solution exist For example, i would lik to add video in my post with : <table border='0' cellpadding='0' align="center"> <!-- begin video window... --> <tr><td> <OBJECT id='rvocx' classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' width="320" height="240"> <param name='src' value="http://realserver.test.com/test.rm"> <param name='autostart' value="false"> <param name='controls' value='imagewindow'> <param name='console' value='video'> <param name='loop' value="false"> <EMBED src="http://realserver.test.com/test.rm" width="320" height= ...Show All

  • SQL Server String data, right truncation

    Hi, I am trying to execute one huge select statement from my application using ODBC, but I am getting this error: [Microsoft][ODBC SQL Server Driver]String data, right truncation. the select statement is bigger than 2000 characters, but I don't have any long string column, just strings and numbers. How can I work around this Is there any max size Because if I use less than 1000 characters, it works fine. I am using Centura/SqlWindows, Native Sql Server ODBC and SqlServer 2005. unfortunately, I can not use Ole from my application. cheers, Alessandro Camargo ...Show All

  • Visual Basic Problem with checking an object is nothing

    I'm currently building myself a new object class and am having a problem checking wether an object has been instanciated or not. I'll show the code then i'll explain whats ment to be happening Private objRiskInformation As RiskInformation Public ReadOnly Property RiskInformation() As RiskInformation Get If objRiskInformation Is Nothing Then objRiskInformation = New RiskInformation objRiskInformation.getAccountRiskInformation(intID, strDBConnectionString) End If RiskInformation = objRiskInformation End Get End Property This property is in my main class and is ment to allow access to the risk information ...Show All

  • Visual Basic run application in back ground

    hi all i have prepared an application which dose not take any user input and the aim of the application is to take screenshots at a regular interval of 5 min i am using vb.net 2005 for this i have taken a form and in that form i have placed a timer control and in timer trick i am calling the function which takes the screen shot my requirement is to set up this application and this should run in the back ground and the user should not be able to cancel or stop the running of the application can any one suggest me how to do this the application should run in the background it self and this should start when ever the system boots this is showing a following exception of "the handle is invalid" when i start th ...Show All

  • .NET Development Moving the file while it's still being created

    Hi everyone, I have the following problem. I use FileSystemWatcher.Created event to call a procedure that needs to move that file. Well, Created event should be called Creating, because it raises when file creation begins, and while it is being created. So, my problem is that I can not move the file until process that is creating the file ends. This is my solution: Dim Success As Boolean While Success = False Try Success = True File.Move(sourcePath, destPath) Catch ex As IOException If ex.Message <> "The process cannot access the file because it is being used by another process." Then ' TODO: Write log and trace entries Else Success = False End If Cat ...Show All

  • Visual Studio Express Editions windows installer 3.1 v2 not installing

    My problem is thus when trying to install Visual Basic 2005 Express Edition it comes up with a message saying that none of the components can be installed i have tryed downloading windows installer 3.1 v2 and it wont work either it just comes up with an "access denied" message and reboots i down loaded the dotnet 2.0 framework and it installed fine (thinking that might help ) my system is running xp sp2 any help to my conundrum is appreciated now this is wierd the other day i tried to install again and it worked i have no idea what has changed but it worked perhaps windows downloaded an update that fixed things but it is now loaded properly so problem solved thanks anyway ...Show All

©2008 Software Development Network