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

Software Development Network >> Alexander Stoyan's Q&A profile

Alexander Stoyan

Member List

mcobrien
JeremyAtGosub
JAAmutio
xS24i
masood123456789
jules_newbie
Brian86
Craig Schaepe
hanjg82
fighter92
LastHope
Philli
Idanle
leok
Foxer
sherry326
chionhhm
james_cline_
TTris
hege
Only Title

Alexander Stoyan's Q&A profile

  • .NET Development convert mp3 file to stream and convert again to file

    hi i want to put binary file content to stream and transfer it as i need or leave it alone and then convert back to file how can i do that thanks in advance. This code sample supposes that u have an sqlServer database (test) with a table (mp3Table) that have two columns : ID (nvarchar(50)) and MP3 (binary(8000)). Be sure that the MP3 column length is enough to store the binary file. The maximul length allowed by sql Server is 8000 bits. I think it's not enough to store MP3 files. Anyway. ------------------------------------------ Inserting to the database ------------------------------------------ void InsertMP3(string name, string filePath ) { try { FileStream streamInput = new FileStream( filePath , Fil ...Show All

  • SQL Server SQL Server agent

    I have all sql services running under a sqlservice domain account that is local admin of the server. The sql agent service though keeps giving me a message saying WMI Provider error: no mapping between account names and security ID's was done" . This is the only service that is giving me a problem using this account. I deleted the account and recreated it, and still same. it's a part of built in administrators which is already a sysadmin in sql. any ideas Sounds like an Orpahned SID, have you tried explicitly adding your service account into SQL Server with Sysadmin permissions     ...Show All

  • Visual C# Difference between struct value or reference

    What is the difference between myStruct aStruct; and myStruct aStruct = new myStruct(); I would have thought that the latter was a reference type and if I put aStruct = bStruct; then aStruct would point to bStruct but in fact it just seems to copy the contents. Hi Chardiot, Did the posts resolve the problem If so mark the post(s) that helped you as the answer(s), so when others search the forums, they might be more inclined to look at a successful post than a non successful one... in the search results the Answered posts are bubbled to the top before the unanswered . Or post why it failed for you. Thanks. ...Show All

  • Windows Forms getting media files from a winform

    I am designing a winform client that should get around 30 media files (mp3, mp4 etc) in the size of 10 mega. every X minutes the client will check for updates, and if it finds any it should download the new media files from the server. what is the most efficient/fast way of transferring those file to the client 1. ftp 2. binary format with Windows Communication Foundation (and I can notify the client about changes so no need to check for updates) any other options or considerations (security ) thanks for the quick reply, It's my network and my server so i guess i can control the firewall settings. The server is a web server, not custom application. what is the performance and security diferences ...Show All

  • Silverlight (formerly WPF/E) ActiveX model for WPF/E

    It would be nice to have an ActiveX model for the WPF/E. In this case, native developers would be able to use the power of XAML/WPF without relying on any kind of web browsers (and of course .Net Framework). Carrying on with Bijan's request, yes, I too would like to use WPF/E in an ActiveX Container other than a Browser. I actually tried an experiment. I built a Windows Forms application, and added a reference to the WPFE ActiveX control via COM interop. Then I added the ActiveX control to the toolbox of VS.NET 2005. I dropped the WPFE ActiveX control on my form. I hooked up the properties to a XAML file (e.g. Source=http://mycomputer/mysite/mywpfexamlfile.xaml", etc.) much the same way the prop ...Show All

  • SQL Server There was an error in the incoming SOAP request packet: Client, LoginFailure, AccessDenied

    Hello, I havent been able to consume an endpoint from my application. I have windows xp and I am logged in on my machine as LUCHO\Administrador. the code that I used to crate the endpoint was create endpoint MyEndPoint AUTHORIZATION [LUCHO\Administrador] state = STARTED AS HTTP ( path = '/sql/hello_world' , AUTHENTICATION =( INTEGRATED ), PORTS = ( CLEAR ), CLEAR_PORT = 90 , SITE = 'LOCALHOST' ) FOR SOAP ( WEBMETHOD 'GetSqlInfo' ( name = 'master.dbo.xp_msver' , SCHEMA = STANDARD ), WEBMETHOD 'DayAsNumber' ( name = 'master.sys.fn_MSdayasnumber' ), WSDL = DEFAULT , --SCHEMA = STANDARD, DATABASE = 'master' , NAMESPACE = 'http ...Show All

  • Visual C# VS2005 Startup

    Hi, Just got a new PC and installed VS 2005 on it. Works fine but everytime I start VS2005 it acts like it is the first time it ever started. Get a dialog that says, "Microsoft Visual Studio is configuring the enviroment for first time use." Not sure what to make of this Any thoughts Thanks Jeff Hi there. This is interesting. Can you see if resetting the settings will work Be warned that when you do this, that dialog will come up again but hopefully it won't after. To do so: open the visual studio command prompt (from the start menu, all programs, visual studio 2005, tools) then: devenv /resetSettings does this work Some AV software tracks changes made but ...Show All

  • Visual C++ Odd syntax error on compile, known good code

    I'm using Visual C++ 2005 Express Edition to edit, and Visual C++ 2003 Toolkit to compile, using a makefile. The code I'm working on is from publicly released SDK for a game (Firaxis' Civilization IV). The code was written in Visual C++ 2003, thus the workaround. I've done a great deal of editing and have sucessfully compiled over 100 .dll's - just last night I produced a build, tested it in-game, and hit the sack. Now this morning using the SAME code I get a compile error: g:\Civ Downloads\Mod SDK\CvGameCoreDLL\CvUnit.h(741) : error C2061: syntax error : identifier 'BattleUnitTypes' Next I created a new project using the original source code, as a control test. Same error exactly. I'm using the same procedure that I have used ...Show All

  • Visual Studio Team System The "Remaining work (hours)" Field

    How often are the developers supposed to update the "Remaining work (hours)" field of their assigned work items Once every day Once every check-in Should the field be set to 0 when the work item changes from Active to Resolved If the developer forgot to set it to 0 will this affect the reports Is it possible/advisable to force such a police on work items What about the "Work completed (hours)" field: should one also update it If so, in what manner; do we just add more hours to it at the end of the day/after every check-in Thank you, Sammy Hi Sammy, Remember that remaining work and completed work are linked. In MSF for Agile Software Development, make sure that ...Show All

  • SQL Server Filtering on padded or non-padded varcvhar makes no difference

    You use SQL Server for years then one day something comes along and you wonder if you really know anything at all. I have the following two queries that both return the same row of data: select * from Element where ElementName = '192538' and select * from Element where ElementName = '192538 ' --ElementName is a VARCHAR(50) --Note the spaces on the end of the literal here If I do a LEN ( ElementName ) on this row it returns 6. Can anyone explain this I'm utterly baffled - as are other people on my project. I validated with them that I wasn't missing something really stupid. Thanks in advance. -Jamie Varchars don't store trailing blanks, hence the varchar type. Character t ...Show All

  • Software Development for Windows Vista Subscription service and persistence service

    I've implemented a custom subscription service that inherits from WorkflowSubscriptionService. I have a state machine workflow that's been published as a web service. In my workflow I have a CallExternalMethod activity that sends an e-mail message, and a HandleExternalMethod activity that listens for incoming e-mail. I'm using my subscription service to get the WorkflowInstanceId based on a message ID that I embed in the e-mail message. I've tested this and traced my workflow and everything works. When my workflow sends out the e-mail, it calls CreateSubscription on the subscription service. When the event is received, it calls DeleteSubscription. This would seem to be the correct behaviour. Then I added the SQL persistence service a ...Show All

  • SQL Server Tutorial Lesson 2 - SQL Server 2005

    While building the expression for the property: ConnectionString, I am facing an issue. The expression, I am trying to assign is '@[User::varFileName]'. When I clicked on the 'Evaluate Expression' button, the above expression is not returing any value in 'Evaluated Value' window. Please respond we have a solution. I am kind of lost Where are you trying to use that expression HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Relative mouse pos

    Mouse.GetState(); Returns absolute position, for x, y and mouse wheel. That is cool But also it should return relative position like DX and DY and DWheel. Like DirectInput does. Why only absolute value Then I have to calculate the relative position myself (relativePosition = oldPosition + newPosition). If the mouse cursor already is at X=0, then my game code won't respond to the mouse when dragging it to the left. (relativePosition = 0 + 0) = (relativePosition = 0). How do you want us to solve this I think this one needs to fixed if you want us to create games that uses the mouse for input! ...Show All

  • Architecture Deficiencies in Layered approach of Architecure

    Hi, Need to validate following WEB based application architecture. Please mention flows in it. Architecture consists 1) Presentation Layer (Entity objects) 2) Business Logic Layer (Consuming serialized Entity objects, Deserialize them into Entity objects again and applying Business Rules) 3) Data Access Layer (Consuming Entity objects from BLL to save into database, fetch EO from Database and pass to BLL) What are the cons of using XML Serialization between presentation layer and Business Logic Layer Is there any other implicit serialization applied if application is deployed in Web Farm environment. (Session serialization by State Server ) Maintainability of code in case Layers are loosly coupled Thanks, Narendra Hi, Na ...Show All

  • Commerce Server Catelog metadata, inventory metadata, property metadata

    Who can tell me what "metadata" is and tell me something about Catalog metadata,Inventory metadata,Inventory SKU metadata,Property metadata. I can't understand use of them. The metadata contains properties and definitions as a means to extend the Catalog and Inventory systems For eg lets say you want to track the VendorId for a catalog. You can do this by adding a new property named VendorId and then adding it as the Catalog metadata. ...Show All

©2008 Software Development Network