Software Development Network Logo
  • Game Technologies
  • Visual C++
  • Visual J#
  • Visual FoxPro
  • Windows Forms
  • VS Team System
  • Visual Basic
  • Windows Live
  • SQL Server
  • Microsoft ISV
  • Visual Studio
  • Architecture
  • Windows Vista
  • Smart Device
  • .NET Development

Software Development Network >> Sultan Shaikh's Q&A profile

Sultan Shaikh

Member List

Josh Zana
buddysal
PremP
NewASPNETUser
Nikhil Vaghela
zadcoe
dgrothe
Stephan Aiche
Gal Beniamini
cin_ful
Ric C
Saeed Nawaz
Sijin Joseph
GetOuraThatGarden
SQL 2005 Error
woom
RozLee
Pierre Drofwarc
DavP
Poppyto
Only Title

Sultan Shaikh's Q&A profile

  • SQL Server Reporting services presentation problems

    Could anyone help me I am basing a project in MS SQL Reporting service but I am finding the web pages produced to be very poor in quality. As far as I can see Reporting services is fine as long as all of your users have precisely the same set up as the developer, which is just not the real world. Obviously the click and drag interface makes the page easy to design, but, the pages very rarely deploy as well as the preview would suggest, not to mentioned issues with users with differing screen res and browsers. The javascript to present pages taylored to the users set up is not problem, but how can I include this in a report generated page ...Show All

  • Visual Studio Tools for Office Change Picture's Image Dynamically By C# code

    Hello, I use Pictures (not PictureBoxes) within my Word 2003 Document to display images (mostly chart images). I add them through Insert -> Picture-> FromFile. I found it extrimally difficult to deal with WinForms controls due to the issues with their persistance.   No sample projects work for me. When document gets saved and re-opened I get the error about missed Expansion pack  and my action pane gets detached:( I wonder is there any way to set Image of the Picture (which was added Insert -> Picture-> FromFile) dynamically by C# code force I'd prefer to deal with the streams, but files would also suffice. Sur ...Show All

  • Visual C++ ocx control's events in VC++.net

    hi, I am developing a VC++.NET console application. In that, i am using an OCX control. It has two events. I need to know how to use those events. In VB.NET, we can declare the objects with WITHEVENTS keyword. Any equivalent in VC++.NET. Please help me regarding this. thanks and regards, Take a look at http://msdn2.microsoft.com/en-us/library/6f01ek09.aspx for handling events in VC++. Also, you can have methods that throws exception that you can catch as well. Also, winforms have events hooked to the data sources, buttons, and so on. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Windows Forms Adding Controls to a User control

    Hello, I'm trying to add custom controls to a user control, and render them to it. I have a viewer user control in which several of these controls are built: //Create a verse item and assign the values to the property VerseItem verseControl = new VerseItem(); verseControl.Visible = true; verseControl.Enabled = true; verseControl.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right; verseControl.Number = verse.Number; verseControl.Text = verse.Text; //Add the control to the collection this.Controls.Add(verseControl); Then after the for loop, I invalidate the user con ...Show All

  • Visual Studio Team System 405 Method Not Allowed using BuildStore object

    I'm getting the following exception: System.Net.WebException: The request failed with HTTP status 405: Method Not Allowed. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.TeamFoundation.Build.Proxy.BuildStore.GetBuildDetails(String buildUri) when I try to run the following code as part of a build task: public static DateTime GetBuildStartDate( string buildUri, string serverUrl) { ...Show All

  • SQL Server Auto scripting SPs, perhaps concatenating text fields...

    Hi, I'm trying to get the text of all my SPs saved into text (*.sql) files. My first thought was to use sp_helptext and bcp the table to a text file but this isn't working (see my other post) so thought I'd try another method. I can get the code from syscomment.text and concatenate the varchar(8000) field together in a text field. Unfortunately this isn't as easy as just text = text + newtext, how is this done Or am I doing it all comletely the wrong way BTW, I have over 150 SPs so I can't save them individually. Thanks! Nick Why don't you use EM or SSMS for that Both utilities have feature t ...Show All

  • SQL Server Problem making backup of an SQL Server database

    I want to make backup of an SQL Server database located on computer LAB3B-NT05 and I want the backup to be stored on another computer.  Can that be done The commands bellow works fine if I store the database on a local disk. exec sp_addumpdevice @devtype = 'disk' , @logicalname = 'Event_1' , @physicalname = '\\kbg2863\BackupTest\EventBACKUP.bak' GO BACKUP DATABASE Event TO Event_1 WITH FORMAT GO exec sp_dropdevice @logicalname = 'Event_1' GO When I execute BACKUP DATABASE Event TO Event_1 WITH FORMAT, I get the followin error: Server: Msg 3201, Level 16, State 1, Line 1 Cannot open backup device 'Event_1'. Device error or device off-li ...Show All

  • Visual Studio Tools for Office Deployment of VSTO 2005 Solution

    Hi all, I've developed a VSTO 2005 solution contains 9 children projects (n-tier dev), and now, I try to publish the solution to one of my testing machine via network folder ( \\xxx\FolderA ) and run it, argh.. no luck. The classic error: The current .NET security policy does not permit the customization to run. Do not change the security policy in your computer.... etc etc etc I searched the google and forum up and down, and I've also tried the following actions in the testing machine: .NET Fx 2.0 Configuration | Runtime security policy | Machine | Code group | All code | New : Grant full trust to a deployment folder, say file://C:\FolderA ...Show All

  • Visual Studio 2008 (Pre-release) integrating Soap Extension using WCF

    Hi , I have a 3 rd party web service i have created proxy for it using svcUtil. I want to pass Headers in my Soap request so i have created soap extension to modify my request. problem that am facing is server side message stages are getting fired in ProcessMessage function but client side message stages are not getting executed. Note: 3 rd Party Web Service need some headers but the provider had modified WSDL file. he has removed those Header Defination from WSDL so those required headers objects are not reflected in my Proxy. i was looking in to Message Contract to achieve the same n to replace SOAP Extension but dont know whether ...Show All

  • Visual C++ Select a Printer for printing

    I have a problem: With this code i can print the content of print.txt in my default printer:   #include "stdafx.h" #include <windows.h> int main() { ShellExecute(0,"Print","print.txt",0,0,0); return 0; } But I like to create a code to build a executable and if i digit: print.exe CanonBJC800 the target isn't the default printer but CanonBJC800 printer. I use c++ a little and I don't know the solution. Pls. Help ME tnks.... You can probably use the OpenPrinter & WritePrinter functions. Here are some related links: http://msdn.microsoft.com/library/default.asp url=/library/en-u ...Show All

  • Visual Studio Tools for Office Action Pane disappears

    I have an Excel Template solution developed using VSTO 2005 that has controls on the Action Pane. I have a custom menu button that the user can use to toggel the Action pane on and off, and everything works fine until the user attempts to open an additional Excel file. If a user opens another Excel file from Windows Explorer by double clicking or selecting open from the context menu, the Actions Pane goes away. I then switch back to the original VSTO document, and using my menu button attempt to restore the action pane. The code displays the paction pane, but now all of my controls are missing. Here is the code the I use to toggel the v ...Show All

  • Visual Studio Tools for Office Office addins Project Creation Failed

    Hello! When I try to run the Office addins templates in VS I get " A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)". I have uninstalled everything (VS, Office, Office tools, etc) and reinstalled them all. I still get the same error message. How do I fix this If I could determine the DLL I could check it out but the error message does not provide enough details. The SLN file is created but empty. Any insight would be greatly appreciated. Not sure if I follow. Here is what is installed: VS 2005 and MS Office Pro 2003 and the MS Visual Studio 200 ...Show All

  • Visual Studio Team System VSTS Architect vs. VSTS Developer

    With he proposed changes in MSDN subscriptions and Visual Studio licensing, I now have to make a decision between VSTS Architect and VSTS Developer. As I understand, MSDN Universal subscribers will have a choice - they can either go for VSTS Architect and VSTS Developer. I believe that I need both architecture and development tools. Which out of two should I go for The information was interesting but too high-level to be really useful or answer the questions I feel most developers have. I hope you folks will be releasing something with a bit of meat on it like a feature by feature breakdown of what is included in each edition in t ...Show All

  • Visual C# some "struct" to "byte[]"

    Hi people, Im new in C# and Im having some problems with language. The problem is that i have a function I want to call and one of its parameters is "byte[]" I have to pass an structure to this Byte array... let me show you... The structure is.... ****************************************************************** private struct TEXT_PROVIDER_SPECIFIC_DATA { public IntPtr dwMessageOptions; public PROVIDER_SPECIFIC_MESSAGE_CLASS psMessageClass; public PROVIDER_SPECIFIC_REPLACE_OPTION psReplaceOption; } ********************************************************************************** So in main code ...Show All

  • .NET Development Which DB to use?

    Hi, i am writing a program that uses a db. My db will have 3 tables and maximum of 5,000 records. I want that the customers will download my application... The proplem is that i don't know whether they hav a db engine or not. I heard about MDAC for mdb files... 1) How can i check in my installation wizard whether the client has MDAC installed on his local mashine 2) Can u suggest me somthing better remember firebird is interbase 'open sourced.' almost everything that says it works for interbase, should work for firebird. its been a while since I worked with it but it appears now that their are a few differen ...Show All

©2008 Software Development Network