Jon Watte's Q&A profile
Smart Device Development Create Installer with VS 2005?
Hi, I want to create Installer for my project which is developed in VS 2005. But I dint find relevant information to build Installer with VS 2005. I already tried with this link http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/netcfdeployment.asp which is based on VS 2003 (but i have tried with VS 2005). Actually I am confused while creating .bat file. I have used Batch Build option from Build menu. but no .bat file is creted. Can any one guide me how to proceed to create Installer. Thanks in Advance For starters invoke it from command line and see if your INI actually works. ...Show All
Visual C# Windows Unzip and Download
Hi, I have an application that download it's new version from the internet in a zip file. But I'm having problens to unzip and replace the files... Is there a way to make the application unzip the downloaded file automatically to the folder that it's running Thanks Obviously... What class do I use to call command line Is there some internal in C#.net that I can use to unzip files...How can I do this process !!! ...Show All
SQL Server how can I obtain message_id?
Hi all! How can I obtain message_id when I SEND the message, before I execute RECEIVE statement Thanks a lot for the help! Rushi, thanks a lot for the detailed explanation. The best decision for me will use one-message-per-dialog conversation and send one message per conversation, then trace application logic on conversation_id. Thank you, Sveta. ...Show All
Visual Studio 2008 (Pre-release) Databinding IValueConverter magic
I have an XmlDocument that I have bound to my DataContext for a screen. Then I use xpath statements to extract the information from the document, on of the xml element's contains Base64 encoded image data or it can contain just textual data or it can contain a string that represents a WPF color like "Red" Is there a neat way to create a Converter that could return the appropriate type and have a DataTemplate for each type e.g. <DataTemplate DataType="BitmapImage"> <Image Source={Binding Path="/"/> </DataTemplate> <DataTemplate DataType="Color"> <Rectangle Height="25" Width="25" Fill={Binding Path="/"/> </DataTemplate> etc.... ...Show All
SQL Server Events for LoadFromSqlServer method???
Hi everyone, I was wondering what kind of events fires when you do a LoadFromSqlServer method I've got defined a Events class but debugging with F11 never get in touch with any event (apparently or mabye the problem is that I haven't declared that concrete one) Let me know if possible or not. I provide you my snippet of code: Dim pkg As New Microsoft.SqlServer.Dts.Runtime.Package 'Para que no choque con el objeto APPLICATION DE SYSTEM.WINDOWS.FORMS Dim app As New Microsoft.SqlServer.Dts.Runtime.Application Dim EventsSSIS As Eventos EventsSSIS = New Eventos() .. .. pkg = app.LoadFromSqlServer(ObjSSIS.sRutaDts & "\" & ObjSSIS.sSSISName, ObjSSIS.s ...Show All
Visual Studio Express Editions Install order?
I'm getting ready to setup a test box for a proof of concept. Most likely it will be running 2003r2. When I look at the instructions for SQL Express, it says to make sure .net framework 2.0 IS installed. When I look at the instructions for Visual Web Developer Express, or Visual Basic Express (or any of the visual express packages) they specificly say to UNinstall any versions of .net framework that you have installed. Is the .net framework included with the visual express packages Can these products co-exist Whats the proper order to install them in If you look carefully you will see it mentions to uninstall any BETA/CTP versions of the .NET framework. If you have not used any beta versions you will n ...Show All
Visual Basic To make characters in the text of TextBox ReadOnly.
Hi All !! I am new to VB.NET... I want to make the characters in the text of TextBox control read only... That is, to make those characters should not be replaced by any other character, or can not be editable... So is there any property or method that can be implemented to the charactres/text(string) of textbox's text Responses are welcome Thanks, Prodigy201 Set ReadOnly property to True . Back-color will changed automatically to gray, so you can change it back to white by changing Backcolor property. HTH. ...Show All
SQL Server Transaction is working but with one problem
sp to update inventory working great(a little too great) update set instock=inventory.instock-invoicedetails.qty if i set the join to the itemno, then i can call tableadapter.updatequery("itemno") when I do this it subtracts the qty entered in invoice details everytime on all rows. need to add a filter to the query but how if i add where InvoiceID=@InvoiceID then I can't seem to call it because I get an error converting string to Int. I'm obviously not entering something right. Thanks. You are right; the variable should be @invoiceNo and not @itemNo: DECLARE @invoiceNo <dataTypeOfInvoiceNo>; SET @invoiceNo = 1000; -- Or whatever the invoice number that was i ...Show All
Visual FoxPro VFP7 COM+ error while calling from ASP.Net 2.0 on IIS6
Hi, I have an ASP.Net 2.0 application which interop with VFP7 COM+ (using DCOM). It was running fine on IIS5, WIndows 2000. Recently I migrated the server to Win2003 and IIS6 is running on native mode, and I couldn't get the COM+ running, below is the information and hope someone here could help: 1. If the application pool identify set to 'Network Service', I can't even create the COM+ object in the ASP page even though I have granted the 'Network Service' account with neccessary NTFS folder permission. 2. If I change the identify to let say Local System or Administrator, I have no problem to create the COM+ object in ASP page, and VFP codes in the OLEPUBLIC class Init event has actually being processed as well (for example I put a Create ...Show All
SQL Server Measure Dimension
Hi What's the difference between the two following queries as the returne value of the second one is "#Error" . My aim is to count the number of customers that purchased the mountain product through Internet. I've used the Adventure Works sample database. WITH MEMBER [Measures].[Number Of Mountain Internet Sale] AS DISTINCTCOUNT(EXISTS([Customer].[Customer].MEMBERS, [Product].[Product Line].Mountain, "Internet Sales" )) SELECT [Measures].[Number Of Mountain Internet Sale] ON COLUMNS FROM [Adventure Works] WITH MEMBER [Measures].[Number Of Mountain Internet Sale] AS DISTINCTCOUNT(EXISTS([Customer].[Customer].MEMBERS, [Product].[Product Line].Mountain, [Measures].[Internet Sales Amount] )) SELECT ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple BreakOut Demo (Source included)
Well there it is, my first ever C# and XNA program I hope it'll help some of you. Download BreakOutDemo.zip v0.31 Thank you MS for that wonderful gift that is the XNA. It is really good to see games comming out of the wood work... but just a favor, can you please make the posts comments if you are not asking a question. Also if you do ask a question and get a correct answer please make the post as answered. Remember that all of the Questions and answers get added up and all count towards the stats for the forums. It would be nice to get the XNA Groups a high answer rate. ...Show All
Windows Forms Eh... You're not going to believe this...
Okay, I saw on the front page of WindowsForms.Net: ".NET Framework 3.0 released!" At first glance I was very excited because this meant a preview at what development for Windows Vista and the new controls are. Well, hell, I go to create a new WPF Windows Application, (Vista ) from the Visual 2005 .NET 3.0 extensions and all it shows me is an XML/HTML looking code. So I run it without debugging and it pops up with a blank form. Okay now I am thinking, WHAT THE HELL. There is no designer view......................... Its like coding HTML...................YUK!!! Well, what can I say I am VERY disappointed in Microsoft for making this move, it is terrible. It is terrible for programmers and it is just plain stupid. If anyone else has the tim ...Show All
Software Development for Windows Vista Delete WorkflowInstance from Database Tables
I use one DB for Persistence and Tracking. This database therefore holds all workflows started. These workflow were started for different portals used by different clients. So if a client needs to be setup from scratch, I need to find the according workflows in the database and delete them. The other workflows (for the other clients) should stay untouched. Because of the amount of tables created (Persistence only uses 2 tables, Tracking about 20) I wanted to ask if someone knows how to do a task like this. The table "Workflow" holds the different workflows. Now I have a reference (WorkflowTypeId) which I can use to delete the instances. Am I correct Thanks To be honest: not really. I ...Show All
Software Development for Windows Vista WS-AT problem: The MSDTC transaction manager's WS-AtomicTransaction protocol service is disabled
Hello, I have a very strange problem with the WS-AT controller. I call a simple transactional WCF service once from a WCF client and once from a Java client. When called from the WCF client, everything works fine, but when called from the Java client, I get an exception with the message "The MSDTC transaction manager's WS-AtomicTransaction protocol service is disabled and cannot unmarshal incoming transactions." From the service trace log / service message log, I have the headers of the messages sent to the service both from the wcf client and the java client. Here the headers from the WCF client: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <CoordinationContext s:mustUnde ...Show All
Software Development for Windows Vista How can a Vista user(non-administrator) work with app that uses ports
Hi All, I have an application in WinFX which when run on Vista fails for the below two reasons: 1. The application writes to the local disk 2. The application uses callbacks to the WCF service(uses ports) and the user is a non-administrator. Is there a way out to solve this, since the users of my application are not given administrator rights to the system. Thanks, Mahalax. Standard users have write access to quite a few locations on the local machine (their profile, new folders off the root of the OS drive for example). WCF specific issues may be better answered on http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=118&SiteID=1 ...Show All
