Blast's Q&A profile
SQL Server Same here
Visual Studio runs out of memory when trying to use SSIS package. I am trying to create and run a SSIS package that validates and imports some large xml files >200MB. Validation fails because Visual studio cannot open large files without running out of memory. The SSIS package throws this error when I run the package..at the validation task. Error: 0xC002F304 at Validate bio_fixed, XML Task: An error occurred with the following error message: "Exception of type 'System.OutOfMemoryException' was thrown.". How do I increase the amount of RAM that VIsual Studio can use...I have plenty of RAM on my workstation >3GB, but VS chokes maybe around 100MB files Thanks, Forrest So far no one has giv ...Show All
.NET Development WMI and Remote machine
how to get those infomation using .net and WMI I need to loop through all computer in the same network or by specify the name of the computer 1-anti-virus definition 2-computer information 3- windows version Hope this helps with the operating system. You can find more information on : http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmisdk/wmi/wmi_classes.asp using System.Management; private ConnectionOptions co; private ManagementScope ms; private ObjectQuery oq; private ManagementObjectSearcher query; private ManagementObjectCollection queryCollection; co = new ConnectionOptions(); co.Username = user; co.Password = password; ms = new Manag ...Show All
SQL Server Script task: Dts.Logging.Log
I am trying to understand the use-case of Dts.Logging.Log. Following BOL, I see that I can use Dts.Log to send a custom log message to my log provider. The following example code produces an event called "User:ScriptTaskLogEntry", with the message "My custom message here". Dim dataBytes(0) As Byte Dts.Log( "My custom message here" , 0, dataBytes) I would like to be able to produce my own custom event (lets call it "MyCustomEvent"), as well as a custom log message. I thought it would be possible via Dts.Logging.Log, which requires that I specify an event name, in addition to a log entry. However, when I place the following code in the script task, I do not get any logging whatso ...Show All
Visual Studio Express Editions Asynchronous Calls
hello fellow programmers, i was just having some problems on how to make an asynchronous call. well, can someone show me a very simple program thats uses asynchronous calls thanks in advance! I don't really consider delegates to be asynchonous in the sense I'm talking about. Yes, a timer event is asynchonous but what I'm really talking about is asynchronous I/O. Delegates are about multithreading, another aspect of asynch, but they are not true asynch communications. ...Show All
Windows Forms How to Fill 1st textboxcolumn of Datagrid...
hi, In my application...I have a datagrid on my form.My datagrid contains a textcoxcolumn & a comboboxcolumn…so I want to know how I can put values in textbox column on form load event…. Say I have 5 rows & I want those 5 rows to have 5 strings in the textbox column. Strings are(string1, string2, string3, string4 & string5). So how I can put it in that datagrids 1 st textboxcolumn (in form load event ). Thanks, Vinay ya... Thanks...can u tell me ...how by default i can select 1st option of each ComboBoxColumn in the DatGridView on Form Load Event... Thanks once again... Vinay ...Show All
Windows Forms Using BindingNavigator with multiple BindingSources
How does one implement BindingNavigator with multiple BindingSources I have successfully coded to change the BindingSource of the Navigator according to the user-selected table. However, the SaveItem method of the Navigator is designed for only one table. I cannot figure out how to allow the user to choose which TableAdapter to update (Because there is seemingly no way to cast a TableAdapter or to obtain a list of TableAdapters in the form). I am presently using if statements to choose a TableAdapter but this is cumbersome for lots of tables. Please advise. The following thread indicates that there is no streamlined solution to this problem since tableadapters cannot be cast : http://forums.microsoft.c ...Show All
Gadgets Sidebar gadgets outside the sidebar?
Hi guys, I'm interested on building some gadgets and I'd like to know a couple of info about this specific type. 1) Can they exist outside the sidebar In this case, can they know their position in the stage 2) Can they communicate to each other I had a look to the API and I couldn't find so much information about these topics. Any info will be very appreciated. Thanks, chr Don't use files whatever you do - as you say, it's far too slow. Use the registry. Write to your own key under HKEY_CURRENT_USER, it uses next to no CPU time. var oShell = new ActiveXObject("WScript.Shell"); ... oShell.RegWrite("HKCU\\Software\\MyGadget", "some text", "REG_SZ" ...Show All
SQL Server Possible to make one-to-one relation in a report table?
Hello, I have a dataset with multiple datatables in it that I'm using as a binding source for my report. Assume the following: AffiliationTable * AffiliationKey * ParentKey * ChildKey * AffiliationType * EffectiveDate * TerminationDate EntityTable * EntityKey * Name * Address, other info, etc... When I pull my dataset, EntityTable may have several different records--ONE of which is the main record I'm working with. The AffiliationTable's ParentKey and ChildKey are foreign on EntityTable.EntityKey. In my report, I have a table ("Affiliations") that contains a list of the main entity's affiliations. I need to access the associated EntityTable row's "Name" record in the Affiliations report table tha ...Show All
SQL Server running ssis package with ssis run time compoenents and sql server 2000...
running ssis package with ssis run time compoenents and sql server 2000... Is it possible to run ssis packages that point to servers on sql server 2000 without installing sql server 2005 Can we just install runtime for ssis and run the packages Please explian with links if possible thanks a lot This is great. So to just summarize. 1) On the production machine that I have SQL 2000 server installed, I will install SSIS component only. 2) Develop the SSIS packages on my machine using VS 2.0 and SSIS. 3) Save the packages in files with *.dtsx and configuration files *.xml 4) Move the files to the production machine and execute the files using DTExec. IS this correct Thanks again. $wapnil ...Show All
SharePoint Products and Technologies MOSS2007 Office integration...good, better, best document.
Hi All Is there an update to the document located here: http://www.microsoft.com/office/sharepoint/prodinfo/officeintegration.mspx regarding Office version integration with Sharepoint. I need info on how well Office 2003 will work with MOSS2007 Cheers Mike I know there was a document in the works but I am not sure if it was actually released as of yet. I will check today and if it is released I will post the link. If any of the other MSFT or MVP's already know this was released and have the link feel free to piggyback here and post it for the masses. ...Show All
SharePoint Products and Technologies A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site a
Hi evrybody, I have been facing this problem of A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe. when dragging the office scorecard viewer and scorecard browser in the share point portal. I tried manipulating the web.config file but in vain. Colud any one throw some light on this Thanks in advance email id : s andeshsk007@gmail.com Try reinstalling the ScoreCard web part. Locate the ScoreCardWebParts.cab on your server (ours is at "C:\Program Files\Microsoft Office Business scorecard Manager 2005\Server\Setup\ScoreCardWebPart.cab") then use the stsadm tool to re-install it. ...Show All
Visual FoxPro visual foxpro 6.0 software
where can i find visual foxpro 6.0 software download for free You could try ebay. I just checked and there is at least one seller offering the academic version who will ship to India. Dom ...Show All
Visual Studio How adequate-rich or suffitient-complete the DSL?
I want to develop Relational model or Data base - showing tables, connections, attributes, but also -type of attributes, their length, connection between tables - by attributes. So - how I can resolve desires to show more rich look then just table-attribute ____ Or for object model- how to show methods and objects separately or with some icon Or not with icon - by how can I show many different things or hierarchical things on attributes set One of the nice things about the DSL Toolset is its flexibility. For example, suppose you start with the Class Diagrams template. At first, each class is represented as a box, and each attribute and operation is represented as a line item within the box, in the ...Show All
Software Development for Windows Vista Writing to HKLM
I'm using the RTM release of Windows Vista and testing my application to see if it will run on Vista as a standard user. I'm seeing some strange behaviour and I'm wondering if anyone can help me figure this out. My application writes some data to HKLM\Software. I was expecting to see this write getting redirected to the VirtualStore when running as a Standard user. However, that does not seem to be happening. My app is able to write to HKLM\Software. My app is not running with elevated privileges and Virtualization is ON. I even tested my app with the Standard User Analyzer tool thinking it would possibly show me some errors when writing to registry but nothing showed up there either. Strangely enough, I see the same behavior when running ...Show All
.NET Development WebRequest and encoding
I have win app developed in VB.Net. I need to download webpages and look for words in webpage. Words and webpages can be in any language ...Chinese , French , German, English. I have seen code on web that explicitely converts webResponse of WebRequest into UTF 8 encoding. Is it necessary. Native encoding for .Net is UTF 16. If I am not mistaken WebPages use UTF 8 . Dose any one know for sure that .Net handles conversion internally or is System.Encoding.UTF8.GetString(webReposne) necessary Thanks You're decoding the response stream as UTF-8, but as the META tag indicates, you should rather use ISO Latin 1. Change sReader = New StreamReader(hResponse.GetResponseStream, Encoding.UTF8 ) to sReader = New Stream ...Show All
