Diablox29's Q&A profile
SQL Server How to call Integration Services Project from Web UI
I just got done finishing an Integration Services Project (which I have to say was sickening easy!) which does the following: 1) Imports a comma delimited txt file 2) Exports it into a table 3) I do some manipulation and other table creation using SQL 4) Outputs a table to a flat file again I now need to allow the user to run this process. I'd like to either: a) Provide them a shortcut that when clicked on their desktop starts the process that I have defined in my Integration Services Project b) Better yet, create a web U I that has a button they can click on, something that shows the progress in time, and th ...Show All
.NET Development auto generated code for update cmd in visual studio 05
hello everyone, I'm new to .net and have been using visual studios .net 05 and found it great to you use and I like the auto generated code it produces when using a datagrid. However my question is i'm reading data from database (MSSQL) in a datagrid i've modified the data grid to have an edit button which when clicked you can edit. However if I click on update it crashes and throws an exception is there something in .net that allows me simply to complete an update command. Any help much appreciated. <code> <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="Default.aspx.cs ...Show All
Software Development for Windows Vista Wfc, xoml and version info
I am trying to compile a xoml file using wfc.exe and the xoml file has references to members in other .net dlls. When I try to compile, wfc.exe workflow.xoml /reference:bin\debug\workflow.dll;bin\debug\other.dll /out:CamWorkflow.xoml1.cs I am getting the error error 279: Could not create activity of type 'Workflow'. System.TypeLoadException: Could not load type 'IWorkflowEvents' from assembly 'Workflow, Version=0.0.0.0, Culture=neutral, PublicKey Token=null'. at Msn.Ads.Cam.Workflow.CamWorkflow.InitializeComponent() at Msn.Ads.Cam.Workflow.CamWorkflow..ctor() Version of the workflow dll is 3.0.0.0. Where do I mention ...Show All
.NET Development VSA obsolete in FW2.0?
The namespaces Microsoft.VSA, Microsoft.JScript.VSA etc. are marked as obsolete in the documentation of the Framework 2.0 beta-2. I used classes in these namespaces for customizing applications by using JScript's at runtime. Are there any substitutions of the VSA stuff in the new framework or does Microsoft just stop developing this Thanks karlo I am interested in the resolution of this topic as well. We are currently developing a medical device that would greatly benefit from VSA's scripting capabilities. I was surprised to see that it was deprecated since VS2005. In particular, what we had envisioned was ...Show All
Visual Studio 2008 (Pre-release) Is it possible to run a WPF application that requires full trust in a browser?
Our app is a xaml browser application, and is set to 'requires full trust' option. It can run in debugging mode, but does not run in the browser. The following error is shown: Trust not granted. The application cannot be deployed because it is not trusted and possibly unsafe. Detail: PLATFORM VERSION INFO Windows : 5.2.3790.65536 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://localhost/DataAnalysis/DataAnalysis4.xbap Application url : http://lo ...Show All
Visual C# separate classes
hi, I want to separate group of classes to different library (dll) from main file, how can i do it thanks Visual Studio uses Projects as the unit of compilation, hence all files within a project would get compiled into either an Exe or Dll. Hence you use multiple projects to seperate out classes that need to be in a library vs classes that need to be in an application. Regards, Saurabh Nandu www.MasterCSharp.com www.AksTech.com ...Show All
SQL Server Failed to generate a user instance of SQL Server
I am trying to create an SQLExpress database file (mdf) in VS2005 but I get the following error: "Failed to generate a user instance of SQL Server due to a failure in making a connection to the user interface. The connection will be closed.” I also get this same error if I try to open an existing database from the VS samples. Any Ideas Thanks, Dave T Ok got this much figured out, still having other problems, but this part of the problem is fixed. lol ...Show All
.NET Development Fill an irregular shape with color in System.Drawing
Hello, How do I fill an irregular shape with a given color in an image with System.Drawing Let's say I have a map of North America and I want to paint the USA with a color given by my user. It's just like doing a fill with paint or photoshop right in the middle of the USA. Is there a way to do this with System.Drawing I just want to know if it's possible and an explanation on how to do it. I don't necessarily need the exact code for it. If you were to use the FillPolygon() method (System.Drawing.Graphics.FillPolygon) and pass into it the points that make up the complicated shape you will achieve just ...Show All
SQL Server BUG: SSIS imported package errors with 'Guid should contain 32 digits with 4 dashes'
I have imported a package using SSIS into the Maintenance Plan folder from another server. It imports fine, but when i Modify the package then click save I get the following error : 'Guid should contain 32 digits with 4 dashes'. This has been reported on other forums without resolution. Pete I’m receiving the same error of ’Guid should contain 32 digits with 4 dashes' when modifying the package and try to save it. The server that I exported from is SQL standard. The server that imported on is SQL Ent. Both servers are 32bit. Gene ...Show All
Windows Forms Printing diractly to a Label Printer
Hi There I am trying to print to a DataMax label printer directly using the winspool.drv API's. Everything seems fine, as I can connect to the printer and send everything through without getting any errors. I just have one problem and that is that the printer does not respond to the requests/data sent through to it. Here is a copy of my code: Declare Function GetVersion Lib "kernel32" () As Integer Declare Auto Function OSOpenPrinterW Lib "winspool.drv" Alias "OpenPrinterW" ( ByVal src As String , ByRef hPrinter As IntPtr, ByVal pd As Long ) As Boolean ...Show All
.NET Development VERY slow binary serialization of strings coming from SQL
Please help! This is probably the weirdest issue I've ever encountered. I'm trying, in C#, to binary serialize an array of strings that come from a SQL Server 2000 database. Problem is, this takes orders of magnitude longer than if the strings don't come from the database. The EXACT same 35000-length array of strings takes 0.1 seconds to serialize if the strings don't come from the database, and 40(!) seconds to serialize if they do. So for instance: ... SqlConnection conn = new SqlConnection("..."); //In my database, this will return 34769 rows SqlCommand comm = new SqlComm ...Show All
Visual Studio Team System Aggregate WI integer fields
Hello, I'd like to know if there's a way to aggregate the fields of a work item. I've defined two integer fields. Now, I want to add (also multiply, divide) their contents up and show the sum in another integer field. Is this possible Thanks Stephan Thanks for the info, Stephen! I will pass up the requirement to my team. Do not think we can do this for v1, but maybe in the next version... Thanks, Amit Dev-Workitemtracking ...Show All
Visual Basic Loading images from context menu link
Thank you for stopping to read this message. I'm using Visual Basic 05 Express Edition (Beta 2) to write an image conversion program. I have sucessfully achieved the basics - and after browsing your harddrive you can convert an image, BUT if i added a registery file which adds 'convert' to the context menu of BMP or JPG images, how could I load the location of the image automatically to a textbox Thanks guys, but I solved this problem from another post. Please search 'Robert Hoath' or click my last posts in the profile to find the solution. ...Show All
SQL Server Ad hoc updates to system catalogs are not allowed.
in SQLServer2005 how can I allow update system catalogs (by mouseclick) sp_configure 'allow updates' , 1 - works, but I get the message Msg 259, Level 16, State 1, Line 1 Ad hoc updates to system catalogs are not allowed. Even in single user mode, catalog updates are not supported by Microsoft. For your other comments, you should post them on a related forum ( SQL Server Database Engine , for example). If you do not receive a useful suggestion or workaround for your issue, please open a request at: https://connect.microsoft.com/feedback/default.aspx SiteID=68&wa=wsignin1.0 Thanks Laurentiu ...Show All
Visual C# Internet Explorer Automation and Cookies
I am trying to use a C# program with the Internet Explorer browser automation object to access a website. I need to pass some cookies when I do the first GET call. I'm attempting to pass them in the browser.navigate call by setting them in the Headers parameter as follows: string cook = "Cookie: " + name1 + "=" + val1 + "; " + name2 + "=" + val2 + Environment.NewLine; Object hdr = cook; browser.Navigate(URL, empty, empty, empty, hdr); When I look at what is being passed via a packet analyzer, the cookie header is not part of the request, so apparently the automation object is dropping my header. ...Show All
