Software Development Network Logo
  • Game Technologies
  • SharePoint Products
  • Visual Basic
  • Visual C++
  • Windows Forms
  • VS Team System
  • Visual FoxPro
  • IE Development
  • Windows Vista
  • SQL Server
  • Visual C#
  • Smart Devicet
  • Microsoft ISV
  • .NET Development
  • Visual Studio

Software Development Network >> MSP.Saami's Q&A profile

MSP.Saami

Member List

RKN_India
Tom Lake - MSFT
yeos_lee
JFoushee
Lucian Wang
Sayure
Randal Greene
SCRunner
Srikanth265711
ahmedWebDev
aaks
Rudemusik
MarkNi
feby
big4ared
pangitko79
Andy Champ
Andrew Buyan
Brad Smith
lkshikoh
Only Title

MSP.Saami's Q&A profile

  • Visual Studio Express Editions iconbuffet registration "benefits"?

    If VC++ Express doesn't support the inclusion of ico files, what use are the "100 professional, royalty-free stock icons" ...Show All

  • Visual Studio Tools for Office ItemAdd handler applied only to last Folder Processed...help!

    I want to attach an ItemAdd event handler to each folder within the inbox. Here is the code... namespace OutlookAddIn1 { public partial class myAddin { private Outlook.Items myMailItems; private Outlook.Folders myFolders; private Outlook.MAPIFolder theInboxFolder; private void ThisAddIn_Startup(object sender, System.EventArgs e) { Outlook.NameSpace ns = this.Application.ActiveExplorer().Session; theInboxFolder = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox); myFolders = theInboxFolder.Folders; try //HELP!!!!!! { foreach (Outlook.MAPIFolder _folder in myFolders) { //attach item event handler to every folder myMailItems = _folder.Items; myMa ...Show All

  • SQL Server Import Text files data into SQL Server

    I need to extract data from text files (around 200) and import into sql server tables. I tried using SSIS foreach loop container but could not manage it. Can anyone guide me how this can be done All help appreciated. Thanks, Here is all what i did.. I create a SSIS package with Foreach loop container having a data flow task within. The foreach loop container points towards the folder containing text files. The data flow task contains Flat file source and ole destination. I have specified a text file in the flat file source and ole destination copies the text file into single column sql table. When i run this, the ssis only copies single file (specified in flat file source) into sql server table but fail to copy other files w ...Show All

  • Visual Basic Removing Columns From Delimited Text File

    Greetings, I need to parse a delimited text file and remove the last 3 fields in each row. Can someone show me how to reference the columns and specify the ones I want to keep Thanks. Try this: Dim stmReader As System.IO.FileStream = System.IO.File.Open( "C:\1.txt" , IO.FileMode.Open) Dim rdrReader As System.IO.TextReader = New System.IO.StreamReader(stmReader) Dim strLine As String Dim intCounter As Integer Do Until (rdrReader.Peek() = -1) 'Not end of file strLine = rdrReader.ReadLine() For intCounter = 1 To 3 If strLine.IndexOf( "," ) <> -1 Then 'Delimiter exists, remove all ...Show All

  • Visual Studio 2008 (Pre-release) WCF for high troughput scenarios?

    Hi, I was wondering if WCF is usable in scenarios where high throughput has to be achieved . For example a financial market data service that broadcasts market data via UDP (roughly 10k messages/sec). It's important that packets are as small as possible .. can this be achieved with WCF or is there always a high message size overhead Thanks, Tom Hi Tom, we follow soap spec to wrap your message,so there is always more data(More XML tags) to represent your data in soap format. How many headers we are going to add depends on (1)what kind of security we are using (2)Are you using transactions (3)Are you using reliable messaging There may be other headers also related to transport+i might hav ...Show All

  • .NET Development FTP in non blocking fashion

    Dear friends, I want to add FTP functionality in my application in Non-Blocking fashion. I want to add this functionality in Non-Blocking fashion because i want the user to cancel the FTP operation any time. In .NET 2.0 there is a class FTPWebRequest with the help of which we can support FTP functionality in our applications. There is an example in MSDN which shows that how FTP operation can be performed in non-blocking fashion using FTPWebRequest. The part of example can be found here . (Please scroll down the page). For uploading file we write all the data to the request stream and then closes the stream using statement: requestStream.Close() Now my problem is that the statement requestStream.Close() blocks for a very long ...Show All

  • Software Development for Windows Vista change delay timeoutduration

    Hello guys, I have a state machine workflow, and to create a timer, I used a delay inside an event driven. Is there anyway to change timeoutduration of this delay to a new value, while the instance of the workflow is running, so the timer expires at that new time. I couldn't find any code samples for that. Any help would be greatly appreciated. Please read the thread more carefully, Iris. The problem is in resetting the duration during the execution of the delay activity itself. I am looking into a similar situation (though with only one delay). One problem I have with the existing delay activity is that it is a delay with a Timespan, not a delay until a certain DateTime, which is more apt to ...Show All

  • Windows Forms getting border width of windows forms

    I have a program that I am trying to programatically set the width of a windows form. However the width of the form depends on the width of the borders of it. I noticed that using the standard XP theme has different size borders than using the older classic style windows theme so it messes up the proportions of things because I hardcoded the width of borders. And the fact that the top border is thicker because of the title bar. Anyone know how to get the widths of these Thanks in advance If you just want to make sure that the usable area in the form is the same, you can set the 'ClientSize' property on the form. Otherwise, you can use: int borderwidth = (this.Width - this.ClientSize.Width) / 2; int title ...Show All

  • Windows Forms VB2005 Add system Date to new record in Datagridview new

    Hello, When I push the add button a new row is added to my datagridview. How can I automatically insert the system date in the new row in the column 'Date' I hope to hear from you guys... Sure, Using generic words, it would be something like this: Me .DataSet.TableName.Columns (Index). DefaultValue = Now() Where your Index is the number relating to the column. So if you're using a column named TimeStamp and it's the 4th column in the table Transactions on the dataset MyCompany then it would be: Me .MyCompanyDataSet.TransactionsTable.Columns (3). DefaultValue = Now() ...Show All

  • Visual Studio 2008 (Pre-release) Install "Orcas" with .NET Framework 3.0 - June 2006 CTP

    I have updated my dev environment to .NET Framework 3.0 - June 2006 CTP, and before that I have remove "Orcas" Beta2, and SDK and Framework Beta2. All was fine, but now I can't install this version of "Orcas" (I think this is teh last version) Quick Details File Name: vsextwfx.msi Version: Beta2 Date Published: 5/23/2006 Language: English Download Size: 4.2 MB Is there a newer version same workaround Thnaks in advance. David Hi, I get exactly the same error message. The setup of the brand "new" version of Orcas preview, wich is annonced as compatible with the June CTP version of .net 3.0 Framework, seems not to work with it and ask for an older version. Please, is someone has a resp ...Show All

  • Community Chat MS Access Developer Needed ASAP

    Hi all, I am a novice MS Access user and I created a simple database for a small business client. There are a few bugs that I need worked out ASAP. I am looking for someone who would be willing to take a look at the database and fix the bugs. I had someone helping me out but they were due to provide the fixed DB back in November 2006 and now I can't get in contact with them. I am desperate b/c I promised the client I would provide the DB to them in December. If anyone does some work on the side and is willing to help, I need you!! I am also looking to expand the functionality a bit but shouldn't be anything too fancy. Please contact me if you're interested. Thanks in Advance!!! "Desperate" AA807 Originally, th ...Show All

  • SQL Server Setup question...

    I have a normal 3-tier architecture. I am trying to use service broker to send messages from either the web tier or the app tier to the database tier. The problem lies with the versions of SQL we are using. We have Full SQL on the database tier (Enterprise) but we only want to install SQLExpress on the web and app tiers. Is there any way to have the web tier talk to the app tier and have it forward that on to the database tier I am aware of the limitation of Service Broker and two instances of SQLExpress, but I was just wondering if the app tier version was just forwarding the message to the database if it could still work Thanks! Thanks, Remus. One more question. We are using the Express - ...Show All

  • SQL Server MS SQL Standaolne

    Hi, i'm doing a project now in office , my question is how can I set up a MS SQL without connecting to our company server. Just making my pc a client/server Standalone Mae Hi Mae: How do you normally connect to your company's server There are numerous way to connect to a database, but to speaking in general, you can: 1. create a backup database from your company's db server. 2. Install MS SQL server to your machine, or any other machine that you want to use as test machine. 3. Restore the backup database from #1 to machine in #2. Now you have a replicate of your company's database that you can connect to to test your project on. Hope this helps. Thanks. ...Show All

  • .NET Development Remove Empty tag from XML file

    Hi All, I have a xml document which has one empty element. I want to remove/delete it using aspx page. e.g. Xml file is in this format <abc> <xyz> <efg/> </xyz> </abc> In the above exampele I want to remove <efg> tag This taks is best accomplished using the XSLT design pattern "Override the identity transformation". The following tramsformation: < xsl:stylesheet version =" 1.0 " xmlns:xsl =" http://www.w3.org/1999/XSL/Transform "> < xsl:output omit-xml-declaration =" yes " indent =" yes "/> < xsl:strip-space elements =" * ...Show All

  • .NET Development InsertCommand of a SqlDataAdapter with multiple tables

    Can you have the InsertCommand property of a SqlDataAdapter set so that the Update() method is able to update a DataSet with multiple tables Let's say that I want to add data to multiple tables in a database. I can create the adapter with the proper connection, set its SelectCommand property to query a single database table, then fill the schema of that table from the data source, then after setting the proper  InsertCommand  as I would do to INSERT rows into that table (including the proper parameters), I could add new rows to that table in the  DataSet  and then after calling  Update()  I would have the data stored in the database. But I'd then have to repeat that for every table in th ...Show All

©2008 Software Development Network