SaloS's Q&A profile
Visual Basic closed form, exe still hangs around
I created a button to end my application and i call me.close() in it. sometimes the exe goes away, and sometimes not. any suggestions as to why this is and how i can fix it Thanks, Dan no threads. no events that are still on going. do i need to dispose of all the events i cant just call me.close Thanks, Dan ...Show All
.NET Development converting a byte array to a string?
I have a program that acts as a server and when it receives information I would like to get all the data until a break char is given. for example the return key. The problem I am having is converting the Byte Array back to a string, it seems to only be giving me numbers. If you would like me to post my code to explain then I will :D. Encoding.ASCII does NOT work with character codes above 0x7F. This is unsurprising, since ASCII only goes up to 0x7F. To make it work with 8 bit ANSI characters using the current code page, use Encoding.Default instead. (If I had £1 for every time I've seen this error... I'd be etc etc) ...Show All
Visual Studio Team System About Work Items
I have red couple Articles about how to move work items between two projects. Is it possible to create Work items, which are not part of any project Just curious, what is your requirement for creating work items without a team project There might be some alternatives using Excel and maybe custom work item types with a generic team project. I will wait for your response before I elaborate any further. ...Show All
Visual Studio WebLogAnalyzer Bug
I recently downloaded the WebLogAnalyzer 1.0. It ran it's own sample file find. However, when I provided it with a folder of several files it only reported on the last one it read. This code looks like the culprit: ' Parse each file in the list and build a collection of LogFileEntry objects. Dim fi As FileInfo For Each fi In files logFileEntries = LogParser.ParseLogFile(fi.FullName, extensionsToIgnore) Next I think that logFileEntries = LogParser.ParseLogFile(fi.FullName, extensionsToIgnore) is only holding the result of the last file parsing. Shouldn't this be a summation statement I have tried logFileEntries=logFileEntries & logParser.ParseLogFile...... but it won't work. Comments Thanks ...Show All
Visual Studio Production quality planning of MS DSL tools
Hello, Having completed a review of the DSL tools in their latest state, many questions come to mind, mainly related to their readiness for production and the quality of the first release. I wish getting some answers from Microsoft: What is the timeframe for the release of the first official version of DSL tools. Will these be integrated to VS2005 as an add-on or only available for the next version of the platform Regarding this first production release, are their details on the packaging of modeling tools for end users For example assuming we build a dsl and metamodel with these DSL tools, how will the modeler be given to end users who will use it to build new models and generate code - in more technical words how to package t ...Show All
SQL Server pass large xmlstring to sql server 2000 stored procedure
Hi, Can I use DBType.XML in .net 2.0 to pass xml string to a stored procedure in sql server 2000 It's just that I know sql 2000 does not have xml type. If this is true then how is it possible to pass very large xml string to a stored procedure parameter Remember that the xml strings may be more than 10000 characters. At present, using .net 2.0, I am passing xml string using DbType.AnsiString with length of 50,000 and the stored procedure parameters that accepts the xmlstring is of type text. I tried using DbType.XML in .net 2.0 but noticed that sql 2000 does not accept it. Do you also know the max length of AnsiString Your thoughts please Thanks you Hi, I do not wish to break the xml into smaller piece ...Show All
Visual FoxPro Linking a DB from Access 2003 to a ForPro application
Hello all, I am new using FoxPro, actually I have never used FoxPro. My company have a FoxPro application (VFP Version: Visual FoxPro 08.00.0000.3117 EXE Support Library for Windows [Sep 25 2003 20:47:46]). I am currently creating some forms using InfoPath. This forms are linked to an Access db. I am using Access 2003. What I would like to do is, past that information from my Access db and link it to the information in the FoxPro application. This application has been in production for the last 2 years. Is this a simple procedure Can somebody give me some suggestions or something. Thanks in advance Erick, It's hard to guide someone who has never used VFP before. Unlike Access, VFP is geared towards programmers. Anyway this might n ...Show All
SQL Server Dynamix mdx query
I'm not to familiar with mdx, so I don't manage to create a dynamix mdx query in RS against my AS cube. What I'm looking for is having two parameters @par1 and @par2 that decide what dimensions to query against. The default query I get when I create a mdx with designer looks like the one below. The problem is that instead of [Product].[Product].[Product] and [Supplier].[Supplier].[Supplier] I would like to use my parameters. The parameters can contain the value Supplier, Product, Customer and all other names of the valid dimensions. I thought maybe it was possible to do somthing like this: [@par1].[@par1].[@par1], but that didnt work :-) I have also tryed using with and set, but havnt managed to make it work. I have seen a couple exampl ...Show All
Windows Forms how to add a new row to datagridview + bound text boxes et
I have a datagridview(too small to put all the column values) so I used some text boxes in a form below to display the entire detail for any selected row. The textboxes are bound to the same databindingsource as the datagridview..The selected row in datagrid populates values in the textboxes. I want some mechanism so that when a user wants to add a row, they can put their values in the textboxes and hit add button which puts the new row in the datagridview. Is this possible Thanks.. Paul, The bigger problem is in the UI aspect. The textboxes are bound to the same databindingsource as the datagridview. For the user to be able to add a new item, I am not able to provide them with textboxes whi ...Show All
Visual Studio 2008 (Pre-release) AJAX-like Data update in Loose XAML
I am wondering if I can do this in loose XAML. I have a simple XAML file that implements a number of text displays, which are data bound to an XmlDataProvider. The XmlDataProvider points to an aspx file, that, when requested returnes some data in XML form. Both the XAML file and the aspx page are sitting on a website, say http://localhost/test The XAML File: <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <Page.Resources> <XmlDataProvider x:Key="DataUpdates" Source="http://localhost/test/GetSomeData.aspx"/> </Page.Resources> <Canvas> <Rectangle Fill="Red&q ...Show All
SQL Server Problem With Quotes in @[System::ErrorDescription] Variable
I am using an Execute T-SQL Task as a part of an OnError event Handler in my SSIS Package. When occurs an error, using the Expressions-feature, my Execute T-SQL task builds an Insert Statement to insert the @System::ErrorDescription into a table. " INSERT INTO [ErrorDB].[dbo].[ISErrors] ([EventType] ,[PackageName] ,[TaskName] ,[DateDone] ,[Status] ,[Host] ,[ErrorCode] ,[ErrorDescription] ,[Comments]) VALUES ( 'OnError' , '"+ @[System::PackageName] + "' , '"+ @[System::SourceName] + "' ,getdate() ,'Failed' ,'" + @[System::MachineName] + "' , null , '" + @[System::ErrorDescription] + "' ,null ) &quo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Running XBox360 games made with XNA GSE without XBox Live subscription
Will it be possible to run games we make using XNA Game Studio Express on our own XBox360 without signing up for the XBox Live $99 yearly subscription RC Master wrote: Or if you get the the Pro version that comes out next year you will be able to make much larger games that also include XBL play and acheivement etc. Assuming you're a member of the Registered Developer Program: From here - XNA Game Studio Professional is a new offering targeted at the professional game developer. It will contain all the functionality present in XNA Game Studio Express and will add support for tools and services that professional game developers need to ship commercial games built using the XNA Framework on ...Show All
SQL Server Precedence puzzle
Hello folks, I have probably a dumb newbie question but I can't find the answer anywhere. On my Control Flow design pane I have two objects: a SQL task object and a Data flow task object. The first 'points' to the second. From my digging I believed that by indicating with the arrow from 1 to 2 that 1 would execute to finish before 2 was started. My SQL taks is to truncate a table to receive the new data coming from the data flow task object. Instead 2 executes first and then 1. You can imagine producing an empty table was not my goal for this package. Can anybody give me a clue Thanks.... Jim Are you sure they are executed in this order How do you determine this I would try setting pre-e ...Show All
Visual Basic How To Write Functions that return multiple values
I need help writing the header for a function that returns more than one values and diff types... for example this one returns a single value as Boolean Private Fucntion Truth(ByVal var, ByVal var2) as Boolean End Function ... Is Truth false Thanks. Example Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim xret As ArrayList xret = Foo(1, "test") For Each i As Object In xret MsgBox(i) Next End Sub Function Foo(ByVal a As Integer, ByVal b As String) As ArrayList Dim x As New ArrayList x.Add("test") x.Add(1) x.Add(False) ...Show All
Visual Studio Nesting Related Files
Hi there, Unlike many users of ASP.NET solutions, I am building my websites using XML/XSL transformations. Because of that, I have lot of XML and XSL files in the same location as the aspx and its related code behind files. For the overview of it, i have named my XML/XSLT files the same as the aspx file, for an exampe: default.aspx would be named default.aspx.xml, default.aspx.xsl. Since there is already an option in VS2005 for nesting related files, i was wondering if it has been so smartly developed, so i might add my own "related" files to this already built-in functionality This would really ease up my overview. Thanks in advance for usefull feedback regarding this matter :) Hi Michael. For web projec ...Show All
