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

Software Development Network >> Elias Sørensen's Q&A profile

Elias Sørensen

Member List

Pockey
arkiboys
ab2304
singam
Tim Wagner
dakota367
papadi
enoesque
Nev.Jension
IMBack
Dan Shookowsky
CraigT
Pirringer
LarryETL
MmeBovary
Will Merydith
rrobs
ladycmac
goh6613
Danny Tuppeny
Only Title

Elias Sørensen's Q&A profile

  • Smart Device Development ReadXml under CompactFramework 2.0

    Hi, I'm trying to find the ReadXml class in the CompactFamework, or an equivalent, but I stil can't find. In the CF 1.0, it was part of the namespace System.Data, but it seems to not be anymore. Can you help me to find a way to read XML documents under CF 2.0 Regards, Ch'Portos. NETCF V2 includes everything NETCF V1 has. So, yes, it's likely you're doing something wrong. Most likely you’re just missing “Imports System.Data” statement or don’t have reference System.Data.dll. ...Show All

  • .NET Development Creating Account on remote machines in a Workgroup

    Hi, I'm trying to develop a program in .NET 2.0 that will manage( create, modify) user accounts on remote computers. These computers are not part of a domain and do not have active directory running on them. They are running under their own workgroup Can DirectoryEntry be used The DirectoryEntry constructor does take username, password for the remote machine. So I think providing the credentials of Administrator on that machine should have worked. But it does not. I'm using System.DirectoryServices. DirectoryEntry Ad = new System.DirectoryServices. DirectoryEntry ( "WinNT://" + "Machine2" , "Administrator" , "ewrerseadr21321!@#" ,System.DirectoryServices. Authent ...Show All

  • Visual Studio 2008 (Pre-release) One Table Per Class Inheritance

    Hi. I'm testing Ado.Net vNext inheritance features. In my SqlSrv DB I've a one-table-per-class inheritance structure, with one table for Base objects and one table for each Derived objects, linked to the base through the ID field Base(ID, BaseProperty) Derived(ID, DerivedProperty) ..... SSDL <Schema Namespace="AdoNetEntityFrameworkTestTarget" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl"> <EntityType Name="Base" Key="ID"> <Property Name="ID" Type="int" Nullable="false"/> <Property Name="BaseProperty" Type="nvarchar" Nullable="false" MaxLength="50"/&g ...Show All

  • .NET Development Type library exporter generates enum value names differ from those in target assembly

    I'm using the Regasm tool to generate a type library from a .NET Assembly and noticed that the resulting enum value names get prepended with the name of the enum type. What's the easiest way to make the enum value names in the exported type library be the same as those in the .NET Assembly I'm assuming that the tlbexp tool exhibits similar behavior to regasm. Example: The following C# .NET enum: public enum TestEnum { ValueA = 0, ValueB = 1, ValueB = 2, ... } gets exported to the type library as: enum { TestEnum_ValueA = 0, TestEnum_ValueB = 1, TestEnum_ValueC = 2, ... } TestEnum Thanks. This behavior is explicitly mentioned in this MSDN article . Not much you can do about it I fear. The ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Question on XNA performance

    Before I begin, I'd like to say I enjoy the work Microsoft has put into XNA. As I develop for DirectX I find XNA a great tool for possible projects down the road. As I was reading more into the docs, a random question popped up in my head and I thought it was worth asking about here.   Before I get to my question though, I'd like to share how it related to OpenGL's early stage on Vista's platform. The intention for Vista was to have OpenGL 1.4 on there but layered with Direct3D underneath still making calls to the hardware. Esentially, making an OpenGL call would actually call a Direct3D call. Now, we're informed that if an ICD is installed, it will work without Direct3D making calls underneath. The response from developers ...Show All

  • SQL Server using variable?

    DECLARE @num INT,@i INT for i=0 to 10 SELECT * INTO sample _@num FROM sample next I want to get table like sample_1,sample_2 ... any idea about this scripts Thanks in advance Andrew: I also agree with the questions about what you are trying to do.  To properly format your SELECT * INTO statements with a varying target table you must use dynamic SQL. Give the following two topics a look in books online: WHILE EXEC DECLARE @num INT,@i INT SET @i = 0 --for i=0 to 10 WHILE @i <= 10 BEGIN     --SELECT * INTO sample _@num FROM sample     EXEC ( 'SELECT * INTO sample_' + convert(varchar(2), @i) + ' FROM sample ' ) ...Show All

  • .NET Development Validation of webservices

    Hello everyone! I'm new to web services and I have a question I hope somebody can help me with! I developed a new web service to deal with my Car hire software and made several procedures that accept parameters. My question is, how do I determine that the parameter I have in the procedure which is of string type, will accept only six characters Of course this is just an example. In general, how do I validate my procedures' parameters Thank you! I tried to validate my webmethod just like Greg Beech suggested but when I run the webmethod and invoke it, nothing happens. Should I try that on th consumer Is it possible that it would work there and not to webmethod directly Another detail is that i'm using asp.net so I converted t ...Show All

  • Visual Basic VisualBasic.Collection vs VBA.Collection

    Hi. I have ported a good chunk of my project from VB6 to VB2005. There is a VB6 COM DLL that I will not be porting over any time soon. I have a custom list class with an Add method that accepts a Collection (of strings). The list class can accept data from the COM DLL as well as Collections created within the project. Example; Dim Col as Collection Set Col = New Collection Col.Add("String1") Col.Add("String2") Call MyList.Add(Col) As well; Dim Col as Collection Set Col = DBEngine.GetListFromDatabase '//Where DBEngine is the COM DLL Call MyList.Add(Col) The problem though, is that now, under VB2k5, COM DLL's return a VBA.Collection Type, and the normal collection type is VisualBa ...Show All

  • Windows Forms Books? Training?

    I'm new to Windows forms installation. I'm not finding what I need in the documentation and my experiments aren't quite working as I would expect. Do any of you have books or training that might be a bit more helpful Here's a list of installation requirements, the solutiosn to which I'm not finding in the documentation: 1. I include an MDB in the installation. Upgrade installations may overwrite previous versions. I'm using the following in the Condition property of the MDB file: ProductVersion < 1.0.9. That alone, and a change of the version in the Project Properties, has no affect on the installation. The file gets overwritten every time, unless I set the MDB's Permanent property to True and then it NEVER gets overwritten. Prod ...Show All

  • Windows Forms How to do ? synchro folder local machine and ftp site?

    I want to write an application that watches an folder on my local machine for new files , deleted files ,new folder , delete folder, or change a file content... and then copy them to the FTP site for processing. (do the same job on ftp server delete,new,move...) Is it possible to use the FileSystemWatcher any example was gratefully. thanks Gavin Jin - MSFT wrote: there are many softwares in web which can reliazie the Synchronize ftp with your local mashine,sunch as FTP Synchronizer Professional and so on. Thanks Thanks Thanks I always do not know this software Thanks for your help ...Show All

  • Visual Studio Tools for Office How To COnvert .doc to .pdf,.xls,.doc without changing format....

    How To Convert .doc files to .PDF,.XLS,.DOC,.ppt USING ASP.NET plz tell me urgently bcaz i have no idea abt it...which library shoul i include plz any one of u have a code plz Suggest Me a way to do it...plz write ur COmments to Ruchits@hotmail.com Questions of this nature should be addressed to an office.developer forum, as listed in the " Please Read First " message at the top of this forum. When you ask, speicify the version of Word involved. Since, generally, server-side automation of Office applications is not supported, you can really do this only with Office 2007 documents saved in the Open Office XML file format. You would need to perform a transform (XSLT) to "convert" a Word document to these fil ...Show All

  • Visual Studio checkout file dialog box does not show the username.

    hi, I am working with vs2005 and vss 6.0.Can anyone please tell me how do i show the user name who has checked out the file in vs2005. is there any option for this in vs2005/vss6.0 thank you.. Hi Riyaz, I tried reproducing the error message you mentioned a few times but haven't had any luck. When I check out the file it shows who it is checked out (exclusive or otherwise) to. Could you please attach a detailed list of reproduction steps and a few screenshots of the process so I can help you further Thanks! Steve ...Show All

  • Visual C# obtain windows username information

    hi is it possible to obtain the windows logged on user information (username, name,...) programmatically Yes, it is: http://msdn2.microsoft.com/en-gb/library/system.windows.forms.systeminformation.username.aspx ...Show All

  • Smart Device Development emulator not connecting plz help!!!!!!

    i tried to connect to pocket pc 2003 emulator using vs 2005 it shows the following msgs failed to open XML parser COM object ..\..\smartdevices\skins\pocketpc_2003\1033\pocketpc_2003_skin.xml error while processing skin file ..\..\smartdevices\skins\pocketpc_2003\1033\pocketpc_2003_skin.xml view element is either missing or invalid the device emulator could not start possibly bcoz of incorect startup parameters when i opened the particular file it was as follows < xml version="1.0" encoding="UTF-8" > - <skin> - <view titleBar="Pocket PC 2003 Second Edition" displayPosX="51" displayPosY="47" displayWidth="240" displayHeight="320" dis ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where do I buy the whole devkit for XBOX 360

    I am working as a leturer in a University, and my department would like to developing game for XBOX 360 ,it's all for teachings only. So I am asking what do we need to develop a XBOX 360 game, and how much will it cost Is there any beta devkit including the devBox Any clues Thanks  a lot. GeorgeOu wrote: I am working as a leturer in a University, and my department would like to developing game for XBOX 360 ,it's all for teachings only. So I am asking what do we need to develop a XBOX 360 game, and how much will it cost Is there any beta devkit including the devBox Any clues Thanks a lot. Requests to join the Xbox Registered Developer Program can be sent to xboxudev@microsoft.com . However, you ...Show All

©2008 Software Development Network