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

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

CodeDjinn

Member List

JuanPa_EC
aka_Big_Wurm
Alex Araujo
Ludovico
mpco
William Xie
Tufelix
shades921
James Bannan
Juniorscone
Checkmate
billqu
Peca55
Alan4s
VisualBasicGuruWannabe
Will Merydith
Howard Pinsley
tjams
Henry Wu
Jan Byvaly
Only Title

CodeDjinn's Q&A profile

  • Visual Basic Windows API calls from VB

    I'm looking for examples of Visual Basic code to create and use named pipes for inter-process communication. (Working examples, that is; I can create ones that fail..) More generally, I'm looking for examples of VB calls to Windows APIs where no .NET method exists; most of the examples I've found use either C++ or VB 6. I'm also interested in a description of when ByRef should be used in a Declare statement and when ByVal is appropriate; the rules seem to have changed from VB 6 so I can't just translate the examples by rote. I'm presently running VB 2005 on Windows XP with SP 2; have written an app that uses anonymous pipes and would like to convert it to using named pipes. I think I answered part of my que ...Show All

  • Visual Basic How should I develop a WindowsService that shares files with a WindowsApplication

    Hi, I am developing a WindowsService having three threads collecting information (such as event logs), storing information, settings and some actions in three XML files. I am also deveoping a WindowsApplication to display information in these XML files and to change settings. Assumptions: From what I understand there can exist no Forms in a WindowsService. The file path to the settings XML file must be hardcoded into both the WindowsApplication and the WindowsServices (The settings XML file contains path's to other XML files. Here are my questions: Does WindowsServices assemblies have a default location on the file system (I am deveoping for Windows 2003 Server). Should these XML files be stored there or Should the fi ...Show All

  • .NET Development Multiple elements in a configuration section

    Hello All, I would like to know whether it is possible to have multiple configuration elements with the same name within a custom section. Changing the element name to say "operation1" instead of "operation" (see sample file below) seems to work but i would like to use the same element name. I think i have to set something like maxOccurs=unbounded but not sure where to do it inside my custom classes. I have already implemented custom classes inherting from ConfigurationSection,ConfigurationElement and ConfigurationElementCollection to implement the stuff below. Am i missing something Currently if i add multiple elements with the same name within the section i see the following error "The element <opera ...Show All

  • Visual C# Loading Class library dll

    How to load a .net class library dll dynamically from a .net windows application using vs 2005. Loading DLL dynamically at runtime is achieved through Reflection. See System.Reflection namespace and better search some article on google about Reflection. I hope it'll work. Cheers ;) ...Show All

  • SQL Server Obscure error while attempting to install SQL Server 2005 SP1

    I successfully installed SQL Server 2005 SP1 on one PC. When I attempt to install it on a second PC, however, I get the following obscure error: Unexpected Error Occurred The following unexpected error occurred: That's right, there's nothing else listed, other an OK button. D'oh! When I press the OK button, the following error report dialog box appears: Hotfix.exe A recently applied update, NULL, failed to install. There are no pending updates that I'm aware of, as I just booted the PC. I sent the error report. I notice on this particular PC that the SP1 install EXE is expanding/writing to an external SCSI drive; would that make a difference I don't see a way to specify a different (i.e., internal ATA drive). A ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A Good Program?

    In my current game project ( 2D Platformer ) i am trying to create a level using 16x16 tiles. The only problem is that if i do this in MSCV# it slows the game down alot. So my question is, does anybody know a program i could use to fully create a 2d image from tiles. Do you mean, that you want to create a map/terrain from an image It seems weird that you would have things slow down on you from just a platformer, we could try help you to pinpoint your problem and ou can continue to work on it. We need a bit more information though, to be able to help you. I don't know of any programs that creates an image from tiles or visa versa. I will keep looking and get back to you if I find something, In the meantime, try and pinpoint where your ...Show All

  • .NET Development i need help for convert (.doc) file into (.pdf) file in asp.net

    Hi, Am implementing asp.net in my project . and am new to asp.net. In my project i convert one file(.doc) to another file (.pdf) format i don't know how to convert this can you please give a code for this implementation this is very helpful for my project Thanks in Advance With Regards S.Senthil Nathan If you have Office 2007 installed with the Safe as PDF plugin you can use MS Office - hwoever doing this from asp.net is usually almost never going to happen because of the advanced security permissions that you usually have to end up giving to COM objects so that you can tell the COM brokerage service that asp.net has permission to access the ms word COM. So You are probably going to be bes ...Show All

  • Audio and Video Development Zooming in while panning back

    I'm trying to make a screensaver where images zoom in a bit while floating/panning in random directions. The problem I'm experiencing is that scaling an image is done by growing it in positive directions from original position, so if I need to pan in a negative direction (-x or -y), it doesn't work since the image scales in a positive direction. For example: document[slidePhotos[nextSlideIndex]].style.animateProperty("x","0px;-100px",5); document[slidePhotos[nextSlideIndex]].style.animateProperty("width","1920px;2020px",5); document[slidePhotos[nextSlideIndex]].style.animateProperty("height","1080px;1180px",5); document[slidePhotos[nextSlideIndex]].style.animateProperty("opac ...Show All

  • Visual Studio System.ArgumentOutOfRangeException on double[,] property

    Unhandled Exception: System.ArgumentOutOfRangeException: Length cannot be less t han zero. Parameter name: length at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at Microsoft.Ddue.Tools.ResolveReferenceLinksComponent.WriteTypeReference(Str ing reference, Boolean showContainer, Boolean showTemplates, String context, Xml Writer writer) at Microsoft.Ddue.Tools.ResolveReferenceLinksComponent.WriteMethodReference(S tring id, Boolean showContainer, Boolean showTemplates, Boolean showParameters, XmlWriter writer) at Microsoft.Ddue.Tools.ResolveReferenceLinksComponent.WriteReferenceTitle(St ring target, Boolean showContainer, Boolean showTemplates, Boolean showParameter s, String context, XmlW ...Show All

  • Smart Device Development Unable to create cab files in visual studio 2005

    Hie, i think i am facing the same problem, so i just reply here instead of starting a new thread. if this isn't the same problem, i will create a new thread later. i followed the how to article on using smart device cab project to create the cab files. i successfully created the cab file and when i copy it to the device via activesync, it install successfully. but when i package it into a installer and use ce application manager to install, it say this is an invalid setup file. so i open the cab file and compare it with the sql ce cab file. and guess what, it is different. In the cab file that i create, it doesn't have a *.999 file, but all the other cab files like sql ce, sql ce client, and compact framework have. so, what am i d ...Show All

  • Visual Studio 2008 (Pre-release) Strange error

    I'm using a client / server application where the server is hosting a singleton object. The client is a WinForms application which may run for a long period of time (it's a management console for our data structure plus it has launching capabilities of other custom programs). We're using WCF for communication between business layer and data layer and there are three endpoints defined (NamedPipe, WSHTTP, TCP). The problem appeared after 25 - 30 min of using other wcf clients launched from the console and we returned to console to do another operation: Test method ClienteTestProject.ClienteTestProject.CargarServidorDesdeCliente threw exception: System.ServiceModel.CommunicationException: The remote endpoint no longer recognizes this seq ...Show All

  • Visual Studio Team System Create New Website

    Does anyone know of a good tutorial showing the steps of creating a new website and adding it to souce control I have tried several times with little success. For example, do I start with some sort of project, such as a test project, and then add a new website to that Does it mater if create the web site using http or file system I have many questions and haven't been able to find a good site showing how do to this. Thanks The VS2005-style "web site" may be what is throwing me off. If i use this style, i don't believe there is an .sln file for others to to open from source control. Is this correct Are there any benefits of VS2005-style "web site" over VS2003-style "web projects& ...Show All

  • Visual Studio Team System MSBuild is ignoring command-line parameters

    Hello, I'm using MSBuild.exe to deploy my project. Here's the command that I am using: msbuild /t:SQLDeploy /property:ConnectionString="Data Source= BDONT3IFBSQL1 ;Integrated Security=True;Pooling=False" Chevron.UpstreamSolutions.SqlServer.MinervaRepository.dbproj OK, now note the name of the server which I have highlighted . MSBuild seems to ignore the ConnectionString on the command-line because it deploys it to (local) which is what is defined in the project. And to confirm it, here's the output from MSBuild: Project "C:\TFSProjects\Chevron\Minerva\src\Solutions\Chevron.UpstreamSolutions.SqlServer.MinervaRepository\Chevron.UpstreamSolutions.SqlServer.MinervaRepository.dbproj" (SQLDeploytargets)): Ta ...Show All

  • Smart Device Development wince 5.0

    Hi, I have a program writen in C# Visual studio.net 2005. Can I run this program on a Handheld that run winCE.net 4.2 OR the handheld need to be with winCE 5.0 or Mobile 5.0 Jeanet The service pack has been released already last week or so I believe. http://www.microsoft.com/downloads/details.aspx FamilyID=0C1B0A88-59E2-4EBA-A70E-4CD851C5FCC4&displaylang=en It also states that it supports Windows CE 4.2   Remember you cannot create applications for the mobile platform if you have the express editions of Visual Studio 2005 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Humorous but somewhat serious question about XNA

    Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too What exactly constitutes "commercial development" Wii games are commercial after all, right Are we talking Project Gotham 4 and Half Life 3 What exactly are you looking to do with XNA ...Show All

©2008 Software Development Network