ZAKSDG's Q&A profile
SQL Server Package configurations stored in the database
If the configurations are stored in the database then does the package pick up the configuration as and when required or it a one time pick when the package is executed. What I plan to do When the package is executed, I want to have a script task at the start of the package that will update the configuration table in the database with the values that the package needs to run with. I mean change the values of the configurations of the tasks which will be executed after the script task. Thanks for your time. $wapnil Thanks Phil and Rafeal. I got the approach on how to do it now. just one more question. If I want to run multiple instances of this package at the same t ...Show All
Visual C++ How can I prevent my application from being launched multiple times simultaneously?
Basically, I want my application to detect whether it's already running and shut down if it would be the 2nd copy. I think the solution might use COM objects, but I can't make any sense out of the COM documentation in VC++ 6.0. See the code below. I patched this a couple of times over the years to handle WinXP where you might have multiple users logged in (via Fast User Switching - does anybody actually use that ). It also sets focus to the existing instance before exiting. Note that I use two mechanisms - one that enumerates existing top level windows (looking for my expected program name in the title - kind of a kluge) and if that fails it uses a global instance of an object. Seems to work f ...Show All
.NET Development C# Client client connecting on a webservice using the linger option
Hello, Here is my problem : * I have a soap server written in C++ and running on VxWorks. On this server the linger option is activated (value = 1s) so sockets stay connected 1s after closing) * On the other side I have a C# Client. (The proxy is generated with wseWsdl3.exe) The client is calling a method every 20ms and everything works fine exept that after 1 or 2 minutes I have the following error that appears : Error 10048 : address already in use. I suppose that .net takes more time to release the client socket than VxWork.... Is there a way to set the LingerOption in the proxy generated with wsewsdl ...Show All
Visual C# Please help me out in connecting to Active diractory
hi frnds i am unable to read my active directory "Users" list through c# ( i tried sevaral sample code's available on internet.) pls help me in this issue thanks and regards ranu and i am getting the exception System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational. what it exatly means and what should i do regards ranu ...Show All
.NET Development writing a Telnet client with VB. NET
Hi, I am trying to write a simple telnet client using VB.NET with Visual Studio 2005. I am using System.Net.Sockets. But I cant make it work yet. What I need is: To automate some tasks on UNIX server. To achieve this, I need to login to unix (from within my app.) via telnet, and run some commands. T hats all. Anyone can help me with this Thanks Fede. Hey, Download this sample from http://www.c-sharpcorner.com/UploadFile/tylerkline/TelnetScripting11282005001158AM/TelnetScripting.aspx ArticleID=a8e0e439-14df-4d82-82ee-8cb4c110f9a0 Its just 1 source file that will compile to an assemply and you can use its public methods to script your telnet session. I had the same issue where I had ...Show All
SQL Server Left Outer Join versus Subquery
Hello Chaps, I have got question about the performance of subquery and left outer join My scenario is that I have two tables Customer Mater and address book. Customer Mater and address book tables hold the record for both carrier and customer. and i want retrieve the record for customer and related carrier as well i have two options 1. either use left outer join (i.e. Join Customer master to Address Book 2 times, 1 for customer and 1 for carrier) by: Address book (as customer) Left outer Join Customer Master (on related Key) AddressBook (as carrier) Left Outer Join Customer master (on related Key) 2.or use 1 join for customer ...Show All
SharePoint Products and Technologies Repeating/recurring event
Hi all, My firm has just started developing with sharepoint 2007 and as a start I downloaded some of the site templates listed on the main sharepoint site. In particular, I created a site using the excellent Employee Training and Scheduling template. I've started amending the template (mainly descriptions and workflows) using Sharepoint Designer. However, some of our training courses are recurring/repeating events and, as such, I opened up the: http://<site>/training/lists/Courses/NewForm.aspx I noticed the code: <tr style="display: none"> <td width="190px" valign="top" class="ms-formlabel"> <H3 class="ms-standardheader"> <nobr>Recur ...Show All
.NET Development IP Address Range Array question
I know this should be easy, however... im building a small scanner and wanted to create an array of some sort to scan all addresses in the range of textbox1 and textbox 2 i have been reading about arrays and have tried to contemplate how one should be setup for this and cant figure it out.anyone know of any tutorials or sameple code where this is done Not looking to be spoon fed, just tryin to get a grasp on vb2005 this is what i have now in vb6, mind you, the code and logic are all incorrect right now, because im working on it right now, i will be doing this in vb express and yes, im a damn code noob..thanks [code] '---------FIRST IP SPLIT--------- ' Dim start1, start2, start3, start4 As Integer star ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creator's Club Licensing Query
If I get a Creator's Club subscription on a 360 under my gamertag, and then log it onto a different 360, will I still be able to use it on the second 360 I know that this would work for arcade games and whatever (you get a license for the 360 you bought it on, and for the gamertag that purchased it), but I can't find any proper confirmation either way about CC subscriptions in the FAQs, and only conflicting stuff in the forums, so any help would be nice. Thanks, David. That would be great it would allow you to demo your product anywhere or play your creations at a friends house! ...Show All
Visual Studio Team System Date time format
Hi All, I'm trying to customize the datetime format in my workitems. Like I want to have an Indian date time format, but in that I dont want to have the time, the date itself would suffice my purpose. So i'm myself a confused lot to find out the solution. Can anyone help me out of this Thanks in advance. Hi Raaja, The scenario is - By default the date time format in work item is mm/dd/yyyy 00:00hrs Eg: in History tab State Change Date 2/16/2007 5:03:27 PM but I require State Change Date 16/2/2007 I require to change the datetime fields in workitem to dd/mm/yyyy format. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XACT - System.TypeInitializationException on start-up
Anyone else seen this problem starting up XACT It worked in the past but I haven't used it for a few weeks. In the interim, I've installed the Vista SDK, .NET Framework 3.0, WF and WCF extensions for Visual Studio etc. I've uninstalled all these components and reinstalled GSE and Visual Studio Express but still get the same exception on start-up. In the debugger, I see Additional Information: System.Net.Dns threw an exception. I built a quick program to check I could use this class and it worked OK. I'm going to post a duplicate of this question on the XACT forum. Help ! Cheers. I can use the System.Net.Dns class when referencing .NET 1.1 in a Console app. Properties for referenced System.dll show: C:\WINDOWS\Micro ...Show All
SQL Server Regd: SQL server 2005 installation problem
Hello while installing sql server 2005 Enterprise edition on my machine, i cannot select the server database service, reporting service, analysis service, notification service and integration service. All those checkboxes are disabled. There is no previously installed copies of sql server and i am installing it on a windows xp machine with 512 mb ram and 2.9 ghz processor Hi, You can install SQL Server Express and SQL Server Developer Edition on Windows XP OS, if you required more features i suggest to insall SQL Server Developer Edition. Or Download SQL Express with Advance Services from http://msdn.microsoft.com/vstudio/express/sql/download/ Rerfer http://www.microsof ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Fade In/Fade Out
Just wondering if anyone could give me a quick rundown on how to author my sounds to have proper fade in/outs. I tried to do it myself, and my sounds just never play :/ And yes, its the latest version of the SDK. Oh, and I'm using it with XNA. ...Show All
Smart Device Development How to rotate a image in smartphone
Hi, I want to know how to rotate the image in a smartphone application. Thanks and Regards, Amritanshu Agrawal It's not entirely clear what you're trying to do. Do you need to just rotate it some multiple of 90-degrees Or does it need to be some arbitrary rotation Is this something that happens just once that you could just create a second copy of the resource in some paint program on the desktop and just load this other resource Or is it an image that is created at some later point (e.g. a drawing program, or loading an arbitrary image from a file) that needs to be rotated If you just need to rotate a multiple of 90-degrees, it should be simply enough to call Bitmap.LockBits(), and use ...Show All
Windows Forms Converting .Config files to .Deploy files using Mage.exe at command line
How can i generate .deploy files using Mage.exe at commandline. I am facing problems with .Config files download at client systems, as IE do not allow to download .Config files for security reasons. If i do it manually, ie. using DOS ren command, it throws errors. Thanks. Looking at the command line options I don't see that you can. I guess your real solution is to find what is locking the .config file preventing the filename from being appended to. ...Show All
