Vl.K's Q&A profile
SQL Server Good practice when working with objects using SQLServer as a secure store.
I'm sure this has been asked plenty of times before, so I'm after a link to a good answer. I have tens of thousands of milk crates, holding dozens of different types of milk in hundreds of locations. I am used to working with objects but not databases. For this situation however I want the security of SQLServer transactions to track, for example, when a robot moves a crate from one location to another. I am thinking of using SQLServer as a store. On startup I want to get my ecosystem of objects out of the store. While I am running, I'll just use objects. When I change an object property I want it to securely persist. I don't want to snapshot the whole menagerie of object states, just update the values that changed. Which will som ...Show All
.NET Development User credentials delegation from IIS on WinXP to SQL Server on Win2003SRV fails
Problem: I am trying to create an asp.net website with integrated windows authentication to access SQL databases. IIS resides on WinXP and SQL Server on Win2000 SRV. Both are in the same NT Domain. IIS and SQL Server cannot reside on the same machine and a stand alone web server is ideal as the website needs to access multiple SQL Servers. IIS is set to Integrated Windows Authentication. The anonymous access in IIS settings is unchecked. The web.config file has Identity element set for impersonation <identity impersonation="true"> The machine running IIS & the SQL Server are set to be "trusted for delegation" in active directory. The domain user accounts that will be accessing the databases are not marked a ...Show All
Visual Studio Visual studio SP1 crashes the whole system
The same problem when installation fails due to insuficient disk space - all .net apps does not work. The whole service pack is *** - Why Microsoft could not make a better installer - it gives all kinds of errors, you wait 2 hours to make the instalation and if something goes wrong you have to reinstall the whole system. The Visual Studio itself installs for less time. Now I have to reinstall the whole system because I don't have the time to wait for solution. I think there should be service pack for the servoce pack :) ...Show All
Software Development for Windows Vista Can someone help - where are the Roles examples?
I went to here this website and cannot find any screencasts or samples for using Roles in workflows. I then went to here: http://msdn2.microsoft.com/en-us/library/ms734519.aspx I then went to the link on the page references as: "For an example of how to use roles, see Roles ." The links are specific to Active Directory and certain webpage implementations. Where can I find info (really would like to see some screencasts) for implementing custom roles Thanks, Trevor Thats what I figured, I am used to custom principles and identities, but I was "hoping" with this big release that security would be more robust. What I was really wanting to see was some example ...Show All
Windows Forms How to detect printer status?
I need to build a small application that will print files dropped into a directory and display a status window during the printing that includes the current status of the printer and any printing errors that may have occurred. The printer will be a network attached printer and not a local printer if that makes a difference. I also cannot use the built-in Windows print dialogs for this (it's an overlay over a Flash application and thus needs to look like the Flash app). I'm not sure where to look in the .net API to get started with the code design and implementation. I suspect using something in the System.Management namespace will give me the info I need, but I'm not sure yet. So basically I'm just looking for a little nudge in the right d ...Show All
Visual Studio Express Editions Get data row from SQL Db & allocate variables to each item.
(2005 express vb edition with sql server 2005 express edition) Hi, I have a Table: WordSurvey, with around 10 fields. Primary Key = wsID I can identify the wsID, but I now need to get all the 10 SQL data fields that relate to it and assign variables to them. I have set up a TableAdapter Query to SELECT * FROM WordSurvey WHERE wsId = @wsID. That is fine. But, I cannot work out how to: 1. Code the call to trigger the SELECT to get the fields (I cannot use SmartTags for this) 2. Allocate each field's string or value to a variable This is so that I can utilise that data to draw a graph and add specific descriptions to a templated Form. (I will also be doing this separately for two other Tables & their resp ...Show All
Visual Basic Shut Down PC
Is there a way to shut down a PC using the framenetwork I tried the "shutdown /s" command but the shell doesn't work on my PC. Thanks. It works at last but I'm curious how Process.Start("shutdown /s") doesn't work. It says it can't find the file and this doesn't work either... Shell "shutdown /s" process.start(SystemDirectory & "\shutdown /s") - can't find file However, Start| Run| Cmd |shutdown /s does work... so the OS is able to find shutdown from any directory, but with shell or process can't. ...Show All
.NET Development Xml and the dreaded ampersand character
I have 2 xml strings that are being generated in 2 different ways. String 1 is generated using the various framework classes (ver 1.1.) from the xml namespace (i.e. XmlNode, XmlAttribute, etc.). String 2 is generated using the GetXml() function on the dataset class. The framework xml classes will substitute the ampersand character (&) with & automatically. However the GetXml() function on the dataset class does not. It returns the xml string with the actual ampersand character in the xml. Whats the deal Why does it perform the substitution in one area and not in the other Is there some way to specify to the dataset to perform the substitution. Right now I just call Replace() to substitute the values out Thanks for your ti ...Show All
Audio and Video Development Help in extraction of VC1 elementary streams from WMV sequences
Is there any tool that we could use to extract VC1 elementary streams from WMV sequences. Thanks, Srini Now this may be possible regards to Stegre's filter. Check this tread: How to demux VC1 elementary stream from WMV file ...Show All
Windows Forms Setting up Picturebox with a dot grid.
Hi, Using VS2005, I need to produce a picturebox (or Panel), with a grid of points ( dots). to use in the design of some line drawings. The reason for the dots, is to enable a number of the angles to be more or less constrained to 90 degrees. The idea is to be able to collect the X,Y axis of the pixel positions, using mousedown, draw the line and save each pixels positions for later use. Hope someone has an idea on this. Thanks Tailor You will have to evaluate the equation using sample domain(X-coord) values to get the the range(Y-coord) and draw the X-Y coord as a dot. I don't think Math namespace offers equation evaluation. NOTE: Be mindful of the fact the Y-coord of the ...Show All
Visual Studio Showing Multiple Crystal Reports using one procedure
Hi, I have about 10 Crystal Reports that I want to be able to export with the same characterestics into Excel. I was hoping to be able to create a select case statement where the button pressed text would tell me which report to open. The problem that I am having is that I can't figure out how to Dim a blank crystal report. I know how to do what I want to do if I was doing forms instead of a crystal report. Sub cryst( ByVal btnSelected As Button) ' This one line below is what I need to change. Dim myForm As New Form ' btnOne, btnTwo, and btnThree are buttons that can be clicked 'frmOne, frmTwo, and frmThree are form names Select Case btnSelected.name Case "btnOne" myForm = New ...Show All
Internet Explorer Development Sound Manager - Browsers Need It
I just spent hours searching for an addon that simply manages sound within the browser, to no avail. I'm amazed that nothing like this exists, and even moreso that there doesn't seem to be a demand for it at all. It seems like it'd be easy enough to develop, and I know I can't be the only person who becomes aggitated with the caucaphony of sound when a page starts playing music over my winamp. I'd be content with a simple mute button, but a volume control bar would be better, and tab-specific settings could be handy too. Hi, Internet Options>Advanced tab, Multimedia section "Play sounds on web pages" In the Control Panel there is an applet for managing windows sounds (navigate and document complete sounds for I ...Show All
.NET Development Difference between 'string' ans 'String'
Hi all, I am new to this forum. I have a basic doubt regarding the System.String class. Can anyone tell me what is the difference between "String" and "string". Thanks in advance.......... hi mark now i have got a new doubt. String.Empty the same thing i am getting with "string". it means i m getting string.Empty also. so can u give me some more details abt this. ...Show All
Smart Device Development Multiple requests over the same http connection
hi everyone, I am building a multi-threaded application wich connects to a http streaming server and retrieves data. Once in a while the user is allowed to make new requests for data, thus i have to make a request to the server to stop sending info about the old options of the user and send info about new ones. I have built my solution arround HttpWebRequest/Response classes, but it seems like a bad choice because i can't find a way to send the new user requests over the same connection. I have to create a new instance for every request using WebRequest.Create(). This is bad because one of the threads keeps reading from the input stream and when i create a new webrequest it all crashes. So i guess, my question is: Is there a way t ...Show All
Visual C# WIA 2.0 not scanning
I am writing a windows control that runs a scanner. Everything works fine in WIA 1.0, but when I try and use WIA 2.0 it does not. I am starting from the sample application from http://msdn.microsoft.com/coding4fun/someassemblyrequired/lookatme/default.aspx Anyway the following code finds the scanner properly, DeviceManager manager = new DeviceManagerClass(); foreach (DeviceInfo info in manager.DeviceInfos) { if (info.Type == WiaDeviceType.ScannerDeviceType) { device = info.Connect(); break; } } When I iterate through the commands, I get the following: "Synchronize" "Delete Device Tree" "Build Device Tree" None of these commands has anything to do with captu ...Show All
