hazz's Q&A profile
Windows Forms Plz help. Click Once is not updating my app
Hi, Thanks for reading and helpme out! I have create a simple client smart application that reads and shows the content of a text file. The application is correctly published and executed. Because I need to change the text file on a daily basis, I have done a bat file that copies the file to the correct IIS directory, and use mage.exe to change both manifest. I also put in my app the code that comes in this page in a label so I can see the progress: http://msdn2.microsoft.com/es-es/library/system.deployment.application.applicationdeployment.aspx The program in the first run shows the original file, but when changing the file and redoing all the manifest steps, the program shows the same old file. What I have to do to (m ...Show All
.NET Development Creating a object without type information
Hi all, Is there any way i could create an object in a server application and send it to the client which doesnt have type information Thanks, Suresh. Hi, "I dont want to keep my Business object in the Client". This is what i exactly want to acheive.But i need the Business object in client to do some operations such as Validations,authorization etc., and after successful validation/authorization send it back to server to do any database related activities. So i'm trying to figure out a way to send the Business Object from the Server(could be webservice/Remoting) to the Client where i dont have the type information of Business Object. Thanks, Suresh. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting started with DirectX and Visual C++ 2005
Hi, My setup environment is Windows 2000 SP4 and I'm using Visual Studio 2005. I'm looking to set environment for using DirectX with Visual C++ 2005. This morning, I tried but without success to install DirectX SDK using file downloaded from following link: http://www.microsoft.com/downloads/details.aspx FamilyId=C72D9F1E-53F3-4747-8490-6801D8E8B4EF&displaylang=en#Requirements Even if I verified that, under system requirements, Windows 2000 was listed, after downloading, I received the following error while trying to run resulting "dxsdk_aug2006" file: &nb ...Show All
.NET Development Requirement on Html Anchors or Asp Hyperlinks using XML dynamically
Hi, This is an requirement on my project. I am building all the .net controls dynamically by using an XML file and parsing it using an XSLT. Now i need to create a asp hyperlink or an html anchor. Am not very clear on how to proceed in creating anchor tags dynamically. Could any one please help me out so as how to create them in an XML file and parse it using XSLT. Thanks in advance. Regards, TIG. Can you explain what you mean What is your input (given, known data) What is the wanted output (result) Cheers, Dimitre Novatchev ...Show All
.NET Development Reading a XML file...
I have some problems learning how to navegate throught the xml file i have... I need to read all the information at once and i cant do it, because the Structure of my Xml file contain some nested nodes and i dont know how to do that... this is an example of what i have. <Root> <Element Nbr = "1"> <Item ID = "566"> <Color>Blue</Color> <Size>8</Size> <Itemchild> 0...N Elements (Nodes) with more elements and atributes... </itemchild> </Item> </Element> <Element Nbr = "2"> ... </Element> </Root> So i dont know how many Itemchild's would be, thats why i need to loop trought them, at sam ...Show All
Visual Studio Team System Code Coverage for User Controls
Is it possible to perform Code Coverage Analysis for User Controls in Visual Studio Team System. If Yes, do we need to do any thing different from that what is needed for normal Windows control Yes. It is indeed possible to perform code coverage for user controls. What I missed during my earlier analysis was that we need to add the assembly file for user control explicity in the code coverage artifact list. ...Show All
.NET Development Substring with regex??
This is a simple stripping MyString.substring(1,150); but I want to strip the first 150 chars and also any of the following characters if found in the first 150 chars: HTML tags carriage returns line feeds tabs Can this be done using regex and substring or just regex How can this be done I'm not an expert in using regex with c# but I am when it comes to PERL. Since however I believe that c#'s way of implementing regex is very similar to PERL's you should be able to do this using just regex through grouping. Now I'm not going to write a regex for you as I have to do work and they are a very valuable tool to know so you should read throught the documentation, you'll find examples that will show you how to ...Show All
SQL Server Long report on one page?
I have a very long report that I would like to appear all on one page. I want to be able to scroll from the top to the bottom without having to use the little page selector. How do I do this I got it to work for one report so I know it's possible. I just can't figure out why it works for that report and not for other reports. Thanks, Greg Van Mullem Interesting idea. I will give it a try. However, I still think there is an easire/better way. I have a long report where I did nothing special but it appears all on one page. Unfortunately I don't know what I did... Thanks, Greg ...Show All
SQL Server Perfomance tuning
Dear friends We have one problem in our existing system.We are expecting some expert comment on this.We have one corebanking system back end as MS SQL server with IIS server.Our system is always very slow in the peak times of tranasactions.We are planning to optimize this with a short time plan .So pls give some suggestions that our DBA team can implement in a short time with SQL SERVER 2000 Thanks in Advance Filson A possible course of action is this: Try to check your IIS's and SQL's processor during the peak times to see if the problem is with your SQL or IIS If your problem is not in IIS: Try to see if your sql server's processor is 100% or near. If it is, then your queries are probab ...Show All
Visual Basic Problem in VB Designer
Hello all. Hope you can help me with this, i've been searching the forums for the past hour with something the same, however haven't found anything. I know lots of you have had problems with the form designer giving errors and refusing to show the actual form, mostly because of some transition in software i take it (i aren't a Full time programmer, its just a hobby.) My problem is similar, vb refuses to show me my form and now i have even more problems. the last thing i did before this happened was try to add an imagebox to the form. Heres a few errors i get: every label i have is no longer declared event 'load' cannot be found - My other problem is, i managed to close the designer window during this problem and i cant remember how to get ...Show All
Audio and Video Development iHD Specification
Is there somewhere I can find detailed information on each method, parameter, object, etc for iHD Thanks Peter, thats what I figured. By any chance are you going to be going to the HD DVD Professionals Workshop in LA next Tuesday ...Show All
Software Development for Windows Vista Unpleasant surprise after installing Visual Studio SP1
Dear all, Beware of installing Visual Studio SP1 if you have Workflow Foundation Extensions for Visual Studio installed. Everything looks ok until you try to create a new workflow. At this point, the binding of activity properties to dependency properties refuses to work. None of the dependency properties appear as valid choices for binding to. Also, the workflow snippets no longer work. There is a simple solution to these woes: Run the Visual Studio 2005 Extensions for Windows Workflow Foundation setup program and Repair your installation. This is not mentioned anywhere in the VS2005 SP1 release notes. Mark - Yes - We are looking into the issues. Regarding downloading the snippets. No - Currently we do not have ...Show All
Visual Basic code snippet editor
I get an unhandled exception error the minute I fire up the code snippet editor and cannot continue from that point on. Is this a reported problem I'm running on XP Professional with service pack 2 and using Visual Studio 2005 Professional. Here are the some of the details when I click on the details button in the error window. I did notice when looking at this detail that some of the path shown is not on my D drive, namely everything from the "lorenzom" directory on down. System.NullReferenceException: Object reference not set to an instance of an object. at SnippetEditor.SnippetPathsManager.InitializeUserRegistry() in D:\Documents and Settings\lorenzom\Desktop\Snippet Ed ...Show All
SQL Server Profiling SQL server
Hi MSSQL Friends, I have 50 databases on a MSSQL 2005 sp1 win2003 2003 box running with no trouble at all. Because I always want to optimize and tweak the machines and software I have (I have too, it's in my nature) I'm looking for the right means or tools to do that with my SQL server. So, how can I determine which databases are the bussiest How can I determine which database takes the most resources Where should I focus All the databases have there weekly maintanance plan (rebuilding indexes, etc). Sincerly Edward Hi Satya No I don't have performance issues at the moment. But I want every database to run as smooth as possible Thanks for your pointers but I want to see which dat ...Show All
SQL Server What is the best most efficient performant way to do a Control break in SSIS?
I have an EDI file with Different Transaction types. I would like to read for a Header, capture some specific info on the header, and read for another specific tran type that comes after and capture additional info. I have a couple of ideas like tagging the records with a key and loading into two temp tables for matching later but that means I would have to do double processing. Maybe a conditional split for the two transaction types and then unioning them downstream, but not sure if the right records would be associated. Possibly tagging sequential key and writng to raw files and matching on the raw file keys downstream. I have a lot of ideas but I am looking for the best proven practice here so i don't spin my wheels or have to g ...Show All
