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

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

KenJoh

Member List

programmer01
Whoisit
KrazyMGA
AdrianGodong
Tryin2Bgood
Webstar
chipjollyroger
StijnV
simon_
Sukh1983
Sally Mohamed
Assaf Stone
Lee John
AzenAlex
Gmukwewa
WXS123
bookysmell2004
Dennie-DeTi
c_shah
cbrack
Only Title

KenJoh's Q&A profile

  • Windows Forms ClickOnce seems doesn't work

    Hi all, I'm newbie with ClickOnce. I have an application I'd like to update by web. I've tried to install it and then deploying a newer version and test id somethings happens... tha application runs normally. In which way I can test the ClickOnce functionality and what have I to check in my app settings. I've made the CD installation and installed it, what do I have to do now If I check the FTP site it has the right files. I've chechek the "before application starts" option to perform the updating check. I hope you can help me. TIA for any suggestion, examples or tutorial about it. Dario You can distribute a ClickOnce CD with the update location set to your website (either w ...Show All

  • Visual Studio Tools for Office Excel Add-in

    Hello, I am trying to create an action pane for excel. Just installed VSTO 2005, but do not know where to start. Any suggestions Matt Hi Matt Just to avoid confusion: VSTO 2005 can't create add-ins for any application but Outlook. It creates document- / template-specific solutions for Word and Excel 2003, but not application-wide add-ins. This functionality is planned for VSTO v.3 together with Office 2007, currently available as a technical preview (see the posts at the top of this forum). Currently, it's not possible to create an application-wide actions pane for Excel or Word. For information on how to get started with action panes in a VSTO solution, see http://msdn2.microso ...Show All

  • Software Development for Windows Vista Concurrent input devices in Vista

    Hi! Is it possible to have multiple input devices in vista, i.e. connect e.g. 2 or more mice and have them used at the same time with 2 different mouse pointers that can interact with different windows at the same time What I want to achive is something simmilar to this for X windows, http://multicursor-wm.sourceforge.net/ I know why we would need multiple independant cursors...they would go with multiple keyboards....the reason would be to have multiple users on same computers. The worst part is it should be so easy to do. i wonder if they didnt do it because they dont want to lose computer sales. wouldnt it be fun if when your friend comes he can do stuff on the other screen running his own apps ...Show All

  • SQL Server Dynamical XML as datasource.

    Hi! I'd like to know if I can pass a datasource as a parameter or better, if a datasource can be set for a report dinamically. The reason is that we're generating an xml dinamically and we would like to use this xml as our datasource. Is this possible Thanks in advance!!! :) Are you looking for expression based connction strings, to have the connection string info for a datasource to be dynamic: http://blogs.msdn.com/bimusings/archive/2006/07/20/673051.aspx ...Show All

  • Visual Studio Tools for Office Adding large amount of data to excel range generates excetion:HRESULT: 0x800A03EC

    I have made some code that can take som data from a .NET dataset and put it into an excell sheet. This works perfectly when i have e.g. 1000 rows of information. My problem is that based on som mete data, i create a four column and 24000+ row data for an excel range. when i try to assign the data to the range, i get the following exception: Exception from HRESULT: 0x800A03EC at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Microsoft.Office.Interop.Excel.Range.set_Value2(Object ) the code that produces the error is: private void InsertData(DataTable table, _Worksheet concreteWorkSheet) { // the worksheet starting at cell A2. int nu ...Show All

  • Visual C++ strtol strangeness?

    I'm probably missing something very simple, perhaps I'm tired. Why is it that the line of code "DWORD DWordValue = 0xF988FA1F; " places the proper hex value into the DWordValue variable (4186503711, 0xF988FA1F), but this line of code "DWordValue = strtol("0xF988FA1F", NULL, 16);" places the unanticipated value (2147483647, 0x7FFFFFFF) Don't Long and DWORD size to 4 bytes What am I doing wrong I am testing this because I need to read hex strings in from a file, and then write them as REG_DWORDs to registry sub-key named values. (Any easy ways to do that would also be useful). So here's an intersting problem that has caused me much heartache today. I have a C# web ...Show All

  • .NET Development XML Serialization Over TCP Sockets

    I have an appliction that serializes an object over a NetworkStream, and I want the receiving application to deserialize the object as effeciently as possible. Is it possible to directly deserialize an object using XML Serialization and NetworkStream's In VB, the receiving application has the following line of code: MessageObj = CType(Serializer.Deserialize(NetStream), Message) The application appears to hang on this line. However, when I close the application that originally serialized the object to the stream, the receiving application continues and successfully displays a value contained within the deserialized object. Is it possible for the object to be deserialized successfully in this manner It see ...Show All

  • Visual Studio 2008 (Pre-release) How to debug deserialization errors?

    I've got a service running under a Windows Service, using netTcp, under Beta 2/May. I'm trying to send a parameter that's defined like this: [ Serializable ] public class Container { private byte[] m_Data; public byte[] Data { get {...} set {...} } private Descriptor m_Descriptor; public Descriptor Descriptor { get {...} set {...} } } The get/set methods are simple accessors, and the Descriptor is a simple class, also marked as [Serializable], that has several string, int and Enum members. Usually my call, which sends an array of Containers to the service, works without a problem. Sometimes, though, I get this FaultException on the client: The formatter threw an exception while trying to deserialize the message ...Show All

  • Internet Explorer Development hide the address bar

    How can I hide the address bar I have been reading the topics about hidding the address bar. but there has not really been any diffenate answer to this problem. How can anybody hide the address bar I understand the phising and spam capabilities. will microsoft address this problem will we be able to get certificates to hide the url as get a ligitimate site code to hide the bar I think microsoft is exploting a security issue for webmasters and I don't like it. ...Show All

  • .NET Development Folders on website

    When I create a webform using VB.NET everything works fine as long as I upload my form to the wwwRoot folder, but when I create a folder in the root directory and then upload the webform to it, I receive a generic error message, "Server Error in '/' Application" Any suggestions will be greatly appreciated. Thanks for replying. The site that I'm uploading to is StartLogic.com (a web hosting service, etc). They have a web-based interface to the IIS engine and I have made the folder a virtual directory, but there is no option for me to assign a version of the .net framework. ...Show All

  • .NET Development Traversing the nodes in DOM tree

    Hi, I am using VC++ .NET to build the DOM tree. My problem is, I need to goto one or more nodes specified statically and chnage its background color. Can anybody suggest how I can do that in VC++ .NET. I was looking in the web and found about XPath but I dont think that solves my problem because I need to go to a particular node and not like all the child nodes. Thank you When you use XmlDocument you can: 1. Iterating through the list of XmlNodes returned by XmlNode.ChildNode property. 2. Use XmlNode.SelectSingleNode() which returns you node you need. When you found the node you can modify it using DOM API. ...Show All

  • SQL Server IDENTITY Column produces gaps when insert fails

    Hi When an insert statement for a table having an identity column fails, there is a gap in the identity chain. Is this working 'as designed', or is there anything wrong with my configuration I'm Using SQL 2005 Standard SP1. Here's the script: USE tempdb ; GO -- Create Test Table CREATE TABLE id_gaps ( id INT IDENTITY ( 1001 , 1 ) , txt VARCHAR ( 10 ) NOT NULL UNIQUE ); GO -- Insert some useful data INSERT INTO id_gaps ( txt ) VALUES ( 'Test 01' ); INSERT INTO id_gaps ( txt ) VALUES ( 'Test 02' ); INSERT INTO id_gaps ( txt ) VALUES ( 'Test 03' ); INSERT INTO id_gaps ( txt ) VALUES ( 'Test 04' ); GO -- Insert a duplicate value unsing an explicit Transaction -- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Selling Games on Xbox Live Arcade

    Hello, I am currently putting a team together to create new Xbox Live Arcade games. They will be using the XNA development tool and the projects will be financed by myself. How long will it be untill Indy developers can sell their games online in order to re-coup some of the money and produce additional games Any help is appreciated. Regards Ian you should find a email address for the arcade team on the US Xbox.com. Check at the bottom of the page. I think if you want to sell it you will have to bring it to arcade as everything in the XNA section has to be free as far as i know. ...Show All

  • .NET Development need driver for linksys compact G usb adapter for server 2005

    please can someone direct me to where i can get a 64-bit driver for my linksys wireless usb adapter best place would be to go to the manufacturer of the product in question or contact their technical support team. These forums are for software development on the 64 bit platform using .NET i'm afraid :-) ...Show All

  • SQL Server How do I obtain the log file for a DTSX?

    Hi everyone, I'm stuck with this silly thing but I haven't idea how to obtain the path for the log file specified in a SSIS package programatically. This snippet of code works fine: Dim pkg As New Microsoft.SqlServer.Dts.Runtime.Package Dim app As New Microsoft.SqlServer.Dts.Runtime.Application Dim pkgResults As DTSExecResult pkgLocation = "C:\Documents and Settings\40990880\Mis documentos\Visual Studio 2005\Projects\Proyecto de SSIS3\Proyecto de SSIS3\ProvaPrimera.dtsx" pkg = app.LoadPackage(pkgLocation, Nothing ) pkgResults = pkg.Execute() After execution I'd like to see the log file which is allocated in the same place than DTSX file. But how Using pkg.LogProviders.Item(0). ...Show All

©2008 Software Development Network