project2n5e0o1's Q&A profile
Software Development for Windows Vista XPS -> PDF
Anyone know of commercial products that will convert from XPS to PDF Is it still too early to ask this question Yes, you don't even see the XPS files in the right way on a Mac, do you. We'll have to wait and see, if there'll be an XPS viewer for the Mac. Personally I doubt that, – and who should develop it Adobe is working on the Mars project, which is "an XML friendly implementation of PDF" – look for more info at their site http://labs.adobe.com. If you wanna play, you can convert the file suffixes on XPS and Mars files to .zip and unzip them to see, what's inside. It will be exciting to see, what happens, when the office people find out, they can print InDesign, Photoshop and more from Vista ...Show All
Windows Live Developer Forums Voice clips messages
Hi How can I catch voice clips messages using the Messenger Add-in API Is there a way to perform the same thing using the Activitiy API Thanks Tal ...Show All
Visual Studio Team System Check-in from different directory
Is there any way I can check in a file from a different directory from the one it was checked out, e.g. check-out dir = c:\project, check-in dir d:\equipment In VSS there was a edit box that allowed the directory to be overridden. Thanks, Jeff Hi Jeff, The quick answer is No. Th reason you could do it in VSS was because VSS only mapped from server folder to local folder. It had no other "intelligence" baked into it. In TFS, the Workspace holds mappings between the TFS repository and the local cache. TFS wants to own the local cache and assumes that you will let it. By "owns" I mean that when you check out or get a file, the Workspace holds information about which file version ...Show All
SQL Server Say if one file exist?
I tried File System Task component, it seems can not perform this task any ideas thanks Variety of ways to check for file existence. Two that come to mind 1. Use a WMI Data Reader Task with a WQL Query similar to the following the below. select name from cim_datafile where name='c:\\temp\\I_expect_this_file_to_be_here' 2. Use of File connection manager with a File Usage Type of "Existing File", set DelayValidation on the connection manager to true, and validate through a script task. Public Class ScriptMain Public Sub Main() Dts.TaskResult = Dts.Results.Success ' Use the File Connection Manager with delayed validation to get the expected filename Dim fileLocation ...Show All
.NET Development Record Count
Hi, I am using Access 2003 and oledb and need to get a record count of a database I open. Here is the code: String strCurrDir = Application.StartupPath + strDir; String connectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data source= " + strCurrDir; OleDbConnection conn = new System.Data.OleDb.OleDbConnection(connectionString); OleDbCommand connCommand = conn.CreateCommand(); connCommand.CommandText = "SELECT * FROM code WHERE codeid = 'IMPORTDATA' AND code = 'SNMSA5'"; conn.Open(); Is there a easy way to do this without having to loop through the result set Thanks, Mark hi can't you just use "select count(somefieldintable) from code where codeid=... " this will ...Show All
Visual Studio Express Editions .NET Framework 1.1
Ok so I made my first application in VB2005EE. Problem is - to run it .NET Framework 2.0 is required to run it. How can I change this so that to run the application .NET Framework 1.1 is only need to run the appliction .ZIP SOURCE - http://www.supanode.com/vssetup/vssetupsrc.zip This is the source to my project - I would have no idea what to do to be able to do this. Any help is much appreciated! Thanks! I don't think you can do this with VB Express. There's no option that I could find in VB Express to deploy (publish) to different .Net Framework versions. In VS 2003 Professional, you can choose which .Net Framework to publish to. I'm assuming it's the same with 2005. You'd have to upgr ...Show All
SQL Server Table visibility
Hi, I have a table in my Sql report which dynamically displays data .If there is no data in the dataset i don't want that particular table to be shown.How do we do that / Hi, Thanks Suess , it definitely worked....but the table border remains as it is...i have given border style as solid. I i remove the border style then that table is not displayed(as wanted..) thanks ...Show All
SQL Server Report/query parameter default values
I am using a SQL stored procedure for a report. The sproc has a variable in it (@itemnumber) to be supplied by the user at run time. In the report parameters within Visual Studio Designer, I am trying to set a default value for the parameter of % so that all items will be returned unless the user enters a specific item number. In the Visual Studio preview this works but once the report is deployed to the web server, the default value does NOT show up. Please advise. thanks! Martha No, it's a non-queried default. I'm simply trying to set it to %. The variable is a string (varchar) in the sproc. In the Visual Studio preview it works, just not on the web once deployed. ...Show All
Visual Basic pls, When do we have to use the New keyword and when we don t have to use it
Sometimes we have to use New when declaring objects (I think like when declaring dataset, sqlDataadapter objects.... ) I think in those cases, if we don t put the New keyword like in: dim ds as New Dataset it ll give us an error when we do: da.Fill(ds) But, on the other hand, when declaring a usercontrol. we don t have to use New keyword like in: dim uc as UserControl uc=LoadControl("........ascx") Anyexplanation for this pls. correct me if I m wrong. So if we use: da.Fill(ds) then ds should ve been declared with New already but if I do ds=ResturnMyDataSet() this within Page_Load for ex where ResturnMyDataSet is a function that instantiates a dataset privateds and returns this latter as a retu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bug in texture content importer (alpha generation)
It appears that a texture will be made chroma-keyed, even if you don't select the chroma-keyed texture processor. When importing a pre-saved DDS from Photoshop, pure magenta color turns to black (which in DXT1 can mean alpha), even when using the plain "texture (mipmapped)" processor. Bug filed at: https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=237899&SiteID=226 I agree that parameters for processors is a useful thing but in the mean time it is pretty easy to override the default processors. I also wanted to avoid the texture processing and came up with these very simple processors, which basically just pass through any .dds textures while still allowing the usual model texture processing for ...Show All
SQL Server using a datetime as dynamic filter... How?
Hi! Is there any way to use datetime value as dynamic filter in the Merge Replication (Yeah, I use HOST_NAME in order to pass datetime value) I used all possible approaches, but or I got the error Conversion failed when converting datetime from character string. (Microsoft SQL Server, Error: 241) or I got 0 rows on the subscriber after synchronization. Any ideas how it can be solved Thanks Paul Hmm.. First, I've forced to work the parameterized filters with datetime value. Second, sorry, I don't understand the problem described you :( I've not "a secondary column bit column to indicate what rows should be replicated" Just I've the subset_filterclause equals ...Show All
Software Development for Windows Vista DirectShow replacement on the way for DirectX?
According to this site near the bottom, it suggests that DirectShow is going to have a replacement for the DirectX SDK. Is this in the works still http://www.toymaker.info/Games/html/gdce_-_xna.html DirectShow is no longer considered to be part of DirectX. It was moved out of that SDK and into the platform SDK. While it may be that they will collect DirectShow and the other dozen or so a/v technologies into some type of media sdk (which is what I read that article to say), I have no reason to believe that they will. And I have no information regarding any replacement for DirectShow any time in the near future. ...Show All
Windows Forms Disable Custom action instead of deleting
We have a Custom Action to run an extra setup dialog window after the installation of a program we packaged in. User requirements have now changed and no longer require that custom setup step, but we intend to keep that lying around. There appears to be no direct feature to disable Custom actions. We have to completely delete it. If we need to revert, it means having to recreate the Custom Action again with all its properties. This seems fine for just one, but I cannot imagine what if we have several Custom actions. Is there a way (that does not seem obvious) for VS.NET 2003 to actually disable instead of delete Try setting the "Condition" property to something that will never be true... like to a property that doesn't exis ...Show All
Visual C# Saving User Settings
I'm writing an app where I need to save some inputs from the user. I cannot use the app.config method because the users will not have admin access on their machines. I've tried doing this through the Visual Studio IDE, but its still outputting the settings to app.config (I cannot even get it to read the settings back in). Does anyone know if there is a way in .NET to do this. My alternative is to write the code to do it and I was trying to avoid that. Thanks for your help! Hello All. efriese: If you use user-scoped settings, your app will save them on a per-user basis in that user's isolated storage, in yourappname\user.config. Then all your users need to have is isolated storage access privelege, which even restricted user's ...Show All
SQL Server i fail to make priviligies for the connection in ADO to connect to sqlserver 2000
hi .. i make 2 users in sqlserver and make 2 programs every one of them use an account of them i try to use sharedenyread for the connection in ADO in the 2 programs that accesses the same table in the same database and every one of them has sharedenyread . but both of them accesses that table and read from it !! how can i make priviligies for each user connect to that table ex. i want some one as admin other one read and write and no delete other readonly other nothing and so on ,, how can i do that by any way thanks in advance. ...Show All
