Vashnik's Q&A profile
.NET Development Nobody?
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
Visual Basic File Format for Microsoft Access
I would like to be able to tell if a file is Access, Excel, dBase or ASCII by looking at the records. www.wosit.org has an excellent collection of file formats but I could not find Microsoft Access there. Does anyone know the header format (or equivalent) where I can read the bytes and decide if it is Access or another format I can't trust the extension as some people change the default. Mr Yu, The website I mentioned shows identifying information from the header of the file. It does not use the extension. I am unfamiliar with the instance name and environment variables so will have to research that. Thanks for your helpful response. ...Show All
Visual Studio Team System BUG: MS Project Work Item Publish Error
I believe there is a bug in VSTF where MS Project thinks that Work Items are assigned to multiple people when the username is the in the form: Camp, Jason It looks like the comma in the "Assigned to" field is used as a delimiter. Is this a known issue If so, are there any workarounds Jason, This is a known issue and we are in the process of qualifying a fix. Please contact Product Support to get a copy of this fix. Thanks, Erin ...Show All
Visual Basic ClickOnce question
dear all, Any link or even a fast explanation would be very appreciated regard to “ClickOnce” stuff. Thanks in advance for your support, ClickOnce is simply a system that allows you to have a deployed application check to see if newer updates have been published and if so update itself as well as allow easy installation from a remote webpage of the initial install. You can find a series of walkthroughs on it here . Is that the sort of thing you are looking for ...Show All
Visual Studio C#/Crystal Reports Application Deployment
Setup program with merge files (created exactly as it is described in MSDN and many aricles) successfully installes my program on my development computer and on two other computers but failed to install on any other computer Setup process is interrupted with the message: Unable to get installer types in the C:\Program Files\...\MyAplication.exe assembly. --> Unable to load one or more of the requested types. Retrieve the LoaderException property for more information. All steps I do are have carefully checked against tens of articles. There is a difference between three computers which allow installation and all other which do not allow. Before to start develop the application I used those three computers for ...Show All
Audio and Video Development Event following animation?
How would I go about causing an event to occur but only after an animation has completed <cue select="id('MainMenu')" begin="id('MainMenu')[style:visibility()='visible']" dur="1s"> <animate additive="sum" style:y="90px;0px"/> <event name="HideMainMenu" /> </cue> Would it potentially be easier to move the menu off the screen, and just disabled it as part of the navigation If so, how is that done. Thanks for the help in advance. Events that fire when an animation ends would be very nice :-) Unfortunately they are not in the spec though. Probably the easiest way to do this is with a seq animation, although the & ...Show All
.NET Development Smtp Mail Problem
Hi I am just starting to learn C#. I am writing a little application that involves generating emails. The code I wrote works but only sends the mail once I close the application. The program needs to send mail without closing the application. Am I missing something out Any help would be great thanks. private void CheckMachineDrives() { DriveInfo [] AllDrives = DriveInfo .GetDrives(); string body = "" ; foreach ( DriveInfo d in AllDrives) { if (d.DriveType != DriveType .CDRom && d.DriveType != DriveType .Removable) { if (d.IsReady == true ) { decimal remaining = (( decimal )d.TotalFreeSpace / ( decimal )d.TotalSize) * 100; if (remaining < ...Show All
Visual C# How to check the properties of Windows which the user is using?
I would like to know is there any function in C# that could check the properties of Windows which the user is using, for example, different language such as Japanese, English and French, different version such as 95, 98, 2000 and XP Thank you. Perhaps the following could help you out: // Operating system name Environment.OSVersion.Platform.ToString(); // Version operating system Environment.OSVersion.Version.ToString(); // Retrieving the language; System.Globalization.CultureInfo.CurrentCulture.Name.ToString(); ...Show All
SQL Server Displaying Chinese Character in varchar columns
I would like to store some data in Chinese Big5 using a varchar column. However, all the data turn in to some garbage characters like Ru¥Uao . I ran into no problem if i use nvarchar but I would like to use varchar because I can only store less than 4000 characters using nvarchar. It works if I paste the characters directly into the SQL Express Client. It only turns into some garbage characters if i use C++ to insert the data. I am using Chinese_Taiwan_Stroke_BIN collation (The chinese won't show if I use the default latin collation) on the column and my computer regional setting for non-unicode application is Traditional Chinese(Taiwan). Any ideas how can I fix this problem I am suspecting there's a problem with my computer setti ...Show All
Windows Search Technologies no results
I have installed WDS 3.0 and, although the indexing is being reported as completed, I am unable to get any results no matter what I am searching for! Help please! Regards, Christos This a reply to a last’s year question. However, I have now uninstalled the 3.0 version but to your information for future reference my OS is Windows XP PRO (US-eng) SP2 with all updates till today installed. Also by right clicking on the icon I could see that all files were indexed. Searching *.* produced no results! that’s it! I have now 02.06.6000.5414 version, which does the job. Thanks & regards, Christos ...Show All
Software Development for Windows Vista InstallHInfSection doesn't work when run from Service
I am using InstallHInfSection to install a device driver from an .inf file on Vista. It is run as follows: RunDll32.exe SetupAPI.dll,InstallHInfSection DefaultInstall 132 <path to inf file> Since Beta2 this has not been working when the command is executed by a process that has been spawned by an NT Service (I believe it worked ok in previous builds). The NT Service runs as LocalSystem. The command fails silently, with RunDll32 returning a success code. There is also no logging to the SetupApiLog file in the Windows\Inf directory. Executing the command from a Local Administrator command prompt works fine. Could the failure be related to the service changes implemented in Vista - ie. Session 0, non-interactive services etc. Regards, ...Show All
Visual Studio problem of using VS.net 2005
I just installed Visual Studio .net 2005 But it's failed to create any project because of the error 'the target property is reserved and cannot be modified'. Is anyone here ever known this error and have any solution Thanks ...Show All
Visual Studio Express Editions visual basic express database design capabilities
I started a database model in Visio 2003, but learned that it's capabilities for printing table and column definition properties are practically non-existent. Does Visual Basic Express have the capabilities to print, or export to Excel or Access, the full range of table and column definitions including the notes/descriptions for each column and their datatypes This would be for documentation purposes. Thanks! The best way to document the tables and systems is to use a combination of tools. Yes you can get some images from the VB Express Edition, but not all. My suggestion would be to drop over to sqlservercentral.com and have a look at there script library, there you will find examples ...Show All
SQL Server MDX Question
I have this Problem with an MDX in Reporting Services, but in the Reporting Services forum, noone can answer it. So I hope, this is the right forum: Consider the following example: SELECT non empty { [Measures].[Amount], [Measures].[Budget Amount] } on columns, non empty { [Products].[Product Hierarchy].[Level4].ALLMEMBERS } on rows FROM [Datawarehouse] WHERE ( [Material].[Material].[All Materials], [Date].[October 2006], [Company].[Company Scenarios].[Scenario].&[Vienna2market] ) I want to select not only [Vienna2Market], also [Salzburg2Market] should be selected, and both as one sum, not 2 separate columns. As I know, the WHERE part needs a Tupel, and each dimension can only be one time in a tupel. The Scenario Dimens ...Show All
Visual Studio 2008 (Pre-release) System.ServiceModel.Channels.Message issue
Hi, please have a look at 'namespace issue' I am facing here. I share a schema with any client that needs to communication with my service, so the client will do the following before sending me a message: OrdreMessage msg = new OrdreMessage() msg.Ordre = new Ordre(); msg.Ordre.LineItem = new LineItem[2]; msg.Ordre.LineItem[0] = new LineItem(); msg.Ordre.LineItem[0].price = 50; msg.Ordre.LineItem[0].description = "Address"; ..... etc. Message message = Message.CreateMessage(MessageVersion.Soap11, "someaction", msg); send the message... If you now look at the s:body attribute is looks like this: {<s:Envelope xmlns:s="htt ...Show All
