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

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

Severin123

Member List

Marzullo
dvidal
Alex McAuliffe
Donaghy
jhknys
nglow
Boris Mueller
gafferuk
Jeff F
Cactus77
rounderh
agustin_m
Geo725
djm-web
cka11
Deb Magsam
zenkick
BradN
n1c-
Poppa Mike
Only Title

Severin123's Q&A profile

  • Visual Basic Is there a means of getting the SECTOR size of a Drive? I Need File STORAGE size

    As a little exercise as an old timer VB6 guy learning vb 2005, I am trying to create a program that will calculate the sum of the sizes of files in a directory. The fileinfo.length attribute returns the length of the DATA in a file. What I want (and imagine I will have to calculate) is the storage requirement. For example, the file sample.txt contains 96 bytes of data, however, I can observe the file properties with the file explorer and see that 4096 bytes have been allocated. That would tell me that file space is allocated in units of 4096. I cannot find anything in the disk properties via the file explorer that shows the 'Allocatable Disk Unit' (ADU) size So... what I am looking for is a means to retrieve the 'ADU' so that I c ...Show All

  • .NET Development .NET Remoting not working on different version of VS 2005 and .NET framework

    Hi , I have installed the following Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual Basic 2005 77626-009-0000007-41566 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77626-009-0000007-41566 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77626-009-0000007-41566 Microsoft Visual C++ 2005 Microsoft Visual J# 2005 77626-009-0000007-41566 Microsoft Visual J# 2005 Microsoft Visual Web Developer 2005 77626-009-0000007-41566 Microsoft Visual Web Developer 2005 Crystal Reports AAC60-G0CSA4B-V7000AY Crystal Reports for Visual Studio 2005 ...Show All

  • .NET Development Image Upload Recommendation

    I have developed a client/server application using a PocketPC2003 device and a local Windows PC. One of the features of the application is the ability to take pictures and assign them to a record.  I'm able to upload the record to the server quite simply using sockets and a message system I've developed(using xml), but I'm a little stuck with the best way of sending the images. Currently I'm trying to investigate configuring a local website (as I need to send updates to my server as well), and being able to send/receive files within the website (simply because the customer will want to view the images on remote sites) But I can't quite figure out the best way to transmit my images up to the server. Really, I'm just looki ...Show All

  • .NET Development Hash code of floats

    I have recently been implementing a custom hash table which takes vertex positions as input (3 floats). To begin with I used a highly customized hash function, but surprisingly the good old method of using float1.GetHashCode() ^ float2.GetHashCode() ^ float3.GetHashCode() turned out to be just as efficient as the customized hash function. So now I'm curious as to how the GetHashCode() function of the Single/float struct generates a hash code. Does anyone happen to know this Thx for the Reflector tip. Hadn't thought about that myself :-) The GetHashCode method is indeed very simple. It just makes a simple bitwise conversion from the binary float representation to the integer representation like this : *((in ...Show All

  • Smart Device Development POCKET PC FIRST BUILD

    i got my first smart device, pocket pc to load yesterday. all night and all day i tried to compile the basic windows file. i am completely lost on how to get it to compile. can someone help me here are the ouputs for the basic compile.... ------ Rebuild All started: Project: cccc, Configuration: Debug Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ------ Deleting intermediate and output files for project 'cccc', configuration 'Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)' Compiling... stdafx.cpp C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winnt.h(51) : warning C4005: 'UNALIGNED' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\include\crtdefs.h(548) : see previo ...Show All

  • Visual Studio Express Editions Error 1406 Installing Web Developer Express

    Successfully downloaded all 344 MB of the Visusl Web Developer Epress load (VWD, MSDN documentation, SQL Server Express) Encountered error in doing VWD setup using Windows Installer 3.1 in Win XP SP2 machine. (SQL Server 2005 Developer Edition has been sucessfully installed previously and is currently installed on the machine and the service was running). -------------------Error Message Box-------------------------------------- Title: Visual Web Developer 2005 Express Edition Setup Message: Error 1406.Could not write value to key  \CLSID\{AC0714F7-3D04-11D1-AE7D-00A0C90F26F4}\ProdID.  Verify that you have sufficient access to that key, or contact your support personnel. Buttons: ABORT RETRY IGNORE ---------------- ...Show All

  • Visual Studio C# lang service inserting weird spaces...

    Hello, In the last stretch of the road to ViEmu 2.0, I have stumbled into yet another ugly stumbling block. When I want to insert a newline with autoindentation, I just invoke Edit.BreakLine so that the language service will do it's usual stuff. This works very nicely with the C++ language service, and since I'm now using the IVsLinkedUndoTransactionManager, I can wrap all the operations nicely in an undo group (I couldn't before, because Intellisense etc... used an IVsCompoundAction, which is the same thing I was using, and they aren't nestable). But today, when testing with C#, I've found the method doesn't work. The problem is that the C# language service, when the editor is set to 'insert space' instead of hard tabs, and there are hard ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. F14 XNA Game with Full Source

    Well here it is. I finally got my first game into a releasable state. Screenshot, video, and full source available after the jump. http://aroganworld.blogspot.com/2006/09/f14-xna-game.html I couldn't have done it without the great help from this forum (and all those xna sites). Let me know what you think. Yeah let me know if you have any issues. I did d/l the zip, unzipped it to a new directory, compiled and did a test run so I think it should work. Also, I just remembered I forgot to hook in the game over voice clip. Oops. It's in the sound bank, I just forgot to trigger it so I'll probably update the zip tonight when I get home. It was a late night last night. Damn you Microsoft for making this time si ...Show All

  • .NET Development Static classes with codedom

    If I create a class using CodeTypeDeclaration, how can I make that class static Something like: CodeTypeDeclaration myType = new CodeTypeDeclaration( "MyClass" ); myType.TypeAttributes = TypeAttribute.Static; Unfortunately there is no TypeAttribute.Static (why Did anyone miss anything ), so the above code won't compile. How can I achieve this Thanks for any help. The CodeDom is language independent. A static class is a C# thing. Therefore you can't directly create a static class through the CodeDom. In fact you can't even set up the appropriate attributes to get it to work. A static class is really just an abstract, sealed class. However attempting to do this through the DOM will fail. Your o ...Show All

  • Visual Studio 2008 (Pre-release) How to desing data manipulation services?

    My question is not a new one. This problem appeared long ago about web services. Assume, that I have a WCF service to manipulate some data. I have the data layer as well, and a business logic layer with huge number of business objects in separated assembly. The business objects know some logic, so they have lot of methods impelmented about validation, manipulation and so on. I want to share these business objects with the clients allowing them to validate user input. I use the WCF service as a facade layer therefore the interface methods has the shared business objects as parameters or return values. I can use the business objects both at server and client side by adding a reference. When I want the client proxy to be generated the svcuti ...Show All

  • Visual C# Loading RTF file into RichTextBox on load

    Hello. I am new to C#. I may be particularly dense, because I am stuck on something that I feel should be (and probably is) simple. All I want to do, is create a brand new C# project (which I have done), add a RichTextBox control, and display the contents of an RTF file in the box. It will always be the same file, so I don't need an open file dialog or anything like that. I simply want to load an existing RTF file into the RichTextBox. I did some searching through MSDN and found the LoadFile method. I think part of my problem is that I don't know where to put the code. So I humbly ask that someone please walk me through this. I have named the RTF file "myfile.rtf" and it resides in the same directory as my project. I hav ...Show All

  • SQL Server SQL Server 2005 Back Problem

    I am new to MS Sql Server, I have installed Sql Server on a system and i created a database in it, now i wanted to uninstall it and install it on other system, but i dont like to lose my database, therefore i want to export my schema and import in other database. what are the steps that i follow, i have installed Sql Server Management Studio Express on it. Thanks to you Reading my problem. There is no need to do any of what you described. Your entire database, schema and data, is all contained in a file, you simply need to detach the file from your development server, copy it to your production server and attach it to SQL Server on that machine. You can Detach the database in Management Studio by right clicking on the database. ...Show All

  • Visual Studio Team System Debugging a custom task?

    How does one go about debugging a custom task At present I am relying on Log.LogMessage etc which is quit etedious. My build project is not overly complex but I do make use of variables passed in from ItemGroups and PropertyGroups. I am also hitting the TFS api in this task. I read somewhere of creating a mock build engine object but that would be more for unit testing, and not actually real-time testing. Is it possible to attach to the msbuild process and then step through the code Those of you who have created custom tasks, can you share your thoughts Thanks! Hi, I just ran into this problem and was wondering if theres anyone who has now solved this issue or, at least, made it easier to do I wrote a MSBuild tasks that did some c ...Show All

  • .NET Development Sending Objects via SslStream or NegotiateStream

    Hello everybody, I am having a problem with authenticated streams and hopefully one of you can point me into the right direction. I would like to send an object (a filled dataset, as it can be fastly loaded for performance testing... ;o) ) via an authenticated stream. I managed to send it without authentication within a NetworkStream and I go the samples for Negotiate and Ssl streams to work (Thanks to Mike, Durgaprasa, and the rest of your team). But unfortunately the samples are only sending simple ASCII strings. As soon as I switch to my DataSet I am getting stuck with some problems. As serializing into a Networkstream did not work (any ideas why ) I serialized it into a MemoryStream and copied the bytes afterwards into the Negoti ...Show All

  • .NET Development Trying to build ddl from Dataset returned from Web Service

    The following code almost works, but the ddl says System.Data.DataRowView for each row The WebReference for the web service is called GetWBS. The code for the calling page is: ************************** ************************** Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here 'Create an instance of the Proxy class Dim dsGetWBS As GetWBS.WBSValues dsGetWBS = New GetWBS.WBSValues DropDownList1.DataSource = dsGetWBS.GetWBS DropDownList1.DataBind() End Sub I've added a Web Reference, GetWBS, and the code for the .asmx file is: ************************************************************ ********************************* ...Show All

©2008 Software Development Network