Jagjot Singh's Q&A profile
SQL Server How to Fail SQL Task...
I have several packages that I download files using a sql task (I cmd shell out). I use sql task because the file names change everyday. what I want to know is how can I check to see if the file I downloaded exists either within the same task (preferred) or a task right after I want to fail the package instead of letting it get into the actual loading of the file where it now fails at. I hope this makes sense. Have you searched the forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=13608&SiteID=1 ...Show All
Visual Basic Bubble sort
Haaay every one.. I am an engineering student and I want to learn about bubble sort which can can be done in visual basic. In other word, I wants to sort a table of a math class marks bassed on the the results. The best grage become on the top of the table and the lowest is in the bottom. Thank you, Sounds like a homework assignment. A simple web search will find numerous article on implementing bubble sorts in VB - take your pick. http://www.codeproject.com/vb/net/bblsrt.asp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. using directsound to play multiple sounds
how can you get directsound to multiple sounds at the same time using vb.net I'm learning DirectSound (unmanaged) at the moment - I have a question posted further down - so I don't know the exact answer to this. However, assuming the individual sounds are the same resolution and sampling rate, you should be able to just sum the contents of the buffers to generate a final sound buffer which you can then "Play()". After all, this is how sound is added in reality...a simple linear summation of multiple waveforms to generate a final waveform we perceive as the resultant sound. ...Show All
SQL Server Text Box Expression (condition to show or not show)
I have the following text box ="*Of which" & Format(Sum(Fields!ID.Value, "Footnoteall"),"c") & "is coded as "" 00 no applicable SIC Code" The report is driven off a SP that a has two paremeters (date,state), I have one state that when its chosen, I want the textbox to appear, when any of the other states are chosen I dont want the text box to appear. The selection is made using both a state and date, so just to clarify, when Wisconsin is choosen with any of the dates I want the textbox to appears, when any other state with any of the other dates are chosen I dont want the textbox to show up. Any help would be greatly appreciated. getting closer, i get the following mess ...Show All
Visual Studio Express Editions VB
I have just installed VB express E on running VB and choosing 'Create Project' a 'New project' window appears...but, nothing happens please help me ...Show All
Visual Studio Express Editions MDI in C#
Guyzz a simple question for you.. but i really need you guys to hola on me soon.. actually was writing a small stock maintaining proggie and was wondering if i can use multi windows in jus one form.. ok did that too.. and i have give a link to a small button to focus on the next form, but everytime i click that window a new child form is opened and is assigned new memory, how can i get rid of it .. i mean what shall i do that, before allocating memory once again to new child form, my program shall check if it is already running, if yes then it shall focus on the already running form, instead of allocating new memory to a form and then focusing on it. thanks and regards :) Since you asked.... The original version fo ...Show All
Visual Studio Creating dynamic columns in crystal report using C# 2005
Hi, We are delevoping C# windows application where we want to embed new crystal reports. Is there anyway to create and place the Report Objects(fields, Textbox, Subreport etc) in ReportDocument through C# code at runtime . For ourcase, the number of columns in the report will vary for different scenarios. So we have to control the number of columns and positions at runtime. Is this possible to do it through crystal report Could you give any method in CrystalReport to achieve the above task Thanks, Senthil A I had the exact same problem, and even though I'm more of a VB guy rather than a C# one, I thought I should share this: http://www.c-sharpcorner.com/UploadFile/uditsingh/CR1111022006 ...Show All
.NET Development Binary Serialization with large amount of dataset - Performance Related
I want to serialize a dataset (typed) which contains more than 10,00, 000 records. i am reading the information from the file(s) and populating the dataset. i am using binary formatter. it is taking lot of time to serialize and de-serialize the data. can any one help me to improve the performance. I want to serialize a typed dataset which contains large amount of data. (approx 10,00,000). Remoting format is binary. I am using binary formatter. It takes lots of time. Can anyone help me to improve the performance. ASAP. ...Show All
Visual Studio Team System "Remaining work" is not refreshed in MS Project 2003
Hi, I’m continue fighting MS Project to TFS integration! This time I have found the following strange behavior: it seems like “Remaining work” value is going well from MS Project to TFS but not in versus direction. I want my team estimate they work by specifying “Remaining work” value in TeamExplorer and do not touch a project plan (in fact they don’t have it installed). So, my plan was simply to collect all work task items in the MS Project, ask team to estimate their tasks and keep this data in sync. During the get process the “Remaining work” value appeared in the Project but all latter changes of these tasks in TFS has no effect. On other hand if project task Duration or connected Remaining Work field is changed in MS Project it ...Show All
SQL Server Avoid windows login prompt while accessing report server.
Hi, We are using Microsoft Reporting Service 2005 to develop reports and we are accessing these reports through a J2EE application. The front end is implemented using Tapestry and we using JBoss as our applicaiton server. We are using Shared Data Sources for the reports and we set its data source type to SQL Server Analysis Services. In the credential tab, by default "Use Windows authentication" is selected. All other options are disabled. When I access my reportserver through my web application, I am always prompted for a windows login and password. How can I avoid being shown the windows login prompt, since our web application will be used by several users and we do not want the users to type in a username/password everyt ...Show All
Windows Live Developer Forums msn & windows media
hi someone please help. how can i let my contacts see what i am listenin 2 . my windows media doesn't have a plug-in for windows live messenger. HELP PLEASE hello; i have had the same problem; i have the up to date msn live messenger and the windows media 11 beta 2 version. There is simply not an option to select in media player to syncronise with msn messenger. I have scoured the internet for a plugin download but no cigar so far. any help much apppreciated! ...Show All
Visual Basic balloon tip text
hi im new to vb.net im using visual studio 2003 for our project and my task is to create balloon tip text for Help otions. but ive learned that balloon tip text is available in visual studio 2005 but not in 2003. is there a way i can do it in 2003 please help me..thanks. =) Hi, I think following link will provide you information about how to do ballon tip text on text box. http://vbnet.mvps.org/index.html code/textapi/showballoontiptext.htm Regards, Vallari ...Show All
Visual Studio I can't run VS 2005 on Vista
I have installed Vista Ultimate from MSDN. On clear Windows (without any optional drivers and programs) I have installed Visual Studio 2005 Professional. But when I try opening Visual Studio it always closes ! In Event log is description like previous posts: Faulting application devenv.exe, version 8.0.50727.42, time stamp 0x4333e699, faulting module ntdll.dll, version 6.0.6000.16386, time stamp 0x4549b87a, exception code 0xc0150015, fault offset 0x0002b216, process id 0xd18, application start time 0x01c751532be98c50. The same error is when I try open documentation of Vista SDK (after installation it on my system) I have try SP1 for Visual Studio 2005 and SP1 Beta on Vista but the error with ntdll.dll doen't disappear. ...Show All
Visual Studio Express Editions Adding a separator to a context menu
I cant figure out how to add a separator to a context menu, i looked and i know there is a addSeparator() method. but it doesnt specify how implement it. help please. ...Show All
.NET Development growth of .srt file after being copied . . .
hey to you all, i have some .srt files in hebrew and my subtitels reading dvd connects them reversed so i built a script to reverse the text rows in the srt file and leave the time and data row untouched. i open the original file using streamreader and writes it reversed to another file using streamwriter but the reversed file is bigger then the original. also if i convert a filed that's been already converted the text becomes jibrish. the encoding i used to read the file system.text.encoding.defauld cause its the only one who worked. thanx for the help, this is the code: using System; using System.IO; using System.Text; using System.Collections; namespace ConsoleApplication5 { class Class1 { [STAThread] &nbs ...Show All
